/* ========================================================================== */
/* IEVGEN SOLOVIOV — PORTFOLIO EXTREME                                       */
/* SYSTEMS · CLOUD NATIVE · AUTOMATION · DATA · AI                            */
/* ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");


/* ========================================================================== */
/* 01 / DESIGN TOKENS                                                         */
/* ========================================================================== */

:root {

  /* BASE */
  --bg: #040711;
  --bg-2: #070b17;
  --bg-3: #0a1020;

  --surface: #0b1220;
  --surface-2: #0e1729;
  --surface-3: #121d32;

  --surface-glass: rgba(11, 18, 32, .72);
  --surface-glass-strong: rgba(10, 16, 31, .92);

  /* TEXT */
  --text: #f8fafc;
  --text-soft: #d7e1ef;

  --muted: #8d9db5;
  --muted-2: #5e6e87;
  --muted-3: #3d4d66;

  /* ACCENTS */
  --blue: #38bdf8;
  --blue-dark: #2563eb;
  --blue-soft: #7dd3fc;

  --purple: #8b5cf6;
  --purple-soft: #c4b5fd;

  --teal: #2dd4bf;
  --teal-soft: #99f6e4;

  --green: #22c55e;
  --green-soft: #86efac;

  --orange: #f59e0b;
  --orange-soft: #fcd34d;

  --pink: #ec4899;
  --red: #ef4444;

  --cyan: #06b6d4;

  /* BORDERS */
  --border: rgba(148, 163, 184, .13);
  --border-soft: rgba(148, 163, 184, .08);
  --border-strong: rgba(148, 163, 184, .25);

  /* EFFECTS */
  --shadow:
    0 35px 100px rgba(0, 0, 0, .42);

  --shadow-soft:
    0 20px 55px rgba(0, 0, 0, .22);

  --glow-blue:
    0 0 32px rgba(56, 189, 248, .24);

  --glow-purple:
    0 0 34px rgba(139, 92, 246, .23);

  --glow-green:
    0 0 30px rgba(34, 197, 94, .22);

  /* RADIUS */
  --radius-xs: 8px;
  --radius-sm: 13px;
  --radius-md: 18px;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-xl: 42px;

  /* LAYOUT */
  --max: 1280px;
  --nav-h: 72px;

  /* FONT */
  --font-sans:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --font-mono:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;

  /* MOTION */
  --ease:
    cubic-bezier(.2, .7, .2, 1);

  --fast:
    .22s var(--ease);

  --normal:
    .38s var(--ease);

  --slow:
    .75s var(--ease);
}


/* ========================================================================== */
/* 02 / LIGHT MODE                                                            */
/* ========================================================================== */

body.light {

  --bg: #eef3f8;
  --bg-2: #f5f8fc;
  --bg-3: #e8eef6;

  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-3: #edf2f7;

  --surface-glass: rgba(255, 255, 255, .76);
  --surface-glass-strong: rgba(255, 255, 255, .94);

  --text: #0a1020;
  --text-soft: #253247;

  --muted: #536177;
  --muted-2: #748298;
  --muted-3: #9aa7b7;

  --border: rgba(15, 23, 42, .11);
  --border-soft: rgba(15, 23, 42, .07);
  --border-strong: rgba(15, 23, 42, .2);

  --shadow:
    0 28px 70px rgba(30, 41, 59, .12);

  --shadow-soft:
    0 15px 40px rgba(30, 41, 59, .09);
}


/* ========================================================================== */
/* 03 / RESET                                                                 */
/* ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100%;
  overflow-x: hidden;

  font-family: var(--font-sans);
  color: var(--text);

  line-height: 1.65;

  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(37, 99, 235, .12),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 18%,
      rgba(139, 92, 246, .11),
      transparent 30%
    ),
    radial-gradient(
      circle at 45% 85%,
      rgba(45, 212, 191, .055),
      transparent 27%
    ),
    var(--bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  transition:
    color .35s ease,
    background .35s ease;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a,
button,
input {
  font: inherit;
}

button {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: white;
  background: rgba(56, 189, 248, .3);
}

[hidden] {
  display: none !important;
}


/* ========================================================================== */
/* 04 / ACCESSIBILITY                                                         */
/* ========================================================================== */

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.noscript-message {
  position: fixed;

  top: 10px;
  left: 50%;

  z-index: 99999;

  width: min(calc(100% - 30px), 800px);

  transform: translateX(-50%);

  padding: 12px 16px;

  border: 1px solid rgba(245, 158, 11, .35);
  border-radius: 10px;

  background: rgba(245, 158, 11, .1);

  color: var(--orange-soft);

  font-family: var(--font-mono);
  font-size: .7rem;

  text-align: center;
}


/* ========================================================================== */
/* 05 / GLOBAL BACKGROUND                                                     */
/* ========================================================================== */

.site-grid {
  position: fixed;

  inset: 0;

  z-index: -5;

  pointer-events: none;

  opacity: .17;

  background-image:
    linear-gradient(
      rgba(148, 163, 184, .065) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, .065) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1),
      rgba(0, 0, 0, .55) 50%,
      transparent 92%
    );
}

.site-noise {
  position: fixed;

  inset: 0;

  z-index: -4;

  pointer-events: none;

  opacity: .03;

  background:
    repeating-radial-gradient(
      circle at 0 0,
      transparent 0,
      rgba(255, 255, 255, .7) 1px,
      transparent 2px,
      transparent 5px
    );

  background-size: 7px 7px;
}

.cursor-glow {
  position: fixed;

  z-index: -3;

  left: 0;
  top: 0;

  width: 520px;
  height: 520px;

  pointer-events: none;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .085),
      rgba(139, 92, 246, .025) 38%,
      transparent 68%
    );

  transform:
    translate(
      calc(var(--mouse-x, 50vw) - 260px),
      calc(var(--mouse-y, 50vh) - 260px)
    );
}


/* ========================================================================== */
/* 06 / BOOT SCREEN                                                           */
/* ========================================================================== */

.boot-screen {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: grid;
  place-items: center;

  padding: 20px;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(56, 189, 248, .06),
      transparent 32%
    ),
    #02040b;
}

.boot-terminal {
  width: min(100%, 720px);

  overflow: hidden;

  border:
    1px solid rgba(56, 189, 248, .2);

  border-radius: 20px;

  background:
    rgba(6, 10, 20, .96);

  box-shadow:
    0 40px 140px rgba(0, 0, 0, .75),
    0 0 70px rgba(56, 189, 248, .08);
}

.boot-terminal-top {
  min-height: 50px;

  display: flex;
  align-items: center;

  gap: 16px;

  padding: 0 18px;

  border-bottom:
    1px solid rgba(148, 163, 184, .11);

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .65rem;
}

.boot-terminal-body {
  padding: 32px;
}

.boot-command {
  color: var(--text-soft);

  font-family: var(--font-mono);
  font-size: .78rem;
}

.boot-command span {
  color: var(--blue);
}

.boot-log {
  display: grid;

  gap: 10px;

  margin-top: 25px;
}

.boot-log p {
  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .68rem;
}

.boot-log p::first-letter {
  color: var(--green);
}

.boot-progress {
  height: 5px;

  margin-top: 30px;

  overflow: hidden;

  border-radius: 999px;

  background: rgba(255, 255, 255, .05);
}

.boot-progress-bar {
  width: 0;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--purple),
      var(--teal)
    );

  box-shadow:
    0 0 20px rgba(56, 189, 248, .6);
}

.boot-progress-meta {
  display: flex;
  justify-content: space-between;

  margin-top: 10px;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .57rem;
}

.boot-progress-meta strong {
  color: var(--blue);
}


/* ========================================================================== */
/* 07 / WINDOW DOTS                                                           */
/* ========================================================================== */

.window-dots {
  display: flex;

  gap: 6px;
}

.window-dots i {
  width: 6px;
  height: 6px;

  border-radius: 50%;
}

.window-dots i:nth-child(1) {
  background: #ff5f56;
}

.window-dots i:nth-child(2) {
  background: #ffbd2e;
}

.window-dots i:nth-child(3) {
  background: #27c93f;
}


/* ========================================================================== */
/* 08 / PROGRESS BAR                                                          */
/* ========================================================================== */

.scroll-progress {
  position: fixed;

  left: 0;
  right: 0;
  top: 0;

  z-index: 10000;

  height: 2px;
}

#scrollProgressBar {
  width: 0%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--purple),
      var(--teal)
    );

  box-shadow:
    0 0 20px rgba(56, 189, 248, .8);
}


/* ========================================================================== */
/* 09 / NAVIGATION                                                            */
/* ========================================================================== */

.navbar {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 5000;

  height: var(--nav-h);

  border-bottom:
    1px solid transparent;

  transition:
    background var(--normal),
    border-color var(--normal),
    box-shadow var(--normal),
    backdrop-filter var(--normal);
}

.navbar.scrolled {
  border-color: var(--border);

  background:
    rgba(4, 7, 17, .76);

  box-shadow:
    0 12px 45px rgba(0, 0, 0, .16);

  backdrop-filter:
    blur(22px) saturate(130%);
}

body.light .navbar.scrolled {
  background:
    rgba(238, 243, 248, .83);
}

.nav-shell {
  width:
    min(
      calc(100% - 40px),
      var(--max)
    );

  height: 100%;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}


/* BRAND */

.brand {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: var(--text);

  text-decoration: none;

  font-family: var(--font-mono);
  font-size: .76rem;

  white-space: nowrap;
}

.brand-command span {
  color: var(--blue);
}

.brand-status {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 15px rgba(34, 197, 94, .95);

  animation:
    statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(.8);
  }

}


/* LINKS */

.nav-links {
  display: flex;
  align-items: center;

  gap: clamp(14px, 2vw, 28px);
}

.nav-links a {
  position: relative;

  padding: 8px 0;

  color: var(--muted);

  text-decoration: none;

  font-size: .75rem;
  font-weight: 600;

  transition:
    color var(--fast);
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 1px;

  width: 0;
  height: 1px;

  background: var(--blue);

  box-shadow:
    0 0 12px rgba(56, 189, 248, .9);

  transition:
    width var(--fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


/* ACTIONS */

.nav-actions {
  display: flex;
  align-items: center;

  gap: 7px;
}

.nav-icon {
  min-width: 38px;
  height: 36px;

  padding: 0 10px;

  border:
    1px solid var(--border);

  border-radius:
    9px;

  background:
    rgba(255, 255, 255, .018);

  color: var(--muted);

  cursor: pointer;

  font-family: var(--font-mono);
  font-size: .67rem;

  transition:
    color var(--fast),
    border-color var(--fast),
    background var(--fast),
    transform var(--fast);
}

.nav-icon:hover {
  transform: translateY(-2px);

  border-color:
    rgba(56, 189, 248, .35);

  background:
    rgba(56, 189, 248, .05);

  color: var(--text);
}

.command-trigger span {
  color: var(--blue);
}

.menu-toggle {
  display: none;

  width: 40px;
  height: 36px;

  border:
    1px solid var(--border);

  border-radius:
    9px;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 17px;
  height: 1px;

  margin: 5px auto;

  background: var(--text);

  transition:
    transform var(--fast);
}


/* ========================================================================== */
/* 10 / CHAPTER RAIL                                                          */
/* ========================================================================== */

.chapter-rail {
  position: fixed;

  z-index: 1700;

  left: 22px;
  top: 50%;

  display: flex;
  flex-direction: column;

  gap: 5px;

  transform: translateY(-50%);
}

.chapter-rail a {
  position: relative;

  width: 37px;
  height: 28px;

  display: flex;
  align-items: center;

  padding-left: 9px;

  overflow: hidden;

  border:
    1px solid transparent;

  border-radius: 7px;

  color: var(--muted-2);

  text-decoration: none;

  background: transparent;

  transition:
    width var(--normal),
    color var(--fast),
    background var(--fast),
    border-color var(--fast);
}

.chapter-rail a span {
  flex: 0 0 22px;

  font-family: var(--font-mono);
  font-size: .5rem;
}

.chapter-rail a small {
  opacity: 0;

  white-space: nowrap;

  font-family: var(--font-mono);
  font-size: .48rem;

  transform: translateX(5px);

  transition:
    opacity var(--fast),
    transform var(--fast);
}

.chapter-rail a:hover {
  width: 110px;

  color: var(--text);

  border-color: var(--border);

  background:
    var(--surface-glass-strong);

  backdrop-filter: blur(10px);
}

.chapter-rail a:hover small {
  opacity: 1;
  transform: none;
}


/* ========================================================================== */
/* 11 / HERO                                                                  */
/* ========================================================================== */

.hero {
  position: relative;

  min-height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;

  padding:
    calc(var(--nav-h) + 70px)
    25px
    110px;

  isolation: isolate;
}

.hero::before {
  content: "";

  position: absolute;

  z-index: -2;

  width: 620px;
  height: 620px;

  left: 46%;
  top: 11%;

  border:
    1px solid rgba(56, 189, 248, .055);

  border-radius: 50%;

  box-shadow:
    0 0 0 90px rgba(56, 189, 248, .018),
    0 0 0 180px rgba(139, 92, 246, .014),
    0 0 0 270px rgba(45, 212, 191, .008);

  pointer-events: none;
}

.hero::after {
  content: "";

  position: absolute;

  z-index: -2;

  left: 0;
  right: 0;
  bottom: 43px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(56, 189, 248, .18),
      rgba(139, 92, 246, .18),
      transparent
    );
}

.hero-ambient {
  position: absolute;

  z-index: -3;

  border-radius: 50%;

  filter: blur(110px);

  pointer-events: none;
}

.hero-ambient-one {
  width: 420px;
  height: 420px;

  left: -200px;
  top: 25%;

  background:
    rgba(37, 99, 235, .17);
}

.hero-ambient-two {
  width: 450px;
  height: 450px;

  right: -200px;
  bottom: 4%;

  background:
    rgba(139, 92, 246, .14);
}

.hero-ambient-three {
  width: 300px;
  height: 300px;

  left: 48%;
  top: -110px;

  background:
    rgba(45, 212, 191, .055);
}


/* SHELL */

.hero-shell {
  width: min(100%, var(--max));

  margin: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(430px, .92fr);

  align-items: center;

  gap: clamp(55px, 7vw, 105px);
}


/* COPY */

.hero-copy {
  position: relative;

  z-index: 4;
}

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  margin-bottom: 27px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .63rem;

  letter-spacing: .1em;
}

.live-dot {
  display: inline-block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 15px rgba(34, 197, 94, .85);
}

.eyebrow-divider {
  opacity: .35;
}

.hero-kicker {
  margin-bottom: 15px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .68rem;

  letter-spacing: .17em;
}

.hero h1 {
  max-width: 760px;

  font-size:
    clamp(
      4rem,
      7.7vw,
      7.7rem
    );

  line-height: .84;

  letter-spacing: -.08em;

  font-weight: 850;
}

.hero-name-primary {
  display: block;

  color: var(--text);
}

.hero-name-secondary {
  display: block;

  color: transparent;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #90ddff 35%,
      #9d8cff 76%,
      #73e5d5 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  filter:
    drop-shadow(
      0 10px 28px rgba(56, 189, 248, .07)
    );
}

.hero-role {
  min-height: 30px;

  margin-top: 27px;

  color: var(--muted);

  font-family: var(--font-mono);

  font-size:
    clamp(
      .88rem,
      1.5vw,
      1.06rem
    );
}

.role-prefix {
  margin-right: 6px;

  color: var(--blue);
}

#rotatingRole {
  color: var(--text-soft);
}

.terminal-cursor {
  display: inline-block;

  margin-left: 2px;

  color: var(--blue);

  font-style: normal;

  animation:
    cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {

  50% {
    opacity: 0;
  }

}

.hero-description {
  max-width: 680px;

  margin-top: 25px;

  color: var(--muted);

  font-size:
    clamp(
      .96rem,
      1.35vw,
      1.05rem
    );

  line-height: 1.85;
}

.hero-description strong {
  color: var(--text-soft);

  font-weight: 600;
}


/* BUTTONS */

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 34px;
}

.btn {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 0 18px;

  border:
    1px solid transparent;

  border-radius: 10px;

  text-decoration: none;

  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform var(--fast),
    box-shadow var(--fast),
    color var(--fast),
    background var(--fast),
    border-color var(--fast);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #03131b;

  background:
    linear-gradient(
      135deg,
      #67d7ff,
      var(--blue)
    );

  box-shadow:
    0 13px 32px rgba(56, 189, 248, .18);
}

.btn-primary:hover {
  box-shadow:
    0 18px 42px rgba(56, 189, 248, .28);
}

.btn-secondary {
  border-color: var(--border);

  color: var(--text);

  background: var(--surface);
}

.btn-secondary:hover {
  border-color:
    rgba(56, 189, 248, .38);

  background:
    rgba(56, 189, 248, .045);
}

.btn-ghost {
  color: var(--muted);

  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);

  background:
    rgba(255, 255, 255, .025);
}


/* SIGNALS */

.hero-signals {
  display: flex;
  flex-wrap: wrap;

  gap: 10px 18px;

  margin-top: 33px;
}

.hero-signals span {
  display: flex;
  align-items: center;

  gap: 7px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .56rem;
}

.signal {
  display: inline-block;

  width: 6px;
  height: 6px;

  flex: 0 0 auto;

  border-radius: 50%;
}

.signal-blue {
  background: var(--blue);
}

.signal-purple {
  background: var(--purple);
}

.signal-green {
  background: var(--green);
}

.signal-orange {
  background: var(--orange);
}


/* ========================================================================== */
/* 12 / HERO SYSTEM PANEL                                                     */
/* ========================================================================== */

.system-panel {
  position: relative;

  min-height: 560px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(14, 23, 42, .88),
      rgba(4, 7, 17, .95)
    );

  box-shadow: var(--shadow);

  transform-style: preserve-3d;

  isolation: isolate;
}

body.light .system-panel {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .9),
      rgba(240, 245, 251, .96)
    );
}

.system-panel::before {
  content: "";

  position: absolute;

  z-index: -1;

  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(56, 189, 248, .04) 40%,
      rgba(139, 92, 246, .04) 50%,
      transparent 70%
    );

  transform: translateX(-120%);

  animation:
    panelScan 8s ease-in-out infinite;
}

.system-panel::after {
  content: "";

  position: absolute;

  z-index: -1;

  inset: 52px 0 auto;

  height: 240px;

  opacity: .08;

  background-image:
    linear-gradient(
      rgba(56, 189, 248, .16) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .16) 1px,
      transparent 1px
    );

  background-size: 31px 31px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent
    );
}

@keyframes panelScan {

  0%,
  20% {
    transform: translateX(-120%);
  }

  65% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }

}


/* PANEL TOP */

.panel-top {
  height: 52px;

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 16px;

  padding: 0 18px;

  border-bottom:
    1px solid var(--border);

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .57rem;
}

.panel-status {
  color: var(--green);
}


/* SYSTEM CORE */

.system-core {
  position: relative;

  height: 350px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-core {
  position: relative;

  z-index: 5;

  width: 185px;
  height: 185px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-glow {
  position: absolute;

  inset: -32px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .25),
      rgba(139, 92, 246, .11) 40%,
      transparent 70%
    );

  filter: blur(14px);

  animation:
    corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {

  0%,
  100% {
    opacity: .75;
    transform: scale(.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.07);
  }

}

.profile-ring {
  position: absolute;

  inset: -2px;

  border:
    1px solid rgba(56, 189, 248, .55);

  border-radius: 50%;

  box-shadow:
    0 0 25px rgba(56, 189, 248, .13);
}

.hero-photo {
  position: relative;

  z-index: 3;

  width: 158px;
  height: 158px;

  object-fit: cover;

  border:
    3px solid rgba(255, 255, 255, .12);

  border-radius: 50%;

  background: var(--surface);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, .52);
}


/* ORBITS */

.orbit {
  position: absolute;

  left: 50%;
  top: 50%;

  border:
    1px solid rgba(56, 189, 248, .15);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);
}

.orbit-one {
  width: 265px;
  height: 265px;

  animation:
    orbitSpin 22s linear infinite;
}

.orbit-two {
  width: 338px;
  height: 338px;

  border-style: dashed;

  border-color:
    rgba(139, 92, 246, .16);

  animation:
    orbitSpinReverse 34s linear infinite;
}

.orbit-three {
  width: 405px;
  height: 405px;

  opacity: .45;

  border-color:
    rgba(45, 212, 191, .12);

  animation:
    orbitSpin 48s linear infinite;
}

@keyframes orbitSpin {

  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }

}

@keyframes orbitSpinReverse {

  to {
    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }

}


/* NODES */

.orbit-node {
  position: absolute;

  z-index: 4;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--blue);

  box-shadow:
    0 0 14px var(--blue);
}

.node-one {
  left: 22%;
  top: 29%;
}

.node-two {
  right: 17%;
  top: 40%;

  background: var(--purple);

  box-shadow:
    0 0 14px var(--purple);
}

.node-three {
  left: 24%;
  bottom: 25%;

  background: var(--teal);

  box-shadow:
    0 0 14px var(--teal);
}

.node-four {
  right: 24%;
  bottom: 19%;

  background: var(--green);

  box-shadow:
    0 0 14px var(--green);
}


/* LABELS */

.orbit-label {
  position: absolute;

  z-index: 6;

  padding: 6px 9px;

  border:
    1px solid var(--border);

  border-radius: 7px;

  color: var(--muted);

  background:
    rgba(4, 7, 17, .83);

  backdrop-filter:
    blur(10px);

  font-family: var(--font-mono);
  font-size: .5rem;
}

body.light .orbit-label {
  background:
    rgba(255, 255, 255, .9);
}

.orbit-linux {
  left: 28px;
  top: 74px;
}

.orbit-cloud {
  right: 25px;
  top: 90px;
}

.orbit-k8s {
  right: 31px;
  top: 185px;

  color: var(--blue-soft);
}

.orbit-data {
  left: 29px;
  bottom: 77px;
}

.orbit-ai {
  right: 47px;
  bottom: 50px;

  color: var(--purple-soft);
}


/* CORE LABEL */

.core-label {
  position: absolute;

  z-index: 8;

  left: 50%;
  bottom: 53px;

  display: flex;
  flex-direction: column;

  padding: 7px 12px;

  transform: translateX(-50%);

  border:
    1px solid rgba(56, 189, 248, .18);

  border-radius: 8px;

  background:
    rgba(4, 7, 17, .78);

  backdrop-filter:
    blur(12px);

  text-align: center;
}

body.light .core-label {
  background:
    rgba(255, 255, 255, .84);
}

.core-label span {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .42rem;
}

.core-label strong {
  margin-top: 2px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .52rem;
}


/* CONSOLE */

.system-console {
  display: grid;

  gap: 7px;

  padding: 0 20px 17px;

  font-family: var(--font-mono);
}

.system-console > div {
  display: grid;

  grid-template-columns:
    15px 1fr auto;

  gap: 9px;

  align-items: center;

  padding: 9px 11px;

  border:
    1px solid var(--border-soft);

  border-radius: 8px;

  background:
    rgba(255, 255, 255, .018);

  font-size: .54rem;
}

.system-console > div > span {
  color: var(--blue);
}

.system-console small {
  color: var(--muted-2);

  font-size: inherit;
}

.system-console strong {
  color: var(--text-soft);

  font-weight: 500;
}


/* PANEL FOOTER */

.panel-footer {
  display: flex;
  justify-content: space-between;

  gap: 10px;

  padding: 9px 20px 13px;

  border-top:
    1px solid var(--border-soft);

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .42rem;
}


/* ========================================================================== */
/* 13 / HERO METRICS                                                          */
/* ========================================================================== */

.hero-metrics {
  width: min(100%, var(--max));

  margin: 55px auto 0;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border:
    1px solid var(--border);

  border-radius:
    16px;

  background:
    rgba(255, 255, 255, .013);

  backdrop-filter:
    blur(15px);

  overflow: hidden;
}

.hero-metrics > div {
  min-height: 88px;

  display: flex;
  align-items: center;

  gap: 14px;

  padding: 17px 21px;

  border-right:
    1px solid var(--border);
}

.hero-metrics > div:last-child {
  border-right: 0;
}

.metric-value {
  color: var(--text);

  font-size: 1.7rem;
  font-weight: 800;

  letter-spacing: -.06em;
}

.metric-current {
  color: var(--green);

  font-family: var(--font-mono);
  font-size: .9rem;

  letter-spacing: 0;
}

.hero-metrics small {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .48rem;

  line-height: 1.5;
}


/* ========================================================================== */
/* 14 / TICKER                                                                */
/* ========================================================================== */

.ticker {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  overflow: hidden;

  border-top:
    1px solid var(--border);

  background:
    rgba(4, 7, 17, .72);

  backdrop-filter:
    blur(15px);
}

body.light .ticker {
  background:
    rgba(255, 255, 255, .76);
}

.ticker-track {
  width: max-content;

  display: flex;
  align-items: center;

  gap: 28px;

  padding: 13px 0;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .55rem;

  animation:
    tickerLoop 35s linear infinite;
}

.ticker-track i {
  color: var(--blue);

  font-size: .42rem;
  font-style: normal;
}

@keyframes tickerLoop {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}

.scroll-indicator {
  position: absolute;

  right:
    max(
      30px,
      calc((100vw - var(--max)) / 2)
    );

  bottom: 73px;

  display: flex;
  align-items: center;

  gap: 10px;

  color: var(--muted-2);

  text-decoration: none;

  font-family: var(--font-mono);
  font-size: .48rem;

  letter-spacing: .09em;
}

.scroll-indicator i {
  width: 31px;
  height: 1px;

  background: var(--muted-2);

  transition:
    width var(--normal),
    background var(--normal);
}

.scroll-indicator:hover i {
  width: 48px;

  background: var(--blue);
}


/* ========================================================================== */
/* 15 / GENERAL SECTIONS                                                      */
/* ========================================================================== */

.section {
  position: relative;

  padding:
    clamp(95px, 10vw, 150px)
    25px;

  scroll-margin-top: var(--nav-h);
}

.section-dark {
  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  background:
    linear-gradient(
      180deg,
      rgba(3, 6, 15, .42),
      rgba(8, 13, 26, .42)
    );
}

body.light .section-dark {
  background:
    linear-gradient(
      180deg,
      rgba(224, 231, 239, .4),
      rgba(241, 245, 249, .45)
    );
}

.section-shell {
  width: min(100%, var(--max));

  margin: auto;
}

.section-heading {
  display: grid;

  grid-template-columns:
    70px 1fr;

  gap: 26px;

  margin-bottom:
    clamp(50px, 7vw, 88px);
}

.section-index {
  padding-top: 9px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .65rem;

  letter-spacing: .1em;
}

.section-label {
  margin-bottom: 12px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .6rem;

  letter-spacing: .16em;
}

.section-heading h2 {
  max-width: 930px;

  font-size:
    clamp(
      2.7rem,
      5.2vw,
      5.4rem
    );

  line-height: .96;

  letter-spacing: -.055em;

  font-weight: 760;
}


/* ========================================================================== */
/* 16 / GLASS SYSTEM                                                          */
/* ========================================================================== */

.glass-card {
  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .034),
      rgba(255, 255, 255, .008)
    );

  box-shadow:
    var(--shadow-soft);

  backdrop-filter:
    blur(16px);
}

body.light .glass-card {
  background:
    rgba(255, 255, 255, .72);
}


/* ========================================================================== */
/* 17 / IDENTITY                                                              */
/* ========================================================================== */

.identity-section::before {
  content: "";

  position: absolute;

  z-index: -1;

  width: 600px;
  height: 600px;

  left: -330px;
  top: 20%;

  border-radius: 50%;

  background:
    rgba(37, 99, 235, .055);

  filter: blur(80px);
}

.identity-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(290px, .45fr);

  gap: 22px;
}


/* MAIN */

.identity-main {
  min-height: 500px;

  padding:
    clamp(30px, 4.7vw, 60px);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-code {
  display: block;

  margin-bottom: 28px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .56rem;

  letter-spacing: .14em;
}

.identity-main h3 {
  max-width: 800px;

  font-size:
    clamp(
      2rem,
      4vw,
      3.75rem
    );

  line-height: 1.04;

  letter-spacing: -.045em;
}

.identity-main p {
  max-width: 780px;

  margin-top: 22px;

  color: var(--muted);

  font-size: .92rem;

  line-height: 1.85;
}

.identity-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 9px;

  margin-top: 32px;

  font-family: var(--font-mono);
  font-size: .55rem;
}

.identity-path span {
  padding: 7px 9px;

  border:
    1px solid var(--border);

  border-radius: 7px;

  background:
    rgba(255, 255, 255, .014);
}

.identity-path i {
  color: var(--blue);

  font-style: normal;
}


/* MATRIX */

.profile-matrix {
  padding: 29px;
}

.matrix-row {
  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 15px;

  min-height: 62px;

  border-bottom:
    1px solid var(--border);
}

.matrix-row span {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .49rem;
}

.matrix-row strong {
  color: var(--text-soft);

  font-family: var(--font-mono);
  font-size: .6rem;

  text-align: right;
}

.matrix-current {
  color: var(--purple-soft) !important;
}

.matrix-status {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-top: 28px;

  color: var(--green);

  font-family: var(--font-mono);
  font-size: .55rem;
}


/* OPERATING MODEL */

.operating-model {
  margin-top: 22px;

  padding: 25px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    rgba(255, 255, 255, .012);
}

.operating-label {
  display: block;

  margin-bottom: 20px;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .53rem;

  letter-spacing: .14em;
}

.operating-flow {
  display: flex;
  align-items: stretch;

  gap: 8px;
}

.operating-flow > div {
  min-width: 0;

  flex: 1;

  padding: 15px 10px;

  border:
    1px solid var(--border);

  border-radius: 9px;

  text-align: center;

  background:
    rgba(255, 255, 255, .012);
}

.operating-flow > div small {
  display: block;

  margin-bottom: 5px;

  color: var(--muted-3);

  font-family: var(--font-mono);
  font-size: .42rem;
}

.operating-flow > div strong {
  color: var(--text-soft);

  font-family: var(--font-mono);
  font-size: .52rem;
}

.operating-flow > span {
  display: flex;
  align-items: center;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .58rem;
}


/* ========================================================================== */
/* 18 / CURRENT MISSION                                                       */
/* ========================================================================== */

.mission-section {
  overflow: hidden;
}

.mission-section::after {
  content: "";

  position: absolute;

  z-index: 0;

  width: 600px;
  height: 600px;

  right: -260px;
  top: 12%;

  border-radius: 50%;

  background:
    rgba(139, 92, 246, .065);

  filter: blur(90px);

  pointer-events: none;
}

.mission-section .section-shell {
  position: relative;

  z-index: 2;
}

.mission-layout {
  display: grid;

  grid-template-columns:
    minmax(330px, .85fr)
    1.15fr;

  gap: 25px;
}


/* CORE */

.mission-core-panel {
  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 92, 246, .08),
      transparent 48%
    ),
    rgba(255, 255, 255, .01);
}

.mission-rings {
  position: relative;

  width: 360px;
  height: 360px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-ring {
  position: absolute;

  left: 50%;
  top: 50%;

  border-radius: 50%;

  transform:
    translate(-50%, -50%);
}

.ring-a {
  width: 210px;
  height: 210px;

  border:
    1px solid rgba(56, 189, 248, .28);

  animation:
    orbitSpin 20s linear infinite;
}

.ring-b {
  width: 280px;
  height: 280px;

  border:
    1px dashed rgba(139, 92, 246, .24);

  animation:
    orbitSpinReverse 32s linear infinite;
}

.ring-c {
  width: 350px;
  height: 350px;

  border:
    1px dotted rgba(45, 212, 191, .2);

  animation:
    orbitSpin 50s linear infinite;
}

.mission-core {
  position: relative;

  z-index: 5;

  width: 175px;
  height: 175px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(139, 92, 246, .44);

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(139, 92, 246, .2),
      rgba(8, 13, 25, .97)
    );

  box-shadow:
    0 0 55px rgba(139, 92, 246, .16);
}

body.light .mission-core {
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(139, 92, 246, .14),
      rgba(255, 255, 255, .95)
    );
}

.mission-core small {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .43rem;
}

.mission-core strong {
  margin-top: 7px;

  color: var(--purple-soft);

  font-size: 1.2rem;

  letter-spacing: -.03em;
}

.mission-core span {
  margin-top: 7px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .48rem;
}


/* MODULES */

.mission-modules {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 14px;
}

.mission-module {
  position: relative;

  min-height: 240px;

  padding: 26px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    var(--surface);

  transition:
    transform var(--normal),
    border-color var(--normal),
    box-shadow var(--normal);
}

.mission-module:hover {
  transform: translateY(-5px);

  border-color:
    rgba(139, 92, 246, .35);

  box-shadow:
    var(--shadow-soft);
}

.mission-module::after {
  content: "";

  position: absolute;

  width: 120px;
  height: 120px;

  right: -55px;
  bottom: -65px;

  border-radius: 50%;

  background:
    var(--purple);

  opacity: .07;

  filter: blur(15px);
}

.mission-module > span {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.mission-module h3 {
  margin-top: 17px;

  font-size: 1.35rem;
}

.mission-module p {
  margin-top: 15px;

  color: var(--muted);

  font-size: .78rem;

  line-height: 1.75;
}

.module-status {
  position: absolute;

  left: 26px;
  bottom: 22px;

  color: var(--green);

  font-family: var(--font-mono);
  font-size: .46rem;
}

.mission-command {
  margin-top: 18px;

  padding: 16px 20px;

  display: flex;
  align-items: center;

  gap: 11px;

  border:
    1px solid var(--border);

  border-radius: 12px;

  background:
    var(--surface);

  font-family: var(--font-mono);
  font-size: .61rem;
}

.mission-command > span {
  color: var(--blue);
}

.mission-command strong {
  color: var(--text-soft);

  font-weight: 500;
}


/* ========================================================================== */
/* 19 / EXPERIENCE                                                            */
/* ========================================================================== */

.experience-timeline {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;

  padding-top: 28px;
}

.experience-timeline::before {
  content: "";

  position: absolute;

  top: 7px;
  left: 4%;
  right: 4%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .5),
      rgba(45, 212, 191, .45),
      rgba(139, 92, 246, .5)
    );
}

.experience-card {
  position: relative;

  min-height: 575px;

  padding: 29px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(14, 23, 42, .88),
      rgba(7, 11, 23, .92)
    );

  box-shadow:
    var(--shadow-soft);

  transition:
    border-color var(--normal),
    box-shadow var(--normal);
}

body.light .experience-card {
  background: white;
}

.experience-card:hover {
  border-color:
    rgba(56, 189, 248, .3);

  box-shadow: var(--shadow);
}

.experience-latest {
  border-color:
    rgba(139, 92, 246, .25);

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, .07),
      rgba(8, 13, 25, .95)
    );
}

body.light .experience-latest {
  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, .06),
      white
    );
}

.experience-marker {
  position: absolute;

  top: -28px;
  left: 28px;

  width: 14px;
  height: 14px;

  border:
    3px solid var(--bg);

  border-radius: 50%;
}

.experience-marker.purple {
  background: var(--purple);

  box-shadow:
    0 0 18px var(--purple);
}

.experience-marker.green {
  background: var(--teal);

  box-shadow:
    0 0 18px var(--teal);
}

.experience-marker.blue {
  background: var(--blue);

  box-shadow:
    0 0 18px var(--blue);
}


/* TOP */

.experience-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 15px;
}

.experience-index {
  display: block;

  color: var(--muted-3);

  font-family: var(--font-mono);
  font-size: .47rem;
}

.experience-year {
  display: block;

  margin-top: 5px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .58rem;
}

.experience-badge {
  padding: 6px 8px;

  border:
    1px solid var(--border);

  border-radius: 7px;

  font-family: var(--font-mono);
  font-size: .43rem;
}

.experience-badge.purple {
  color: var(--purple-soft);

  border-color:
    rgba(139, 92, 246, .3);
}

.experience-badge.green {
  color: var(--teal-soft);

  border-color:
    rgba(45, 212, 191, .3);
}

.experience-badge.blue {
  color: var(--blue-soft);

  border-color:
    rgba(56, 189, 248, .3);
}

.experience-card h3 {
  margin-top: 25px;

  font-size: 1.37rem;

  line-height: 1.25;
}

.experience-role {
  margin-top: 8px;

  color: var(--text-soft);

  font-size: .8rem;
  font-weight: 600;
}

.experience-period {
  margin-top: 7px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .5rem;
}

.experience-place {
  margin-top: 6px;

  color: var(--muted-2);

  font-size: .68rem;
}

.experience-divider {
  height: 1px;

  margin: 23px 0;

  background:
    linear-gradient(
      90deg,
      var(--border-strong),
      transparent
    );
}

.experience-description {
  color: var(--muted);

  font-size: .8rem;

  line-height: 1.75;
}

.experience-list {
  margin-top: 20px;

  list-style: none;

  display: grid;

  gap: 9px;
}

.experience-list li {
  position: relative;

  padding-left: 18px;

  color: var(--muted);

  font-size: .71rem;

  line-height: 1.55;
}

.experience-list li::before {
  content: "›";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--blue);

  font-family: var(--font-mono);
}


/* EXPERIENCE VECTOR */

.experience-vector {
  margin-top: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  padding: 17px;

  border:
    1px solid var(--border);

  border-radius: 12px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .49rem;
}

.experience-vector i {
  color: var(--blue);

  font-style: normal;
}


/* ========================================================================== */
/* 20 / TAGS                                                                  */
/* ========================================================================== */

.tags {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin-top: 23px;
}

.tags span {
  padding: 6px 8px;

  border:
    1px solid var(--border);

  border-radius: 7px;

  color: var(--muted);

  background:
    rgba(255, 255, 255, .014);

  font-family: var(--font-mono);
  font-size: .48rem;

  transition:
    color var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.tags span:hover {
  color: var(--text);

  border-color:
    rgba(56, 189, 248, .25);

  background:
    rgba(56, 189, 248, .04);
}


/* ========================================================================== */
/* 21 / FLAGSHIP                                                              */
/* ========================================================================== */

.flagship-section {
  overflow: hidden;
}

.flagship-section::before {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  right: -350px;
  top: 8%;

  border-radius: 50%;

  background:
    rgba(139, 92, 246, .07);

  filter: blur(100px);

  pointer-events: none;
}

.flagship-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid rgba(139, 92, 246, .27);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(14, 23, 42, .95),
      rgba(4, 7, 17, .97)
    );

  box-shadow:
    0 40px 110px rgba(0, 0, 0, .38);
}

body.light .flagship-card {
  background: white;
}

.flagship-card::before {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  top: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--purple),
      var(--teal)
    );
}

.flagship-card::after {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  right: -130px;
  bottom: -160px;

  border-radius: 50%;

  background: var(--purple);

  opacity: .045;

  filter: blur(30px);
}

.flagship-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    .82fr 1.18fr;
}


/* COPY */

.flagship-copy {
  padding:
    clamp(32px, 4.5vw, 60px);

  border-right:
    1px solid var(--border);
}

.flagship-status {
  display: flex;
  align-items: center;

  gap: 9px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .55rem;
}

.flagship-period {
  display: block;

  margin-top: 22px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .52rem;
}

.flagship-copy h3 {
  margin-top: 15px;

  font-size:
    clamp(
      2.4rem,
      4.2vw,
      4.1rem
    );

  line-height: .96;

  letter-spacing: -.055em;
}

.flagship-copy h3 span {
  display: block;

  color: var(--purple-soft);
}

.flagship-copy > p {
  margin-top: 24px;

  color: var(--muted);

  font-size: .85rem;

  line-height: 1.82;
}

.flagship-copy > p strong {
  color: var(--text-soft);
}


/* FOCUS */

.flagship-focus {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 10px;

  margin-top: 30px;
}

.flagship-focus > div {
  padding: 16px;

  border:
    1px solid var(--border);

  border-radius: 12px;

  background:
    rgba(255, 255, 255, .015);
}

.flagship-focus span {
  display: block;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .45rem;
}

.flagship-focus strong {
  display: block;

  margin-top: 8px;

  font-size: .76rem;
}

.flagship-focus small {
  display: block;

  margin-top: 5px;

  color: var(--muted-2);

  font-size: .56rem;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 30px;
}


/* ========================================================================== */
/* 22 / FLAGSHIP ARCHITECTURE                                                 */
/* ========================================================================== */

.architecture-panel {
  position: relative;

  padding:
    clamp(30px, 4.4vw, 58px);

  display: flex;
  flex-direction: column;
  justify-content: center;

  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(56, 189, 248, .075),
      transparent 42%
    );
}

.architecture-panel::before {
  content: "";

  position: absolute;

  inset: 22px;

  z-index: -1;

  opacity: .13;

  background-image:
    linear-gradient(
      rgba(56, 189, 248, .1) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .1) 1px,
      transparent 1px
    );

  background-size: 27px 27px;

  mask-image:
    radial-gradient(
      circle,
      black,
      transparent 70%
    );
}

.architecture-top {
  display: flex;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 25px;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.architecture-online {
  color: var(--green);
}


/* EVOLUTION */

.architecture-flow {
  display: flex;
  align-items: center;

  gap: 7px;

  overflow-x: auto;

  padding-bottom: 6px;

  scrollbar-width: none;
}

.architecture-flow::-webkit-scrollbar {
  display: none;
}

.flow-node {
  min-width: 99px;

  padding: 14px 10px;

  border:
    1px solid var(--border);

  border-radius: 9px;

  color: var(--muted);

  background:
    rgba(255, 255, 255, .015);

  text-align: center;

  font-family: var(--font-mono);
}

.flow-node small {
  display: block;

  margin-bottom: 5px;

  color: var(--muted-3);

  font-size: .42rem;
}

.flow-node strong {
  display: block;

  font-size: .51rem;
  font-weight: 500;
}

.flow-node.active {
  color: var(--blue-soft);

  border-color:
    rgba(56, 189, 248, .42);

  background:
    rgba(56, 189, 248, .06);

  box-shadow:
    0 0 22px rgba(56, 189, 248, .07);
}

.flow-node.purple {
  color: var(--purple-soft);

  border-color:
    rgba(139, 92, 246, .37);
}

.flow-node.teal {
  color: var(--teal-soft);

  border-color:
    rgba(45, 212, 191, .36);
}

.flow-arrow {
  color: var(--muted-3);

  font-family: var(--font-mono);
  font-size: .6rem;
}


/* REQUEST */

.architecture-request {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  margin-top: 35px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .49rem;
}

.architecture-request span {
  padding: 8px 12px;

  border:
    1px solid var(--border);

  border-radius: 8px;

  background:
    rgba(255, 255, 255, .014);
}

.architecture-request i {
  color: var(--blue);

  font-style: normal;
}


/* SERVICES */

.architecture-services {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 9px;

  margin-top: 28px;
}

.architecture-services > div {
  padding: 14px;

  border:
    1px solid rgba(139, 92, 246, .22);

  border-radius: 10px;

  background:
    rgba(139, 92, 246, .025);

  text-align: center;
}

.architecture-services span {
  display: block;

  color: var(--muted-3);

  font-family: var(--font-mono);
  font-size: .4rem;
}

.architecture-services strong {
  display: block;

  margin-top: 5px;

  color: var(--purple-soft);

  font-family: var(--font-mono);
  font-size: .56rem;
}

.architecture-services small {
  display: block;

  margin-top: 4px;

  color: var(--muted-2);

  font-size: .47rem;
}


/* DATA */

.architecture-data {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 9px;

  margin-top: 10px;
}

.architecture-data span {
  padding: 10px;

  border:
    1px solid var(--border);

  border-radius: 8px;

  color: var(--muted);

  text-align: center;

  font-family: var(--font-mono);
  font-size: .46rem;
}


/* OBSERVABILITY */

.observability-row {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 9px;

  margin-top: 25px;
}

.observability-row span {
  padding: 9px;

  border:
    1px solid rgba(45, 212, 191, .17);

  border-radius: 8px;

  color: var(--teal-soft);

  background:
    rgba(45, 212, 191, .035);

  text-align: center;

  font-family: var(--font-mono);
  font-size: .44rem;
}


/* ========================================================================== */
/* 23 / FLAGSHIP METRICS                                                      */
/* ========================================================================== */

.flagship-metrics {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1px;

  margin-top: 18px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 14px;

  background:
    var(--border);
}

.flagship-metrics article {
  min-height: 100px;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 20px;

  background: var(--surface);
}

.flagship-metrics article > span {
  color: var(--text);

  font-size: 1.8rem;
  font-weight: 800;

  letter-spacing: -.06em;
}

.flagship-metrics small {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .47rem;
}


/* ========================================================================== */
/* 24 / DETAILS                                                               */
/* ========================================================================== */

.flagship-depth {
  display: grid;

  gap: 10px;

  margin-top: 18px;
}

.tech-details {
  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 14px;

  background: var(--surface);
}

.tech-details summary {
  min-height: 65px;

  display: grid;

  grid-template-columns:
    80px 1fr auto;

  align-items: center;

  gap: 15px;

  padding: 0 21px;

  cursor: pointer;

  list-style: none;

  color: var(--text-soft);

  font-size: .76rem;
  font-weight: 600;
}

.tech-details summary::-webkit-details-marker {
  display: none;
}

.tech-details summary > span {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.tech-details summary i {
  color: var(--muted);

  font-family: var(--font-mono);
  font-style: normal;

  transition:
    transform var(--normal);
}

.tech-details[open] summary i {
  transform: rotate(45deg);

  color: var(--blue);
}

.details-body {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 10px;

  padding: 0 20px 20px;
}

.details-body > div {
  padding: 18px;

  border:
    1px solid var(--border);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, .012);
}

.details-body h4 {
  color: var(--text-soft);

  font-size: .74rem;
}

.details-body p {
  margin-top: 9px;

  color: var(--muted);

  font-size: .66rem;

  line-height: 1.65;
}


/* ========================================================================== */
/* 25 / PROJECTS                                                              */
/* ========================================================================== */

.projects-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 24px;
}

.project-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background: var(--surface);

  box-shadow:
    var(--shadow-soft);

  transition:
    border-color var(--normal),
    box-shadow var(--normal);
}

.project-card:hover {
  border-color:
    rgba(56, 189, 248, .29);

  box-shadow: var(--shadow);
}

.project-top {
  position: absolute;

  z-index: 10;

  left: 20px;
  right: 20px;
  top: 18px;

  display: flex;
  justify-content: space-between;

  pointer-events: none;

  font-family: var(--font-mono);
  font-size: .45rem;
}

.project-number {
  color: rgba(255, 255, 255, .48);
}

.project-year {
  color: var(--blue);
}

body.light .project-number {
  color: var(--muted);
}


/* VISUAL */

.project-visual {
  position: relative;

  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-bottom:
    1px solid var(--border);
}

.project-data {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(56, 189, 248, .13),
      transparent 55%
    );
}

.project-infra {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 92, 246, .12),
      transparent 56%
    );
}

.project-visual-core {
  position: relative;

  z-index: 6;

  text-align: center;
}

.project-visual-core > span {
  display: block;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .5rem;

  letter-spacing: .14em;
}

.project-visual-core strong {
  display: block;

  margin-top: 2px;

  color: var(--text);

  font-size: 3.1rem;

  line-height: 1;

  letter-spacing: -.07em;
}

.project-visual-core small {
  display: block;

  margin-top: 8px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .5rem;
}


/* DATA ORBITS */

.visual-orbit {
  position: absolute;

  left: 50%;
  top: 50%;

  border:
    1px dashed rgba(56, 189, 248, .2);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);
}

.orbit-a {
  width: 230px;
  height: 230px;

  animation:
    orbitSpin 24s linear infinite;
}

.orbit-b {
  width: 320px;
  height: 320px;

  opacity: .55;

  animation:
    orbitSpinReverse 35s linear infinite;
}

.visual-orbit::before {
  content: "";

  position: absolute;

  width: 8px;
  height: 8px;

  left: 35px;
  top: 26px;

  border-radius: 50%;

  background: var(--blue);

  box-shadow:
    0 0 14px var(--blue);
}


/* SERVER */

.server-stack {
  position: absolute;

  display: grid;

  gap: 7px;

  opacity: .26;

  transform:
    perspective(800px)
    rotateX(62deg)
    rotateZ(-7deg);
}

.server-stack i {
  width: 310px;
  height: 37px;

  border:
    1px solid rgba(139, 92, 246, .62);

  border-radius: 7px;

  background:
    rgba(139, 92, 246, .04);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, .2);
}


/* CONTENT */

.project-content {
  padding: 30px;
}

.project-date {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.project-content h3 {
  margin-top: 14px;

  font-size: 1.6rem;

  letter-spacing: -.025em;
}

.project-content > p {
  margin-top: 18px;

  color: var(--muted);

  font-size: .8rem;

  line-height: 1.78;
}

.project-capabilities {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 7px;

  margin-top: 24px;
}

.project-capabilities > div {
  display: grid;

  grid-template-columns:
    27px 1fr;

  align-items: center;

  gap: 5px;

  padding: 9px;

  border:
    1px solid var(--border);

  border-radius: 8px;

  color: var(--muted);

  font-size: .61rem;
}

.project-capabilities span {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .45rem;
}

.project-link {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  margin-top: 27px;

  color: var(--text-soft);

  text-decoration: none;

  font-family: var(--font-mono);
  font-size: .57rem;

  transition:
    color var(--fast),
    transform var(--fast);
}

.project-link span {
  color: var(--blue);
}

.project-link:hover {
  color: var(--blue);

  transform: translateX(3px);
}


/* ========================================================================== */
/* 26 / STACK BENTO                                                           */
/* ========================================================================== */

.bento-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 15px;
}

.bento-card {
  position: relative;

  min-height: 245px;

  padding: 28px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background: var(--surface);

  transition:
    transform var(--normal),
    border-color var(--normal),
    box-shadow var(--normal);
}

.bento-card:hover {
  transform: translateY(-5px);

  border-color:
    var(--border-strong);

  box-shadow:
    var(--shadow-soft);
}

.bento-card::after {
  content: "";

  position: absolute;

  right: -90px;
  bottom: -105px;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  opacity: .11;

  filter: blur(20px);
}

.bento-large {
  grid-column:
    span 2;
}

.bento-code {
  position: relative;

  z-index: 2;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .5rem;

  letter-spacing: .12em;
}

.bento-card h3 {
  position: relative;

  z-index: 2;

  margin-top: 22px;

  font-size: 1.62rem;
}

.bento-card > p {
  position: relative;

  z-index: 2;

  max-width: 520px;

  margin-top: 13px;

  color: var(--muted);

  font-size: .74rem;
}

.tech-cloud {
  position: relative;

  z-index: 2;

  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin-top: 27px;
}

.tech-cloud span {
  padding: 7px 9px;

  border:
    1px solid var(--border);

  border-radius: 7px;

  color: var(--muted);

  background:
    rgba(255, 255, 255, .014);

  font-family: var(--font-mono);
  font-size: .51rem;

  transition:
    color var(--fast),
    border-color var(--fast),
    transform var(--fast);
}

.tech-cloud span:hover {
  transform: translateY(-2px);

  color: var(--text);

  border-color:
    var(--border-strong);
}

.bento-card.blue::after {
  background: var(--blue);
}

.bento-card.purple::after {
  background: var(--purple);
}

.bento-card.teal::after {
  background: var(--teal);
}

.bento-card.red::after {
  background: var(--red);
}

.bento-card.orange::after {
  background: var(--orange);
}

.bento-card.cyan::after {
  background: var(--cyan);
}

.bento-card.green::after {
  background: var(--green);
}

.bento-card.pink::after {
  background: var(--pink);
}


/* ========================================================================== */
/* 27 / TECHNICAL LAB                                                         */
/* ========================================================================== */

.lab-section {
  overflow: hidden;
}

.lab-section::before {
  content: "";

  position: absolute;

  z-index: -1;

  width: 700px;
  height: 700px;

  left: -390px;
  bottom: -300px;

  border-radius: 50%;

  background:
    rgba(45, 212, 191, .05);

  filter: blur(95px);
}

.lab-console {
  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(10, 17, 31, .96),
      rgba(4, 7, 17, .98)
    );

  box-shadow: var(--shadow);
}

body.light .lab-console {
  background: white;
}

.lab-console-top {
  min-height: 54px;

  display: grid;

  grid-template-columns:
    auto 1fr auto;

  align-items: center;

  gap: 15px;

  padding: 0 20px;

  border-bottom:
    1px solid var(--border);

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .52rem;
}

.lab-console-top strong {
  color: var(--green);

  font-size: inherit;
}

.lab-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 1px;

  background: var(--border);
}

.lab-module {
  min-height: 220px;

  padding: 27px;

  background: var(--surface);

  transition:
    background var(--normal);
}

.lab-module:hover {
  background:
    var(--surface-2);
}

.lab-module > span {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .47rem;
}

.lab-module h3 {
  margin-top: 19px;

  font-size: 1.25rem;
}

.lab-module p {
  margin-top: 16px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .57rem;

  line-height: 1.8;
}

.lab-module-current {
  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, .08),
      var(--surface)
    );
}

.lab-module-current > span {
  color: var(--purple-soft);
}

.lab-process {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 15px;

  padding: 18px 20px;

  border-top:
    1px solid var(--border);

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .49rem;
}

.lab-process i {
  color: var(--blue);

  font-style: normal;
}

.lab-process-repeat {
  color: var(--green);
}


/* ========================================================================== */
/* 28 / EDUCATION                                                             */
/* ========================================================================== */

.education-path {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 19px;

  padding-top: 30px;
}

.education-path::before {
  content: "";

  position: absolute;

  top: 8px;
  left: 7%;
  right: 7%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--muted-3),
      var(--blue),
      var(--teal)
    );
}

.education-stage {
  position: relative;

  min-height: 340px;

  padding: 31px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background: var(--surface);

  transition:
    transform var(--normal),
    border-color var(--normal),
    box-shadow var(--normal);
}

.education-stage:hover {
  transform: translateY(-5px);

  border-color:
    var(--border-strong);

  box-shadow:
    var(--shadow-soft);
}

.education-stage::before {
  content: "";

  position: absolute;

  left: 29px;
  top: -29px;

  width: 14px;
  height: 14px;

  border:
    3px solid var(--bg-2);

  border-radius: 50%;

  background: var(--muted-3);
}

.education-stage.current {
  border-color:
    rgba(45, 212, 191, .28);

  background:
    linear-gradient(
      145deg,
      rgba(45, 212, 191, .055),
      var(--surface)
    );
}

.education-stage.current::before {
  background: var(--teal);

  box-shadow:
    0 0 16px var(--teal);
}

.education-status {
  display: block;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .47rem;
}

.education-stage.current .education-status {
  color: var(--green);
}

.education-year {
  display: block;

  margin-top: 22px;

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .55rem;
}

.education-stage h3 {
  margin-top: 18px;

  font-size: 1.38rem;

  line-height: 1.25;
}

.education-type {
  margin-top: 15px;

  color: var(--text-soft);

  font-size: .73rem;
  font-weight: 600;
}

.education-school {
  margin-top: 6px;

  color: var(--muted);

  font-size: .68rem;
}


/* VECTOR */

.education-vector {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  margin-top: 22px;

  padding: 17px;

  border:
    1px solid var(--border);

  border-radius: 12px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.education-vector i {
  color: var(--blue);

  font-style: normal;
}


/* ========================================================================== */
/* 29 / HUMAN PROTOCOL                                                        */
/* ========================================================================== */

.human-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 18px;
}

.human-card {
  padding:
    clamp(28px, 4vw, 45px);
}

.human-direction {
  grid-column:
    span 2;
}

.language-row {
  min-height: 57px;

  display: grid;

  grid-template-columns:
    45px 1fr auto;

  align-items: center;

  gap: 12px;

  border-bottom:
    1px solid var(--border);
}

.language-row:last-child {
  border-bottom: 0;
}

.language-row strong {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .65rem;
}

.language-row span {
  color: var(--text-soft);

  font-size: .78rem;
}

.language-row small {
  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .5rem;
}


/* PRINCIPLES */

.principles {
  list-style: none;

  counter-reset: principle;
}

.principles li {
  counter-increment: principle;

  min-height: 48px;

  display: grid;

  grid-template-columns:
    40px 1fr;

  align-items: center;

  gap: 5px;

  border-bottom:
    1px solid var(--border);

  color: var(--muted);

  font-size: .76rem;
}

.principles li::before {
  content:
    "0" counter(principle);

  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .5rem;
}


/* DIRECTION */

.direction-map {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 10px;
}

.direction-map span {
  padding: 8px 11px;

  border:
    1px solid var(--border);

  border-radius: 8px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .53rem;
}

.human-direction blockquote {
  max-width: 750px;

  margin-top: 34px;

  padding-left: 23px;

  border-left:
    2px solid var(--blue);

  color: var(--text-soft);

  font-size:
    clamp(
      1.15rem,
      2.2vw,
      1.7rem
    );

  line-height: 1.45;

  letter-spacing: -.025em;
}


/* ========================================================================== */
/* 30 / PUBLIC SIGNAL                                                         */
/* ========================================================================== */

.signal-grid {
  display: grid;

  grid-template-columns:
    1.15fr .95fr .9fr;

  gap: 17px;
}

.signal-card {
  min-height: 340px;

  padding: 29px;

  display: flex;
  flex-direction: column;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius);

  background: var(--surface);

  box-shadow:
    var(--shadow-soft);

  transition:
    transform var(--normal),
    border-color var(--normal);
}

.signal-card:hover {
  transform: translateY(-5px);

  border-color:
    var(--border-strong);
}

.signal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .49rem;
}

.signal-card h3 {
  margin-top: 27px;

  font-size: 1.35rem;
}

.signal-card > p {
  margin-top: 15px;

  color: var(--muted);

  font-size: .76rem;

  line-height: 1.7;
}

.signal-card > a {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: auto;
  padding-top: 28px;

  color: var(--text-soft);

  text-decoration: none;

  font-family: var(--font-mono);
  font-size: .55rem;
}

.signal-card > a span {
  color: var(--blue);
}


/* GITHUB */

.github-live-stats {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 7px;

  margin-top: 27px;
}

.github-live-stats > div {
  padding: 13px 8px;

  border:
    1px solid var(--border);

  border-radius: 9px;

  text-align: center;
}

.github-live-stats strong {
  display: block;

  color: var(--blue);

  font-size: 1.25rem;
}

.github-live-stats span {
  display: block;

  margin-top: 4px;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .4rem;
}


/* LINKEDIN */

.signal-stack {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin-top: 27px;
}

.signal-stack span {
  padding: 7px 9px;

  border:
    1px solid var(--border);

  border-radius: 7px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .49rem;
}


/* RUNTIME */

.runtime-log {
  display: grid;

  gap: 0;

  margin-top: 27px;

  border:
    1px solid var(--border);

  border-radius: 10px;

  overflow: hidden;
}

.runtime-log p {
  min-height: 40px;

  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 10px;

  padding: 0 11px;

  border-bottom:
    1px solid var(--border);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.runtime-log p:last-child {
  border-bottom: 0;
}

.runtime-log span {
  color: var(--muted);
}

.runtime-log strong {
  color: var(--green);

  font-size: .47rem;
}


/* ========================================================================== */
/* 31 / CONTACT                                                               */
/* ========================================================================== */

.contact-section {
  position: relative;

  overflow: hidden;

  padding:
    clamp(110px, 12vw, 180px)
    25px;

  border-top:
    1px solid var(--border);

  background:
    radial-gradient(
      circle at 50% 110%,
      rgba(56, 189, 248, .12),
      transparent 45%
    );
}

.contact-section::before {
  content: "";

  position: absolute;

  width: 650px;
  height: 650px;

  left: 50%;
  bottom: -520px;

  transform: translateX(-50%);

  border:
    1px solid rgba(56, 189, 248, .09);

  border-radius: 50%;

  box-shadow:
    0 0 0 100px rgba(56, 189, 248, .015),
    0 0 0 200px rgba(139, 92, 246, .01);
}

.contact-shell {
  position: relative;

  z-index: 3;

  width: min(100%, 980px);

  margin: auto;

  text-align: center;
}

.contact-pretitle {
  margin-top: 20px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .6rem;
}

.contact-shell h2 {
  margin-top: 25px;

  font-size:
    clamp(
      3.4rem,
      7vw,
      6.8rem
    );

  line-height: .92;

  letter-spacing: -.07em;
}

.contact-shell h2 span {
  color: transparent;

  background:
    linear-gradient(
      90deg,
      var(--blue-soft),
      var(--purple-soft)
    );

  background-clip: text;
  -webkit-background-clip: text;
}

.contact-description {
  max-width: 680px;

  margin: 28px auto 0;

  color: var(--muted);

  font-size: .88rem;

  line-height: 1.8;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 10px;

  margin-top: 35px;
}


/* TERMINAL */

.connection-terminal {
  width: min(100%, 680px);

  margin: 65px auto 0;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 16px;

  background: var(--surface);

  text-align: left;

  box-shadow:
    var(--shadow-soft);
}

.connection-terminal-top {
  min-height: 47px;

  display: flex;
  align-items: center;

  gap: 14px;

  padding: 0 16px;

  border-bottom:
    1px solid var(--border);

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .49rem;
}

.connection-terminal-body {
  padding: 20px;
}

.connection-terminal-body > p {
  min-height: 33px;

  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  border-bottom:
    1px solid var(--border-soft);

  font-family: var(--font-mono);
  font-size: .53rem;
}

.connection-terminal-body > p span {
  color: var(--muted);
}

.connection-terminal-body > p strong {
  color: var(--green);

  font-size: inherit;
}

.connection-command {
  margin-top: 24px;

  color: var(--text-soft);

  font-family: var(--font-mono);
  font-size: .55rem;
}


/* STATUS */

.connection-status {
  width: min(100%, 480px);

  margin: 25px auto 0;

  display: grid;

  grid-template-columns:
    1fr auto auto;

  align-items: center;

  gap: 11px;

  padding: 12px 14px;

  border:
    1px solid var(--border);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, .013);

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .49rem;

  text-align: left;
}

.connection-status strong {
  color: var(--green);
}

.connection-status i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 12px var(--green);
}


/* ========================================================================== */
/* 32 / FOOTER                                                                */
/* ========================================================================== */

.footer {
  padding: 27px 25px;

  border-top:
    1px solid var(--border);

  background: var(--bg);
}

.footer-shell {
  width: min(100%, var(--max));

  margin: auto;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 20px;

  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .47rem;
}

.footer-shell > div:last-child {
  text-align: right;
}

.footer-system {
  color: var(--muted);

  text-align: center;
}

.footer-system i {
  margin: 0 6px;

  color: var(--blue);

  font-style: normal;
}


/* ========================================================================== */
/* 33 / FLOATING DOCK                                                         */
/* ========================================================================== */

.floating-dock {
  position: fixed;

  z-index: 2200;

  right: 20px;
  bottom: 20px;

  display: flex;
  align-items: center;

  gap: 5px;

  padding: 5px;

  border:
    1px solid var(--border);

  border-radius: 12px;

  background:
    rgba(7, 11, 23, .82);

  box-shadow:
    var(--shadow-soft);

  backdrop-filter:
    blur(18px);
}

body.light .floating-dock {
  background:
    rgba(255, 255, 255, .85);
}

.floating-dock a,
.scroll-top {
  width: 37px;
  height: 37px;

  display: grid;
  place-items: center;

  border:
    1px solid transparent;

  border-radius: 8px;

  color: var(--muted);

  background: transparent;

  text-decoration: none;

  font-family: var(--font-mono);
  font-size: .5rem;

  cursor: pointer;

  transition:
    color var(--fast),
    background var(--fast),
    border-color var(--fast),
    transform var(--fast);
}

.floating-dock a:hover,
.scroll-top:hover {
  transform: translateY(-2px);

  border-color:
    var(--border);

  color: var(--text);

  background:
    rgba(56, 189, 248, .05);
}

.scroll-top {
  opacity: .35;
}

.scroll-top.visible {
  opacity: 1;

  color: var(--blue);
}


/* ========================================================================== */
/* 34 / COMMAND PALETTE                                                       */
/* ========================================================================== */

.command-palette {
  position: fixed;

  inset: 0;

  z-index: 9000;

  display: grid;

  place-items: start center;

  padding-top:
    min(
      15vh,
      130px
    );

  visibility: hidden;

  opacity: 0;

  transition:
    opacity .2s ease,
    visibility .2s ease;
}

.command-palette.open {
  visibility: visible;

  opacity: 1;
}

.command-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, .69);

  backdrop-filter:
    blur(12px);
}

.command-panel {
  position: relative;

  z-index: 2;

  width:
    min(
      calc(100% - 30px),
      650px
    );

  overflow: hidden;

  border:
    1px solid var(--border-strong);

  border-radius:
    19px;

  background:
    var(--surface-glass-strong);

  box-shadow:
    0 40px 130px rgba(0, 0, 0, .58);

  backdrop-filter:
    blur(24px);
}

.command-header {
  min-height: 49px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 17px;

  border-bottom:
    1px solid var(--border);

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .52rem;
}

.command-header kbd {
  padding: 4px 7px;

  border:
    1px solid var(--border);

  border-radius: 6px;

  background: var(--surface-2);

  color: var(--muted);
}


/* SEARCH */

.command-search {
  display: grid;

  grid-template-columns:
    20px 1fr;

  align-items: center;

  gap: 7px;

  margin: 13px;

  padding: 0 13px;

  border:
    1px solid var(--border);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, .018);
}

.command-search > span {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .7rem;
}

.command-search input {
  width: 100%;

  min-height: 44px;

  border: 0;

  outline: 0;

  color: var(--text);

  background: transparent;

  font-family: var(--font-mono);
  font-size: .63rem;
}

.command-search input::placeholder {
  color: var(--muted-3);
}


/* COMMAND LIST */

.command-list {
  max-height: 460px;

  overflow-y: auto;

  padding: 0 13px 13px;
}

.command-list button {
  width: 100%;

  min-height: 50px;

  display: grid;

  grid-template-columns:
    42px 1fr auto;

  align-items: center;

  gap: 7px;

  padding: 0 11px;

  border-radius: 9px;

  background: transparent;

  color: var(--text);

  text-align: left;

  cursor: pointer;

  transition:
    background var(--fast);
}

.command-list button:hover,
.command-list button.command-active {
  background:
    rgba(56, 189, 248, .065);
}

.command-list button > span {
  color: var(--blue);

  font-family: var(--font-mono);
  font-size: .48rem;
}

.command-list button strong {
  font-size: .68rem;
  font-weight: 600;
}

.command-list button small {
  color: var(--muted-2);

  font-family: var(--font-mono);
  font-size: .45rem;
}


/* FOOTER */

.command-footer {
  min-height: 45px;

  display: flex;
  justify-content: center;

  gap: 20px;

  padding: 0 15px;

  border-top:
    1px solid var(--border);

  color: var(--muted-3);

  font-family: var(--font-mono);
  font-size: .43rem;

  align-items: center;
}


/* ========================================================================== */
/* 35 / REVEAL ANIMATION                                                      */
/* ========================================================================== */

[data-reveal] {
  opacity: 0;

  transform:
    translateY(28px);

  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease);
}

[data-reveal].visible {
  opacity: 1;

  transform: none;
}


/* ========================================================================== */
/* 36 / TILT                                                                  */
/* ========================================================================== */

.tilt-card {
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));

  transform-style: preserve-3d;

  transition:
    transform .17s ease-out;
}


/* ========================================================================== */
/* 37 / MICRO INTERACTIONS                                                    */
/* ========================================================================== */

.project-card,
.bento-card,
.experience-card,
.mission-module,
.education-stage,
.signal-card,
.identity-main,
.profile-matrix {
  will-change: transform;
}

.project-card::after,
.experience-card::after,
.bento-card::before {
  pointer-events: none;
}


/* ========================================================================== */
/* 38 / SCROLLBAR                                                             */
/* ========================================================================== */

@media (hover: hover) {

  ::-webkit-scrollbar {
    width: 9px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg);
  }

  ::-webkit-scrollbar-thumb {
    border:
      2px solid transparent;

    border-radius: 999px;

    background:
      rgba(56, 189, 248, .28);

    background-clip:
      padding-box;
  }

  ::-webkit-scrollbar-thumb:hover {
    background:
      rgba(56, 189, 248, .48);

    background-clip:
      padding-box;
  }

}


/* ========================================================================== */
/* 39 / RESPONSIVE — 1280                                                    */
/* ========================================================================== */

@media (max-width: 1280px) {

  .chapter-rail {
    display: none;
  }

}


/* ========================================================================== */
/* 40 / RESPONSIVE — 1080                                                     */
/* ========================================================================== */

@media (max-width: 1080px) {

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: .68rem;
  }

  .hero-shell {
    grid-template-columns:
      minmax(0, 1fr)
      420px;

    gap: 45px;
  }

  .hero h1 {
    font-size:
      clamp(
        3.8rem,
        7.5vw,
        6.8rem
      );
  }

  .experience-timeline {
    grid-template-columns:
      1fr 1fr;
  }

  .experience-timeline::before {
    display: none;
  }

  .experience-marker {
    display: none;
  }

  .experience-card:last-child {
    grid-column:
      span 2;
  }

  .flagship-grid {
    grid-template-columns:
      1fr;
  }

  .flagship-copy {
    border-right: 0;

    border-bottom:
      1px solid var(--border);
  }

  .architecture-panel {
    min-height: 540px;
  }

  .signal-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .signal-status {
    grid-column:
      span 2;
  }

}


/* ========================================================================== */
/* 41 / RESPONSIVE — 900                                                      */
/* ========================================================================== */

@media (max-width: 900px) {

  .nav-links {
    position: fixed;

    top:
      calc(var(--nav-h) + 8px);

    left: 15px;
    right: 15px;

    display: grid;

    gap: 2px;

    padding: 13px;

    border:
      1px solid var(--border);

    border-radius:
      15px;

    background:
      rgba(4, 7, 17, .95);

    backdrop-filter:
      blur(20px);

    box-shadow:
      var(--shadow-soft);

    opacity: 0;

    pointer-events: none;

    transform:
      translateY(-15px);

    transition:
      opacity var(--fast),
      transform var(--fast);
  }

  body.light .nav-links {
    background:
      rgba(255, 255, 255, .96);
  }

  .nav-links.open {
    opacity: 1;

    pointer-events: auto;

    transform: none;
  }

  .nav-links a {
    padding: 11px 10px;

    font-size: .72rem;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .command-trigger {
    display: none;
  }


  /* HERO */

  .hero {
    min-height: auto;

    padding-top: 120px;
  }

  .hero-shell {
    grid-template-columns:
      1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-signals {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .system-panel {
    width:
      min(
        100%,
        590px
      );

    margin: 20px auto 0;
  }

  .hero-metrics {
    grid-template-columns:
      1fr 1fr;
  }

  .hero-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .hero-metrics > div:nth-child(-n + 2) {
    border-bottom:
      1px solid var(--border);
  }

  .scroll-indicator {
    display: none;
  }


  /* IDENTITY */

  .identity-grid {
    grid-template-columns:
      1fr;
  }

  .profile-matrix {
    display: grid;

    grid-template-columns:
      1fr 1fr;

    gap: 0 25px;
  }

  .profile-matrix .card-code,
  .matrix-status {
    grid-column:
      span 2;
  }

  .operating-flow {
    overflow-x: auto;

    padding-bottom: 6px;
  }

  .operating-flow > div {
    min-width: 125px;
  }


  /* MISSION */

  .mission-layout {
    grid-template-columns:
      1fr;
  }

  .mission-core-panel {
    min-height: 430px;
  }


  /* PROJECTS */

  .projects-grid {
    grid-template-columns:
      1fr;
  }


  /* BENTO */

  .bento-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .bento-large {
    grid-column:
      auto;
  }


  /* LAB */

  .lab-grid {
    grid-template-columns:
      1fr 1fr;
  }


  /* EDUCATION */

  .education-path {
    grid-template-columns:
      1fr;
  }

  .education-path::before {
    display: none;
  }

  .education-stage::before {
    display: none;
  }


  /* HUMAN */

  .human-grid {
    grid-template-columns:
      1fr;
  }

  .human-direction {
    grid-column: auto;
  }


  /* FOOTER */

  .footer-shell {
    grid-template-columns:
      1fr;

    text-align: center;
  }

  .footer-shell > div:last-child {
    text-align: center;
  }

  .footer-system {
    order: -1;
  }

}


/* ========================================================================== */
/* 42 / RESPONSIVE — 720                                                      */
/* ========================================================================== */

@media (max-width: 720px) {

  .section {
    padding:
      90px 16px;
  }

  .section-heading {
    grid-template-columns:
      1fr;

    gap: 8px;
  }

  .section-index {
    padding-top: 0;
  }


  /* EXPERIENCE */

  .experience-timeline {
    grid-template-columns:
      1fr;
  }

  .experience-card:last-child {
    grid-column: auto;
  }

  .experience-card {
    min-height: auto;
  }

  .experience-vector,
  .education-vector,
  .lab-process {
    justify-content: flex-start;

    overflow-x: auto;

    white-space: nowrap;
  }


  /* FLAGSHIP */

  .flagship-focus {
    grid-template-columns:
      1fr;
  }

  .flagship-metrics {
    grid-template-columns:
      1fr 1fr;
  }

  .architecture-services,
  .architecture-data,
  .observability-row {
    grid-template-columns:
      1fr;
  }

  .architecture-request {
    flex-direction: column;
  }

  .details-body {
    grid-template-columns:
      1fr;
  }


  /* SIGNAL */

  .signal-grid {
    grid-template-columns:
      1fr;
  }

  .signal-status {
    grid-column: auto;
  }


  /* COMMAND */

  .command-footer {
    display: none;
  }

}


/* ========================================================================== */
/* 43 / RESPONSIVE — 600                                                      */
/* ========================================================================== */

@media (max-width: 600px) {

  :root {
    --nav-h: 64px;
  }

  .nav-shell {
    width:
      calc(100% - 26px);
  }

  .brand {
    font-size: .64rem;
  }


  /* HERO */

  .hero {
    padding:
      108px
      14px
      85px;
  }

  .hero-kicker {
    font-size: .55rem;
  }

  .hero h1 {
    font-size:
      clamp(
        3.3rem,
        17vw,
        5.2rem
      );
  }

  .hero-description {
    font-size: .87rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-signals {
    gap: 9px;
  }


  /* PANEL */

  .system-panel {
    min-height: 525px;
  }

  .system-core {
    height: 320px;
  }

  .hero-photo {
    width: 138px;
    height: 138px;
  }

  .profile-core {
    width: 164px;
    height: 164px;
  }

  .orbit-one {
    width: 225px;
    height: 225px;
  }

  .orbit-two {
    width: 285px;
    height: 285px;
  }

  .orbit-three {
    width: 335px;
    height: 335px;
  }

  .orbit-linux {
    left: 11px;
  }

  .orbit-cloud {
    right: 10px;
  }

  .orbit-k8s {
    right: 10px;
  }

  .orbit-data {
    left: 10px;
  }

  .orbit-ai {
    right: 13px;
  }

  .system-console > div {
    grid-template-columns:
      13px 1fr;

    font-size: .48rem;
  }

  .system-console strong {
    grid-column: 2;
  }

  .panel-footer {
    display: none;
  }


  /* METRICS */

  .hero-metrics {
    grid-template-columns:
      1fr;
  }

  .hero-metrics > div {
    border-right: 0;

    border-bottom:
      1px solid var(--border);
  }

  .hero-metrics > div:last-child {
    border-bottom: 0;
  }


  /* HEADINGS */

  .section-heading h2 {
    font-size:
      clamp(
        2.45rem,
        13vw,
        3.9rem
      );
  }


  /* PROFILE */

  .profile-matrix {
    display: block;
  }


  /* MISSION */

  .mission-core-panel {
    min-height: 380px;
  }

  .mission-rings {
    width: 300px;
    height: 300px;
  }

  .ring-a {
    width: 180px;
    height: 180px;
  }

  .ring-b {
    width: 235px;
    height: 235px;
  }

  .ring-c {
    width: 290px;
    height: 290px;
  }

  .mission-core {
    width: 150px;
    height: 150px;
  }

  .mission-core strong {
    font-size: 1rem;
  }

  .mission-modules {
    grid-template-columns:
      1fr;
  }


  /* ARCH */

  .architecture-panel {
    padding: 27px 17px;
  }

  .architecture-flow {
    justify-content: flex-start;
  }


  /* PROJECTS */

  .project-visual {
    height: 235px;
  }

  .project-content {
    padding: 23px;
  }

  .project-capabilities {
    grid-template-columns:
      1fr;
  }


  /* BENTO */

  .bento-grid {
    grid-template-columns:
      1fr;
  }


  /* LAB */

  .lab-grid {
    grid-template-columns:
      1fr;
  }


  /* GITHUB STATS */

  .github-live-stats {
    grid-template-columns:
      1fr;
  }


  /* CONTACT */

  .contact-section {
    padding:
      100px 15px;
  }

  .contact-shell h2 {
    font-size:
      clamp(
        3rem,
        15vw,
        4.7rem
      );
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }


  /* FLOATING */

  .floating-dock {
    right: 12px;
    bottom: 12px;
  }

}


/* ========================================================================== */
/* 44 / VERY SMALL DEVICES                                                    */
/* ========================================================================== */

@media (max-width: 390px) {

  .hero h1 {
    font-size: 3.3rem;
  }

  .mission-rings {
    transform: scale(.9);
  }

  .system-panel {
    border-radius: 22px;
  }

  .section-heading h2 {
    font-size: 2.4rem;
  }

  .flagship-copy,
  .identity-main,
  .human-card {
    padding: 24px;
  }

}


/* ========================================================================== */
/* 45 / REDUCED MOTION                                                        */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;

    transform: none !important;
  }

  .tilt-card {
    transform: none !important;
  }

}


/* ========================================================================== */
/* 46 / PRINT                                                                 */
/* ========================================================================== */

@media print {

  .navbar,
  .chapter-rail,
  .floating-dock,
  .scroll-progress,
  .ticker,
  .cursor-glow,
  .site-grid,
  .site-noise,
  .command-palette,
  .scroll-indicator {
    display: none !important;
  }

  body {
    color: black;

    background: white;
  }

  .section,
  .contact-section {
    padding:
      30px 0;
  }

  .glass-card,
  .project-card,
  .experience-card,
  .signal-card,
  .education-stage,
  .bento-card,
  .flagship-card,
  .lab-console {
    color: black;

    background: white;

    box-shadow: none;
  }

}


/* ========================================================================== */
/* 47 / FLAGSHIP V2 EXTREME                                                   */
/* ========================================================================== */

/*
  IEVGEN SOLOVIOV
  FLAGSHIP SYSTEM V2

  SHOPMICRO
  KUBERNETES
  HELM
  ISTIO
  OBSERVABILITY
*/


/* ========================================================================== */
/* 47.01 / SECTION ENVIRONMENT                                                */
/* ========================================================================== */

.flagship-v2 {
  position: relative;

  overflow: hidden;

  isolation: isolate;

  background:
    radial-gradient(
      circle at 78% 28%,
      rgba(139, 92, 246, .09),
      transparent 26%
    ),
    radial-gradient(
      circle at 24% 64%,
      rgba(56, 189, 248, .07),
      transparent 28%
    ),
    radial-gradient(
      circle at 70% 82%,
      rgba(45, 212, 191, .04),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      rgba(4, 7, 17, .96),
      rgba(6, 10, 21, .98)
    );
}


.flagship-v2::before {
  content: "";

  position: absolute;

  z-index: -3;

  inset: 0;

  pointer-events: none;

  opacity: .2;

  background-image:
    linear-gradient(
      rgba(56, 189, 248, .05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .05) 1px,
      transparent 1px
    );

  background-size:
    72px 72px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 12%,
      black 86%,
      transparent
    );
}


.flagship-v2::after {
  content: "";

  position: absolute;

  z-index: -2;

  width: 900px;
  height: 900px;

  right: -510px;
  top: 190px;

  border-radius: 50%;

  border:
    1px solid rgba(139, 92, 246, .08);

  box-shadow:
    0 0 0 120px rgba(139, 92, 246, .012),
    0 0 0 240px rgba(56, 189, 248, .008);

  pointer-events: none;
}


/* ========================================================================== */
/* 47.02 / MAIN FLAGSHIP SHELL                                                */
/* ========================================================================== */

.flagship-v2-shell {
  position: relative;

  overflow: hidden;

  border:
    1px solid rgba(86, 116, 160, .24);

  border-radius:
    30px;

  background:
    linear-gradient(
      145deg,
      rgba(9, 15, 29, .98),
      rgba(4, 7, 17, .99)
    );

  box-shadow:
    0 50px 140px rgba(0, 0, 0, .46),
    inset 0 1px 0 rgba(255, 255, 255, .028);

  isolation: isolate;
}


.flagship-v2-shell::before {
  content: "";

  position: absolute;

  z-index: 20;

  left: 0;
  right: 0;
  top: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--purple),
      var(--teal),
      transparent
    );

  opacity: .9;

  box-shadow:
    0 0 30px rgba(56, 189, 248, .22);
}


.flagship-v2-shell::after {
  content: "";

  position: absolute;

  z-index: -1;

  width: 640px;
  height: 640px;

  left: 45%;
  top: 25%;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .045),
      rgba(139, 92, 246, .018) 42%,
      transparent 70%
    );

  pointer-events: none;
}


/* ========================================================================== */
/* 47.03 / FLAGSHIP TOP BAR                                                   */
/* ========================================================================== */

.flagship-v2-topbar {
  position: relative;

  z-index: 12;

  min-height: 56px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding:
    0 22px;

  border-bottom:
    1px solid rgba(148, 163, 184, .1);

  background:
    rgba(255, 255, 255, .012);

  backdrop-filter:
    blur(18px);
}


.flagship-v2-window {
  display: flex;
  align-items: center;

  gap: 16px;

  color: var(--muted);

  font-family: var(--font-mono);
  font-size: .52rem;

  letter-spacing: .03em;
}


.flagship-v2-top-status {
  display: flex;
  align-items: center;

  gap: 7px;
}


.flagship-status-chip {
  min-height: 26px;

  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding:
    0 9px;

  border:
    1px solid var(--border);

  border-radius:
    7px;

  color: var(--muted-2);

  background:
    rgba(255, 255, 255, .012);

  font-family: var(--font-mono);
  font-size: .42rem;

  letter-spacing: .05em;
}


.flagship-status-chip.is-online {
  color:
    var(--green-soft);

  border-color:
    rgba(34, 197, 94, .18);

  background:
    rgba(34, 197, 94, .035);
}


.flagship-status-chip.is-online i {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background:
    var(--green);

  box-shadow:
    0 0 12px var(--green);

  animation:
    flagshipStatusPulse
    2s ease-in-out infinite;
}


.flagship-status-chip.is-core {
  color:
    var(--purple-soft);

  border-color:
    rgba(139, 92, 246, .19);

  background:
    rgba(139, 92, 246, .035);
}


@keyframes flagshipStatusPulse {

  0%,
  100% {
    opacity: 1;

    transform:
      scale(1);
  }

  50% {
    opacity: .45;

    transform:
      scale(.72);
  }

}


/* ========================================================================== */
/* 47.04 / INTRO GRID                                                         */
/* ========================================================================== */

.flagship-v2-grid {
  position: relative;

  z-index: 4;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(280px, .45fr);

  border-bottom:
    1px solid var(--border);
}


.flagship-v2-copy {
  position: relative;

  padding:
    clamp(
      38px,
      5vw,
      68px
    );

  border-right:
    1px solid var(--border);

  background:
    linear-gradient(
      135deg,
      rgba(56, 189, 248, .025),
      transparent 45%
    );
}


.flagship-v2-copy::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: 0;

  width: 280px;
  height: 280px;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(139, 92, 246, .07),
      transparent 68%
    );
}


.flagship-v2-copy h3 {
  max-width: 680px;

  font-size:
    clamp(
      3rem,
      5.2vw,
      5.3rem
    );

  line-height:
    .94;

  letter-spacing:
    -.065em;
}


.flagship-v2-copy h3 span {
  color: transparent;

  background:
    linear-gradient(
      90deg,
      var(--blue-soft),
      var(--purple-soft),
      var(--teal-soft)
    );

  -webkit-background-clip:
    text;

  background-clip:
    text;
}


.flagship-v2-copy > p {
  max-width:
    660px;

  font-size:
    .85rem;

  line-height:
    1.9;
}


/* ========================================================================== */
/* 47.05 / CORE CARDS                                                         */
/* ========================================================================== */

.flagship-v2-focus {
  position: relative;

  z-index: 2;
}


.flagship-core-card {
  position: relative;

  overflow: hidden;

  cursor: default;

  transition:
    transform var(--normal),
    border-color var(--normal),
    background var(--normal),
    box-shadow var(--normal);
}


.flagship-core-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 2px;
  height: 100%;

  opacity: 0;

  background:
    linear-gradient(
      var(--blue),
      var(--purple)
    );

  transition:
    opacity var(--normal);
}


.flagship-core-card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(56, 189, 248, .27);

  background:
    rgba(56, 189, 248, .025);

  box-shadow:
    0 14px 32px rgba(0, 0, 0, .17);
}


.flagship-core-card:hover::before {
  opacity: 1;
}


/* ========================================================================== */
/* 47.06 / OPERATIONAL SNAPSHOT                                               */
/* ========================================================================== */

.flagship-v2-snapshot {
  position: relative;

  padding:
    34px 28px;

  display: flex;
  flex-direction: column;

  justify-content: center;

  background:
    radial-gradient(
      circle at 65% 15%,
      rgba(139, 92, 246, .08),
      transparent 42%
    );
}


.snapshot-label {
  display: block;

  margin-bottom: 17px;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .46rem;

  letter-spacing:
    .14em;
}


.snapshot-state {
  min-height:
    56px;

  display: grid;

  grid-template-columns:
    1fr auto;

  align-items: center;

  gap: 15px;

  border-bottom:
    1px solid var(--border-soft);
}


.snapshot-state span {
  color:
    var(--muted-2);

  font-family:
    var(--font-mono);

  font-size:
    .46rem;
}


.snapshot-state strong {
  color:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    .54rem;

  font-weight:
    500;
}


.snapshot-state:nth-of-type(2) strong {
  color:
    var(--blue-soft);
}


.snapshot-state:nth-of-type(3) strong {
  color:
    var(--purple-soft);
}


.snapshot-state:nth-of-type(4) strong {
  color:
    var(--teal-soft);
}


.snapshot-runtime {
  display: flex;
  align-items: center;

  gap: 9px;

  margin-top: 25px;

  padding:
    13px;

  border:
    1px solid rgba(34, 197, 94, .15);

  border-radius:
    9px;

  color:
    var(--green);

  background:
    rgba(34, 197, 94, .025);

  font-family:
    var(--font-mono);

  font-size:
    .49rem;
}


/* ========================================================================== */
/* 47.07 / PLATFORM EVOLUTION RAIL                                            */
/* ========================================================================== */

.flagship-platform-rail {
  position: relative;

  z-index: 6;

  padding:
    24px 26px;

  border-bottom:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, .008);
}


.platform-rail-label {
  display: block;

  margin-bottom:
    15px;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .45rem;

  letter-spacing:
    .14em;
}


.platform-rail-track {
  display: flex;
  align-items: center;

  gap: 8px;

  overflow-x: auto;

  padding-bottom:
    4px;

  scrollbar-width:
    none;
}


.platform-rail-track::-webkit-scrollbar {
  display: none;
}


.platform-rail-track > i {
  flex:
    0 0 auto;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .6rem;

  font-style:
    normal;
}


.platform-stage {
  position: relative;

  min-width:
    145px;

  min-height:
    68px;

  display: flex;
  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  padding:
    11px 13px;

  border:
    1px solid var(--border);

  border-radius:
    10px;

  color:
    var(--muted);

  background:
    rgba(255, 255, 255, .012);

  text-align:
    left;

  cursor:
    pointer;

  overflow:
    hidden;

  transition:
    transform var(--fast),
    color var(--fast),
    border-color var(--fast),
    background var(--fast),
    box-shadow var(--fast);
}


.platform-stage::before {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--purple)
    );

  transition:
    width var(--normal);
}


.platform-stage:hover {
  transform:
    translateY(-2px);

  color:
    var(--text);

  border-color:
    rgba(56, 189, 248, .28);

  background:
    rgba(56, 189, 248, .025);
}


.platform-stage:hover::before,
.platform-stage.is-active::before {
  width: 100%;
}


.platform-stage.is-active {
  color:
    var(--blue-soft);

  border-color:
    rgba(56, 189, 248, .42);

  background:
    rgba(56, 189, 248, .055);

  box-shadow:
    inset 0 0 30px rgba(56, 189, 248, .035),
    0 0 25px rgba(56, 189, 248, .035);
}


.platform-stage small {
  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .38rem;
}


.platform-stage strong {
  display: block;

  margin-top:
    4px;

  color:
    currentColor;

  font-family:
    var(--font-mono);

  font-size:
    .52rem;

  font-weight:
    600;
}


.platform-stage span {
  display: block;

  margin-top:
    3px;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .37rem;
}


/* ========================================================================== */
/* 47.08 / ARCHITECTURE TOOLBAR                                               */
/* ========================================================================== */

.flagship-architecture-toolbar {
  position: relative;

  z-index: 7;

  min-height:
    72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding:
    13px 25px;

  border-bottom:
    1px solid var(--border);

  background:
    rgba(4, 7, 17, .58);

  backdrop-filter:
    blur(17px);
}


.toolbar-label {
  display: block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .43rem;

  letter-spacing:
    .13em;
}


.flagship-architecture-toolbar strong {
  display: block;

  margin-top:
    5px;

  color:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    .58rem;

  font-weight:
    500;
}


.flagship-mode-switch {
  display: flex;

  padding:
    4px;

  gap:
    3px;

  border:
    1px solid var(--border);

  border-radius:
    10px;

  background:
    rgba(255, 255, 255, .015);
}


.flagship-mode {
  min-height:
    32px;

  padding:
    0 11px;

  border:
    1px solid transparent;

  border-radius:
    7px;

  color:
    var(--muted-2);

  background:
    transparent;

  font-family:
    var(--font-mono);

  font-size:
    .42rem;

  cursor:
    pointer;

  transition:
    color var(--fast),
    background var(--fast),
    border-color var(--fast),
    box-shadow var(--fast);
}


.flagship-mode:hover {
  color:
    var(--text);
}


.flagship-mode.is-active {
  color:
    var(--blue-soft);

  border-color:
    rgba(56, 189, 248, .22);

  background:
    rgba(56, 189, 248, .055);

  box-shadow:
    inset 0 0 18px rgba(56, 189, 248, .025);
}


/* ========================================================================== */
/* 47.09 / LIVE SYSTEM GRID                                                   */
/* ========================================================================== */

.flagship-live-system {
  position: relative;

  z-index: 4;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    265px;

  min-height:
    680px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .006),
      transparent
    );
}


/* ========================================================================== */
/* 47.10 / SVG TOPOLOGY CONTAINER                                             */
/* ========================================================================== */

.flagship-topology {
  position: relative;

  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-right:
    1px solid var(--border);

  background:
    radial-gradient(
      circle at 47% 47%,
      rgba(56, 189, 248, .05),
      transparent 38%
    ),
    radial-gradient(
      circle at 47% 50%,
      rgba(139, 92, 246, .025),
      transparent 58%
    );
}


.flagship-topology::before {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(56, 189, 248, .022) 47%,
      transparent 74%
    );

  transform:
    translateX(-110%);

  animation:
    flagshipSystemScan
    9s ease-in-out infinite;
}


.flagship-topology::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  height: 1px;

  top: 30%;

  pointer-events: none;

  opacity: .14;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      transparent
    );

  box-shadow:
    0 0 16px rgba(56, 189, 248, .35);

  animation:
    flagshipVerticalScan
    8s linear infinite;
}


@keyframes flagshipSystemScan {

  0%,
  25% {
    transform:
      translateX(-110%);
  }

  70% {
    transform:
      translateX(110%);
  }

  100% {
    transform:
      translateX(110%);
  }

}


@keyframes flagshipVerticalScan {

  from {
    top: 4%;
  }

  to {
    top: 96%;
  }

}


.shopmicro-svg {
  position: relative;

  z-index: 3;

  display: block;

  width:
    min(
      100%,
      1000px
    );

  height:
    auto;

  padding:
    18px;

  overflow:
    visible;
}


/* ========================================================================== */
/* 47.11 / SVG GRID                                                           */
/* ========================================================================== */

.topology-grid {
  opacity:
    .23;
}


.topology-grid path {
  fill:
    none;

  stroke:
    rgba(148, 163, 184, .09);

  stroke-width:
    .7;

  vector-effect:
    non-scaling-stroke;
}


/* ========================================================================== */
/* 47.12 / KUBERNETES CLUSTER                                                 */
/* ========================================================================== */

.cluster-boundary {
  stroke:
    rgba(56, 189, 248, .24);

  stroke-width:
    1;

  stroke-dasharray:
    8 7;

  vector-effect:
    non-scaling-stroke;

  filter:
    drop-shadow(
      0 0 12px
      rgba(56, 189, 248, .04)
    );

  animation:
    clusterBorderFlow
    18s linear infinite;
}


@keyframes clusterBorderFlow {

  to {
    stroke-dashoffset:
      -120;
  }

}


.cluster-label text {
  fill:
    var(--blue-soft);

  font-family:
    var(--font-mono);

  font-size:
    10px;

  letter-spacing:
    1.5px;
}


/* ========================================================================== */
/* 47.13 / ISTIO BOUNDARY                                                     */
/* ========================================================================== */

.mesh-boundary {
  fill:
    rgba(139, 92, 246, .015);

  stroke:
    rgba(139, 92, 246, .28);

  stroke-width:
    1;

  stroke-dasharray:
    5 7;

  vector-effect:
    non-scaling-stroke;

  animation:
    meshBorderFlow
    14s linear infinite;
}


@keyframes meshBorderFlow {

  to {
    stroke-dashoffset:
      100;
  }

}


.mesh-label text {
  fill:
    var(--purple-soft);

  font-family:
    var(--font-mono);

  font-size:
    9px;

  letter-spacing:
    1px;
}


/* ========================================================================== */
/* 47.14 / TOPOLOGY LINES                                                     */
/* ========================================================================== */

.topology-line {
  fill:
    none;

  stroke-width:
    1.25;

  vector-effect:
    non-scaling-stroke;

  opacity:
    .52;

  stroke-linecap:
    round;

  transition:
    opacity var(--normal),
    stroke-width var(--normal),
    filter var(--normal);
}


.request-line {
  stroke:
    rgba(56, 189, 248, .64);

  stroke-dasharray:
    6 6;

  animation:
    requestDash
    1.8s linear infinite;
}


.mesh-line {
  stroke:
    rgba(139, 92, 246, .62);

  stroke-dasharray:
    3 6;

  animation:
    meshDash
    2.6s linear infinite;
}


.data-line {
  stroke:
    rgba(45, 212, 191, .58);

  stroke-dasharray:
    4 6;

  animation:
    dataDash
    2.3s linear infinite;
}


.observe-line {
  stroke:
    rgba(245, 158, 11, .58);

  stroke-dasharray:
    2 7;

  animation:
    observeDash
    2.7s linear infinite;
}


@keyframes requestDash {

  to {
    stroke-dashoffset:
      -24;
  }

}


@keyframes meshDash {

  to {
    stroke-dashoffset:
      -24;
  }

}


@keyframes dataDash {

  to {
    stroke-dashoffset:
      -28;
  }

}


@keyframes observeDash {

  to {
    stroke-dashoffset:
      -27;
  }

}


.topology-line.is-active {
  opacity:
    1;

  stroke-width:
    2;

  filter:
    drop-shadow(
      0 0 5px currentColor
    );
}


/* ========================================================================== */
/* 47.15 / TOPOLOGY NODES                                                     */
/* ========================================================================== */

.topology-node {
  cursor:
    pointer;

  outline:
    none;

  transition:
    opacity var(--normal),
    filter var(--normal);
}


.topology-node rect {
  fill:
    rgba(7, 13, 27, .97);

  stroke:
    rgba(148, 163, 184, .22);

  stroke-width:
    1;

  vector-effect:
    non-scaling-stroke;

  transition:
    fill var(--normal),
    stroke var(--normal),
    filter var(--normal);
}


.topology-node:hover rect,
.topology-node:focus-visible rect,
.topology-node.is-active rect {
  fill:
    rgba(15, 28, 48, .98);

  stroke:
    rgba(56, 189, 248, .65);

  filter:
    drop-shadow(
      0 0 14px
      rgba(56, 189, 248, .15)
    );
}


.node-title {
  fill:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    12px;

  font-weight:
    600;
}


.node-kicker {
  fill:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    7px;

  letter-spacing:
    .7px;
}


.node-subtitle {
  fill:
    var(--muted-2);

  font-family:
    var(--font-mono);

  font-size:
    7px;
}


.node-runtime {
  fill:
    var(--green);

  font-family:
    var(--font-mono);

  font-size:
    6px;

  letter-spacing:
    1px;
}


/* ========================================================================== */
/* 47.16 / SPECIFIC NODE COLORS                                               */
/* ========================================================================== */

.node-client rect {
  stroke:
    rgba(148, 163, 184, .22);
}


.node-client circle {
  fill:
    var(--blue);

  filter:
    drop-shadow(
      0 0 8px
      var(--blue)
    );
}


.node-ingress rect,
.node-gateway rect {
  stroke:
    rgba(56, 189, 248, .3);
}


.service-node rect {
  stroke:
    rgba(139, 92, 246, .3);
}


.service-node:hover rect,
.service-node.is-active rect {
  stroke:
    rgba(139, 92, 246, .76);

  fill:
    rgba(139, 92, 246, .055);

  filter:
    drop-shadow(
      0 0 15px
      rgba(139, 92, 246, .17)
    );
}


.service-health {
  fill:
    var(--green);

  filter:
    drop-shadow(
      0 0 6px
      var(--green)
    );

  animation:
    serviceHealthPulse
    2.4s ease-in-out infinite;
}


@keyframes serviceHealthPulse {

  0%,
  100% {
    opacity:
      1;
  }

  50% {
    opacity:
      .34;
  }

}


.data-node rect {
  stroke:
    rgba(45, 212, 191, .28);
}


.data-node:hover rect,
.data-node.is-active rect {
  stroke:
    rgba(45, 212, 191, .72);

  fill:
    rgba(45, 212, 191, .04);

  filter:
    drop-shadow(
      0 0 14px
      rgba(45, 212, 191, .15)
    );
}


.observe-node rect {
  stroke:
    rgba(245, 158, 11, .25);
}


.observe-node:hover rect,
.observe-node.is-active rect {
  stroke:
    rgba(245, 158, 11, .72);

  fill:
    rgba(245, 158, 11, .035);

  filter:
    drop-shadow(
      0 0 14px
      rgba(245, 158, 11, .12)
    );
}


.zone-label {
  fill:
    rgba(245, 158, 11, .72);

  font-family:
    var(--font-mono);

  font-size:
    7px;

  letter-spacing:
    1.2px;
}


/* ========================================================================== */
/* 47.17 / PACKETS                                                            */
/* ========================================================================== */

.architecture-packet {
  pointer-events:
    none;

  opacity:
    .75;
}


.request-packet {
  fill:
    var(--blue);

  animation:
    requestPacketIdle
    1.7s ease-in-out infinite;
}


.mesh-packet {
  fill:
    var(--purple);

  animation:
    meshPacketIdle
    2s ease-in-out infinite;
}


.observe-packet {
  fill:
    var(--orange);

  animation:
    observePacketIdle
    2.3s ease-in-out infinite;
}


@keyframes requestPacketIdle {

  0%,
  100% {
    opacity: .28;
  }

  50% {
    opacity: 1;
  }

}


@keyframes meshPacketIdle {

  0%,
  100% {
    opacity: .22;
  }

  50% {
    opacity: .95;
  }

}


@keyframes observePacketIdle {

  0%,
  100% {
    opacity: .18;
  }

  50% {
    opacity: .85;
  }

}


/* ========================================================================== */
/* 47.18 / ARCHITECTURE FOOTER SIGNALS                                        */
/* ========================================================================== */

.architecture-footer-signals circle {
  fill:
    var(--green);

  filter:
    drop-shadow(
      0 0 5px
      var(--green)
    );
}


.architecture-footer-signals text {
  fill:
    var(--muted-2);

  font-family:
    var(--font-mono);

  font-size:
    7px;

  letter-spacing:
    .6px;
}


/* ========================================================================== */
/* 47.19 / RUNTIME PANEL                                                      */
/* ========================================================================== */

.flagship-runtime-panel {
  position: relative;

  z-index: 5;

  min-width: 0;

  padding:
    22px 18px;

  background:
    linear-gradient(
      180deg,
      rgba(10, 17, 31, .9),
      rgba(5, 9, 18, .94)
    );
}


.flagship-runtime-panel::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 1px;

  background:
    linear-gradient(
      transparent,
      rgba(56, 189, 248, .2),
      rgba(139, 92, 246, .18),
      transparent
    );
}


.runtime-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 10px;

  padding-bottom:
    18px;

  border-bottom:
    1px solid var(--border);
}


.runtime-panel-header span {
  display: block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .41rem;
}


.runtime-panel-header strong {
  display: block;

  margin-top:
    4px;

  color:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    .59rem;
}


.runtime-health {
  display:
    inline-flex !important;

  align-items:
    center;

  gap:
    7px;

  color:
    var(--green) !important;

  white-space:
    nowrap;
}


.runtime-health i {
  width:
    6px;

  height:
    6px;

  border-radius:
    50%;

  background:
    var(--green);

  box-shadow:
    0 0 12px
    var(--green);
}


/* ========================================================================== */
/* 47.20 / ACTIVE RUNTIME MODE                                                */
/* ========================================================================== */

.runtime-current-mode {
  margin-top:
    18px;

  padding:
    14px;

  border:
    1px solid rgba(56, 189, 248, .14);

  border-radius:
    9px;

  background:
    rgba(56, 189, 248, .025);
}


.runtime-current-mode small {
  display:
    block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .39rem;
}


.runtime-current-mode strong {
  display:
    block;

  margin-top:
    6px;

  color:
    var(--blue-soft);

  font-family:
    var(--font-mono);

  font-size:
    .55rem;
}


/* ========================================================================== */
/* 47.21 / RUNTIME STATUS STACK                                               */
/* ========================================================================== */

.runtime-status-stack {
  margin-top:
    20px;

  border:
    1px solid var(--border);

  border-radius:
    10px;

  overflow:
    hidden;
}


.runtime-status-item {
  min-height:
    46px;

  display:
    grid;

  grid-template-columns:
    1fr auto;

  align-items:
    center;

  gap:
    10px;

  padding:
    0 11px;

  border-bottom:
    1px solid var(--border-soft);

  background:
    rgba(255, 255, 255, .008);

  transition:
    background var(--fast),
    transform var(--fast);
}


.runtime-status-item:last-child {
  border-bottom:
    0;
}


.runtime-status-item:hover {
  background:
    rgba(56, 189, 248, .025);
}


.runtime-status-item span {
  color:
    var(--muted);

  font-family:
    var(--font-mono);

  font-size:
    .4rem;
}


.runtime-status-item strong {
  color:
    var(--green);

  font-family:
    var(--font-mono);

  font-size:
    .39rem;

  font-weight:
    500;

  text-align:
    right;
}


.runtime-status-item.is-active {
  background:
    rgba(56, 189, 248, .045);
}


.runtime-status-item.is-active span {
  color:
    var(--text-soft);
}


/* ========================================================================== */
/* 47.22 / RUNTIME TELEMETRY                                                  */
/* ========================================================================== */

.runtime-telemetry {
  display:
    grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:
    6px;

  margin-top:
    16px;
}


.runtime-telemetry > div {
  padding:
    11px 6px;

  border:
    1px solid var(--border);

  border-radius:
    8px;

  text-align:
    center;

  background:
    rgba(255, 255, 255, .008);
}


.runtime-telemetry span {
  display:
    block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .32rem;
}


.runtime-telemetry strong {
  display:
    block;

  margin-top:
    5px;

  color:
    var(--blue-soft);

  font-family:
    var(--font-mono);

  font-size:
    .7rem;
}


/* ========================================================================== */
/* 47.23 / EVENT STREAM                                                       */
/* ========================================================================== */

.runtime-event-console {
  margin-top:
    16px;

  border:
    1px solid var(--border);

  border-radius:
    10px;

  overflow:
    hidden;

  background:
    rgba(0, 0, 0, .14);
}


.runtime-event-title {
  min-height:
    39px;

  display:
    flex;
  align-items:
    center;
  justify-content:
    space-between;

  gap:
    10px;

  padding:
    0 11px;

  border-bottom:
    1px solid var(--border);

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .38rem;
}


.runtime-event-log {
  padding:
    8px 10px;
}


.runtime-event-log p {
  min-height:
    28px;

  display:
    grid;

  grid-template-columns:
    38px 1fr;

  align-items:
    center;

  border-bottom:
    1px solid rgba(148, 163, 184, .035);

  color:
    var(--muted);

  font-family:
    var(--font-mono);

  font-size:
    .38rem;
}


.runtime-event-log p:last-child {
  border-bottom:
    0;
}


.runtime-event-log p span {
  color:
    var(--muted-3);
}


/* ========================================================================== */
/* 47.24 / FLOW LEGEND                                                        */
/* ========================================================================== */

.flagship-flow-legend {
  position: relative;

  z-index:
    6;

  min-height:
    57px;

  display:
    flex;

  align-items:
    center;

  gap:
    20px;

  padding:
    0 24px;

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, .008);
}


.flagship-flow-legend > div {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    7px;

  white-space:
    nowrap;
}


.flagship-flow-legend > div span {
  color:
    var(--muted-2);

  font-family:
    var(--font-mono);

  font-size:
    .4rem;
}


.legend-dot {
  width:
    6px;

  height:
    6px;

  border-radius:
    50%;
}


.legend-dot.request {
  background:
    var(--blue);

  box-shadow:
    0 0 8px var(--blue);
}


.legend-dot.mesh {
  background:
    var(--purple);

  box-shadow:
    0 0 8px var(--purple);
}


.legend-dot.data {
  background:
    var(--teal);

  box-shadow:
    0 0 8px var(--teal);
}


.legend-dot.observe {
  background:
    var(--orange);

  box-shadow:
    0 0 8px var(--orange);
}


.flagship-flow-legend > strong {
  margin-left:
    auto;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .39rem;

  font-weight:
    500;

  white-space:
    nowrap;
}


/* ========================================================================== */
/* 47.25 / V2 METRICS                                                         */
/* ========================================================================== */

.flagship-v2-metrics {
  margin-top:
    19px;

  border-radius:
    16px;

  background:
    rgba(148, 163, 184, .08);

  box-shadow:
    var(--shadow-soft);
}


.flagship-v2-metrics article {
  position:
    relative;

  overflow:
    hidden;

  min-height:
    108px;

  background:
    linear-gradient(
      145deg,
      rgba(13, 21, 38, .96),
      rgba(7, 12, 23, .96)
    );
}


.flagship-v2-metrics article::before {
  content: "";

  position:
    absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height:
    1px;

  opacity:
    0;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      transparent
    );

  transition:
    opacity var(--fast);
}


.flagship-v2-metrics article:hover::before {
  opacity:
    1;
}


.flagship-v2-metrics article > span {
  color:
    var(--blue-soft);

  text-shadow:
    0 0 25px
    rgba(56, 189, 248, .18);
}


/* ========================================================================== */
/* 47.26 / TECHNICAL DEPTH V2                                                 */
/* ========================================================================== */

.flagship-v2 + .flagship-depth,
.flagship-v2 .flagship-depth {
  margin-top:
    20px;
}


.flagship-v2 .tech-details {
  border:
    1px solid var(--border);

  border-radius:
    14px;

  background:
    linear-gradient(
      145deg,
      rgba(13, 21, 38, .86),
      rgba(7, 11, 22, .91)
    );

  box-shadow:
    0 13px 35px rgba(0, 0, 0, .12);

  transition:
    border-color var(--normal),
    background var(--normal);
}


.flagship-v2 .tech-details:hover {
  border-color:
    rgba(56, 189, 248, .2);
}


.flagship-v2 .tech-details[open] {
  border-color:
    rgba(56, 189, 248, .26);

  background:
    linear-gradient(
      145deg,
      rgba(56, 189, 248, .025),
      rgba(8, 13, 25, .95)
    );
}


.flagship-v2 .tech-details summary {
  min-height:
    70px;
}


.flagship-v2 .details-body > div {
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}


.flagship-v2 .details-body > div:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(139, 92, 246, .2);

  background:
    rgba(139, 92, 246, .025);
}


/* ========================================================================== */
/* 47.27 / FLAGSHIP FOOTER                                                    */
/* ========================================================================== */

.flagship-v2-footer {
  margin-top:
    19px;

  min-height:
    86px;

  display:
    grid;

  grid-template-columns:
    auto 1fr;

  align-items:
    center;

  gap:
    30px;

  padding:
    19px 22px;

  border:
    1px solid var(--border);

  border-radius:
    14px;

  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .02),
      rgba(139, 92, 246, .018),
      rgba(45, 212, 191, .018)
    );
}


.flagship-v2-footer > div:first-child {
  min-width:
    190px;
}


.flagship-v2-footer > div:first-child span {
  display:
    block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .4rem;
}


.flagship-v2-footer > div:first-child strong {
  display:
    block;

  margin-top:
    5px;

  color:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    .5rem;
}


.flagship-v2-footer-line {
  display:
    flex;

  align-items:
    center;

  justify-content:
    flex-end;

  gap:
    9px;

  overflow-x:
    auto;

  scrollbar-width:
    none;
}


.flagship-v2-footer-line::-webkit-scrollbar {
  display:
    none;
}


.flagship-v2-footer-line span {
  color:
    var(--muted);

  font-family:
    var(--font-mono);

  font-size:
    .42rem;

  white-space:
    nowrap;
}


.flagship-v2-footer-line i {
  color:
    var(--blue);

  font-family:
    var(--font-mono);

  font-size:
    .48rem;

  font-style:
    normal;
}


/* ========================================================================== */
/* 47.28 / MODE SYSTEM                                                        */
/* ========================================================================== */

/*
  These classes will be toggled from the next script.js version.
*/


.flagship-live-system.mode-request .mesh-line,
.flagship-live-system.mode-request .observe-line {
  opacity:
    .16;
}


.flagship-live-system.mode-request .request-line {
  opacity:
    1;

  stroke-width:
    1.8;
}


.flagship-live-system.mode-mesh .request-line,
.flagship-live-system.mode-mesh .data-line,
.flagship-live-system.mode-mesh .observe-line {
  opacity:
    .15;
}


.flagship-live-system.mode-mesh .mesh-line {
  opacity:
    1;

  stroke-width:
    2;
}


.flagship-live-system.mode-observe .request-line,
.flagship-live-system.mode-observe .mesh-line,
.flagship-live-system.mode-observe .data-line {
  opacity:
    .13;
}


.flagship-live-system.mode-observe .observe-line {
  opacity:
    1;

  stroke-width:
    2;
}


/* ========================================================================== */
/* 47.29 / ARCHITECTURE FOCUS STATES                                          */
/* ========================================================================== */

.flagship-live-system.has-node-focus .topology-node {
  opacity:
    .28;
}


.flagship-live-system.has-node-focus .topology-node.is-active {
  opacity:
    1;
}


.flagship-live-system.has-node-focus .topology-line {
  opacity:
    .1;
}


.flagship-live-system.has-node-focus .topology-line.is-active {
  opacity:
    1;
}


/* ========================================================================== */
/* 47.30 / LIGHT MODE                                                         */
/* ========================================================================== */

body.light .flagship-v2 {
  background:
    radial-gradient(
      circle at 78% 28%,
      rgba(139, 92, 246, .07),
      transparent 26%
    ),
    radial-gradient(
      circle at 24% 64%,
      rgba(56, 189, 248, .06),
      transparent 28%
    ),
    var(--bg-2);
}


body.light .flagship-v2-shell {
  background:
    rgba(255, 255, 255, .94);

  border-color:
    rgba(15, 23, 42, .11);

  box-shadow:
    0 30px 80px rgba(30, 41, 59, .11);
}


body.light .flagship-v2-copy {
  background:
    linear-gradient(
      135deg,
      rgba(56, 189, 248, .035),
      transparent
    );
}


body.light .flagship-v2-snapshot {
  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, .035),
      rgba(255, 255, 255, .55)
    );
}


body.light .flagship-architecture-toolbar {
  background:
    rgba(255, 255, 255, .8);
}


body.light .flagship-topology {
  background:
    radial-gradient(
      circle at 48% 47%,
      rgba(56, 189, 248, .07),
      transparent 42%
    ),
    rgba(247, 249, 252, .84);
}


body.light .flagship-runtime-panel {
  background:
    rgba(248, 250, 252, .96);
}


body.light .topology-node rect {
  fill:
    rgba(255, 255, 255, .97);

  stroke:
    rgba(15, 23, 42, .18);
}


body.light .topology-node:hover rect,
body.light .topology-node:focus-visible rect,
body.light .topology-node.is-active rect {
  fill:
    rgba(240, 249, 255, .98);

  stroke:
    rgba(14, 165, 233, .6);
}


body.light .node-title {
  fill:
    #172033;
}


body.light .node-kicker {
  fill:
    #8490a4;
}


body.light .node-subtitle {
  fill:
    #64748b;
}


body.light .flagship-v2-metrics article {
  background:
    white;
}


body.light .flagship-v2 .tech-details {
  background:
    rgba(255, 255, 255, .9);
}


body.light .flagship-runtime-panel::before {
  opacity:
    .45;
}


/* ========================================================================== */
/* 47.31 / HOVER QUALITY                                                      */
/* ========================================================================== */

@media (hover: hover) {

  .flagship-v2-shell {
    transition:
      border-color .45s ease,
      box-shadow .45s ease;
  }


  .flagship-v2-shell:hover {
    border-color:
      rgba(56, 189, 248, .22);

    box-shadow:
      0 55px 150px rgba(0, 0, 0, .5),
      0 0 55px rgba(56, 189, 248, .025);
  }


  .runtime-status-item:hover {
    transform:
      translateX(2px);
  }

}


/* ========================================================================== */
/* 47.32 / RESPONSIVE — 1180                                                  */
/* ========================================================================== */

@media (max-width: 1180px) {

  .flagship-live-system {
    grid-template-columns:
      minmax(0, 1fr)
      225px;
  }


  .flagship-runtime-panel {
    padding:
      20px 14px;
  }


  .runtime-status-item {
    padding:
      0 8px;
  }


  .runtime-status-item span,
  .runtime-status-item strong {
    font-size:
      .35rem;
  }


  .flagship-flow-legend {
    gap:
      13px;
  }


  .flagship-flow-legend > strong {
    display:
      none;
  }

}


/* ========================================================================== */
/* 47.33 / RESPONSIVE — 1080                                                  */
/* ========================================================================== */

@media (max-width: 1080px) {

  .flagship-v2-grid {
    grid-template-columns:
      1fr;
  }


  .flagship-v2-copy {
    border-right:
      0;

    border-bottom:
      1px solid var(--border);
  }


  .flagship-v2-snapshot {
    display:
      grid;

    grid-template-columns:
      repeat(4, 1fr);

    gap:
      0 18px;
  }


  .snapshot-label,
  .snapshot-runtime {
    grid-column:
      1 / -1;
  }


  .flagship-live-system {
    grid-template-columns:
      1fr;
  }


  .flagship-topology {
    border-right:
      0;

    border-bottom:
      1px solid var(--border);
  }


  .flagship-runtime-panel {
    display:
      grid;

    grid-template-columns:
      1fr 1.2fr 1fr;

    gap:
      14px;

    align-items:
      start;

    padding:
      22px;
  }


  .flagship-runtime-panel::before {
    display:
      none;
  }


  .runtime-panel-header {
    grid-column:
      1 / -1;
  }


  .runtime-current-mode {
    margin-top:
      0;
  }


  .runtime-status-stack {
    margin-top:
      0;
  }


  .runtime-telemetry {
    margin-top:
      0;
  }


  .runtime-event-console {
    grid-column:
      1 / -1;

    margin-top:
      0;
  }

}


/* ========================================================================== */
/* 47.34 / RESPONSIVE — 900                                                   */
/* ========================================================================== */

@media (max-width: 900px) {

  .flagship-v2-topbar {
    align-items:
      flex-start;

    flex-direction:
      column;

    padding:
      15px 18px;
  }


  .flagship-v2-top-status {
    width:
      100%;

    overflow-x:
      auto;

    scrollbar-width:
      none;
  }


  .flagship-v2-top-status::-webkit-scrollbar {
    display:
      none;
  }


  .flagship-platform-rail {
    padding:
      20px;
  }


  .flagship-architecture-toolbar {
    align-items:
      flex-start;

    flex-direction:
      column;
  }


  .flagship-mode-switch {
    width:
      100%;
  }


  .flagship-mode {
    flex:
      1;
  }


  .shopmicro-svg {
    min-width:
      780px;

    padding:
      15px;
  }


  .flagship-topology {
    justify-content:
      flex-start;

    overflow-x:
      auto;

    scrollbar-width:
      thin;
  }


  .flagship-runtime-panel {
    grid-template-columns:
      1fr 1fr;
  }


  .runtime-panel-header {
    grid-column:
      1 / -1;
  }


  .runtime-event-console {
    grid-column:
      1 / -1;
  }


  .flagship-flow-legend {
    overflow-x:
      auto;

    scrollbar-width:
      none;
  }


  .flagship-flow-legend::-webkit-scrollbar {
    display:
      none;
  }


  .flagship-v2-footer {
    grid-template-columns:
      1fr;

    gap:
      15px;
  }


  .flagship-v2-footer-line {
    justify-content:
      flex-start;
  }

}


/* ========================================================================== */
/* 47.35 / RESPONSIVE — 720                                                   */
/* ========================================================================== */

@media (max-width: 720px) {

  .flagship-v2-shell {
    border-radius:
      22px;
  }


  .flagship-v2-copy {
    padding:
      32px 24px;
  }


  .flagship-v2-copy h3 {
    font-size:
      clamp(
        2.6rem,
        12vw,
        4rem
      );
  }


  .flagship-v2-focus {
    grid-template-columns:
      1fr;
  }


  .flagship-v2-snapshot {
    grid-template-columns:
      1fr 1fr;
  }


  .snapshot-label,
  .snapshot-runtime {
    grid-column:
      1 / -1;
  }


  .flagship-platform-rail {
    padding:
      18px;
  }


  .platform-stage {
    min-width:
      130px;
  }


  .flagship-architecture-toolbar {
    padding:
      16px 18px;
  }


  .flagship-mode {
    padding:
      0 8px;

    font-size:
      .36rem;
  }


  .flagship-live-system {
    min-height:
      auto;
  }


  .shopmicro-svg {
    min-width:
      720px;
  }


  .flagship-runtime-panel {
    grid-template-columns:
      1fr;
  }


  .runtime-panel-header,
  .runtime-event-console {
    grid-column:
      auto;
  }


  .runtime-telemetry {
    grid-template-columns:
      repeat(3, 1fr);
  }


  .flagship-flow-legend {
    min-height:
      53px;

    padding:
      0 16px;
  }


  .flagship-v2-metrics {
    grid-template-columns:
      1fr 1fr;
  }


  .flagship-v2 .details-body {
    grid-template-columns:
      1fr;
  }

}


/* ========================================================================== */
/* 47.36 / RESPONSIVE — 600                                                   */
/* ========================================================================== */

@media (max-width: 600px) {

  .flagship-v2-topbar {
    padding:
      14px;
  }


  .flagship-v2-window {
    font-size:
      .43rem;
  }


  .flagship-status-chip {
    font-size:
      .35rem;
  }


  .flagship-v2-copy {
    padding:
      28px 20px;
  }


  .flagship-v2-copy h3 {
    font-size:
      clamp(
        2.45rem,
        13vw,
        3.6rem
      );
  }


  .flagship-v2-copy > p {
    font-size:
      .76rem;
  }


  .flagship-v2-snapshot {
    display:
      block;

    padding:
      26px 20px;
  }


  .snapshot-state {
    min-height:
      51px;
  }


  .flagship-platform-rail {
    padding:
      16px 14px;
  }


  .platform-stage {
    min-width:
      120px;

    min-height:
      62px;
  }


  .flagship-architecture-toolbar {
    padding:
      15px 14px;
  }


  .toolbar-label {
    font-size:
      .36rem;
  }


  .flagship-architecture-toolbar strong {
    font-size:
      .5rem;
  }


  .flagship-mode-switch {
    overflow-x:
      auto;

    scrollbar-width:
      none;
  }


  .flagship-mode {
    min-width:
      95px;

    flex:
      0 0 auto;
  }


  .shopmicro-svg {
    min-width:
      680px;
  }


  .flagship-runtime-panel {
    padding:
      18px 14px;
  }


  .runtime-telemetry {
    grid-template-columns:
      1fr 1fr 1fr;
  }


  .flagship-flow-legend {
    gap:
      15px;
  }


  .flagship-flow-legend > div span {
    font-size:
      .35rem;
  }


  .flagship-v2-metrics {
    grid-template-columns:
      1fr 1fr;
  }


  .flagship-v2-footer {
    padding:
      16px;
  }

}


/* ========================================================================== */
/* 47.37 / RESPONSIVE — 390                                                   */
/* ========================================================================== */

@media (max-width: 390px) {

  .flagship-v2-copy {
    padding:
      24px 17px;
  }


  .flagship-v2-copy h3 {
    font-size:
      2.5rem;
  }


  .flagship-actions {
    flex-direction:
      column;
  }


  .flagship-actions .btn {
    width:
      100%;
  }


  .flagship-v2-metrics {
    grid-template-columns:
      1fr;
  }


  .runtime-telemetry {
    grid-template-columns:
      1fr;
  }


  .shopmicro-svg {
    min-width:
      650px;
  }

}


/* ========================================================================== */
/* 47.38 / REDUCED MOTION                                                     */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .flagship-topology::before,
  .flagship-topology::after,
  .cluster-boundary,
  .mesh-boundary,
  .request-line,
  .mesh-line,
  .data-line,
  .observe-line,
  .architecture-packet,
  .service-health,
  .flagship-status-chip.is-online i {
    animation:
      none !important;
  }


  .request-line,
  .mesh-line,
  .data-line,
  .observe-line {
    stroke-dashoffset:
      0 !important;
  }

}


/* ========================================================================== */
/* 47.39 / END FLAGSHIP V2                                                    */
/* ========================================================================== */


/* ========================================================================== */
/* 48 / PROJECTS V2 EXTREME                                                   */
/* ========================================================================== */

/*
  IEVGEN SOLOVIOV
  SELECTED SYSTEMS V2

  PROJECT_01 / HOTEL MANAGEMENT
  APPLICATION + DATA

  PROJECT_02 / TECHSOLUTIONS IS
  INFRASTRUCTURE + NETWORK
*/


/* ========================================================================== */
/* 48.01 / SECTION ENVIRONMENT                                                */
/* ========================================================================== */

.projects-v2-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.projects-v2-section::before {
  content: "";
  position: absolute;
  z-index: -3;
  width: 760px;
  height: 760px;
  left: -420px;
  top: 18%;
  border-radius: 50%;
  background: rgba(56, 189, 248, .055);
  filter: blur(110px);
  pointer-events: none;
}

.projects-v2-section::after {
  content: "";
  position: absolute;
  z-index: -3;
  width: 720px;
  height: 720px;
  right: -390px;
  bottom: 8%;
  border-radius: 50%;
  background: rgba(139, 92, 246, .055);
  filter: blur(110px);
  pointer-events: none;
}

.projects-v2-section .section-shell {
  position: relative;
  z-index: 2;
}


/* ========================================================================== */
/* 48.02 / PROJECTS GRID                                                      */
/* ========================================================================== */

.projects-v2-grid {
  display: grid;
  gap: 34px;
}

.project-v2-card {
  --project-accent: var(--blue);
  --project-accent-soft: var(--blue-soft);
  --project-secondary: var(--teal);

  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.28fr)
    minmax(330px, .72fr);
  grid-template-areas:
    "topbar topbar"
    "visual content";

  overflow: hidden;

  border:
    1px solid rgba(92, 121, 164, .22);

  border-radius:
    30px;

  background:
    linear-gradient(
      145deg,
      rgba(10, 17, 31, .97),
      rgba(4, 7, 17, .99)
    );

  box-shadow:
    0 34px 95px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .025);

  isolation: isolate;

  transition:
    border-color var(--normal),
    box-shadow var(--normal);
}

.project-v2-card::before {
  content: "";
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--project-accent),
      var(--project-secondary),
      transparent
    );

  opacity: .9;

  box-shadow:
    0 0 26px color-mix(
      in srgb,
      var(--project-accent) 28%,
      transparent
    );

  pointer-events: none;
}

.project-v2-card::after {
  content: "";
  position: absolute;
  z-index: -1;

  width: 540px;
  height: 540px;

  left: 36%;
  top: 43%;

  transform:
    translate(-50%, -50%);

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      color-mix(
        in srgb,
        var(--project-accent) 8%,
        transparent
      ),
      transparent 68%
    );

  pointer-events: none;
}

.project-v2-card:hover {
  border-color:
    color-mix(
      in srgb,
      var(--project-accent) 34%,
      transparent
    );

  box-shadow:
    0 42px 120px rgba(0, 0, 0, .38),
    0 0 55px color-mix(
      in srgb,
      var(--project-accent) 5%,
      transparent
    ),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.project-v2-hotel {
  --project-accent: var(--blue);
  --project-accent-soft: var(--blue-soft);
  --project-secondary: var(--teal);
}

.project-v2-infra {
  --project-accent: var(--purple);
  --project-accent-soft: var(--purple-soft);
  --project-secondary: var(--blue);

  grid-template-areas:
    "topbar topbar"
    "content visual";
}

body.light .project-v2-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .96),
      rgba(244, 248, 252, .98)
    );

  box-shadow:
    0 24px 70px rgba(30, 41, 59, .1),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}


/* ========================================================================== */
/* 48.03 / TOP BAR                                                            */
/* ========================================================================== */

.project-v2-topbar {
  grid-area: topbar;

  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding:
    0 22px;

  border-bottom:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, .01);

  backdrop-filter:
    blur(16px);
}

.project-v2-id {
  display: flex;
  align-items: center;

  gap: 14px;

  font-family:
    var(--font-mono);
}

.project-v2-id span {
  color:
    var(--project-accent);

  font-size:
    .43rem;

  letter-spacing:
    .1em;
}

.project-v2-id strong {
  color:
    var(--text-soft);

  font-size:
    .53rem;

  font-weight:
    500;

  letter-spacing:
    .045em;
}

.project-v2-status {
  min-height:
    27px;

  display:
    inline-flex;

  align-items:
    center;

  gap:
    8px;

  padding:
    0 10px;

  border:
    1px solid rgba(34, 197, 94, .16);

  border-radius:
    8px;

  color:
    var(--green-soft);

  background:
    rgba(34, 197, 94, .028);

  font-family:
    var(--font-mono);

  font-size:
    .4rem;

  letter-spacing:
    .06em;
}

.project-v2-status-purple {
  color:
    var(--purple-soft);

  border-color:
    rgba(139, 92, 246, .2);

  background:
    rgba(139, 92, 246, .035);
}

.project-status-dot {
  width:
    6px;

  height:
    6px;

  border-radius:
    50%;

  background:
    var(--green);

  box-shadow:
    0 0 13px var(--green);

  animation:
    projectStatusPulse
    2s ease-in-out infinite;
}

.project-v2-status-purple .project-status-dot {
  background:
    var(--purple);

  box-shadow:
    0 0 13px var(--purple);
}

@keyframes projectStatusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.72);
  }

}


/* ========================================================================== */
/* 48.04 / VISUAL SYSTEM                                                      */
/* ========================================================================== */

.project-v2-visual {
  grid-area: visual;

  position:
    relative;

  min-width:
    0;

  min-height:
    620px;

  display:
    flex;

  flex-direction:
    column;

  border-right:
    1px solid var(--border);

  overflow:
    hidden;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .008),
      transparent
    );
}

.project-v2-infra .project-v2-visual {
  border-right: 0;

  border-left:
    1px solid var(--border);
}

.hotel-system-visual {
  background:
    radial-gradient(
      circle at 48% 48%,
      rgba(56, 189, 248, .065),
      transparent 38%
    ),
    radial-gradient(
      circle at 62% 62%,
      rgba(45, 212, 191, .035),
      transparent 48%
    ),
    rgba(255, 255, 255, .004);
}

.tech-system-visual {
  background:
    radial-gradient(
      circle at 52% 43%,
      rgba(139, 92, 246, .065),
      transparent 40%
    ),
    radial-gradient(
      circle at 35% 70%,
      rgba(56, 189, 248, .03),
      transparent 44%
    ),
    rgba(255, 255, 255, .004);
}

.project-v2-visual-header {
  min-height:
    68px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    18px;

  padding:
    13px 20px;

  border-bottom:
    1px solid var(--border);

  background:
    rgba(4, 7, 17, .45);

  backdrop-filter:
    blur(14px);
}

body.light .project-v2-visual-header {
  background:
    rgba(255, 255, 255, .66);
}

.project-v2-visual-header > div:first-child span {
  display:
    block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .39rem;

  letter-spacing:
    .13em;
}

.project-v2-visual-header > div:first-child strong {
  display:
    block;

  margin-top:
    5px;

  color:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    .54rem;

  font-weight:
    500;
}

.project-v2-visual-state {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    7px;

  color:
    var(--teal-soft);

  font-family:
    var(--font-mono);

  font-size:
    .4rem;
}

.project-v2-visual-state i {
  width:
    6px;

  height:
    6px;

  border-radius:
    50%;

  background:
    var(--teal);

  box-shadow:
    0 0 13px var(--teal);
}

.project-v2-visual-state.purple {
  color:
    var(--purple-soft);
}

.project-v2-visual-state.purple i {
  background:
    var(--purple);

  box-shadow:
    0 0 13px var(--purple);
}


/* ========================================================================== */
/* 48.05 / SVG CONTAINER                                                      */
/* ========================================================================== */

.project-system-map {
  position:
    relative;

  min-width:
    0;

  flex:
    1;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  overflow:
    hidden;

  padding:
    18px 18px 10px;
}

.project-system-map::before {
  content:
    "";

  position:
    absolute;

  inset:
    0;

  pointer-events:
    none;

  background:
    linear-gradient(
      112deg,
      transparent 18%,
      color-mix(
        in srgb,
        var(--project-accent) 2.7%,
        transparent
      ) 47%,
      transparent 72%
    );

  transform:
    translateX(-110%);

  animation:
    projectSystemScan
    9s ease-in-out infinite;
}

.project-system-map::after {
  content:
    "";

  position:
    absolute;

  left:
    7%;

  right:
    7%;

  top:
    50%;

  height:
    1px;

  opacity:
    .25;

  pointer-events:
    none;

  background:
    linear-gradient(
      90deg,
      transparent,
      color-mix(
        in srgb,
        var(--project-accent) 26%,
        transparent
      ),
      transparent
    );

  animation:
    projectHorizontalScan
    5.8s ease-in-out infinite;
}

@keyframes projectSystemScan {

  0%,
  18% {
    transform:
      translateX(-110%);
  }

  62% {
    transform:
      translateX(110%);
  }

  100% {
    transform:
      translateX(110%);
  }

}

@keyframes projectHorizontalScan {

  0%,
  100% {
    transform:
      translateY(-170px);

    opacity:
      0;
  }

  18% {
    opacity:
      .2;
  }

  50% {
    opacity:
      .45;
  }

  82% {
    opacity:
      .2;
  }

  100% {
    transform:
      translateY(170px);

    opacity:
      0;
  }

}

.project-system-svg {
  position:
    relative;

  z-index:
    2;

  width:
    100%;

  height:
    auto;

  max-height:
    500px;

  overflow:
    visible;
}


/* ========================================================================== */
/* 48.06 / MAP GRID                                                           */
/* ========================================================================== */

.project-map-grid path {
  fill:
    none;

  stroke:
    rgba(148, 163, 184, .07);

  stroke-width:
    1;
}

body.light .project-map-grid path {
  stroke:
    rgba(15, 23, 42, .055);
}


/* ========================================================================== */
/* 48.07 / FLOW LINES                                                         */
/* ========================================================================== */

.project-flow-line {
  fill:
    none;

  stroke:
    rgba(56, 189, 248, .42);

  stroke-width:
    1.5;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;

  stroke-dasharray:
    7 7;

  vector-effect:
    non-scaling-stroke;

  transition:
    stroke .3s ease,
    stroke-width .3s ease,
    opacity .3s ease,
    filter .3s ease;

  animation:
    projectFlowDash
    6s linear infinite;
}

.project-flow-line.hotel-flow-line {
  stroke:
    rgba(56, 189, 248, .46);
}

.project-flow-line.hotel-api-line {
  stroke:
    rgba(45, 212, 191, .42);
}

.project-flow-line.hotel-analytics-line {
  stroke:
    rgba(245, 158, 11, .42);
}

.project-flow-line.tech-flow-line {
  stroke:
    rgba(139, 92, 246, .48);
}

.project-flow-line.tech-lan-line,
.project-flow-line.tech-internal-line {
  stroke:
    rgba(56, 189, 248, .42);
}

.project-flow-line.tech-dmz-line {
  stroke:
    rgba(139, 92, 246, .5);
}

.project-flow-line.is-active {
  stroke:
    var(--project-accent-soft);

  stroke-width:
    2.4;

  opacity:
    1;

  filter:
    drop-shadow(
      0 0 5px
      color-mix(
        in srgb,
        var(--project-accent) 58%,
        transparent
      )
    );
}

@keyframes projectFlowDash {

  to {
    stroke-dashoffset:
      -56;
  }

}


/* ========================================================================== */
/* 48.08 / MAP NODES                                                          */
/* ========================================================================== */

.project-map-node {
  cursor:
    pointer;

  outline:
    none;

  transform-box:
    fill-box;

  transform-origin:
    center;

  transition:
    transform .26s var(--ease),
    opacity .26s var(--ease),
    filter .26s var(--ease);
}

.project-map-node > rect {
  fill:
    rgba(7, 13, 27, .94);

  stroke:
    rgba(148, 163, 184, .2);

  stroke-width:
    1.1;

  transition:
    fill .26s var(--ease),
    stroke .26s var(--ease),
    stroke-width .26s var(--ease);
}

body.light .project-map-node > rect {
  fill:
    rgba(255, 255, 255, .94);

  stroke:
    rgba(15, 23, 42, .13);
}

.project-map-node > circle:not(.project-node-health) {
  fill:
    var(--project-accent);
}

.project-map-node:hover,
.project-map-node:focus-visible,
.project-map-node.is-active {
  transform:
    translateY(-3px);

  filter:
    drop-shadow(
      0 12px 18px rgba(0, 0, 0, .25)
    );
}

.project-map-node:hover > rect,
.project-map-node:focus-visible > rect,
.project-map-node.is-active > rect {
  fill:
    color-mix(
      in srgb,
      var(--project-accent) 7%,
      rgba(7, 13, 27, .96)
    );

  stroke:
    color-mix(
      in srgb,
      var(--project-accent) 75%,
      white 0%
    );

  stroke-width:
    1.6;
}

body.light .project-map-node:hover > rect,
body.light .project-map-node:focus-visible > rect,
body.light .project-map-node.is-active > rect {
  fill:
    color-mix(
      in srgb,
      var(--project-accent) 6%,
      white
    );
}

.project-system-map.has-node-focus
.project-map-node:not(.is-active) {
  opacity:
    .36;
}

.project-system-map.has-node-focus
.project-flow-line:not(.is-active) {
  opacity:
    .18;
}


/* ========================================================================== */
/* 48.09 / MAP NODE TYPOGRAPHY                                                */
/* ========================================================================== */

.map-node-kicker {
  fill:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    8px;

  letter-spacing:
    1px;
}

.map-node-title {
  fill:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    12px;

  font-weight:
    650;
}

.map-node-meta {
  fill:
    var(--muted-2);

  font-family:
    var(--font-mono);

  font-size:
    8px;
}

.map-node-runtime {
  fill:
    var(--green);

  font-family:
    var(--font-mono);

  font-size:
    7px;

  font-weight:
    600;

  letter-spacing:
    1px;
}


/* ========================================================================== */
/* 48.10 / NODE HEALTH                                                        */
/* ========================================================================== */

.project-node-health {
  fill:
    var(--green);

  filter:
    drop-shadow(
      0 0 6px var(--green)
    );

  animation:
    projectNodeHealth
    2.1s ease-in-out infinite;
}

@keyframes projectNodeHealth {

  0%,
  100% {
    opacity:
      1;

    transform:
      scale(1);
  }

  50% {
    opacity:
      .45;

    transform:
      scale(.72);
  }

}


/* ========================================================================== */
/* 48.11 / HOTEL NODES                                                        */
/* ========================================================================== */

.hotel-main-node > rect {
  stroke:
    rgba(56, 189, 248, .38);

  fill:
    url(#hotelNodeGradient);
}

.hotel-database-node > rect {
  stroke:
    rgba(45, 212, 191, .35);
}

.hotel-api-node > rect {
  stroke:
    rgba(45, 212, 191, .28);
}

.hotel-powerbi-node > rect {
  stroke:
    rgba(245, 158, 11, .3);
}

.hotel-powerbi-node .map-node-title {
  fill:
    var(--orange-soft);
}


/* ========================================================================== */
/* 48.12 / DATA PACKET                                                        */
/* ========================================================================== */

.project-flow-packet {
  fill:
    var(--project-accent);

  opacity:
    .98;

  pointer-events:
    none;
}

.hotel-data-packet {
  fill:
    var(--blue);

  filter:
    drop-shadow(
      0 0 8px var(--blue)
    );
}

.tech-network-packet {
  fill:
    var(--purple);

  filter:
    drop-shadow(
      0 0 8px var(--purple)
    );
}

.project-flow-packet {
  animation:
    projectPacketPulse
    1.4s ease-in-out infinite;
}

@keyframes projectPacketPulse {

  0%,
  100% {
    opacity:
      .95;
  }

  50% {
    opacity:
      .45;
  }

}


/* ========================================================================== */
/* 48.13 / HOTEL SYSTEM FOOTER                                                */
/* ========================================================================== */

.project-v2-system-footer {
  min-height:
    54px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    11px;

  padding:
    11px 18px;

  border-top:
    1px solid var(--border);

  color:
    var(--muted-2);

  background:
    rgba(255, 255, 255, .006);

  font-family:
    var(--font-mono);

  font-size:
    .41rem;

  white-space:
    nowrap;

  overflow-x:
    auto;

  scrollbar-width:
    none;
}

.project-v2-system-footer::-webkit-scrollbar {
  display:
    none;
}

.project-v2-system-footer i {
  color:
    var(--blue);

  font-style:
    normal;
}

.project-v2-system-footer span:nth-of-type(3) {
  color:
    var(--teal-soft);
}

.project-v2-system-footer span:nth-of-type(4) {
  color:
    var(--orange-soft);
}


/* ========================================================================== */
/* 48.14 / TECH NETWORK ZONES                                                 */
/* ========================================================================== */

.tech-network-zone {
  fill:
    rgba(56, 189, 248, .025);

  stroke:
    rgba(56, 189, 248, .18);

  stroke-width:
    1;

  stroke-dasharray:
    8 7;
}

.tech-dmz-zone {
  fill:
    rgba(139, 92, 246, .035);

  stroke:
    rgba(139, 92, 246, .25);
}

.tech-zone-label {
  fill:
    var(--blue-soft);

  font-family:
    var(--font-mono);

  font-size:
    8px;

  letter-spacing:
    1px;
}

.tech-zone-label.purple {
  fill:
    var(--purple-soft);
}

.tech-firewall-node > rect {
  stroke:
    rgba(139, 92, 246, .42);
}

.tech-zone-router > rect {
  stroke:
    rgba(56, 189, 248, .3);
}

.tech-dmz-router > rect {
  stroke:
    rgba(139, 92, 246, .34);
}


/* ========================================================================== */
/* 48.15 / TECH STORAGE STRIP                                                 */
/* ========================================================================== */

.tech-storage-strip {
  min-height:
    70px;

  display:
    grid;

  grid-template-columns:
    1fr auto 1fr auto 1fr;

  align-items:
    center;

  gap:
    12px;

  padding:
    12px 18px;

  border-top:
    1px solid var(--border);

  background:
    linear-gradient(
      90deg,
      rgba(139, 92, 246, .025),
      rgba(56, 189, 248, .018)
    );
}

.tech-storage-strip > div {
  min-width:
    0;

  text-align:
    center;
}

.tech-storage-strip span {
  display:
    block;

  color:
    var(--muted-3);

  font-family:
    var(--font-mono);

  font-size:
    .36rem;

  letter-spacing:
    .1em;
}

.tech-storage-strip strong {
  display:
    block;

  margin-top:
    4px;

  color:
    var(--text-soft);

  font-family:
    var(--font-mono);

  font-size:
    .48rem;

  font-weight:
    500;
}

.tech-storage-strip i {
  color:
    var(--purple);

  font-family:
    var(--font-mono);

  font-size:
    .55rem;

  font-style:
    normal;
}


/* ========================================================================== */
/* 48.16 / CONTENT PANEL                                                      */
/* ========================================================================== */

.project-v2-content {
  grid-area:
    content;

  position:
    relative;

  z-index:
    3;

  min-width:
    0;

  padding:
    clamp(
      32px,
      4vw,
      50px
    );

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .012),
      transparent 60%
    );
}

.project-v2-content::before {
  content:
    "";

  position:
    absolute;

  z-index:
    -1;

  width:
    300px;

  height:
    300px;

  right:
    -140px;

  top:
    10%;

  border-radius:
    50%;

  background:
    var(--project-accent);

  opacity:
    .035;

  filter:
    blur(24px);

  pointer-events:
    none;
}

.project-v2-content-head {
  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    18px;
}

.project-v2-content-head h3 {
  margin-top:
    12px;

  font-size:
    clamp(
      1.75rem,
      2.6vw,
      2.55rem
    );

  line-height:
    1.04;

  letter-spacing:
    -.045em;
}

.project-v2-type {
  flex:
    0 0 auto;

  padding:
    7px 9px;

  border:
    1px solid rgba(56, 189, 248, .22);

  border-radius:
    8px;

  color:
    var(--blue-soft);

  background:
    rgba(56, 189, 248, .035);

  font-family:
    var(--font-mono);

  font-size:
    .38rem;

  white-space:
    nowrap;
}

.project-v2-type.purple {
  color:
    var(--purple-soft);

  border-color:
    rgba(139, 92, 246, .22);

  background:
    rgba(139, 92, 246, .035);
}

.project-v2-description {
  margin-top:
    22px;

  color:
    var(--muted);

  font-size:
    .8rem;

  line-height:
    1.85;
}


/* ========================================================================== */
/* 48.17 / CAPABILITY MATRIX                                                  */
/* ========================================================================== */

.project-v2-capabilities {
  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    8px;

  margin-top:
    28px;
}

.project-v2-capabilities > div {
  position:
    relative;

  min-height:
    82px;

  display:
    grid;

  grid-template-columns:
    28px 1fr;

  grid-template-rows:
    auto auto;

  column-gap:
    8px;

  align-content:
    center;

  padding:
    13px 12px;

  border:
    1px solid var(--border);

  border-radius:
    10px;

  background:
    rgba(255, 255, 255, .01);

  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.project-v2-capabilities > div:hover {
  transform:
    translateY(-2px);

  border-color:
    color-mix(
      in srgb,
      var(--project-accent) 26%,
      transparent
    );

  background:
    color-mix(
      in srgb,
      var(--project-accent) 2.8%,
      transparent
    );
}

.project-v2-capabilities > div > span {
  grid-row:
    1 / 3;

  align-self:
    center;

  color:
    var(--project-accent);

  font-family:
    var(--font-mono);

  font-size:
    .42rem;
}

.project-v2-capabilities strong {
  color:
    var(--text-soft);

  font-size:
    .68rem;

  font-weight:
    600;
}

.project-v2-capabilities small {
  margin-top:
    3px;

  color:
    var(--muted-2);

  font-size:
    .55rem;

  line-height:
    1.35;
}


/* ========================================================================== */
/* 48.18 / TAGS + PROJECT ACTION                                              */
/* ========================================================================== */

.project-v2-bottom {
  margin-top:
    29px;

  padding-top:
    24px;

  border-top:
    1px solid var(--border);
}

.project-v2-bottom .tags {
  margin-top:
    0;
}

.project-v2-bottom .tags span:hover {
  border-color:
    color-mix(
      in srgb,
      var(--project-accent) 30%,
      transparent
    );

  background:
    color-mix(
      in srgb,
      var(--project-accent) 4%,
      transparent
    );
}

.project-v2-link {
  width:
    100%;

  min-height:
    45px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    14px;

  margin-top:
    21px;

  padding:
    0 14px;

  border:
    1px solid var(--border);

  border-radius:
    9px;

  color:
    var(--text-soft);

  background:
    rgba(255, 255, 255, .012);

  text-decoration:
    none;

  font-family:
    var(--font-mono);

  font-size:
    .52rem;

  transition:
    color var(--fast),
    border-color var(--fast),
    background var(--fast),
    transform var(--fast),
    box-shadow var(--fast);
}

.project-v2-link span {
  color:
    var(--project-accent);
}

.project-v2-link:hover {
  transform:
    translateY(-2px);

  color:
    var(--project-accent-soft);

  border-color:
    color-mix(
      in srgb,
      var(--project-accent) 32%,
      transparent
    );

  background:
    color-mix(
      in srgb,
      var(--project-accent) 4%,
      transparent
    );

  box-shadow:
    0 15px 35px rgba(0, 0, 0, .16);
}


/* ========================================================================== */
/* 48.19 / PROJECTS VECTOR                                                    */
/* ========================================================================== */

.projects-v2-vector {
  margin-top:
    22px;

  min-height:
    66px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    14px;

  padding:
    15px 20px;

  border:
    1px solid var(--border);

  border-radius:
    13px;

  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .018),
      rgba(139, 92, 246, .018)
    );

  font-family:
    var(--font-mono);

  white-space:
    nowrap;

  overflow-x:
    auto;

  scrollbar-width:
    none;
}

.projects-v2-vector::-webkit-scrollbar {
  display:
    none;
}

.projects-v2-vector span {
  color:
    var(--muted-3);

  font-size:
    .42rem;
}

.projects-v2-vector strong {
  color:
    var(--text-soft);

  font-size:
    .48rem;

  font-weight:
    500;
}

.projects-v2-vector strong:first-of-type {
  color:
    var(--blue-soft);
}

.projects-v2-vector strong:last-of-type {
  color:
    var(--purple-soft);
}

.projects-v2-vector i {
  color:
    var(--muted-3);

  font-style:
    normal;
}


/* ========================================================================== */
/* 48.20 / LIGHT MODE                                                         */
/* ========================================================================== */

body.light .project-v2-visual {
  background-color:
    rgba(247, 250, 253, .86);
}

body.light .hotel-system-visual {
  background:
    radial-gradient(
      circle at 48% 48%,
      rgba(56, 189, 248, .08),
      transparent 40%
    ),
    rgba(248, 250, 252, .9);
}

body.light .tech-system-visual {
  background:
    radial-gradient(
      circle at 52% 43%,
      rgba(139, 92, 246, .075),
      transparent 42%
    ),
    rgba(248, 250, 252, .9);
}

body.light .project-v2-content {
  background:
    rgba(255, 255, 255, .72);
}

body.light .project-v2-capabilities > div,
body.light .project-v2-link,
body.light .projects-v2-vector {
  background:
    rgba(255, 255, 255, .55);
}


/* ========================================================================== */
/* 48.21 / HOVER / ACTIVE SYSTEM                                              */
/* ========================================================================== */

.project-v2-card.is-running {
  border-color:
    color-mix(
      in srgb,
      var(--project-accent) 34%,
      transparent
    );
}

.project-v2-card.is-running
.project-v2-visual-state i,
.project-v2-card.is-running
.project-status-dot {
  animation-duration:
    1s;
}

.project-v2-card.is-running
.project-system-map::after {
  opacity:
    .6;
}

.project-v2-card.is-running
.project-flow-packet {
  opacity:
    1;
}


/* ========================================================================== */
/* 48.22 / RESPONSIVE — 1180                                                  */
/* ========================================================================== */

@media (max-width: 1180px) {

  .project-v2-card {
    grid-template-columns:
      minmax(0, 1.1fr)
      minmax(310px, .9fr);
  }

  .project-v2-visual {
    min-height:
      590px;
  }

  .project-v2-content {
    padding:
      34px 28px;
  }

}


/* ========================================================================== */
/* 48.23 / RESPONSIVE — 980                                                   */
/* ========================================================================== */

@media (max-width: 980px) {

  .project-v2-card,
  .project-v2-infra {
    grid-template-columns:
      1fr;

    grid-template-areas:
      "topbar"
      "visual"
      "content";
  }

  .project-v2-visual,
  .project-v2-infra .project-v2-visual {
    min-height:
      auto;

    border-right:
      0;

    border-left:
      0;

    border-bottom:
      1px solid var(--border);
  }

  .project-system-map {
    min-height:
      520px;
  }

  .project-system-svg {
    max-height:
      470px;
  }

  .project-v2-content {
    padding:
      36px;
  }

}


/* ========================================================================== */
/* 48.24 / RESPONSIVE — 720                                                   */
/* ========================================================================== */

@media (max-width: 720px) {

  .projects-v2-grid {
    gap:
      24px;
  }

  .project-v2-card {
    border-radius:
      23px;
  }

  .project-v2-topbar {
    min-height:
      54px;

    padding:
      0 15px;
  }

  .project-v2-id {
    gap:
      8px;
  }

  .project-v2-id strong {
    font-size:
      .46rem;
  }

  .project-v2-status {
    padding:
      0 8px;

    font-size:
      .34rem;
  }

  .project-v2-visual-header {
    padding:
      12px 15px;
  }

  .project-v2-visual-header > div:first-child strong {
    font-size:
      .48rem;
  }

  .project-system-map {
    min-height:
      440px;

    justify-content:
      flex-start;

    overflow-x:
      auto;

    padding:
      14px 8px 8px;

    scrollbar-width:
      thin;
  }

  .project-system-svg {
    width:
      720px;

    min-width:
      720px;

    max-width:
      none;

    max-height:
      none;
  }

  .project-v2-content {
    padding:
      28px 23px;
  }

  .project-v2-content-head {
    display:
      grid;

    gap:
      13px;
  }

  .project-v2-type {
    width:
      max-content;
  }

  .project-v2-capabilities {
    grid-template-columns:
      1fr 1fr;
  }

  .projects-v2-vector {
    justify-content:
      flex-start;
  }

}


/* ========================================================================== */
/* 48.25 / RESPONSIVE — 560                                                   */
/* ========================================================================== */

@media (max-width: 560px) {

  .project-v2-topbar {
    align-items:
      flex-start;

    flex-direction:
      column;

    gap:
      8px;

    padding:
      13px 14px;
  }

  .project-v2-visual-header {
    align-items:
      flex-start;

    flex-direction:
      column;

    gap:
      9px;
  }

  .project-system-map {
    min-height:
      390px;
  }

  .project-system-svg {
    width:
      680px;

    min-width:
      680px;
  }

  .project-v2-content {
    padding:
      25px 18px;
  }

  .project-v2-content-head h3 {
    font-size:
      1.85rem;
  }

  .project-v2-capabilities {
    grid-template-columns:
      1fr;
  }

  .project-v2-capabilities > div {
    min-height:
      70px;
  }

  .project-v2-system-footer {
    justify-content:
      flex-start;
  }

  .tech-storage-strip {
    grid-template-columns:
      1fr;

    gap:
      8px;

    padding:
      14px;
  }

  .tech-storage-strip i {
    transform:
      rotate(90deg);

    justify-self:
      center;
  }

}


/* ========================================================================== */
/* 48.26 / RESPONSIVE — 390                                                   */
/* ========================================================================== */

@media (max-width: 390px) {

  .project-v2-card {
    border-radius:
      20px;
  }

  .project-v2-id {
    align-items:
      flex-start;

    flex-direction:
      column;

    gap:
      3px;
  }

  .project-v2-status {
    min-height:
      25px;
  }

  .project-system-map {
    min-height:
      360px;
  }

  .project-system-svg {
    width:
      650px;

    min-width:
      650px;
  }

  .project-v2-content {
    padding:
      23px 16px;
  }

  .project-v2-description {
    font-size:
      .74rem;
  }

  .projects-v2-vector {
    padding:
      13px 15px;
  }

}


/* ========================================================================== */
/* 48.27 / REDUCED MOTION                                                     */
/* ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .project-status-dot,
  .project-system-map::before,
  .project-system-map::after,
  .project-flow-line,
  .project-node-health,
  .project-flow-packet {
    animation:
      none !important;
  }

  .project-flow-line {
    stroke-dashoffset:
      0 !important;
  }

  .project-map-node {
    transform:
      none !important;
  }

}


/* ========================================================================== */
/* 48.28 / PRINT                                                              */
/* ========================================================================== */

@media print {

  .project-v2-card {
    break-inside:
      avoid;

    color:
      black;

    background:
      white;

    box-shadow:
      none;
  }

  .project-v2-visual {
    min-height:
      auto;
  }

  .project-system-map {
    min-height:
      420px;
  }

  .project-system-map::before,
  .project-system-map::after {
    display:
      none;
  }

}

/* Explicit SVG identities used by PROJECTS V2 */
.hotel-system-svg {
  filter:
    drop-shadow(0 18px 36px rgba(56, 189, 248, .025));
}

.tech-system-svg {
  filter:
    drop-shadow(0 18px 36px rgba(139, 92, 246, .025));
}


/* ========================================================================== */
/* 48.29 / END PROJECTS V2                                                    */
/* ========================================================================== */


/* ========================================================================== */
/* 49 / STACK V2 — TECHNICAL UNIVERSE EXTREME                                */
/* ========================================================================== */

.stack-v2-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stack-v2-section::before,
.stack-v2-section::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
}

.stack-v2-section::before {
  width: 720px;
  height: 720px;
  left: -420px;
  top: 15%;
  background: rgba(56, 189, 248, .06);
}

.stack-v2-section::after {
  width: 760px;
  height: 760px;
  right: -450px;
  bottom: 5%;
  background: rgba(139, 92, 246, .06);
}

.stack-v2-section .section-shell {
  position: relative;
  z-index: 2;
}

.stack-v2-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(92, 121, 164, .22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 45% 36%, rgba(56, 189, 248, .035), transparent 31%),
    radial-gradient(circle at 76% 62%, rgba(139, 92, 246, .035), transparent 34%),
    linear-gradient(145deg, rgba(9, 16, 30, .98), rgba(3, 6, 15, .99));
  box-shadow:
    0 36px 110px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  isolation: isolate;
}

.stack-v2-shell::before {
  content: "";
  position: absolute;
  z-index: 15;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--purple),
      var(--teal),
      transparent
    );
  opacity: .9;
  pointer-events: none;
}

body.light .stack-v2-shell {
  background:
    radial-gradient(circle at 45% 36%, rgba(56, 189, 248, .07), transparent 32%),
    radial-gradient(circle at 76% 62%, rgba(139, 92, 246, .055), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(242, 247, 252, .98));
  box-shadow:
    0 28px 80px rgba(30, 41, 59, .11),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* TOP BAR */

.stack-v2-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .008);
  backdrop-filter: blur(16px);
}

.stack-v2-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.stack-v2-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v2-runtime {
  display: flex;
  align-items: center;
  gap: 7px;
}

.stack-v2-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .012);
  font-family: var(--font-mono);
  font-size: .37rem;
  letter-spacing: .055em;
}

.stack-v2-chip.is-live {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .18);
  background: rgba(34, 197, 94, .025);
}

.stack-v2-chip.is-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: stackV2LivePulse 2s ease-in-out infinite;
}

@keyframes stackV2LivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.74); }
}

/* DASHBOARD */

.stack-v2-dashboard {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 300px;
  min-height: 760px;
}

/* DOMAIN RAIL */

.stack-domain-rail {
  min-width: 0;
  padding: 20px 13px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, .006);
}

.stack-rail-label {
  display: block;
  margin: 0 7px 14px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .39rem;
  letter-spacing: .13em;
}

.stack-domain-button {
  --stack-domain-color: var(--blue);
  position: relative;
  width: 100%;
  min-height: 67px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  margin-top: 6px;
  padding: 11px 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--fast),
    color var(--fast),
    border-color var(--fast),
    background var(--fast),
    box-shadow var(--fast);
}

.stack-domain-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 999px;
  background: var(--stack-domain-color);
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity var(--fast), transform var(--fast);
}

.stack-domain-button[data-stack-domain="cloud"] { --stack-domain-color: var(--purple); }
.stack-domain-button[data-stack-domain="network"] { --stack-domain-color: var(--teal); }
.stack-domain-button[data-stack-domain="security"] { --stack-domain-color: var(--red); }
.stack-domain-button[data-stack-domain="observe"] { --stack-domain-color: var(--orange); }
.stack-domain-button[data-stack-domain="automation"] { --stack-domain-color: var(--cyan); }
.stack-domain-button[data-stack-domain="data"] { --stack-domain-color: var(--green); }
.stack-domain-button[data-stack-domain="digital"] { --stack-domain-color: var(--pink); }

.stack-domain-button > span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--stack-domain-color);
  font-family: var(--font-mono);
  font-size: .42rem;
}

.stack-domain-button strong {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 600;
}

.stack-domain-button small {
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .37rem;
}

.stack-domain-button:hover,
.stack-domain-button:focus-visible,
.stack-domain-button.is-active {
  transform: translateX(3px);
  border-color: color-mix(in srgb, var(--stack-domain-color) 28%, transparent);
  background: color-mix(in srgb, var(--stack-domain-color) 4%, transparent);
  color: var(--text-soft);
}

.stack-domain-button.is-active {
  box-shadow:
    inset 0 0 24px color-mix(in srgb, var(--stack-domain-color) 4%, transparent);
}

.stack-domain-button:hover::before,
.stack-domain-button:focus-visible::before,
.stack-domain-button.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

/* UNIVERSE PANEL */

.stack-universe-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .006), transparent 30%);
}

.stack-universe-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.stack-universe-toolbar > div:first-child span {
  display: block;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .37rem;
  letter-spacing: .12em;
}

.stack-universe-toolbar > div:first-child strong {
  display: block;
  margin-top: 5px;
  color: var(--blue-soft);
  font-family: var(--font-mono);
  font-size: .5rem;
  font-weight: 500;
}

.stack-universe-legend {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .32rem;
}

.stack-universe-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stack-universe-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-core { background: var(--blue); box-shadow: 0 0 9px var(--blue); }
.legend-tech { background: var(--purple); }
.legend-path { background: var(--teal); }

.stack-universe-map {
  position: relative;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(56, 189, 248, .045), transparent 26%),
    radial-gradient(circle at 50% 48%, rgba(139, 92, 246, .025), transparent 43%);
}

.stack-universe-map::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      transparent 18%,
      rgba(56, 189, 248, .018) 47%,
      transparent 70%
    );
  transform: translateX(-115%);
  animation: stackUniverseSweep 9s ease-in-out infinite;
}

.stack-universe-map::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 1px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(56, 189, 248, .2),
      rgba(139, 92, 246, .15),
      transparent
    );
  animation: stackUniverseScan 6.5s ease-in-out infinite;
}

@keyframes stackUniverseSweep {
  0%, 18% { transform: translateX(-115%); }
  64%, 100% { transform: translateX(115%); }
}

@keyframes stackUniverseScan {
  0%, 100% { transform: translateY(-250px); opacity: 0; }
  18% { opacity: .18; }
  50% { opacity: .5; }
  82% { opacity: .18; }
  100% { transform: translateY(250px); opacity: 0; }
}

.stack-universe-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 625px;
  display: block;
}

/* GRID */

.stack-universe-grid circle,
.stack-universe-grid path {
  fill: none;
  stroke: rgba(148, 163, 184, .065);
  stroke-width: 1;
  stroke-dasharray: 3 8;
}

.stack-universe-grid circle:nth-child(2) { stroke: rgba(56, 189, 248, .07); }
.stack-universe-grid circle:nth-child(3) { stroke: rgba(139, 92, 246, .07); }

body.light .stack-universe-grid circle,
body.light .stack-universe-grid path {
  stroke: rgba(15, 23, 42, .065);
}

/* CORE */

.stack-core-halo {
  opacity: .8;
  transform-origin: 500px 340px;
  animation: stackCoreBreath 4.8s ease-in-out infinite;
}

@keyframes stackCoreBreath {
  0%, 100% { transform: scale(.96); opacity: .66; }
  50% { transform: scale(1.07); opacity: 1; }
}

.stack-core-node circle {
  fill: rgba(7, 13, 27, .97);
  stroke: rgba(56, 189, 248, .4);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, .09));
}

body.light .stack-core-node circle {
  fill: rgba(255, 255, 255, .97);
}

.stack-core-kicker,
.stack-core-title,
.stack-core-meta {
  font-family: var(--font-mono);
}

.stack-core-kicker {
  fill: var(--blue);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.stack-core-title {
  fill: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
}

.stack-core-meta {
  fill: var(--muted-2);
  font-size: 7px;
  letter-spacing: 1px;
}

.stack-core-links path {
  fill: none;
  stroke: rgba(148, 163, 184, .075);
  stroke-width: 1;
  stroke-dasharray: 3 8;
}

/* RELATION EDGES */

.stack-edge {
  fill: none;
  stroke: rgba(56, 189, 248, .15);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  vector-effect: non-scaling-stroke;
  transition:
    stroke .3s ease,
    stroke-width .3s ease,
    opacity .3s ease,
    filter .3s ease;
  animation: stackEdgeFlow 8s linear infinite;
}

.stack-edge:nth-child(2n) { stroke: rgba(139, 92, 246, .15); }
.stack-edge:nth-child(3n) { stroke: rgba(45, 212, 191, .15); }
.stack-edge-major { stroke-width: 1.35; }

.stack-edge.is-active {
  stroke: url(#stackFlowGradient);
  stroke-width: 2.3;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, .34));
}

@keyframes stackEdgeFlow {
  to { stroke-dashoffset: -70; }
}

.stack-universe-map.has-domain-focus .stack-edge:not(.is-active) {
  opacity: .12;
}

/* DOMAIN NODES */

.stack-domain-node {
  --stack-node-color: var(--blue);
  cursor: pointer;
  outline: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .28s var(--ease), opacity .28s var(--ease), filter .28s var(--ease);
}

.stack-domain-cloud { --stack-node-color: var(--purple); }
.stack-domain-network { --stack-node-color: var(--teal); }
.stack-domain-security { --stack-node-color: var(--red); }
.stack-domain-observe { --stack-node-color: var(--orange); }
.stack-domain-automation { --stack-node-color: var(--cyan); }
.stack-domain-data { --stack-node-color: var(--green); }
.stack-domain-digital { --stack-node-color: var(--pink); }

.stack-domain-node circle {
  fill: rgba(7, 13, 27, .94);
  stroke: color-mix(in srgb, var(--stack-node-color) 38%, transparent);
  stroke-width: 1.2;
  transition: fill .28s var(--ease), stroke .28s var(--ease), stroke-width .28s var(--ease);
}

body.light .stack-domain-node circle {
  fill: rgba(255, 255, 255, .95);
}

.stack-domain-index,
.stack-domain-title,
.stack-domain-meta {
  font-family: var(--font-mono);
  pointer-events: none;
}

.stack-domain-index {
  fill: var(--stack-node-color);
  font-size: 7px;
}

.stack-domain-title {
  fill: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
}

.stack-domain-meta {
  fill: var(--muted-3);
  font-size: 6px;
  letter-spacing: .7px;
}

.stack-domain-node:hover,
.stack-domain-node:focus-visible,
.stack-domain-node.is-active {
  transform: scale(1.08);
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, .24));
}

.stack-domain-node:hover circle,
.stack-domain-node:focus-visible circle,
.stack-domain-node.is-active circle {
  fill: color-mix(in srgb, var(--stack-node-color) 8%, rgba(7, 13, 27, .97));
  stroke: var(--stack-node-color);
  stroke-width: 1.9;
}

body.light .stack-domain-node:hover circle,
body.light .stack-domain-node:focus-visible circle,
body.light .stack-domain-node.is-active circle {
  fill: color-mix(in srgb, var(--stack-node-color) 7%, white);
}

.stack-universe-map.has-domain-focus .stack-domain-node:not(.is-active) {
  opacity: .32;
}

/* SATELLITES */

.stack-satellite-group {
  transition: opacity .28s var(--ease);
}

.stack-tech-node {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .24s var(--ease), opacity .28s var(--ease), filter .24s var(--ease);
}

.stack-tech-node circle {
  fill: rgba(8, 14, 27, .92);
  stroke: rgba(148, 163, 184, .17);
  stroke-width: 1;
  transition: stroke .24s ease, fill .24s ease;
}

body.light .stack-tech-node circle {
  fill: rgba(255, 255, 255, .94);
  stroke: rgba(15, 23, 42, .13);
}

.stack-tech-node text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 500;
  pointer-events: none;
}

.stack-tech-node:hover,
.stack-tech-node.is-active {
  transform: scale(1.12);
  filter: drop-shadow(0 0 9px rgba(56, 189, 248, .15));
}

.stack-tech-node:hover circle,
.stack-tech-node.is-active circle {
  stroke: var(--blue);
  fill: rgba(56, 189, 248, .055);
}

.stack-tech-node:hover text,
.stack-tech-node.is-active text {
  fill: var(--text-soft);
}

.stack-universe-map.has-domain-focus .stack-satellite-group:not(.is-active) {
  opacity: .16;
}

.stack-satellite-group.is-active .stack-tech-node circle {
  stroke: rgba(56, 189, 248, .3);
}

/* LIVE PULSES */

.stack-live-pulse {
  pointer-events: none;
  opacity: .95;
}

.stack-live-pulse-primary {
  fill: var(--blue);
}

.stack-live-pulse-secondary {
  fill: var(--purple-soft);
}

.stack-v2-shell.is-running .stack-live-pulse {
  filter: drop-shadow(0 0 8px currentColor);
}

/* UNIVERSE FOOTER */

.stack-universe-footer {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .34rem;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.stack-universe-footer::-webkit-scrollbar { display: none; }

.stack-universe-footer i {
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

#stackActivePath {
  color: var(--text-soft);
}

/* INSPECTOR */

.stack-inspector {
  min-width: 0;
  border-left: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .01), transparent 60%);
}

.stack-inspector-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .38rem;
  letter-spacing: .12em;
}

.stack-inspector-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: stackV2LivePulse 2s ease-in-out infinite;
}

.stack-inspector-body {
  padding: 28px 22px;
}

.stack-inspector-code {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .42rem;
  letter-spacing: .12em;
}

.stack-inspector h3 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.stack-inspector p {
  margin-top: 15px;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.75;
}

.stack-inspector-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 24px;
}

.stack-inspector-metrics > div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .008);
}

.stack-inspector-metrics span,
.stack-inspector-metrics strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-inspector-metrics span {
  color: var(--muted-3);
  font-size: .31rem;
}

.stack-inspector-metrics strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: .39rem;
  font-weight: 500;
}

.stack-inspector-metrics strong.is-online {
  color: var(--green-soft);
}

.stack-inspector-label {
  display: block;
  margin-top: 28px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .38rem;
  letter-spacing: .12em;
}

.stack-inspector-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.stack-inspector-techs span {
  padding: 6px 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, .009);
  font-family: var(--font-mono);
  font-size: .36rem;
}

.stack-inspector-signal {
  margin-top: 29px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.stack-inspector-signal > span,
.stack-inspector-signal > strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-inspector-signal > span {
  color: var(--muted-3);
  font-size: .35rem;
  letter-spacing: .11em;
}

.stack-signal-track {
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.stack-signal-track i {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--teal));
  box-shadow: 0 0 13px rgba(56, 189, 248, .38);
  animation: stackSignalTravel 2.4s ease-in-out infinite;
}

@keyframes stackSignalTravel {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(240%); }
}

.stack-inspector-signal > strong {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: .43rem;
  font-weight: 500;
}

/* DOMAIN BANK */

.stack-domain-bank {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.stack-bank-card {
  --stack-bank-color: var(--blue);
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .007);
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast),
    box-shadow var(--fast);
}

.stack-bank-card[data-stack-bank="cloud"] { --stack-bank-color: var(--purple); }
.stack-bank-card[data-stack-bank="network"] { --stack-bank-color: var(--teal); }
.stack-bank-card[data-stack-bank="security"] { --stack-bank-color: var(--red); }
.stack-bank-card[data-stack-bank="observe"] { --stack-bank-color: var(--orange); }
.stack-bank-card[data-stack-bank="automation"] { --stack-bank-color: var(--cyan); }
.stack-bank-card[data-stack-bank="data"] { --stack-bank-color: var(--green); }
.stack-bank-card[data-stack-bank="digital"] { --stack-bank-color: var(--pink); }

.stack-bank-card:hover,
.stack-bank-card.is-active {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--stack-bank-color) 34%, transparent);
  background: color-mix(in srgb, var(--stack-bank-color) 3.5%, transparent);
  box-shadow: inset 0 0 28px color-mix(in srgb, var(--stack-bank-color) 3%, transparent);
}

.stack-bank-head {
  display: grid;
  grid-template-columns: 25px 1fr;
  grid-template-rows: auto auto;
  column-gap: 7px;
  align-items: center;
}

.stack-bank-head > span {
  grid-row: 1 / 3;
  color: var(--stack-bank-color);
  font-family: var(--font-mono);
  font-size: .39rem;
}

.stack-bank-head strong,
.stack-bank-head small {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-bank-head strong {
  color: var(--text-soft);
  font-size: .46rem;
  font-weight: 600;
}

.stack-bank-head small {
  margin-top: 2px;
  color: var(--muted-3);
  font-size: .31rem;
}

.stack-bank-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.stack-bank-techs span {
  padding: 4px 6px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .31rem;
}

/* TELEMETRY */

.stack-v2-telemetry {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .018),
      rgba(139, 92, 246, .018),
      rgba(45, 212, 191, .014)
    );
}

.stack-v2-telemetry > div {
  min-width: 0;
  text-align: center;
}

.stack-v2-telemetry span,
.stack-v2-telemetry strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v2-telemetry span {
  color: var(--muted-3);
  font-size: .33rem;
  letter-spacing: .1em;
}

.stack-v2-telemetry strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: .43rem;
  font-weight: 500;
}

.stack-v2-telemetry i {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .5rem;
  font-style: normal;
}

.stack-v2-telemetry i::before {
  content: "→";
}

/* RUNNING / ACTIVE STATE */

.stack-v2-shell.is-running {
  border-color: rgba(56, 189, 248, .27);
}

.stack-v2-shell.is-running .stack-core-node circle {
  stroke: rgba(56, 189, 248, .7);
}

/* LIGHT MODE */

body.light .stack-domain-rail,
body.light .stack-inspector,
body.light .stack-domain-bank,
body.light .stack-v2-telemetry {
  background-color: rgba(255, 255, 255, .38);
}

body.light .stack-v2-chip,
body.light .stack-inspector-metrics > div,
body.light .stack-inspector-techs span,
body.light .stack-bank-card {
  background: rgba(255, 255, 255, .55);
}

/* RESPONSIVE 1180 */

@media (max-width: 1180px) {

  .stack-v2-dashboard {
    grid-template-columns: 165px minmax(0, 1fr) 270px;
  }

  .stack-domain-button {
    min-height: 63px;
    padding: 9px 8px;
  }

  .stack-inspector-body {
    padding: 24px 18px;
  }

}

/* RESPONSIVE 1020 */

@media (max-width: 1020px) {

  .stack-v2-dashboard {
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-areas:
      "rail universe"
      "inspector inspector";
  }

  .stack-domain-rail {
    grid-area: rail;
  }

  .stack-universe-panel {
    grid-area: universe;
  }

  .stack-inspector {
    grid-area: inspector;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .stack-inspector-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .stack-inspector-metrics,
  .stack-inspector-label,
  .stack-inspector-techs,
  .stack-inspector-signal {
    grid-column: 2;
  }

  .stack-inspector-code,
  .stack-inspector h3,
  .stack-inspector p {
    grid-column: 1;
  }

  .stack-inspector-metrics {
    grid-row: 1 / 3;
    align-self: start;
    margin-top: 0;
  }

  .stack-inspector-label {
    margin-top: 22px;
  }

  .stack-domain-bank {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* RESPONSIVE 780 */

@media (max-width: 780px) {

  .stack-v2-shell {
    border-radius: 23px;
  }

  .stack-v2-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 13px 15px;
  }

  .stack-v2-runtime {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .stack-v2-runtime::-webkit-scrollbar { display: none; }

  .stack-v2-dashboard {
    display: block;
    min-height: auto;
  }

  .stack-domain-rail {
    display: flex;
    gap: 7px;
    padding: 12px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
  }

  .stack-domain-rail::-webkit-scrollbar { display: none; }

  .stack-rail-label {
    display: none;
  }

  .stack-domain-button {
    width: 130px;
    min-width: 130px;
    min-height: 58px;
    margin-top: 0;
  }

  .stack-domain-button:hover,
  .stack-domain-button:focus-visible,
  .stack-domain-button.is-active {
    transform: translateY(-2px);
  }

  .stack-universe-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .stack-universe-legend {
    width: 100%;
    overflow-x: auto;
  }

  .stack-universe-map {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .stack-universe-svg {
    width: 820px;
    min-width: 820px;
    min-height: 560px;
  }

  .stack-universe-footer {
    justify-content: flex-start;
  }

  .stack-inspector-body {
    display: block;
  }

  .stack-inspector-metrics {
    margin-top: 22px;
  }

  .stack-domain-bank {
    grid-template-columns: 1fr 1fr;
  }

  .stack-v2-telemetry {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 16px;
  }

  .stack-v2-telemetry i {
    transform: rotate(90deg);
    justify-self: center;
  }

}

/* RESPONSIVE 560 */

@media (max-width: 560px) {

  .stack-v2-window > span {
    max-width: 230px;
  }

  .stack-v2-chip {
    flex: 0 0 auto;
  }

  .stack-universe-svg {
    width: 760px;
    min-width: 760px;
    min-height: 520px;
  }

  .stack-domain-bank {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .stack-bank-card {
    padding: 13px;
  }

  .stack-inspector-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .stack-inspector-metrics > div:last-child {
    grid-column: 1 / -1;
  }

}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .stack-v2-chip.is-live i,
  .stack-inspector-live,
  .stack-core-halo,
  .stack-edge,
  .stack-universe-map::before,
  .stack-universe-map::after,
  .stack-signal-track i {
    animation: none !important;
  }

  .stack-domain-node,
  .stack-tech-node,
  .stack-domain-button,
  .stack-bank-card {
    transform: none !important;
  }

}

/* PRINT */

@media print {

  .stack-v2-shell {
    break-inside: avoid;
    background: white;
    box-shadow: none;
  }

  .stack-universe-map::before,
  .stack-universe-map::after,
  .stack-live-pulse {
    display: none;
  }

}

/* ========================================================================== */
/* 49.01 / END STACK V2                                                       */
/* ========================================================================== */


/* ========================================================================== */
/* 50 / STACK V2 DELIVERY HARDENING                                            */
/* Prevents the knowledge graph from falling back to raw browser layout.       */
/* ========================================================================== */

.stack-v2-section .stack-v2-shell {
  display: block;
  width: 100%;
  max-width: 100%;
}

.stack-v2-section .stack-v2-topbar {
  width: 100%;
}

.stack-v2-section .stack-v2-dashboard {
  width: 100%;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 300px;
}

.stack-v2-section .stack-domain-rail,
.stack-v2-section .stack-universe-panel,
.stack-v2-section .stack-inspector {
  min-width: 0;
}

.stack-v2-section .stack-domain-button {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

.stack-v2-section .stack-universe-panel {
  display: flex;
  flex-direction: column;
}

.stack-v2-section .stack-universe-map {
  position: relative;
  min-width: 0;
  min-height: 625px;
}

.stack-v2-section .stack-universe-svg {
  width: 100%;
  height: 100%;
  min-height: 625px;
  display: block;
}

.stack-v2-section .stack-core-node circle {
  fill: rgba(7, 13, 27, .97);
  stroke: rgba(56, 189, 248, .4);
}

.stack-v2-section .stack-domain-node circle {
  fill: rgba(7, 13, 27, .94);
}

.stack-v2-section .stack-tech-node circle {
  fill: rgba(8, 14, 27, .92);
  stroke: rgba(148, 163, 184, .17);
}

.stack-v2-section .stack-domain-bank {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack-v2-section .stack-v2-telemetry {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

body.light .stack-v2-section .stack-core-node circle,
body.light .stack-v2-section .stack-domain-node circle,
body.light .stack-v2-section .stack-tech-node circle {
  fill: rgba(255, 255, 255, .96);
}

@media (max-width: 1180px) {
  .stack-v2-section .stack-v2-dashboard {
    grid-template-columns: 165px minmax(0, 1fr) 265px;
  }
}

@media (max-width: 980px) {
  .stack-v2-section .stack-v2-dashboard {
    grid-template-columns: 1fr;
  }

  .stack-v2-section .stack-domain-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stack-v2-section .stack-rail-label {
    grid-column: 1 / -1;
  }

  .stack-v2-section .stack-inspector {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .stack-v2-section .stack-domain-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-v2-section .stack-universe-map {
    overflow-x: auto;
  }

  .stack-v2-section .stack-universe-svg {
    width: 900px;
    min-width: 900px;
  }

  .stack-v2-section .stack-domain-bank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-v2-section .stack-v2-telemetry {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stack-v2-section .stack-v2-telemetry > i {
    display: none;
  }
}

@media (max-width: 480px) {
  .stack-v2-section .stack-domain-bank {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== */
/* 50.01 / END STACK V2 DELIVERY HARDENING                                    */
/* ========================================================================== */


/* ========================================================================== */
/* 51 / TECHNICAL LAB V2 — INTERACTIVE OPERATIONS                             */
/* ========================================================================== */

.lab-v2-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.lab-v2-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  right: -430px;
  top: 14%;
  border-radius: 50%;
  background: rgba(56, 189, 248, .045);
  filter: blur(105px);
  pointer-events: none;
}

.lab-v2-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(92, 121, 164, .23);
  border-radius: 30px;
  background:
    radial-gradient(circle at 46% 28%, rgba(56, 189, 248, .035), transparent 29%),
    radial-gradient(circle at 72% 76%, rgba(45, 212, 191, .025), transparent 30%),
    linear-gradient(145deg, rgba(8, 15, 29, .985), rgba(3, 7, 16, .995));
  box-shadow:
    0 34px 105px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  isolation: isolate;
}

.lab-v2-shell::before {
  content: "";
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--teal),
      var(--blue),
      var(--purple),
      transparent
    );
  opacity: .9;
  pointer-events: none;
}

.lab-v2-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .15;
  background-image:
    linear-gradient(rgba(56, 189, 248, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

body.light .lab-v2-shell {
  background:
    radial-gradient(circle at 46% 28%, rgba(56, 189, 248, .065), transparent 30%),
    radial-gradient(circle at 72% 76%, rgba(45, 212, 191, .05), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(243, 247, 252, .99));
  box-shadow:
    0 26px 78px rgba(30, 41, 59, .11),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* TOP BAR */

.lab-v2-topbar {
  position: relative;
  z-index: 3;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .007);
  backdrop-filter: blur(16px);
}

.lab-v2-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.lab-v2-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-v2-runtime {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lab-v2-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .012);
  font-family: var(--font-mono);
  font-size: .36rem;
  letter-spacing: .055em;
}

.lab-v2-chip.is-live {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .18);
}

.lab-v2-chip.is-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: labV2LivePulse 2s ease-in-out infinite;
}

@keyframes labV2LivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .42; transform: scale(.72); }
}

/* WORKBENCH */

.lab-v2-workbench {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 300px;
  min-height: 650px;
}

/* SELECTOR */

.lab-v2-selector {
  min-width: 0;
  padding: 19px 13px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, .005);
}

.lab-v2-selector-label {
  display: block;
  margin: 0 8px 13px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .38rem;
  letter-spacing: .13em;
}

.lab-v2-mode {
  position: relative;
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast),
    color var(--fast);
}

.lab-v2-mode::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0;
  transform: scaleY(.3);
  transition: opacity var(--fast), transform var(--fast);
}

.lab-v2-mode > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .42rem;
}

.lab-v2-mode > div {
  min-width: 0;
}

.lab-v2-mode strong,
.lab-v2-mode small {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-v2-mode strong {
  color: var(--text-soft);
  font-size: .48rem;
  font-weight: 600;
}

.lab-v2-mode small {
  margin-top: 3px;
  color: var(--muted-3);
  font-size: .31rem;
}

.lab-v2-mode > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
  transition: background var(--fast), box-shadow var(--fast);
}

.lab-v2-mode:hover,
.lab-v2-mode:focus-visible,
.lab-v2-mode.is-active {
  transform: translateX(3px);
  border-color: rgba(56, 189, 248, .18);
  color: var(--text-soft);
  background: rgba(56, 189, 248, .025);
}

.lab-v2-mode:hover::before,
.lab-v2-mode:focus-visible::before,
.lab-v2-mode.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.lab-v2-mode.is-active > i {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

/* TERMINAL */

.lab-v2-terminal-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.lab-v2-terminal-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .005);
}

.lab-v2-terminal-toolbar > div span,
.lab-v2-terminal-toolbar > div strong {
  display: block;
  font-family: var(--font-mono);
}

.lab-v2-terminal-toolbar > div span {
  color: var(--muted-3);
  font-size: .35rem;
  letter-spacing: .12em;
}

.lab-v2-terminal-toolbar > div strong {
  margin-top: 4px;
  color: var(--teal-soft);
  font-size: .49rem;
  font-weight: 500;
}

.lab-v2-run {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(45, 212, 191, .2);
  border-radius: 8px;
  color: var(--teal-soft);
  background: rgba(45, 212, 191, .025);
  font-family: var(--font-mono);
  font-size: .36rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.lab-v2-run:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, .42);
  background: rgba(45, 212, 191, .055);
}

.lab-v2-run span {
  color: var(--green);
}

.lab-v2-shell.is-running .lab-v2-run span {
  animation: labV2RunBlink .7s ease-in-out infinite;
}

@keyframes labV2RunBlink {
  50% { opacity: .25; }
}

.lab-v2-terminal {
  position: relative;
  flex: 1;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 22%, rgba(56, 189, 248, .035), transparent 24%),
    linear-gradient(180deg, rgba(2, 6, 14, .84), rgba(3, 8, 18, .96));
}

body.light .lab-v2-terminal {
  background:
    radial-gradient(circle at 85% 22%, rgba(56, 189, 248, .06), transparent 26%),
    rgba(248, 250, 252, .94);
}

.lab-v2-terminal::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: -20%;
  height: 32%;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(45, 212, 191, .035),
      transparent
    );
  animation: labV2TerminalScan 7s linear infinite;
}

@keyframes labV2TerminalScan {
  to { transform: translateY(430%); }
}

.lab-v2-terminal-head {
  position: relative;
  z-index: 2;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .42rem;
}

.lab-v2-terminal-head strong {
  color: var(--green);
  font-size: inherit;
  font-weight: 500;
}

.lab-v2-terminal-output {
  position: relative;
  z-index: 2;
  min-height: 345px;
  max-height: 390px;
  overflow-y: auto;
  padding: 22px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--muted-3) transparent;
}

.lab-v2-line {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .58rem;
  line-height: 1.65;
  animation: labV2LineIn .28s var(--ease) both;
}

.lab-v2-line span {
  display: inline-block;
  min-width: 34px;
  color: var(--blue);
}

.lab-v2-line.is-command {
  color: var(--text-soft);
}

.lab-v2-line.is-command span {
  color: var(--teal);
}

.lab-v2-line.is-ok {
  color: var(--green-soft);
}

.lab-v2-line.is-ok span {
  color: var(--green);
}

.lab-v2-line.is-warn {
  color: var(--orange-soft);
}

.lab-v2-line.is-warn span {
  color: var(--orange);
}

@keyframes labV2LineIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lab-v2-prompt {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: .48rem;
}

.lab-v2-prompt > span {
  color: var(--teal);
}

.lab-v2-prompt > strong {
  color: var(--text-soft);
  font-weight: 500;
}

.lab-v2-execution-strip {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .005);
}

.lab-v2-execution-strip > div {
  min-width: 0;
  padding: 8px;
  text-align: center;
}

.lab-v2-execution-strip span,
.lab-v2-execution-strip strong {
  display: block;
  font-family: var(--font-mono);
}

.lab-v2-execution-strip span {
  color: var(--muted-3);
  font-size: .29rem;
}

.lab-v2-execution-strip strong {
  margin-top: 4px;
  color: var(--muted);
  font-size: .36rem;
  font-weight: 500;
}

.lab-v2-execution-strip > i {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .45rem;
  font-style: normal;
}

/* INSPECTOR */

.lab-v2-inspector {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .009), transparent 68%);
}

.lab-v2-inspector-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .37rem;
  letter-spacing: .12em;
}

.lab-v2-inspector-head i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
}

.lab-v2-inspector-body {
  padding: 27px 21px;
}

.lab-v2-code {
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: .41rem;
  letter-spacing: .12em;
}

.lab-v2-inspector h3 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.15vw, 2.25rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.lab-v2-inspector p {
  margin-top: 14px;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.75;
}

.lab-v2-health {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 22px;
}

.lab-v2-health > div {
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .007);
}

.lab-v2-health span,
.lab-v2-health strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-v2-health span {
  color: var(--muted-3);
  font-size: .28rem;
}

.lab-v2-health strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: .35rem;
  font-weight: 500;
}

.lab-v2-health strong.is-online {
  color: var(--green-soft);
}

.lab-v2-inspector-label {
  display: block;
  margin-top: 25px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .35rem;
  letter-spacing: .12em;
}

.lab-v2-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}

.lab-v2-tools span {
  padding: 5px 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, .008);
  font-family: var(--font-mono);
  font-size: .34rem;
}

.lab-v2-event-log {
  display: grid;
  gap: 7px;
  margin-top: 11px;
}

.lab-v2-event-log p {
  margin: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .34rem;
  line-height: 1.55;
}

.lab-v2-event-log p span {
  margin-right: 7px;
  color: var(--blue);
}

/* BANK */

.lab-v2-bank {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}

.lab-v2-bank-card {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  background: var(--surface);
  transition:
    background var(--fast),
    box-shadow var(--fast);
}

.lab-v2-bank-card > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .38rem;
}

.lab-v2-bank-card > div {
  min-width: 0;
}

.lab-v2-bank-card strong,
.lab-v2-bank-card small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-v2-bank-card strong {
  color: var(--text-soft);
  font-size: .42rem;
  font-weight: 600;
}

.lab-v2-bank-card small {
  margin-top: 4px;
  color: var(--muted-3);
  font-size: .3rem;
}

.lab-v2-bank-card > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
}

.lab-v2-bank-card.is-active {
  background:
    linear-gradient(
      135deg,
      rgba(45, 212, 191, .04),
      var(--surface)
    );
  box-shadow: inset 0 0 30px rgba(45, 212, 191, .025);
}

.lab-v2-bank-card.is-active > i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

/* FOOTER */

.lab-v2-footer {
  position: relative;
  z-index: 2;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  background: rgba(255, 255, 255, .004);
  font-family: var(--font-mono);
  font-size: .37rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.lab-v2-footer::-webkit-scrollbar {
  display: none;
}

.lab-v2-footer i {
  color: var(--blue);
  font-style: normal;
}

.lab-v2-footer .is-current {
  color: var(--teal-soft);
}

/* RUNNING STATE */

.lab-v2-shell.is-running {
  border-color: rgba(45, 212, 191, .2);
}

.lab-v2-shell.is-running .lab-v2-terminal {
  box-shadow: inset 0 0 45px rgba(45, 212, 191, .018);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .lab-v2-workbench {
    grid-template-columns: 175px minmax(0, 1fr) 265px;
  }
}

@media (max-width: 980px) {
  .lab-v2-workbench {
    grid-template-columns: 1fr;
  }

  .lab-v2-selector {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .lab-v2-selector-label {
    grid-column: 1 / -1;
  }

  .lab-v2-mode {
    margin-top: 0;
  }

  .lab-v2-terminal-panel {
    border-right: 0;
  }

  .lab-v2-inspector {
    border-top: 1px solid var(--border);
  }

  .lab-v2-inspector-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .lab-v2-inspector-body > h3,
  .lab-v2-inspector-body > p,
  .lab-v2-inspector-body > .lab-v2-health {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .lab-v2-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .lab-v2-runtime {
    width: 100%;
    flex-wrap: wrap;
  }

  .lab-v2-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-v2-terminal-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .lab-v2-terminal {
    min-height: 470px;
  }

  .lab-v2-execution-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .lab-v2-execution-strip > i {
    display: none;
  }

  .lab-v2-bank {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-v2-inspector-body {
    display: block;
  }
}

@media (max-width: 480px) {
  .lab-v2-selector {
    grid-template-columns: 1fr;
  }

  .lab-v2-bank {
    grid-template-columns: 1fr;
  }

  .lab-v2-prompt {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .lab-v2-execution-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* LIGHT MODE */

body.light .lab-v2-bank-card {
  background: rgba(255, 255, 255, .96);
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .lab-v2-chip.is-live i,
  .lab-v2-terminal::before,
  .lab-v2-run span,
  .lab-v2-line {
    animation: none !important;
  }
}

/* ========================================================================== */
/* 51.01 / END TECHNICAL LAB V2                                               */
/* ========================================================================== */


/* ========================================================================== */
/* 52 / EDUCATION V2 — LEARNING ARCHITECTURE                                  */
/* ========================================================================== */

.education-v2-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.education-v2-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 760px;
  height: 760px;
  left: -430px;
  top: 13%;
  border-radius: 50%;
  background: rgba(139, 92, 246, .055);
  filter: blur(110px);
  pointer-events: none;
}

.education-v2-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 650px;
  height: 650px;
  right: -360px;
  bottom: -220px;
  border-radius: 50%;
  background: rgba(45, 212, 191, .035);
  filter: blur(105px);
  pointer-events: none;
}

.education-v2-section .section-shell {
  position: relative;
  z-index: 1;
}

.education-v2-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(111, 132, 170, .22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 17%, rgba(139, 92, 246, .045), transparent 25%),
    radial-gradient(circle at 42% 78%, rgba(45, 212, 191, .025), transparent 27%),
    linear-gradient(145deg, rgba(8, 14, 29, .985), rgba(3, 7, 16, .99));
  box-shadow:
    0 34px 105px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  isolation: isolate;
}

.education-v2-shell::before {
  content: "";
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--purple),
      var(--teal),
      transparent
    );
  pointer-events: none;
}

.education-v2-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 92, 246, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent
    );
}

body.light .education-v2-shell {
  background:
    radial-gradient(circle at 70% 17%, rgba(139, 92, 246, .07), transparent 28%),
    radial-gradient(circle at 42% 78%, rgba(45, 212, 191, .06), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(243, 247, 252, .99));
  box-shadow:
    0 26px 78px rgba(30, 41, 59, .11),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* TOP BAR */

.education-v2-topbar {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .006);
  backdrop-filter: blur(16px);
}

.education-v2-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.education-v2-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.education-v2-statuses {
  display: flex;
  align-items: center;
  gap: 7px;
}

.education-v2-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .012);
  font-family: var(--font-mono);
  font-size: .35rem;
  letter-spacing: .055em;
}

.education-v2-chip.is-current {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .18);
}

.education-v2-chip.is-current i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: educationV2Pulse 2s ease-in-out infinite;
}

@keyframes educationV2Pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .45;
    transform: scale(.75);
  }
}

/* MAIN GRID */

.education-v2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) 295px;
  min-height: 610px;
}

/* LEFT RAIL */

.education-v2-rail {
  min-width: 0;
  padding: 20px 13px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.education-v2-rail-label {
  display: block;
  margin: 0 8px 14px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .37rem;
  letter-spacing: .13em;
}

.education-v2-stage {
  position: relative;
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 11px 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.education-v2-stage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--purple), var(--teal));
  opacity: 0;
  transform: scaleY(.35);
  transition:
    opacity var(--fast),
    transform var(--fast);
}

.education-v2-stage-index {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .42rem;
}

.education-v2-stage > div {
  min-width: 0;
}

.education-v2-stage strong,
.education-v2-stage small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.education-v2-stage strong {
  color: var(--text-soft);
  font-size: .47rem;
  font-weight: 600;
}

.education-v2-stage small {
  margin-top: 4px;
  color: var(--muted-3);
  font-size: .31rem;
}

.education-v2-stage > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
  transition:
    background var(--fast),
    box-shadow var(--fast);
}

.education-v2-stage:hover,
.education-v2-stage:focus-visible,
.education-v2-stage.is-active {
  transform: translateX(3px);
  border-color: rgba(139, 92, 246, .2);
  background: rgba(139, 92, 246, .025);
}

.education-v2-stage:hover::before,
.education-v2-stage:focus-visible::before,
.education-v2-stage.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.education-v2-stage.is-active > i {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.education-v2-rail-meta {
  margin: 26px 8px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.education-v2-rail-meta span,
.education-v2-rail-meta strong {
  display: block;
  font-family: var(--font-mono);
}

.education-v2-rail-meta span {
  color: var(--muted-3);
  font-size: .3rem;
  letter-spacing: .12em;
}

.education-v2-rail-meta strong {
  margin-top: 7px;
  color: var(--muted);
  font-size: .4rem;
  font-weight: 500;
  line-height: 1.45;
}

/* CENTER VIEW */

.education-v2-stage-view {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.education-v2-stage-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 19px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.education-v2-stage-head > div span,
.education-v2-stage-head > div strong {
  display: block;
  font-family: var(--font-mono);
}

.education-v2-stage-head > div span {
  color: var(--muted-3);
  font-size: .34rem;
  letter-spacing: .12em;
}

.education-v2-stage-head > div strong {
  margin-top: 4px;
  color: var(--purple-soft);
  font-size: .48rem;
  font-weight: 500;
}

.education-v2-stage-state {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .38rem;
}

.education-v2-stage-state.is-current {
  color: var(--green);
}

.education-v2-stage-core {
  position: relative;
  flex: 1;
  min-height: 430px;
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 42px clamp(24px, 4vw, 52px);
  overflow: hidden;
}

.education-v2-stage-core::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: 1%;
  top: 50%;
  border: 1px solid rgba(139, 92, 246, .07);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(139, 92, 246, .015),
    0 0 0 130px rgba(56, 189, 248, .012);
  transform: translateY(-50%);
  pointer-events: none;
}

.education-v2-stage-number {
  position: relative;
  z-index: 2;
  color: transparent;
  background:
    linear-gradient(
      150deg,
      rgba(255, 255, 255, .96),
      var(--blue-soft) 42%,
      var(--purple-soft) 75%,
      var(--teal-soft)
    );
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-mono);
  font-size: clamp(4.3rem, 7vw, 7.8rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.09em;
  filter: drop-shadow(0 12px 32px rgba(139, 92, 246, .1));
}

.education-v2-stage-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.education-v2-year {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: .08em;
}

.education-v2-stage-copy h3 {
  margin-top: 15px;
  max-width: 590px;
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.education-v2-stage-copy h3 span {
  display: block;
  color: var(--purple-soft);
}

.education-v2-type {
  margin-top: 20px;
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 600;
}

.education-v2-school {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .52rem;
}

.education-v2-description {
  max-width: 620px;
  margin-top: 19px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.75;
}

.education-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 21px;
}

.education-v2-tags span {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, .008);
  font-family: var(--font-mono);
  font-size: .36rem;
}

/* PATH PROGRESS */

.education-v2-progress {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.education-v2-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .33rem;
  letter-spacing: .1em;
}

.education-v2-progress-meta strong {
  color: var(--teal-soft);
  font-size: inherit;
  font-weight: 500;
}

.education-v2-progress-track {
  position: relative;
  height: 16px;
  margin-top: 15px;
}

.education-v2-progress-track::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 1px;
  background: var(--border-strong);
}

.education-v2-progress-track > i {
  position: absolute;
  z-index: 1;
  left: 7px;
  top: 6px;
  width: calc(100% - 14px);
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--purple),
      var(--teal)
    );
  box-shadow: 0 0 14px rgba(56, 189, 248, .22);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform .55s var(--ease);
}

.education-v2-progress-node {
  position: absolute;
  z-index: 2;
  top: 3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg-2);
  border-radius: 50%;
  background: var(--muted-3);
  transition:
    background var(--normal),
    box-shadow var(--normal),
    transform var(--normal);
}

.education-v2-progress-node.node-01 {
  left: 4px;
}

.education-v2-progress-node.node-02 {
  left: 50%;
  transform: translateX(-50%);
}

.education-v2-progress-node.node-03 {
  right: 4px;
}

.education-v2-progress-node.is-active {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  transform: scale(1.25);
}

.education-v2-progress-node.node-02.is-active {
  transform: translateX(-50%) scale(1.25);
}

.education-v2-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .28rem;
}

/* TRAJECTORY */

.education-v2-trajectory {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .008), transparent 70%);
}

.education-v2-trajectory-head {
  min-height: 68px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.education-v2-trajectory-head span,
.education-v2-trajectory-head strong {
  display: block;
  font-family: var(--font-mono);
}

.education-v2-trajectory-head span {
  color: var(--muted-3);
  font-size: .32rem;
  letter-spacing: .12em;
}

.education-v2-trajectory-head strong {
  margin-top: 5px;
  color: var(--teal-soft);
  font-size: .42rem;
  font-weight: 500;
}

.education-v2-layer-map {
  position: relative;
  padding: 21px 18px 25px;
}

.education-v2-layer-map::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 31px;
  bottom: 34px;
  width: 1px;
  background:
    linear-gradient(
      to bottom,
      var(--blue),
      var(--purple),
      var(--teal)
    );
  opacity: .26;
}

.education-v2-layer {
  position: relative;
  z-index: 1;
  min-height: 73px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 10px;
  opacity: .32;
  transition:
    opacity var(--normal),
    transform var(--normal);
}

.education-v2-layer > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted-3);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: .3rem;
}

.education-v2-layer > div {
  min-width: 0;
}

.education-v2-layer strong,
.education-v2-layer small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.education-v2-layer strong {
  color: var(--text-soft);
  font-size: .41rem;
  font-weight: 600;
}

.education-v2-layer small {
  margin-top: 4px;
  color: var(--muted-3);
  font-size: .29rem;
}

.education-v2-layer > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-3);
}

.education-v2-layer.is-active {
  opacity: 1;
  transform: translateX(2px);
}

.education-v2-layer.is-active > span {
  border-color: rgba(56, 189, 248, .22);
  color: var(--blue);
}

.education-v2-layer.is-active > i {
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

/* BANK */

.education-v2-bank {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--border);
  background: var(--border);
}

.education-v2-bank-card {
  min-width: 0;
  min-height: 108px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  border: 0;
  color: inherit;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--fast),
    box-shadow var(--fast);
}

.education-v2-bank-card:hover,
.education-v2-bank-card:focus-visible,
.education-v2-bank-card.is-active {
  background:
    linear-gradient(
      135deg,
      rgba(139, 92, 246, .055),
      var(--surface)
    );
  box-shadow: inset 0 0 34px rgba(139, 92, 246, .025);
}

.education-v2-bank-index {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .43rem;
}

.education-v2-bank-copy {
  min-width: 0;
}

.education-v2-bank-copy span,
.education-v2-bank-copy strong,
.education-v2-bank-copy small {
  display: block;
}

.education-v2-bank-copy span {
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .3rem;
  letter-spacing: .08em;
}

.education-v2-bank-card.is-active .education-v2-bank-copy span {
  color: var(--green);
}

.education-v2-bank-copy strong {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: .66rem;
  line-height: 1.25;
}

.education-v2-bank-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .48rem;
}

.education-v2-bank-year {
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .35rem;
  white-space: nowrap;
}

/* VECTOR */

.education-v2-vector {
  position: relative;
  z-index: 2;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 16px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  background: rgba(255, 255, 255, .004);
  font-family: var(--font-mono);
  font-size: .37rem;
  white-space: nowrap;
  scrollbar-width: none;
}

.education-v2-vector::-webkit-scrollbar {
  display: none;
}

.education-v2-vector i {
  color: var(--blue);
  font-style: normal;
}

.education-v2-vector .is-current {
  color: var(--teal-soft);
}

/* LIGHT */

body.light .education-v2-layer > span {
  background: var(--surface-2);
}

body.light .education-v2-bank-card {
  background: rgba(255, 255, 255, .96);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .education-v2-grid {
    grid-template-columns: 180px minmax(0, 1fr) 255px;
  }

  .education-v2-stage-core {
    grid-template-columns: 120px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .education-v2-grid {
    grid-template-columns: 1fr;
  }

  .education-v2-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .education-v2-rail-label,
  .education-v2-rail-meta {
    grid-column: 1 / -1;
  }

  .education-v2-stage {
    margin-top: 0;
  }

  .education-v2-stage-view {
    border-right: 0;
  }

  .education-v2-trajectory {
    border-top: 1px solid var(--border);
  }

  .education-v2-layer-map {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px 12px;
  }

  .education-v2-layer-map::before {
    display: none;
  }

  .education-v2-layer {
    min-height: 64px;
  }
}

@media (max-width: 720px) {
  .education-v2-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .education-v2-statuses {
    width: 100%;
    flex-wrap: wrap;
  }

  .education-v2-stage-core {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .education-v2-stage-number {
    font-size: 4.8rem;
  }

  .education-v2-bank {
    grid-template-columns: 1fr;
  }

  .education-v2-layer-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .education-v2-rail {
    grid-template-columns: 1fr;
  }

  .education-v2-layer-map {
    grid-template-columns: 1fr;
  }

  .education-v2-bank-card {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .education-v2-bank-year {
    grid-column: 2;
  }

  .education-v2-progress-labels {
    font-size: .24rem;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .education-v2-chip.is-current i {
    animation: none !important;
  }

  .education-v2-progress-track > i,
  .education-v2-layer,
  .education-v2-stage {
    transition: none !important;
  }
}

/* ========================================================================== */
/* 52.01 / END EDUCATION V2                                                   */
/* ========================================================================== */


/* ========================================================================== */
/* 53 / HUMAN V2 — PERSONAL OPERATING SYSTEM                                  */
/* ========================================================================== */

.human-v2-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.human-v2-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 720px;
  height: 720px;
  right: -420px;
  top: 10%;
  border-radius: 50%;
  background: rgba(56, 189, 248, .05);
  filter: blur(110px);
  pointer-events: none;
}

.human-v2-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 620px;
  left: -390px;
  bottom: -230px;
  border-radius: 50%;
  background: rgba(45, 212, 191, .035);
  filter: blur(110px);
  pointer-events: none;
}

.human-v2-section .section-shell {
  position: relative;
  z-index: 1;
}

.human-v2-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(117, 139, 177, .22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 72% 16%, rgba(56, 189, 248, .04), transparent 25%),
    radial-gradient(circle at 35% 78%, rgba(45, 212, 191, .025), transparent 28%),
    linear-gradient(145deg, rgba(6, 11, 24, .99), rgba(3, 7, 16, .995));
  box-shadow:
    0 36px 110px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  isolation: isolate;
}

.human-v2-shell::before {
  content: "";
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--teal),
      var(--purple),
      transparent
    );
  pointer-events: none;
}

.human-v2-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .11;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 14%,
      black 84%,
      transparent
    );
}

body.light .human-v2-shell {
  background:
    radial-gradient(circle at 72% 16%, rgba(56, 189, 248, .075), transparent 28%),
    radial-gradient(circle at 35% 78%, rgba(45, 212, 191, .06), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(243, 247, 252, .99));
  box-shadow:
    0 26px 80px rgba(30, 41, 59, .11),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

/* TOP BAR */

.human-v2-topbar {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .005);
  backdrop-filter: blur(16px);
}

.human-v2-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.human-v2-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.human-v2-top-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.human-v2-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .012);
  font-family: var(--font-mono);
  font-size: .34rem;
  letter-spacing: .055em;
}

.human-v2-chip.is-online {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .17);
}

.human-v2-chip.is-online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: humanV2StatusPulse 2s ease-in-out infinite;
}

@keyframes humanV2StatusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.76);
  }
}

/* MAIN GRID */

.human-v2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 300px;
  min-height: 650px;
}

/* MODE RAIL */

.human-v2-mode-rail {
  min-width: 0;
  padding: 20px 13px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.human-v2-rail-label {
  display: block;
  margin: 0 8px 14px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .36rem;
  letter-spacing: .13em;
}

.human-v2-mode {
  position: relative;
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 11px 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.human-v2-mode::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 999px;
  background:
    linear-gradient(
      var(--blue),
      var(--teal),
      var(--purple)
    );
  opacity: 0;
  transform: scaleY(.35);
  transition:
    opacity var(--fast),
    transform var(--fast);
}

.human-v2-mode > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .41rem;
}

.human-v2-mode > div {
  min-width: 0;
}

.human-v2-mode strong,
.human-v2-mode small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.human-v2-mode strong {
  color: var(--text-soft);
  font-size: .45rem;
  font-weight: 600;
}

.human-v2-mode small {
  margin-top: 4px;
  color: var(--muted-3);
  font-size: .29rem;
}

.human-v2-mode > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
  transition:
    background var(--fast),
    box-shadow var(--fast);
}

.human-v2-mode:hover,
.human-v2-mode:focus-visible,
.human-v2-mode.is-active {
  transform: translateX(3px);
  border-color: rgba(56, 189, 248, .2);
  background: rgba(56, 189, 248, .025);
}

.human-v2-mode:hover::before,
.human-v2-mode:focus-visible::before,
.human-v2-mode.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.human-v2-mode.is-active > i {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.human-v2-rail-footer {
  margin: 27px 8px 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.human-v2-rail-footer span,
.human-v2-rail-footer strong {
  display: block;
  font-family: var(--font-mono);
}

.human-v2-rail-footer span {
  color: var(--muted-3);
  font-size: .3rem;
  letter-spacing: .12em;
}

.human-v2-rail-footer strong {
  margin-top: 7px;
  color: var(--green);
  font-size: .42rem;
  font-weight: 500;
}

/* DISPLAY */

.human-v2-display {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.human-v2-display-head {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 19px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.human-v2-display-head > div:first-child span,
.human-v2-display-head > div:first-child strong {
  display: block;
  font-family: var(--font-mono);
}

.human-v2-display-head > div:first-child span {
  color: var(--muted-3);
  font-size: .33rem;
  letter-spacing: .12em;
}

.human-v2-display-head > div:first-child strong {
  margin-top: 4px;
  color: var(--blue-soft);
  font-size: .47rem;
  font-weight: 500;
}

.human-v2-display-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .36rem;
}

.human-v2-display-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

.human-v2-panels {
  position: relative;
  flex: 1;
  min-height: 580px;
}

.human-v2-panel {
  min-height: 580px;
  padding: clamp(30px, 4.5vw, 56px);
  animation: humanV2PanelIn .44s var(--ease) both;
}

@keyframes humanV2PanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.human-v2-panel-intro > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .43rem;
  letter-spacing: .13em;
}

.human-v2-panel-intro h3 {
  max-width: 650px;
  margin-top: 16px;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.human-v2-panel-intro h3 em {
  display: block;
  color: var(--teal-soft);
  font-style: normal;
}

.human-v2-panel-intro p {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.75;
}

/* LANGUAGES */

.human-v2-language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.human-v2-language {
  min-height: 112px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, .009);
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.human-v2-language:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, .22);
  background: rgba(56, 189, 248, .02);
}

.human-v2-language-code {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, .17);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(56, 189, 248, .025);
  font-family: var(--font-mono);
  font-size: .54rem;
  font-weight: 600;
}

.human-v2-language > div:nth-child(2) span,
.human-v2-language > div:nth-child(2) strong {
  display: block;
}

.human-v2-language > div:nth-child(2) span {
  color: var(--text-soft);
  font-size: .67rem;
}

.human-v2-language > div:nth-child(2) strong {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .4rem;
  font-weight: 500;
}

.human-v2-language > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-3);
}

.human-v2-language.is-native > i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.human-v2-language.is-working > i {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.human-v2-language.is-basic > i {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

/* PRINCIPLES */

.human-v2-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 31px;
}

.human-v2-principle {
  min-height: 84px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, .008);
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.human-v2-principle:hover,
.human-v2-principle.is-active {
  transform: translateX(3px);
  border-color: rgba(45, 212, 191, .22);
  background: rgba(45, 212, 191, .022);
}

.human-v2-principle span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .38rem;
}

.human-v2-principle strong {
  color: var(--text-soft);
  font-size: .65rem;
  font-weight: 600;
  line-height: 1.35;
}

/* WORKFLOW */

.human-v2-workflow {
  display: grid;
  grid-template-columns:
    minmax(100px, 1fr) auto
    minmax(100px, 1fr) auto
    minmax(100px, 1fr) auto
    minmax(100px, 1fr) auto
    minmax(100px, 1fr);
  align-items: stretch;
  gap: 7px;
  margin-top: 38px;
}

.human-v2-workflow > i {
  display: flex;
  align-items: center;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .52rem;
  font-style: normal;
}

.human-v2-workflow-step {
  min-width: 0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .008);
  transition:
    transform var(--normal),
    border-color var(--normal),
    background var(--normal),
    box-shadow var(--normal);
}

.human-v2-workflow-step span,
.human-v2-workflow-step strong,
.human-v2-workflow-step small {
  display: block;
  font-family: var(--font-mono);
}

.human-v2-workflow-step span {
  color: var(--blue);
  font-size: .33rem;
}

.human-v2-workflow-step strong {
  margin-top: 9px;
  color: var(--text-soft);
  font-size: .43rem;
}

.human-v2-workflow-step small {
  margin-top: 6px;
  color: var(--muted-3);
  font-size: .28rem;
  line-height: 1.4;
}

.human-v2-workflow-step.is-active {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, .29);
  background:
    linear-gradient(
      145deg,
      rgba(45, 212, 191, .05),
      rgba(255, 255, 255, .008)
    );
  box-shadow:
    0 14px 36px rgba(45, 212, 191, .05);
}

.human-v2-workflow-step.is-active strong {
  color: var(--teal-soft);
}

.human-v2-terminal {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(2, 6, 14, .45);
  font-family: var(--font-mono);
  font-size: .43rem;
}

body.light .human-v2-terminal {
  background: rgba(255, 255, 255, .64);
}

.human-v2-terminal > span {
  color: var(--blue);
}

.human-v2-terminal > strong {
  color: var(--text-soft);
  font-weight: 500;
}

/* DIRECTION */

.human-v2-vector-map {
  position: relative;
  min-height: 280px;
  margin-top: 28px;
}

.human-v2-vector-map::before,
.human-v2-vector-map::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(56, 189, 248, .1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.human-v2-vector-map::before {
  width: 300px;
  height: 180px;
}

.human-v2-vector-map::after {
  width: 420px;
  height: 245px;
  border-color: rgba(139, 92, 246, .08);
  border-style: dashed;
}

.human-v2-vector-map > span {
  position: absolute;
  z-index: 3;
  min-width: 92px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(4, 7, 17, .88);
  font-family: var(--font-mono);
  font-size: .36rem;
  text-align: center;
  transition:
    border-color var(--fast),
    color var(--fast),
    transform var(--fast);
}

body.light .human-v2-vector-map > span {
  background: rgba(255, 255, 255, .92);
}

.human-v2-vector-map > span.is-active,
.human-v2-vector-map > span:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, .3);
  color: var(--blue-soft);
}

.human-v2-vector-map > span:nth-of-type(1) {
  left: 6%;
  top: 12%;
}

.human-v2-vector-map > span:nth-of-type(2) {
  right: 8%;
  top: 12%;
}

.human-v2-vector-map > span:nth-of-type(3) {
  left: 0;
  top: 48%;
}

.human-v2-vector-map > span:nth-of-type(4) {
  right: 0;
  top: 48%;
}

.human-v2-vector-map > span:nth-of-type(5) {
  left: 12%;
  bottom: 5%;
}

.human-v2-vector-map > span:nth-of-type(6) {
  right: 15%;
  bottom: 5%;
}

.human-v2-vector-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(45, 212, 191, .22);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(45, 212, 191, .08),
      rgba(4, 7, 17, .95) 70%
    );
  box-shadow:
    0 0 50px rgba(45, 212, 191, .05);
}

body.light .human-v2-vector-core {
  background:
    radial-gradient(
      circle,
      rgba(45, 212, 191, .09),
      rgba(255, 255, 255, .97) 72%
    );
}

.human-v2-vector-core small,
.human-v2-vector-core strong {
  display: block;
  font-family: var(--font-mono);
}

.human-v2-vector-core small {
  color: var(--muted-3);
  font-size: .25rem;
}

.human-v2-vector-core strong {
  margin-top: 6px;
  color: var(--teal-soft);
  font-size: .48rem;
}

.human-v2-quote {
  margin-top: 16px;
  padding: 15px 18px;
  border-left: 2px solid var(--blue);
  color: var(--text-soft);
  background: rgba(56, 189, 248, .018);
  font-size: .68rem;
  font-style: normal;
  line-height: 1.65;
}

/* INSPECTOR */

.human-v2-inspector {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .008), transparent 70%);
}

.human-v2-inspector-head {
  min-height: 68px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.human-v2-inspector-head span,
.human-v2-inspector-head strong {
  display: block;
  font-family: var(--font-mono);
}

.human-v2-inspector-head span {
  color: var(--muted-3);
  font-size: .32rem;
  letter-spacing: .12em;
}

.human-v2-inspector-head strong {
  margin-top: 5px;
  color: var(--teal-soft);
  font-size: .42rem;
  font-weight: 500;
}

.human-v2-core {
  position: relative;
  height: 275px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.human-v2-core-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(56, 189, 248, .11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.human-v2-core-orbit.orbit-a {
  width: 118px;
  height: 118px;
  animation: humanV2Orbit 16s linear infinite;
}

.human-v2-core-orbit.orbit-b {
  width: 175px;
  height: 175px;
  border-style: dashed;
  border-color: rgba(139, 92, 246, .13);
  animation: humanV2OrbitReverse 22s linear infinite;
}

.human-v2-core-orbit.orbit-c {
  width: 230px;
  height: 230px;
  border-color: rgba(45, 212, 191, .08);
  animation: humanV2Orbit 34s linear infinite;
}

@keyframes humanV2Orbit {
  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}

@keyframes humanV2OrbitReverse {
  to {
    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }
}

.human-v2-core-pulse {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.human-v2-core-pulse.pulse-a {
  left: 27%;
  top: 28%;
}

.human-v2-core-pulse.pulse-b {
  right: 20%;
  top: 45%;
  background: var(--purple);
  box-shadow: 0 0 12px var(--purple);
}

.human-v2-core-pulse.pulse-c {
  left: 34%;
  bottom: 18%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.human-v2-core-center {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .08),
      rgba(4, 7, 17, .96) 72%
    );
  box-shadow:
    0 0 55px rgba(56, 189, 248, .05);
}

body.light .human-v2-core-center {
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .1),
      rgba(255, 255, 255, .96) 74%
    );
}

.human-v2-core-center small,
.human-v2-core-center strong,
.human-v2-core-center span {
  display: block;
  font-family: var(--font-mono);
}

.human-v2-core-center small {
  color: var(--muted-3);
  font-size: .24rem;
  letter-spacing: .1em;
}

.human-v2-core-center strong {
  max-width: 82px;
  margin-top: 6px;
  overflow: hidden;
  color: var(--blue-soft);
  font-size: .44rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.human-v2-core-center span {
  margin-top: 6px;
  color: var(--green);
  font-size: .24rem;
}

.human-v2-inspector-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.human-v2-inspector-metrics > div {
  min-width: 0;
  padding: 14px 9px;
  border-right: 1px solid var(--border);
}

.human-v2-inspector-metrics > div:last-child {
  border-right: 0;
}

.human-v2-inspector-metrics span,
.human-v2-inspector-metrics strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.human-v2-inspector-metrics span {
  color: var(--muted-3);
  font-size: .25rem;
}

.human-v2-inspector-metrics strong {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: .35rem;
  font-weight: 500;
}

.human-v2-event-log {
  padding: 17px 18px 20px;
}

.human-v2-event-label {
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .3rem;
  letter-spacing: .11em;
}

#humanV2EventLog {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

#humanV2EventLog p {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .31rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#humanV2EventLog p span {
  margin-right: 8px;
  color: var(--blue);
}

/* SIGNAL RAIL */

.human-v2-signal-rail {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 16px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  background: rgba(255, 255, 255, .004);
  font-family: var(--font-mono);
  font-size: .37rem;
  white-space: nowrap;
  scrollbar-width: none;
}

.human-v2-signal-rail::-webkit-scrollbar {
  display: none;
}

.human-v2-signal-rail i {
  color: var(--blue);
  font-style: normal;
}

.human-v2-signal-rail .is-current {
  color: var(--teal-soft);
}

/* LIGHT */

body.light .human-v2-language,
body.light .human-v2-principle,
body.light .human-v2-workflow-step {
  background: rgba(255, 255, 255, .7);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .human-v2-grid {
    grid-template-columns: 185px minmax(0, 1fr) 260px;
  }

  .human-v2-workflow {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
  }

  .human-v2-workflow > i {
    display: none;
  }
}

@media (max-width: 980px) {
  .human-v2-grid {
    grid-template-columns: 1fr;
  }

  .human-v2-mode-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .human-v2-rail-label,
  .human-v2-rail-footer {
    grid-column: 1 / -1;
  }

  .human-v2-mode {
    margin-top: 0;
  }

  .human-v2-display {
    border-right: 0;
  }

  .human-v2-inspector {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    border-top: 1px solid var(--border);
  }

  .human-v2-inspector-head {
    grid-column: 1 / -1;
  }

  .human-v2-core {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .human-v2-inspector-metrics,
  .human-v2-event-log {
    align-self: start;
  }

  .human-v2-inspector-metrics {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .human-v2-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .human-v2-top-status {
    width: 100%;
    flex-wrap: wrap;
  }

  .human-v2-mode-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .human-v2-language-grid,
  .human-v2-principles {
    grid-template-columns: 1fr;
  }

  .human-v2-workflow {
    grid-template-columns: 1fr;
  }

  .human-v2-workflow-step {
    min-height: 88px;
  }

  .human-v2-inspector {
    grid-template-columns: 1fr;
  }

  .human-v2-core {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 520px) {
  .human-v2-mode-rail {
    grid-template-columns: 1fr;
  }

  .human-v2-display-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .human-v2-panel {
    padding: 27px 20px;
  }

  .human-v2-vector-map {
    min-height: 390px;
  }

  .human-v2-vector-map::before {
    width: 210px;
    height: 260px;
  }

  .human-v2-vector-map::after {
    width: 280px;
    height: 340px;
  }

  .human-v2-vector-map > span:nth-of-type(1) {
    left: 0;
    top: 5%;
  }

  .human-v2-vector-map > span:nth-of-type(2) {
    right: 0;
    top: 5%;
  }

  .human-v2-vector-map > span:nth-of-type(3) {
    left: 0;
    top: 40%;
  }

  .human-v2-vector-map > span:nth-of-type(4) {
    right: 0;
    top: 40%;
  }

  .human-v2-vector-map > span:nth-of-type(5) {
    left: 0;
    bottom: 4%;
  }

  .human-v2-vector-map > span:nth-of-type(6) {
    right: 0;
    bottom: 4%;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .human-v2-chip.is-online i,
  .human-v2-core-orbit {
    animation: none !important;
  }

  .human-v2-panel,
  .human-v2-mode,
  .human-v2-workflow-step {
    transition: none !important;
  }
}

/* ========================================================================== */
/* 53.01 / END HUMAN V2                                                       */
/* ========================================================================== */


/* ========================================================================== */
/* 54 / PUBLIC SIGNAL V2 — LIVE TELEMETRY                                      */
/* ========================================================================== */

.signal-v2-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.signal-v2-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 760px;
  height: 760px;
  right: -430px;
  top: 4%;
  border-radius: 50%;
  background: rgba(56, 189, 248, .055);
  filter: blur(120px);
  pointer-events: none;
}

.signal-v2-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 620px;
  height: 620px;
  left: -370px;
  bottom: -160px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .045);
  filter: blur(115px);
  pointer-events: none;
}

.signal-v2-section .section-shell {
  position: relative;
  z-index: 1;
}

.signal-v2-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(117, 139, 177, .22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 72% 15%, rgba(56, 189, 248, .045), transparent 24%),
    radial-gradient(circle at 22% 82%, rgba(139, 92, 246, .03), transparent 27%),
    linear-gradient(145deg, rgba(5, 10, 22, .99), rgba(3, 7, 16, .995));
  box-shadow:
    0 38px 120px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  isolation: isolate;
}

.signal-v2-shell::before {
  content: "";
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--purple),
      var(--teal),
      transparent
    );
  pointer-events: none;
}

.signal-v2-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .1;
  background-image:
    linear-gradient(rgba(56, 189, 248, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 12%,
      black 88%,
      transparent
    );
  pointer-events: none;
}

body.light .signal-v2-shell {
  background:
    radial-gradient(circle at 72% 15%, rgba(56, 189, 248, .08), transparent 26%),
    radial-gradient(circle at 22% 82%, rgba(139, 92, 246, .06), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(244, 248, 252, .99));
  box-shadow:
    0 28px 85px rgba(30, 41, 59, .11),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* TOP BAR */

.signal-v2-topbar {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
  backdrop-filter: blur(16px);
}

.signal-v2-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.signal-v2-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-v2-top-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.signal-v2-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .012);
  font-family: var(--font-mono);
  font-size: .34rem;
  letter-spacing: .055em;
}

.signal-v2-chip.is-online {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .18);
}

.signal-v2-chip.is-online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: signalV2StatusPulse 2s ease-in-out infinite;
}

@keyframes signalV2StatusPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .45;
    transform: scale(.75);
  }
}

/* GRID */

.signal-v2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  grid-template-areas:
    "code node"
    "runtime endpoints";
}

.signal-v2-code-panel,
.signal-v2-node-panel,
.signal-v2-runtime-panel,
.signal-v2-endpoints-panel {
  min-width: 0;
}

.signal-v2-code-panel {
  grid-area: code;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signal-v2-node-panel {
  grid-area: node;
  border-bottom: 1px solid var(--border);
}

.signal-v2-runtime-panel {
  grid-area: runtime;
  border-right: 1px solid var(--border);
}

.signal-v2-endpoints-panel {
  grid-area: endpoints;
}

.signal-v2-panel-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.signal-v2-panel-head > div:first-child span,
.signal-v2-panel-head > div:first-child strong {
  display: block;
  font-family: var(--font-mono);
}

.signal-v2-panel-head > div:first-child span {
  color: var(--muted-3);
  font-size: .32rem;
  letter-spacing: .12em;
}

.signal-v2-panel-head > div:first-child strong {
  margin-top: 5px;
  color: var(--blue-soft);
  font-size: .45rem;
  font-weight: 500;
}

.signal-v2-api-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: .34rem;
}

.signal-v2-api-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 11px var(--orange);
}

.signal-v2-api-state.is-online,
.signal-v2-api-state.is-static {
  color: var(--green);
}

.signal-v2-api-state.is-online i,
.signal-v2-api-state.is-static i {
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

/* CODE COPY */

.signal-v2-code-copy {
  padding:
    clamp(30px, 4.5vw, 54px)
    clamp(24px, 4vw, 48px)
    28px;
}

.signal-v2-kicker {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .42rem;
  letter-spacing: .14em;
}

.signal-v2-code-copy h3 {
  max-width: 670px;
  margin-top: 17px;
  font-size: clamp(2.35rem, 4.25vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.signal-v2-code-copy h3 em {
  display: block;
  color: var(--purple-soft);
  font-style: normal;
}

.signal-v2-code-copy p {
  max-width: 680px;
  margin-top: 20px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.75;
}

/* METRICS */

.signal-v2-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(24px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, .006);
}

.signal-v2-metrics > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--border);
}

.signal-v2-metrics > div:last-child {
  border-right: 0;
}

.signal-v2-metrics span,
.signal-v2-metrics strong,
.signal-v2-metrics small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-v2-metrics span {
  color: var(--muted-3);
  font-size: .27rem;
  letter-spacing: .08em;
}

.signal-v2-metrics strong {
  margin-top: 9px;
  color: var(--text);
  font-size: 1.38rem;
  line-height: 1;
}

.signal-v2-metrics strong.signal-v2-sync {
  color: var(--teal-soft);
  font-size: .72rem;
  letter-spacing: -.02em;
}

.signal-v2-metrics small {
  margin-top: 8px;
  color: var(--muted-3);
  font-size: .24rem;
}

/* REPO FEED */

.signal-v2-repo-block {
  margin:
    23px
    clamp(24px, 4vw, 48px)
    28px;
}

.signal-v2-repo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
}

.signal-v2-repo-head span,
.signal-v2-repo-head small {
  font-family: var(--font-mono);
}

.signal-v2-repo-head span {
  color: var(--muted-2);
  font-size: .32rem;
  letter-spacing: .1em;
}

.signal-v2-repo-head small {
  color: var(--green);
  font-size: .28rem;
}

.signal-v2-repo-feed {
  display: grid;
  gap: 7px;
}

.signal-v2-repo-loading {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .006);
  font-family: var(--font-mono);
  font-size: .35rem;
}

.signal-v2-repo-item {
  min-width: 0;
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, .006);
  text-decoration: none;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.signal-v2-repo-item:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, .24);
  background: rgba(56, 189, 248, .02);
}

.signal-v2-repo-main {
  min-width: 0;
}

.signal-v2-repo-main strong,
.signal-v2-repo-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-v2-repo-main strong {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: .47rem;
  font-weight: 600;
}

.signal-v2-repo-main span {
  margin-top: 5px;
  color: var(--muted-3);
  font-size: .38rem;
}

.signal-v2-repo-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.signal-v2-repo-meta span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .29rem;
  white-space: nowrap;
}

.signal-v2-repo-meta i {
  color: var(--blue);
  font-style: normal;
  font-size: .55rem;
}

.signal-v2-primary-link {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--border);
  color: inherit;
  background: rgba(255, 255, 255, .004);
  text-decoration: none;
}

.signal-v2-primary-link span,
.signal-v2-primary-link strong {
  font-family: var(--font-mono);
  font-size: .36rem;
}

.signal-v2-primary-link span {
  color: var(--muted);
}

.signal-v2-primary-link strong {
  color: var(--blue);
  font-weight: 500;
}

.signal-v2-primary-link:hover strong {
  color: var(--blue-soft);
}

/* PUBLIC NODE */

.signal-v2-node-map {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.signal-v2-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(56, 189, 248, .1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.signal-v2-orbit-a {
  width: 150px;
  height: 150px;
  animation: signalV2Orbit 18s linear infinite;
}

.signal-v2-orbit-b {
  width: 245px;
  height: 245px;
  border-style: dashed;
  border-color: rgba(139, 92, 246, .12);
  animation: signalV2OrbitReverse 26s linear infinite;
}

.signal-v2-orbit-c {
  width: 340px;
  height: 340px;
  border-color: rgba(45, 212, 191, .08);
  animation: signalV2Orbit 38s linear infinite;
}

@keyframes signalV2Orbit {
  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}

@keyframes signalV2OrbitReverse {
  to {
    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }
}

.signal-v2-route {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  height: 1px;
  width: 122px;
  transform-origin: left center;
  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .35),
      rgba(56, 189, 248, .04)
    );
}

.signal-v2-route::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.signal-v2-route.route-a {
  transform: rotate(-130deg);
}

.signal-v2-route.route-b {
  transform: rotate(-3deg);
}

.signal-v2-route.route-c {
  transform: rotate(128deg);
}

.signal-v2-shell.is-active .signal-v2-route::after {
  animation: signalV2Packet 1.8s ease-in-out infinite alternate;
}

@keyframes signalV2Packet {
  from {
    right: 96%;
    opacity: .35;
  }

  to {
    right: 0;
    opacity: 1;
  }
}

.signal-v2-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .09),
      rgba(4, 7, 17, .96) 72%
    );
  box-shadow:
    0 0 65px rgba(56, 189, 248, .055);
}

body.light .signal-v2-core {
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .09),
      rgba(255, 255, 255, .97) 74%
    );
}

.signal-v2-core small,
.signal-v2-core strong,
.signal-v2-core span {
  display: block;
  font-family: var(--font-mono);
}

.signal-v2-core small {
  color: var(--muted-3);
  font-size: .25rem;
  letter-spacing: .1em;
}

.signal-v2-core strong {
  margin-top: 6px;
  color: var(--blue-soft);
  font-size: .55rem;
}

.signal-v2-core span {
  margin-top: 6px;
  color: var(--green);
  font-size: .27rem;
}

.signal-v2-node {
  position: absolute;
  z-index: 5;
  min-width: 108px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: inherit;
  background: rgba(4, 7, 17, .9);
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .16);
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

body.light .signal-v2-node {
  background: rgba(255, 255, 255, .92);
}

.signal-v2-node:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, .28);
  background: rgba(56, 189, 248, .035);
}

.signal-v2-node > i {
  width: 6px;
  height: 6px;
  display: block;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.signal-v2-node > span,
.signal-v2-node > small {
  display: block;
  font-family: var(--font-mono);
}

.signal-v2-node > span {
  color: var(--text-soft);
  font-size: .38rem;
}

.signal-v2-node > small {
  margin-top: 3px;
  color: var(--muted-3);
  font-size: .25rem;
}

.signal-v2-node-github {
  left: 8%;
  top: 15%;
}

.signal-v2-node-linkedin {
  right: 5%;
  top: 42%;
}

.signal-v2-node-linkedin > i {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.signal-v2-node-portfolio {
  left: 11%;
  bottom: 10%;
}

.signal-v2-node-portfolio > i {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.signal-v2-node-status {
  border-top: 1px solid var(--border);
}

.signal-v2-node-status p {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border-soft);
}

.signal-v2-node-status p:last-child {
  border-bottom: 0;
}

.signal-v2-node-status span,
.signal-v2-node-status strong {
  font-family: var(--font-mono);
  font-size: .31rem;
}

.signal-v2-node-status span {
  color: var(--muted-3);
}

.signal-v2-node-status strong {
  color: var(--green);
  font-weight: 500;
}

/* RUNTIME */

.signal-v2-runtime-tag {
  color: var(--teal-soft);
  font-family: var(--font-mono);
  font-size: .32rem;
}

.signal-v2-runtime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-v2-runtime-grid article {
  position: relative;
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .003);
}

.signal-v2-runtime-grid article:nth-child(3n) {
  border-right: 0;
}

.signal-v2-runtime-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.signal-v2-runtime-grid span,
.signal-v2-runtime-grid strong {
  display: block;
  font-family: var(--font-mono);
}

.signal-v2-runtime-grid span {
  color: var(--muted-3);
  font-size: .29rem;
}

.signal-v2-runtime-grid strong {
  margin-top: 11px;
  color: var(--text-soft);
  font-size: .43rem;
  font-weight: 500;
}

.signal-v2-runtime-grid i {
  position: absolute;
  right: 16px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.signal-v2-runtime-grid i.is-stable {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.signal-v2-runtime-grid i.is-active {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.signal-v2-runtime-grid i.is-building {
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

/* ENDPOINTS */

.signal-v2-endpoints {
  display: grid;
}

.signal-v2-endpoints a {
  position: relative;
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 2px 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition:
    background var(--fast),
    padding-left var(--fast);
}

.signal-v2-endpoints a:last-child {
  border-bottom: 0;
}

.signal-v2-endpoints a:hover {
  padding-left: 22px;
  background: rgba(56, 189, 248, .02);
}

.signal-v2-endpoints span,
.signal-v2-endpoints strong,
.signal-v2-endpoints small {
  display: block;
  min-width: 0;
}

.signal-v2-endpoints span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .27rem;
  letter-spacing: .07em;
}

.signal-v2-endpoints strong {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: .68rem;
}

.signal-v2-endpoints small {
  margin-top: 3px;
  color: var(--muted-3);
  font-size: .36rem;
}

.signal-v2-endpoints i {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-style: normal;
}

/* STREAM */

.signal-v2-stream {
  position: relative;
  z-index: 2;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.signal-v2-stream-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .32rem;
}

.signal-v2-stream-events {
  min-width: 0;
  height: 35px;
  position: relative;
  overflow: hidden;
}

.signal-v2-stream-events p {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .33rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(10px);
  transition:
    opacity .35s ease,
    transform .35s ease;
}

.signal-v2-stream-events p:first-child {
  opacity: 1;
  transform: none;
}

.signal-v2-stream-events p span {
  flex: 0 0 auto;
  margin-right: 10px;
  color: var(--blue);
}

.signal-v2-stream-state span,
.signal-v2-stream-state strong {
  display: block;
  text-align: right;
  font-family: var(--font-mono);
}

.signal-v2-stream-state span {
  color: var(--muted-3);
  font-size: .25rem;
}

.signal-v2-stream-state strong {
  margin-top: 3px;
  color: var(--green);
  font-size: .33rem;
  font-weight: 500;
}

/* ACTIVE STATE */

.signal-v2-shell.is-active .signal-v2-core {
  box-shadow:
    0 0 75px rgba(56, 189, 248, .08);
}

.signal-v2-shell.is-active .signal-v2-node {
  animation: signalV2NodeFloat 5s ease-in-out infinite;
}

.signal-v2-shell.is-active .signal-v2-node-linkedin {
  animation-delay: .8s;
}

.signal-v2-shell.is-active .signal-v2-node-portfolio {
  animation-delay: 1.6s;
}

@keyframes signalV2NodeFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -4px;
  }
}

/* LIGHT */

body.light .signal-v2-repo-item,
body.light .signal-v2-runtime-grid article,
body.light .signal-v2-repo-loading {
  background: rgba(255, 255, 255, .68);
}

/* RESPONSIVE */

@media (max-width: 1060px) {
  .signal-v2-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "code"
      "node"
      "runtime"
      "endpoints";
  }

  .signal-v2-code-panel,
  .signal-v2-runtime-panel {
    border-right: 0;
  }

  .signal-v2-node-panel,
  .signal-v2-runtime-panel,
  .signal-v2-endpoints-panel {
    border-bottom: 1px solid var(--border);
  }

  .signal-v2-node-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .signal-v2-node-panel > .signal-v2-panel-head {
    grid-column: 1 / -1;
  }

  .signal-v2-node-map {
    border-right: 1px solid var(--border);
  }

  .signal-v2-node-status {
    border-top: 0;
    align-self: stretch;
  }
}

@media (max-width: 760px) {
  .signal-v2-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .signal-v2-top-status {
    width: 100%;
    flex-wrap: wrap;
  }

  .signal-v2-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-v2-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .signal-v2-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .signal-v2-node-panel {
    grid-template-columns: 1fr;
  }

  .signal-v2-node-map {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .signal-v2-runtime-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-v2-runtime-grid article:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .signal-v2-runtime-grid article:nth-child(2n) {
    border-right: 0;
  }

  .signal-v2-runtime-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .signal-v2-runtime-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .signal-v2-stream {
    grid-template-columns: 1fr auto;
  }

  .signal-v2-stream-events {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .signal-v2-code-copy {
    padding: 28px 20px 24px;
  }

  .signal-v2-metrics,
  .signal-v2-repo-block {
    margin-left: 20px;
    margin-right: 20px;
  }

  .signal-v2-primary-link {
    padding-left: 20px;
    padding-right: 20px;
  }

  .signal-v2-repo-item {
    grid-template-columns: 1fr;
  }

  .signal-v2-repo-meta {
    justify-content: flex-start;
  }

  .signal-v2-runtime-grid {
    grid-template-columns: 1fr;
  }

  .signal-v2-runtime-grid article,
  .signal-v2-runtime-grid article:nth-child(2n),
  .signal-v2-runtime-grid article:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .signal-v2-runtime-grid article:last-child {
    border-bottom: 0;
  }

  .signal-v2-node-map {
    height: 390px;
  }

  .signal-v2-orbit-c {
    width: 285px;
    height: 285px;
  }

  .signal-v2-node {
    min-width: 94px;
    padding: 9px;
  }

  .signal-v2-node-github {
    left: 3%;
  }

  .signal-v2-node-linkedin {
    right: 2%;
  }

  .signal-v2-node-portfolio {
    left: 4%;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .signal-v2-chip.is-online i,
  .signal-v2-orbit,
  .signal-v2-shell.is-active .signal-v2-node,
  .signal-v2-shell.is-active .signal-v2-route::after {
    animation: none !important;
  }

  .signal-v2-repo-item,
  .signal-v2-node,
  .signal-v2-endpoints a {
    transition: none !important;
  }
}

/* ========================================================================== */
/* 54.01 / END PUBLIC SIGNAL V2                                               */
/* ========================================================================== */


/* ========================================================================== */
/* 55 / CONNECTION V2 — FINAL SYSTEM HANDOFF                                  */
/* ========================================================================== */

.contact-v2-section {
  position: relative;
  overflow: hidden;
  padding:
    clamp(100px, 10vw, 150px)
    25px
    clamp(85px, 9vw, 125px);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(
      circle at 50% 112%,
      rgba(56, 189, 248, .13),
      transparent 40%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(139, 92, 246, .055),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      rgba(3, 6, 15, .35),
      rgba(3, 7, 16, .88)
    );
  isolation: isolate;
}

.contact-v2-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 820px;
  height: 820px;
  left: 50%;
  bottom: -690px;
  transform: translateX(-50%);
  border: 1px solid rgba(56, 189, 248, .075);
  border-radius: 50%;
  box-shadow:
    0 0 0 110px rgba(56, 189, 248, .012),
    0 0 0 225px rgba(139, 92, 246, .008),
    0 0 0 345px rgba(45, 212, 191, .005);
  pointer-events: none;
}

.contact-v2-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .055;
  background-image:
    linear-gradient(
      rgba(56, 189, 248, .09) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .09) 1px,
      transparent 1px
    );
  background-size: 64px 64px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 15%,
      black 78%,
      transparent
    );
  pointer-events: none;
}

body.light .contact-v2-section {
  background:
    radial-gradient(
      circle at 50% 112%,
      rgba(56, 189, 248, .13),
      transparent 42%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(139, 92, 246, .075),
      transparent 27%
    ),
    linear-gradient(
      180deg,
      rgba(244, 248, 252, .7),
      rgba(235, 241, 248, .9)
    );
}

.contact-v2-shell {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(122, 145, 181, .22);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(56, 189, 248, .035),
      transparent 24%
    ),
    radial-gradient(
      circle at 84% 72%,
      rgba(139, 92, 246, .028),
      transparent 28%
    ),
    rgba(4, 8, 18, .95);
  box-shadow:
    0 45px 130px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  text-align: left;
  isolation: isolate;
}

.contact-v2-shell::before {
  content: "";
  position: absolute;
  z-index: 7;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--purple),
      var(--teal),
      transparent
    );
  pointer-events: none;
}

.contact-v2-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 58px;
  left: -35%;
  width: 28%;
  height: calc(100% - 58px);
  opacity: 0;
  transform: skewX(-16deg);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(56, 189, 248, .045),
      transparent
    );
  pointer-events: none;
}

.contact-v2-shell.is-active::after {
  animation: contactV2Scan 7.5s ease-in-out infinite;
}

@keyframes contactV2Scan {
  0%,
  15% {
    left: -35%;
    opacity: 0;
  }

  28% {
    opacity: 1;
  }

  70% {
    opacity: .7;
  }

  82%,
  100% {
    left: 118%;
    opacity: 0;
  }
}

body.light .contact-v2-shell {
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(56, 189, 248, .07),
      transparent 24%
    ),
    radial-gradient(
      circle at 84% 72%,
      rgba(139, 92, 246, .05),
      transparent 28%
    ),
    rgba(255, 255, 255, .93);
  box-shadow:
    0 28px 85px rgba(30, 41, 59, .12),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* TOP BAR */

.contact-v2-topbar {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
}

.contact-v2-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-v2-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .47rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-v2-top-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-v2-top-status > span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .01);
  font-family: var(--font-mono);
  font-size: .34rem;
}

.contact-v2-top-status > span.is-ready {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .18);
}

.contact-v2-top-status > span.is-ready i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: contactV2StatusPulse 2s ease-in-out infinite;
}

@keyframes contactV2StatusPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(.75);
  }
}

/* MAIN */

.contact-v2-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(350px, .7fr);
}

.contact-v2-copy {
  min-width: 0;
  padding:
    clamp(42px, 6vw, 82px)
    clamp(28px, 5.5vw, 72px)
    clamp(36px, 5vw, 64px);
  border-right: 1px solid var(--border);
}

.contact-v2-kicker {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .48rem;
  letter-spacing: .15em;
}

.contact-v2-command {
  margin-top: 24px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .58rem;
}

.contact-v2-command::before {
  content: ">";
  margin-right: 8px;
  color: var(--green);
}

.contact-v2-copy h2 {
  max-width: 820px;
  margin-top: 20px;
  font-size:
    clamp(
      3.3rem,
      6.2vw,
      6.5rem
    );
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 800;
}

.contact-v2-copy h2 span {
  display: block;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      #8fe1ff,
      #a99cff 55%,
      #7fe9d8
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.contact-v2-description {
  max-width: 710px;
  margin-top: 28px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.85;
}

/* ACTIONS */

.contact-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.contact-v2-btn {
  min-height: 54px;
  min-width: 174px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, .008);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast),
    box-shadow var(--fast);
}

.contact-v2-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, .28);
  background: rgba(56, 189, 248, .025);
}

.contact-v2-btn-primary {
  border-color: rgba(56, 189, 248, .35);
  background:
    linear-gradient(
      135deg,
      rgba(56, 189, 248, .15),
      rgba(37, 99, 235, .08)
    );
  box-shadow:
    0 15px 40px rgba(56, 189, 248, .07);
}

.contact-v2-btn span,
.contact-v2-btn strong {
  display: block;
  font-family: var(--font-mono);
}

.contact-v2-btn span {
  color: var(--muted-3);
  font-size: .28rem;
  letter-spacing: .08em;
}

.contact-v2-btn strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: .44rem;
  font-weight: 500;
}

.contact-v2-btn-primary strong {
  color: var(--blue-soft);
}

.contact-v2-copy-btn.is-copied {
  border-color: rgba(34, 197, 94, .3);
  background: rgba(34, 197, 94, .035);
}

.contact-v2-copy-btn.is-copied strong {
  color: var(--green-soft);
}

/* VECTOR */

.contact-v2-vector {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr))
    auto
    auto
    auto;
  grid-template-areas:
    "a arrow1 b arrow2 c arrow3 d";
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.contact-v2-vector > div {
  min-width: 0;
}

.contact-v2-vector > div:nth-of-type(1) {
  grid-area: a;
}

.contact-v2-vector > div:nth-of-type(2) {
  grid-area: b;
}

.contact-v2-vector > div:nth-of-type(3) {
  grid-area: c;
}

.contact-v2-vector > div:nth-of-type(4) {
  grid-area: d;
}

.contact-v2-vector > i:nth-of-type(1) {
  grid-area: arrow1;
}

.contact-v2-vector > i:nth-of-type(2) {
  grid-area: arrow2;
}

.contact-v2-vector > i:nth-of-type(3) {
  grid-area: arrow3;
}

.contact-v2-vector small,
.contact-v2-vector strong {
  display: block;
  font-family: var(--font-mono);
}

.contact-v2-vector small {
  color: var(--muted-3);
  font-size: .24rem;
  letter-spacing: .06em;
}

.contact-v2-vector strong {
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: .36rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-v2-vector .is-next strong {
  color: var(--green);
}

.contact-v2-vector > i {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .44rem;
  font-style: normal;
}

/* ROUTER */

.contact-v2-router {
  min-width: 0;
  background: rgba(255, 255, 255, .002);
}

.contact-v2-router-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}

.contact-v2-router-head > div:first-child span,
.contact-v2-router-head > div:first-child strong {
  display: block;
  font-family: var(--font-mono);
}

.contact-v2-router-head > div:first-child span {
  color: var(--muted-3);
  font-size: .3rem;
  letter-spacing: .12em;
}

.contact-v2-router-head > div:first-child strong {
  margin-top: 5px;
  color: var(--blue-soft);
  font-size: .46rem;
  font-weight: 500;
}

.contact-v2-router-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .31rem;
}

.contact-v2-router-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

.contact-v2-route-map {
  position: relative;
  height: 455px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.contact-v2-route-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(56, 189, 248, .1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.route-orbit-a {
  width: 150px;
  height: 150px;
  animation: contactV2Orbit 18s linear infinite;
}

.route-orbit-b {
  width: 245px;
  height: 245px;
  border-style: dashed;
  border-color: rgba(139, 92, 246, .12);
  animation: contactV2OrbitReverse 28s linear infinite;
}

.route-orbit-c {
  width: 345px;
  height: 345px;
  border-color: rgba(45, 212, 191, .075);
  animation: contactV2Orbit 42s linear infinite;
}

@keyframes contactV2Orbit {
  to {
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }
}

@keyframes contactV2OrbitReverse {
  to {
    transform:
      translate(-50%, -50%)
      rotate(-360deg);
  }
}

.contact-v2-route-line {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 48%;
  width: 130px;
  height: 1px;
  transform-origin: left center;
  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .35),
      rgba(56, 189, 248, .025)
    );
}

.contact-v2-route-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.contact-v2-shell.is-active .contact-v2-route-line::after {
  animation: contactV2Packet 1.8s ease-in-out infinite alternate;
}

@keyframes contactV2Packet {
  from {
    right: 96%;
    opacity: .35;
  }

  to {
    right: 0;
    opacity: 1;
  }
}

.route-line-a {
  transform: rotate(-142deg);
}

.route-line-b {
  transform: rotate(-7deg);
}

.route-line-c {
  transform: rotate(129deg);
}

.contact-v2-route-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 48%;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .09),
      rgba(4, 7, 17, .97) 72%
    );
  box-shadow:
    0 0 70px rgba(56, 189, 248, .06);
}

body.light .contact-v2-route-core {
  background:
    radial-gradient(
      circle,
      rgba(56, 189, 248, .09),
      rgba(255, 255, 255, .97) 72%
    );
}

.contact-v2-route-core small,
.contact-v2-route-core strong,
.contact-v2-route-core span {
  display: block;
  font-family: var(--font-mono);
}

.contact-v2-route-core small {
  color: var(--muted-3);
  font-size: .24rem;
  letter-spacing: .1em;
}

.contact-v2-route-core strong {
  margin-top: 5px;
  color: var(--blue-soft);
  font-size: .52rem;
}

.contact-v2-route-core span {
  margin-top: 5px;
  color: var(--green);
  font-size: .26rem;
}

.contact-v2-route-node {
  position: absolute;
  z-index: 5;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: inherit;
  background: rgba(4, 7, 17, .91);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast),
    opacity var(--fast);
}

body.light .contact-v2-route-node {
  background: rgba(255, 255, 255, .92);
}

.contact-v2-route-node > i {
  width: 6px;
  height: 6px;
  display: block;
  margin-bottom: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 11px var(--blue);
}

.contact-v2-route-node strong,
.contact-v2-route-node small {
  display: block;
  font-family: var(--font-mono);
}

.contact-v2-route-node strong {
  color: var(--text-soft);
  font-size: .38rem;
}

.contact-v2-route-node small {
  margin-top: 3px;
  color: var(--muted-3);
  font-size: .24rem;
}

.contact-v2-route-node:hover,
.contact-v2-route-node.is-active {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, .32);
  background: rgba(56, 189, 248, .035);
}

.contact-v2-router.has-route-focus .contact-v2-route-node:not(.is-active) {
  opacity: .43;
}

.route-linkedin {
  left: 7%;
  top: 13%;
}

.route-linkedin > i {
  background: var(--blue);
  box-shadow: 0 0 11px var(--blue);
}

.route-github {
  right: 4%;
  top: 41%;
}

.route-github > i {
  background: var(--purple);
  box-shadow: 0 0 11px var(--purple);
}

.route-portfolio {
  left: 10%;
  bottom: 9%;
}

.route-portfolio > i {
  background: var(--teal);
  box-shadow: 0 0 11px var(--teal);
}

/* INSPECTOR */

.contact-v2-inspector {
  display: grid;
  grid-template-columns:
    .85fr
    1.25fr
    .8fr;
}

.contact-v2-inspector > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--border);
}

.contact-v2-inspector > div:last-child {
  border-right: 0;
}

.contact-v2-inspector span,
.contact-v2-inspector strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-v2-inspector span {
  color: var(--muted-3);
  font-size: .25rem;
  letter-spacing: .06em;
}

.contact-v2-inspector strong {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: .34rem;
  font-weight: 500;
}

.contact-v2-inspector strong.is-state {
  color: var(--green);
}

/* TERMINAL */

.contact-v2-terminal {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    190px
    minmax(0, 1fr)
    minmax(260px, .65fr);
  align-items: stretch;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .002);
}

.contact-v2-terminal-head,
.contact-v2-terminal-log,
.contact-v2-terminal-command {
  min-width: 0;
  padding: 17px 18px;
}

.contact-v2-terminal-head,
.contact-v2-terminal-log {
  border-right: 1px solid var(--border);
}

.contact-v2-terminal-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-direction: column;
  font-family: var(--font-mono);
}

.contact-v2-terminal-head span:first-child {
  color: var(--blue);
  font-size: .33rem;
}

.contact-v2-terminal-head span:last-child {
  color: var(--muted-3);
  font-size: .29rem;
}

.contact-v2-terminal-log {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.contact-v2-terminal-log p {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .35rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-v2-terminal-log p span {
  margin-right: 8px;
  color: var(--muted-3);
}

.contact-v2-terminal-log p:first-child span {
  color: var(--green);
}

.contact-v2-terminal-command {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.contact-v2-terminal-command span {
  color: var(--blue);
  font-size: .31rem;
}

.contact-v2-terminal-command strong {
  overflow: hidden;
  color: var(--text-soft);
  font-size: .34rem;
  font-weight: 500;
  text-overflow: ellipsis;
}

/* FINAL STRIP */

.contact-v2-final-strip {
  position: relative;
  z-index: 2;
  min-height: 72px;
  display: grid;
  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(
      90deg,
      rgba(56, 189, 248, .018),
      rgba(139, 92, 246, .014),
      rgba(45, 212, 191, .018)
    );
}

.contact-v2-final-strip > div {
  min-width: 0;
  text-align: center;
}

.contact-v2-final-strip span,
.contact-v2-final-strip strong {
  display: block;
  font-family: var(--font-mono);
}

.contact-v2-final-strip span {
  color: var(--muted-3);
  font-size: .25rem;
  letter-spacing: .08em;
}

.contact-v2-final-strip strong {
  margin-top: 4px;
  color: var(--green);
  font-size: .34rem;
  font-weight: 500;
}

.contact-v2-final-strip strong.is-next {
  color: var(--blue-soft);
}

.contact-v2-final-strip > i {
  width: 26px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      transparent
    );
}

/* ACTIVE ROUTE VARIANTS */

.contact-v2-shell.route-github-active .contact-v2-router-head > div:first-child strong {
  color: var(--purple-soft);
}

.contact-v2-shell.route-portfolio-active .contact-v2-router-head > div:first-child strong {
  color: var(--teal-soft);
}

/* RESPONSIVE */

@media (max-width: 1080px) {
  .contact-v2-main {
    grid-template-columns: 1fr;
  }

  .contact-v2-copy {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-v2-router {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      320px;
  }

  .contact-v2-router-head {
    grid-column: 1 / -1;
  }

  .contact-v2-route-map {
    border-right: 1px solid var(--border);
    border-bottom: 0;
  }

  .contact-v2-inspector {
    grid-template-columns: 1fr;
  }

  .contact-v2-inspector > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-v2-inspector > div:last-child {
    border-bottom: 0;
  }

  .contact-v2-inspector strong {
    margin-top: 0;
    text-align: right;
  }

  .contact-v2-terminal {
    grid-template-columns:
      160px
      minmax(0, 1fr);
  }

  .contact-v2-terminal-command {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 760px) {
  .contact-v2-section {
    padding:
      90px
      15px
      80px;
  }

  .contact-v2-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .contact-v2-top-status {
    width: 100%;
    flex-wrap: wrap;
  }

  .contact-v2-copy {
    padding:
      40px
      22px
      34px;
  }

  .contact-v2-copy h2 {
    font-size:
      clamp(
        2.9rem,
        14vw,
        4.8rem
      );
  }

  .contact-v2-actions {
    flex-direction: column;
  }

  .contact-v2-btn {
    width: 100%;
  }

  .contact-v2-vector {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "arrow1"
      "b"
      "arrow2"
      "c"
      "arrow3"
      "d";
  }

  .contact-v2-vector > i {
    transform: rotate(90deg);
    justify-self: start;
  }

  .contact-v2-router {
    grid-template-columns: 1fr;
  }

  .contact-v2-route-map {
    height: 410px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-v2-inspector {
    grid-template-columns: 1fr;
  }

  .contact-v2-terminal {
    grid-template-columns: 1fr;
  }

  .contact-v2-terminal-head,
  .contact-v2-terminal-log {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-v2-terminal-command {
    grid-column: auto;
  }

  .contact-v2-final-strip {
    grid-template-columns:
      1fr
      auto
      1fr;
  }

  .contact-v2-final-strip > div:nth-of-type(3),
  .contact-v2-final-strip > div:nth-of-type(4),
  .contact-v2-final-strip > i:nth-of-type(2),
  .contact-v2-final-strip > i:nth-of-type(3) {
    display: none;
  }
}

@media (max-width: 500px) {
  .contact-v2-route-map {
    height: 385px;
  }

  .route-orbit-c {
    width: 285px;
    height: 285px;
  }

  .contact-v2-route-node {
    min-width: 96px;
    padding: 9px;
  }

  .route-linkedin {
    left: 2%;
  }

  .route-github {
    right: 1%;
  }

  .route-portfolio {
    left: 3%;
  }

  .contact-v2-terminal-command {
    align-items: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* LIGHT */

body.light .contact-v2-router,
body.light .contact-v2-terminal,
body.light .contact-v2-topbar {
  background: rgba(255, 255, 255, .24);
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .contact-v2-shell::after,
  .contact-v2-top-status > span.is-ready i,
  .contact-v2-route-orbit,
  .contact-v2-shell.is-active .contact-v2-route-line::after {
    animation: none !important;
  }

  .contact-v2-route-node,
  .contact-v2-btn {
    transition: none !important;
  }
}

/* ========================================================================== */
/* 55.01 / END CONNECTION V2                                                  */
/* ========================================================================== */


/* ========================================================================== */
/* 56 / STACK V3 — KNOWLEDGE GRAPH OS                                         */
/* ========================================================================== */

.stack-v3-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stack-v3-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 780px;
  height: 780px;
  right: -440px;
  top: 8%;
  border-radius: 50%;
  background: rgba(56, 189, 248, .045);
  filter: blur(120px);
  pointer-events: none;
}

.stack-v3-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 650px;
  height: 650px;
  left: -380px;
  bottom: 4%;
  border-radius: 50%;
  background: rgba(139, 92, 246, .04);
  filter: blur(115px);
  pointer-events: none;
}

.stack-v3-section .section-shell {
  position: relative;
  z-index: 1;
}

.stack-v3-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(116, 138, 175, .23);
  border-radius: 30px;
  background:
    radial-gradient(circle at 47% 26%, rgba(56, 189, 248, .035), transparent 27%),
    radial-gradient(circle at 78% 77%, rgba(139, 92, 246, .025), transparent 30%),
    linear-gradient(145deg, rgba(6, 11, 24, .99), rgba(3, 7, 16, .995));
  box-shadow:
    0 38px 120px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(255, 255, 255, .025);
  isolation: isolate;
}

.stack-v3-shell::before {
  content: "";
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--purple),
      var(--teal),
      transparent
    );
  pointer-events: none;
}

.stack-v3-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: .09;
  background-image:
    linear-gradient(rgba(56, 189, 248, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  pointer-events: none;
}

body.light .stack-v3-shell {
  background:
    radial-gradient(circle at 47% 26%, rgba(56, 189, 248, .075), transparent 30%),
    radial-gradient(circle at 78% 77%, rgba(139, 92, 246, .055), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(243, 247, 252, .99));
  box-shadow:
    0 28px 85px rgba(30, 41, 59, .11),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

/* TOP BAR */

.stack-v3-topbar {
  position: relative;
  z-index: 2;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .004);
  backdrop-filter: blur(16px);
}

.stack-v3-window {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.stack-v3-window > span {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: .48rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-runtime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.stack-v3-chip {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .012);
  font-family: var(--font-mono);
  font-size: .34rem;
  letter-spacing: .055em;
}

.stack-v3-chip.is-live {
  color: var(--green-soft);
  border-color: rgba(34, 197, 94, .18);
}

.stack-v3-chip.is-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
  animation: stackV3Pulse 2s ease-in-out infinite;
}

@keyframes stackV3Pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .45;
    transform: scale(.75);
  }
}

/* QUERY */

.stack-v3-querybar {
  position: relative;
  z-index: 2;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 110px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .003);
}

.stack-v3-search {
  min-width: 0;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(2, 6, 14, .42);
}

body.light .stack-v3-search {
  background: rgba(255, 255, 255, .7);
}

.stack-v3-search > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .32rem;
  letter-spacing: .09em;
}

.stack-v3-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text-soft);
  background: transparent;
  font-family: var(--font-mono);
  font-size: .48rem;
}

.stack-v3-search input::placeholder {
  color: var(--muted-3);
}

.stack-v3-search kbd {
  min-width: 24px;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .02);
  font-family: var(--font-mono);
  font-size: .31rem;
  text-align: center;
}

.stack-v3-clear {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, .008);
  font-family: var(--font-mono);
  font-size: .34rem;
  cursor: pointer;
  transition:
    color var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.stack-v3-clear:hover {
  color: var(--text);
  border-color: rgba(56, 189, 248, .28);
  background: rgba(56, 189, 248, .025);
}

.stack-v3-result-state {
  min-width: 0;
  text-align: right;
}

.stack-v3-result-state span,
.stack-v3-result-state strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v3-result-state span {
  color: var(--muted-3);
  font-size: .26rem;
}

.stack-v3-result-state strong {
  margin-top: 3px;
  color: var(--green);
  font-size: .52rem;
  font-weight: 500;
}

/* FILTERS */

.stack-v3-filters {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}

.stack-v3-filters::-webkit-scrollbar {
  display: none;
}

.stack-v3-filter {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, .006);
  font-family: var(--font-mono);
  font-size: .31rem;
  cursor: pointer;
  transition:
    color var(--fast),
    border-color var(--fast),
    background var(--fast),
    transform var(--fast);
}

.stack-v3-filter:hover,
.stack-v3-filter:focus-visible,
.stack-v3-filter.is-active {
  transform: translateY(-1px);
  color: var(--blue-soft);
  border-color: rgba(56, 189, 248, .26);
  background: rgba(56, 189, 248, .035);
}

/* LAYOUT */

.stack-v3-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr) 300px;
  min-height: 660px;
}

/* DOMAIN RAIL */

.stack-v3-domain-rail {
  min-width: 0;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, .003);
}

.stack-v3-panel-label {
  padding: 0 7px 11px;
}

.stack-v3-panel-label span,
.stack-v3-panel-label strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v3-panel-label span {
  color: var(--muted-3);
  font-size: .28rem;
  letter-spacing: .1em;
}

.stack-v3-panel-label strong {
  margin-top: 4px;
  overflow: hidden;
  color: var(--teal-soft);
  font-size: .36rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-domain-list {
  display: grid;
  gap: 4px;
}

.stack-v3-domain {
  position: relative;
  width: 100%;
  min-height: 61px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.stack-v3-domain::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--purple), var(--teal));
  opacity: 0;
  transform: scaleY(.35);
  transition:
    opacity var(--fast),
    transform var(--fast);
}

.stack-v3-domain > span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .35rem;
}

.stack-v3-domain > div {
  min-width: 0;
}

.stack-v3-domain strong,
.stack-v3-domain small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-domain strong {
  color: var(--text-soft);
  font-size: .39rem;
  font-weight: 600;
}

.stack-v3-domain small {
  margin-top: 3px;
  color: var(--muted-3);
  font-size: .26rem;
}

.stack-v3-domain > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
}

.stack-v3-domain:hover,
.stack-v3-domain:focus-visible,
.stack-v3-domain.is-active {
  transform: translateX(3px);
  border-color: rgba(56, 189, 248, .18);
  background: rgba(56, 189, 248, .022);
}

.stack-v3-domain:hover::before,
.stack-v3-domain:focus-visible::before,
.stack-v3-domain.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.stack-v3-domain.is-active > i {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.stack-v3-domain.is-dimmed {
  opacity: .26;
}

.stack-v3-domain-footer {
  margin: 16px 7px 0;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
}

.stack-v3-domain-footer span,
.stack-v3-domain-footer strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v3-domain-footer span {
  color: var(--muted-3);
  font-size: .25rem;
}

.stack-v3-domain-footer strong {
  margin-top: 4px;
  color: var(--muted);
  font-size: .31rem;
  font-weight: 500;
}

/* GRAPH */

.stack-v3-graph-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.stack-v3-panel-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 17px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .003);
}

.stack-v3-panel-head > div:first-child span,
.stack-v3-panel-head > div:first-child strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v3-panel-head > div:first-child span {
  color: var(--muted-3);
  font-size: .28rem;
  letter-spacing: .1em;
}

.stack-v3-panel-head > div:first-child strong {
  margin-top: 4px;
  color: var(--blue-soft);
  font-size: .41rem;
  font-weight: 500;
}

.stack-v3-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.stack-v3-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .25rem;
}

.stack-v3-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.stack-v3-legend .is-domain {
  background: var(--blue);
}

.stack-v3-legend .is-relation {
  background: var(--purple);
}

.stack-v3-legend .is-proof {
  background: var(--green);
}

.stack-v3-graph {
  position: relative;
  flex: 1;
  min-height: 590px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, .035), transparent 33%);
}

.stack-v3-graph-svg {
  width: 100%;
  height: 100%;
  min-height: 590px;
  display: block;
}

.stack-v3-grid-lines path {
  fill: none;
  stroke: rgba(148, 163, 184, .055);
  stroke-width: 1;
}

.stack-v3-core-links line,
.stack-v3-cross-links path {
  fill: none;
  stroke: rgba(100, 116, 139, .18);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  transition:
    stroke var(--normal),
    opacity var(--normal),
    stroke-width var(--normal);
}

.stack-v3-cross-links path {
  stroke-dasharray: 5 8;
  opacity: .62;
}

.stack-v3-core-links [data-stack-v3-edge].is-active,
.stack-v3-cross-links [data-stack-v3-edge].is-active {
  stroke: rgba(56, 189, 248, .66);
  stroke-width: 2;
  opacity: 1;
}

.stack-v3-core-links [data-stack-v3-edge].is-dimmed,
.stack-v3-cross-links [data-stack-v3-edge].is-dimmed {
  opacity: .08;
}

.stack-v3-core-node,
.stack-v3-domain-node {
  cursor: pointer;
  outline: none;
}

.stack-v3-core-ring,
.stack-v3-core-fill,
.stack-v3-domain-node circle {
  transition:
    fill var(--normal),
    stroke var(--normal),
    opacity var(--normal),
    filter var(--normal),
    transform var(--normal);
}

.stack-v3-core-ring {
  fill: none;
  stroke: rgba(56, 189, 248, .13);
  transform-origin: 450px 310px;
}

.stack-v3-core-ring.ring-outer {
  stroke-dasharray: 8 12;
  animation: stackV3Orbit 28s linear infinite;
}

.stack-v3-core-ring.ring-inner {
  stroke: rgba(139, 92, 246, .15);
  stroke-dasharray: 3 8;
  animation: stackV3OrbitReverse 18s linear infinite;
}

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

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

.stack-v3-core-fill {
  fill: rgba(4, 10, 22, .96);
  stroke: rgba(56, 189, 248, .32);
  stroke-width: 1.4;
}

body.light .stack-v3-core-fill {
  fill: rgba(255, 255, 255, .96);
}

.stack-v3-core-kicker,
.stack-v3-core-title,
.stack-v3-core-state,
.stack-v3-domain-node text {
  pointer-events: none;
  font-family: var(--font-mono);
}

.stack-v3-core-kicker {
  fill: var(--muted-3);
  font-size: 10px;
  letter-spacing: 2px;
}

.stack-v3-core-title {
  fill: var(--blue-soft);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

.stack-v3-core-state {
  fill: var(--green);
  font-size: 8px;
  letter-spacing: 1.4px;
}

.stack-v3-domain-node circle {
  fill: rgba(7, 13, 28, .96);
  stroke: rgba(100, 116, 139, .3);
  stroke-width: 1.2;
}

body.light .stack-v3-domain-node circle {
  fill: rgba(255, 255, 255, .96);
}

.stack-v3-domain-node:hover circle,
.stack-v3-domain-node:focus circle,
.stack-v3-domain-node.is-active circle {
  fill: rgba(56, 189, 248, .055);
  stroke: rgba(56, 189, 248, .62);
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, .16));
}

.stack-v3-domain-node.is-dimmed {
  opacity: .2;
}

.stack-v3-domain-node .domain-index {
  fill: var(--blue);
  font-size: 8px;
}

.stack-v3-domain-node .domain-title {
  fill: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
}

.stack-v3-domain-node .domain-count {
  fill: var(--muted-3);
  font-size: 6px;
}

.stack-v3-focus-card {
  position: absolute;
  left: 16px;
  bottom: 14px;
  max-width: 235px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(4, 8, 18, .83);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

body.light .stack-v3-focus-card {
  background: rgba(255, 255, 255, .88);
}

.stack-v3-focus-card span,
.stack-v3-focus-card strong,
.stack-v3-focus-card small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-focus-card span {
  color: var(--muted-3);
  font-size: .26rem;
  letter-spacing: .09em;
}

.stack-v3-focus-card strong {
  margin-top: 5px;
  color: var(--blue-soft);
  font-size: .42rem;
  font-weight: 500;
}

.stack-v3-focus-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .29rem;
}

/* INSPECTOR */

.stack-v3-inspector {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .006), transparent 70%);
}

.stack-v3-inspector-status {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .3rem;
}

.stack-v3-inspector-body {
  padding: 24px 19px;
}

.stack-v3-inspector-domain {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .36rem;
  letter-spacing: .09em;
}

.stack-v3-inspector h3 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.stack-v3-inspector p {
  margin-top: 14px;
  color: var(--muted);
  font-size: .69rem;
  line-height: 1.72;
}

.stack-v3-inspector-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 22px;
}

.stack-v3-inspector-metrics > div {
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .006);
}

.stack-v3-inspector-metrics span,
.stack-v3-inspector-metrics strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-inspector-metrics span {
  color: var(--muted-3);
  font-size: .24rem;
}

.stack-v3-inspector-metrics strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: .31rem;
  font-weight: 500;
}

.stack-v3-inspector-label {
  display: block;
  margin-top: 23px;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .29rem;
  letter-spacing: .11em;
}

.stack-v3-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.stack-v3-related button,
.stack-v3-related > span {
  padding: 5px 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, .007);
  font-family: var(--font-mono);
  font-size: .29rem;
}

.stack-v3-related button {
  cursor: pointer;
  transition:
    color var(--fast),
    border-color var(--fast),
    transform var(--fast);
}

.stack-v3-related button:hover {
  transform: translateY(-2px);
  color: var(--blue-soft);
  border-color: rgba(56, 189, 248, .25);
}

.stack-v3-proof-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.stack-v3-proof-list p {
  margin: 0;
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .31rem;
  line-height: 1.55;
}

.stack-v3-proof-button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: inherit;
  background: rgba(255, 255, 255, .006);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--fast),
    border-color var(--fast),
    background var(--fast);
}

.stack-v3-proof-button:hover {
  transform: translateX(3px);
  border-color: rgba(34, 197, 94, .25);
  background: rgba(34, 197, 94, .02);
}

.stack-v3-proof-button > div {
  min-width: 0;
}

.stack-v3-proof-button span,
.stack-v3-proof-button strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-proof-button span {
  color: var(--muted-3);
  font-size: .25rem;
}

.stack-v3-proof-button strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: .33rem;
  font-weight: 500;
}

.stack-v3-proof-button > i {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .39rem;
  font-style: normal;
}

/* REGISTRY */

.stack-v3-registry {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.stack-v3-registry-head {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 17px;
  border-bottom: 1px solid var(--border);
}

.stack-v3-registry-head > div:first-child span,
.stack-v3-registry-head > div:first-child strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v3-registry-head > div:first-child span {
  color: var(--muted-3);
  font-size: .28rem;
  letter-spacing: .1em;
}

.stack-v3-registry-head > div:first-child strong {
  margin-top: 4px;
  color: var(--teal-soft);
  font-size: .4rem;
  font-weight: 500;
}

.stack-v3-registry-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.stack-v3-registry-legend span {
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .26rem;
}

.stack-v3-tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.stack-v3-tech {
  position: relative;
  min-width: 0;
  min-height: 68px;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 0;
  color: inherit;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--fast),
    box-shadow var(--fast);
}

.stack-v3-tech:hover,
.stack-v3-tech:focus-visible,
.stack-v3-tech.is-active {
  background:
    linear-gradient(
      135deg,
      rgba(56, 189, 248, .045),
      var(--surface)
    );
  box-shadow: inset 0 0 28px rgba(56, 189, 248, .02);
}

.stack-v3-tech > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-3);
}

.stack-v3-tech.has-proof > i {
  background: var(--green);
  box-shadow: 0 0 9px rgba(34, 197, 94, .55);
}

.stack-v3-tech > div {
  min-width: 0;
}

.stack-v3-tech strong,
.stack-v3-tech small {
  display: block;
  overflow: hidden;
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stack-v3-tech strong {
  color: var(--text-soft);
  font-size: .35rem;
  font-weight: 600;
}

.stack-v3-tech small {
  margin-top: 4px;
  color: var(--muted-3);
  font-size: .24rem;
}

.stack-v3-tech > span {
  color: var(--muted-3);
  font-family: var(--font-mono);
  font-size: .23rem;
}

.stack-v3-tech.is-active > span {
  color: var(--blue);
}

body.light .stack-v3-tech {
  background: rgba(255, 255, 255, .96);
}

.stack-v3-empty {
  padding: 34px 20px;
  text-align: center;
}

.stack-v3-empty span,
.stack-v3-empty strong {
  display: block;
  font-family: var(--font-mono);
}

.stack-v3-empty span {
  color: var(--orange);
  font-size: .31rem;
}

.stack-v3-empty strong {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: .46rem;
  font-weight: 500;
}

.stack-v3-empty button {
  margin-top: 15px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--blue-soft);
  background: rgba(56, 189, 248, .025);
  font-family: var(--font-mono);
  font-size: .31rem;
  cursor: pointer;
}

/* EVIDENCE */

.stack-v3-evidence {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.stack-v3-evidence-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 17px;
  border-bottom: 1px solid var(--border);
}

.stack-v3-evidence-head span,
.stack-v3-evidence-head strong {
  font-family: var(--font-mono);
}

.stack-v3-evidence-head span {
  color: var(--muted-3);
  font-size: .28rem;
  letter-spacing: .1em;
}

.stack-v3-evidence-head strong {
  color: var(--green);
  font-size: .34rem;
  font-weight: 500;
}

.stack-v3-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.stack-v3-evidence-card {
  min-width: 0;
  min-height: 124px;
  padding: 17px;
  border: 0;
  color: inherit;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition:
    background var(--fast),
    box-shadow var(--fast);
}

.stack-v3-evidence-card:hover {
  background:
    linear-gradient(
      145deg,
      rgba(34, 197, 94, .035),
      var(--surface)
    );
  box-shadow: inset 0 0 35px rgba(34, 197, 94, .018);
}

.stack-v3-evidence-card span,
.stack-v3-evidence-card strong,
.stack-v3-evidence-card small,
.stack-v3-evidence-card i {
  display: block;
}

.stack-v3-evidence-card span {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .28rem;
}

.stack-v3-evidence-card strong {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: .62rem;
  line-height: 1.3;
}

.stack-v3-evidence-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: .39rem;
  line-height: 1.55;
}

.stack-v3-evidence-card i {
  margin-top: 10px;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .29rem;
  font-style: normal;
}

body.light .stack-v3-evidence-card {
  background: rgba(255, 255, 255, .96);
}

/* PROOF HIGHLIGHT CROSS-NAVIGATION */

.stack-v3-proof-highlight {
  animation: stackV3ProofHighlight 2.2s ease both !important;
}

@keyframes stackV3ProofHighlight {
  0% {
    box-shadow:
      0 0 0 1px rgba(34, 197, 94, .65),
      0 0 0 rgba(34, 197, 94, 0);
  }

  30% {
    box-shadow:
      0 0 0 1px rgba(34, 197, 94, .7),
      0 0 50px rgba(34, 197, 94, .18);
  }

  100% {
    box-shadow:
      0 0 0 1px rgba(34, 197, 94, 0),
      0 0 0 rgba(34, 197, 94, 0);
  }
}

/* FOOTER */

.stack-v3-footer {
  position: relative;
  z-index: 2;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 16px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  background: rgba(255, 255, 255, .003);
  font-family: var(--font-mono);
  font-size: .35rem;
  white-space: nowrap;
  scrollbar-width: none;
}

.stack-v3-footer::-webkit-scrollbar {
  display: none;
}

.stack-v3-footer i {
  color: var(--blue);
  font-style: normal;
}

.stack-v3-footer .is-current {
  color: var(--green);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .stack-v3-layout {
    grid-template-columns: 175px minmax(0, 1fr) 270px;
  }

  .stack-v3-tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .stack-v3-layout {
    grid-template-columns: 1fr;
  }

  .stack-v3-domain-rail {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stack-v3-domain-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stack-v3-domain-footer {
    display: none;
  }

  .stack-v3-graph-panel {
    border-right: 0;
  }

  .stack-v3-inspector {
    border-top: 1px solid var(--border);
  }

  .stack-v3-inspector-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .stack-v3-inspector-body > h3,
  .stack-v3-inspector-body > p,
  .stack-v3-inspector-body > .stack-v3-inspector-metrics {
    grid-column: 1 / -1;
  }

  .stack-v3-tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .stack-v3-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .stack-v3-runtime {
    justify-content: flex-start;
  }

  .stack-v3-querybar {
    grid-template-columns: 1fr auto;
  }

  .stack-v3-result-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .stack-v3-result-state strong {
    margin-top: 0;
  }

  .stack-v3-domain-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-v3-graph {
    min-height: 500px;
    overflow-x: auto;
  }

  .stack-v3-graph-svg {
    min-width: 760px;
    min-height: 500px;
  }

  .stack-v3-inspector-body {
    display: block;
  }

  .stack-v3-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-v3-evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .stack-v3-domain-list,
  .stack-v3-tech-grid {
    grid-template-columns: 1fr;
  }

  .stack-v3-querybar {
    grid-template-columns: 1fr;
  }

  .stack-v3-clear {
    width: 100%;
  }

  .stack-v3-registry-head,
  .stack-v3-evidence-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-v3-registry-legend {
    justify-content: flex-start;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .stack-v3-chip.is-live i,
  .stack-v3-core-ring,
  .stack-v3-proof-highlight {
    animation: none !important;
  }

  .stack-v3-domain,
  .stack-v3-filter,
  .stack-v3-tech,
  .stack-v3-proof-button,
  .stack-v3-evidence-card {
    transition: none !important;
  }
}

/* ========================================================================== */
/* 56.01 / END STACK V3                                                       */
/* ========================================================================== */
