/* =========================================================
   BELISARIUS13 // VISUAL SYSTEM
   ========================================================= */

:root {
  --b13-bg: #0b0b10;
  --b13-bg-soft: #111119;
  --b13-panel: rgba(23, 20, 32, 0.78);
  --b13-panel-strong: #171420;

  --b13-purple: #8b5cf6;
  --b13-purple-bright: #a78bfa;
  --b13-purple-dark: #4c1d95;

  --b13-gold: #c7a86b;
  --b13-text: #f4f4f5;
  --b13-muted: #a1a1aa;
  --b13-border: rgba(167, 139, 250, 0.16);

  --b13-glow: 0 0 40px rgba(139, 92, 246, 0.13);
}


/* =========================================================
   GLOBAL
   ========================================================= */

[data-md-color-scheme="slate"] {
  --md-default-bg-color: var(--b13-bg);
  --md-default-fg-color: var(--b13-text);

  --md-primary-fg-color: #171420;
  --md-accent-fg-color: var(--b13-purple-bright);
}

body {
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(91, 33, 182, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(139, 92, 246, 0.07),
      transparent 30%
    ),
    var(--b13-bg);
}


/* =========================================================
   HEADER
   ========================================================= */

.md-header {
  background: rgba(11, 11, 16, 0.92);
  border-bottom: 1px solid var(--b13-border);
  backdrop-filter: blur(14px);
}

.md-tabs {
  background: rgba(11, 11, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.md-header__title {
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.b13-home {
  max-width: 1200px;
  margin: 0 auto;
}

.b13-kicker {
  color: var(--b13-purple-bright);
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}


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

.b13-hero {
  position: relative;
  overflow: hidden;

  min-height: 570px;

  display: flex;
  align-items: center;

  margin: 1.5rem 0 3rem;
  padding: 5rem 4rem;

  border: 1px solid var(--b13-border);
  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(139, 92, 246, 0.10),
      rgba(17, 17, 25, 0.75) 42%,
      rgba(199, 168, 107, 0.04)
    );

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

.b13-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(139, 92, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.035) 1px, transparent 1px);

  background-size: 40px 40px;

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

  pointer-events: none;
}

.b13-hero-content {
  position: relative;
  z-index: 2;

  max-width: 760px;
}

.b13-name {
  margin: 0;

  color: #ffffff;

  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.b13-role {
  margin-top: 1rem;

  color: var(--b13-gold);

  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.b13-intro {
  max-width: 700px;

  margin-top: 1.75rem;

  color: var(--b13-muted);

  font-size: 1.05rem;
  line-height: 1.8;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.b13-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;

  margin-top: 2rem;
}

.b13-button {
  display: inline-flex;
  align-items: center;

  padding: 0.8rem 1.25rem;

  border: 1px solid var(--b13-purple);
  border-radius: 10px;

  color: white !important;
  background: rgba(139, 92, 246, 0.12);

  font-weight: 700;
  text-decoration: none !important;

  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.b13-button:hover {
  transform: translateY(-2px);

  background: rgba(139, 92, 246, 0.25);

  box-shadow:
    0 0 25px rgba(139, 92, 246, 0.2);
}

.b13-button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}


/* =========================================================
   SECTION
   ========================================================= */

.b13-section {
  margin: 5rem 0;
}

.b13-section-heading {
  margin-bottom: 0.7rem;

  color: white;

  font-size: 2rem;
  font-weight: 750;
}

.b13-section-intro {
  max-width: 760px;

  margin-bottom: 2rem;

  color: var(--b13-muted);
}


/* =========================================================
   CARDS
   ========================================================= */

.b13-grid {
  display: grid;

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

  gap: 1rem;
}

.b13-card {
  padding: 1.6rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(28, 24, 39, 0.78),
      rgba(13, 13, 19, 0.88)
    );

  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.b13-card:hover {
  transform: translateY(-3px);

  border-color: rgba(167, 139, 250, 0.4);

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.25);
}

.b13-card-label {
  margin-bottom: 0.8rem;

  color: var(--b13-purple-bright);

  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.b13-card h3 {
  margin: 0 0 0.7rem;

  color: white;
}

.b13-card p {
  margin: 0;

  color: var(--b13-muted);

  line-height: 1.7;
}


/* =========================================================
   PURPLE TEAM METHOD
   ========================================================= */

.b13-method {
  display: flex;
  flex-wrap: wrap;

  gap: 0.65rem;

  margin-top: 2rem;
}

.b13-method span {
  padding: 0.55rem 0.8rem;

  border: 1px solid var(--b13-border);
  border-radius: 8px;

  color: #ddd6fe;
  background: rgba(139, 92, 246, 0.06);

  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.b13-arrow {
  border: none !important;
  background: transparent !important;
  color: var(--b13-gold) !important;
}


/* =========================================================
   CAMPAIGN CARD
   ========================================================= */

.b13-campaign {
  padding: 2rem;

  border-left: 3px solid var(--b13-purple);
  border-radius: 0 18px 18px 0;

  background:
    linear-gradient(
      90deg,
      rgba(139, 92, 246, 0.12),
      rgba(17, 17, 25, 0.7)
    );
}

.b13-status {
  display: inline-block;

  margin-top: 1rem;
  padding: 0.3rem 0.6rem;

  border: 1px solid rgba(199, 168, 107, 0.35);
  border-radius: 6px;

  color: var(--b13-gold);

  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 800px) {

  .b13-hero {
    min-height: auto;

    padding: 3rem 1.5rem;

    border-radius: 18px;
  }

  .b13-grid {
    grid-template-columns: 1fr;
  }

  .b13-method {
    flex-direction: column;
  }

  .b13-arrow {
    display: none;
  }
}


/* =========================================================
   B13 // BRAND IDENTITY
   ========================================================= */


/* ---------------------------------------------------------
   HEADER MONOGRAM
   --------------------------------------------------------- */

.md-header__button.md-logo {
  display: grid;
  place-items: center;

  width: 2.4rem;
  height: 2.4rem;

  margin-right: 0.5rem;
  padding: 0;

  border: 1px solid rgba(167, 139, 250, 0.32);
  border-radius: 8px;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.18),
      rgba(17, 17, 25, 0.9)
    );

  box-shadow:
    inset 0 0 18px rgba(139, 92, 246, 0.08);
}

.md-header__button.md-logo svg {
  display: none;
}

.md-header__button.md-logo::after {
  content: "B13";

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.md-header__title::after {
  content: " // PURPLE TEAM SECURITY LAB";

  margin-left: 0.55rem;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   HERO GRID
   --------------------------------------------------------- */

.b13-hero {
  display: block;

  min-height: auto;

  padding: 0;
}

.b13-hero-grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(300px, 0.7fr);

  align-items: center;

  gap: 4rem;

  min-height: 570px;

  padding: 4.5rem;
}

.b13-hero-content {
  max-width: none;
}


/* ---------------------------------------------------------
   B13 TELEMETRY PANEL
   --------------------------------------------------------- */

.b13-hero-panel {
  position: relative;
  overflow: hidden;

  padding: 2rem;

  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(25, 21, 37, 0.9),
      rgba(10, 10, 15, 0.94)
    );

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.35),
    inset 0 0 40px rgba(139, 92, 246, 0.045);
}

.b13-hero-panel::before {
  content: "";

  position: absolute;

  width: 230px;
  height: 230px;

  top: -120px;
  right: -90px;

  border: 1px solid rgba(199, 168, 107, 0.14);

  transform: rotate(45deg);

  pointer-events: none;
}

.b13-hero-panel::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      transparent 97%,
      rgba(167, 139, 250, 0.04) 100%
    );

  background-size: 100% 5px;

  pointer-events: none;
}


/* ---------------------------------------------------------
   B13 INSIGNIA
   --------------------------------------------------------- */

.b13-insignia {
  position: relative;

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

  width: 108px;
  height: 108px;

  margin-bottom: 1.8rem;

  border: 1px solid rgba(167, 139, 250, 0.55);

  background:
    radial-gradient(
      circle at center,
      rgba(139, 92, 246, 0.19),
      rgba(13, 13, 19, 0.92) 70%
    );

  clip-path:
    polygon(
      30% 0,
      70% 0,
      100% 30%,
      100% 70%,
      70% 100%,
      30% 100%,
      0 70%,
      0 30%
    );

  box-shadow:
    0 0 45px rgba(139, 92, 246, 0.16);
}

.b13-insignia span {
  color: white;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 2.4rem;
  font-weight: 900;
}

.b13-insignia strong {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 1.35rem;
  font-weight: 800;
}


/* ---------------------------------------------------------
   PANEL BRANDING
   --------------------------------------------------------- */

.b13-panel-title {
  color: white;

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

  letter-spacing: 0.11em;
}

.b13-panel-subtitle {
  margin-top: 0.35rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.64rem;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.b13-panel-divider {
  height: 1px;

  margin: 1.4rem 0;

  background:
    linear-gradient(
      90deg,
      rgba(167, 139, 250, 0.4),
      rgba(167, 139, 250, 0.02)
    );
}


/* ---------------------------------------------------------
   STATUS TELEMETRY
   --------------------------------------------------------- */

.b13-status-grid {
  display: grid;

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

  gap: 1rem;
}

.b13-status-grid div {
  padding: 0.8rem;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.018);
}

.b13-status-grid span {
  display: block;

  margin-bottom: 0.35rem;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.58rem;

  letter-spacing: 0.1em;
}

.b13-status-grid strong {
  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.68rem;

  letter-spacing: 0.05em;
}


/* ---------------------------------------------------------
   TERMINAL
   --------------------------------------------------------- */

.b13-terminal {
  display: flex;
  flex-direction: column;

  gap: 0.4rem;

  margin-top: 1.2rem;
  padding: 1rem;

  border-left: 2px solid var(--b13-purple);

  background:
    rgba(0, 0, 0, 0.28);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.66rem;
}

.b13-terminal-command {
  color: var(--b13-gold);
}

.b13-terminal-output {
  color: var(--b13-muted);
}


/* ---------------------------------------------------------
   RESPONSIVE B13 HERO
   --------------------------------------------------------- */

@media screen and (max-width: 950px) {

  .b13-hero-grid {
    grid-template-columns: 1fr;

    gap: 3rem;

    padding: 3rem 2rem;
  }

  .b13-hero-panel {
    max-width: 520px;
  }

  .md-header__title::after {
    display: none;
  }
}


@media screen and (max-width: 600px) {

  .b13-hero-grid {
    padding: 2.5rem 1.25rem;
  }

  .b13-status-grid {
    grid-template-columns: 1fr;
  }

  .b13-insignia {
    width: 90px;
    height: 90px;
  }
}


/* =========================================================
   HEADER ALIGNMENT FIX
   ========================================================= */

.md-header__title::after {
  content: none !important;
  display: none !important;
}

.md-header__title {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
}

.md-tabs__list {
  align-items: center;
}

.md-tabs__item {
  display: flex;
  align-items: center;
}


/* =========================================================
   B13 ARTWORK
   ========================================================= */

.b13-art-frame {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 1.4rem;
  padding: 0.4rem;

  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.015),
      rgba(139, 92, 246, 0.03)
    );
}

.b13-artwork {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;

  filter:
    drop-shadow(0 0 30px rgba(139, 92, 246, 0.12));
}

/* Optional use later if needed elsewhere */
.b13-insignia-img {
  width: 96px;
  height: 96px;
  display: block;
}

@media screen and (max-width: 950px) {
  .b13-artwork {
    max-width: 280px;
  }
}

@media screen and (max-width: 600px) {
  .b13-artwork {
    max-width: 240px;
  }
}
/* =========================================================
   BELISARIUS13 // VISUAL TARGET V1
   ========================================================= */


/* ---------------------------------------------------------
   HERO CONTAINER
   --------------------------------------------------------- */

.b13-v1-hero {
  position: relative;
  overflow: hidden;

  padding: 0;

  background:
    radial-gradient(
      circle at 58% 45%,
      rgba(91, 33, 182, 0.20),
      transparent 32%
    ),
    linear-gradient(
      110deg,
      rgba(15, 13, 24, 0.97),
      rgba(10, 9, 17, 0.94)
    );
}

.b13-v1-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns:
    minmax(380px, 1.05fr)
    minmax(330px, 0.85fr)
    minmax(280px, 0.65fr);

  min-height: 650px;

  align-items: stretch;
}


/* ---------------------------------------------------------
   LEFT IDENTITY COLUMN
   --------------------------------------------------------- */

.b13-v1-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 4rem 2rem 3.5rem 3.5rem;
}

.b13-v1-name {
  margin: 0.5rem 0 0;

  font-size: clamp(3.2rem, 5vw, 5.4rem);
  line-height: 0.94;

  letter-spacing: -0.045em;
}

.b13-v1-name span,
.b13-v1-name strong {
  display: block;
}

.b13-v1-name span {
  color: #ffffff;

  font-weight: 850;
}

.b13-v1-name strong {
  color: var(--b13-gold);

  font-weight: 850;
}

.b13-v1-role {
  margin-top: 1.4rem;

  padding-left: 1rem;

  border-left: 2px solid var(--b13-gold);

  color: #e2bd6e;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  letter-spacing: 0.13em;
}

.b13-v1-intro {
  max-width: 620px;

  margin-top: 1.6rem;

  color: #b4b4c0;

  line-height: 1.9;
}


/* ---------------------------------------------------------
   CURRENT FOCUS
   --------------------------------------------------------- */

.b13-focus {
  margin-top: 2.2rem;
}

.b13-focus-heading {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  letter-spacing: 0.18em;
}

.b13-focus-list {
  display: flex;
  flex-wrap: wrap;

  gap: 0.55rem;

  margin-top: 0.9rem;
}

.b13-focus-list span {
  padding: 0.38rem 0.72rem;

  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 8px;

  color: #c4b5fd;

  background: rgba(139, 92, 246, 0.07);

  font-size: 0.68rem;
}

.b13-focus-list span.gold {
  border-color: rgba(199, 168, 107, 0.32);

  color: var(--b13-gold);

  background: rgba(199, 168, 107, 0.05);
}


/* ---------------------------------------------------------
   PORTRAIT COLUMN
   --------------------------------------------------------- */

.b13-v1-portrait-zone {
  position: relative;
  overflow: hidden;

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

  min-height: 650px;

  background:
    radial-gradient(
      circle at center,
      rgba(139, 92, 246, 0.18),
      transparent 60%
    );
}

.b13-v1-portrait-zone::before {
  content: "";

  position: absolute;
  inset: 5% -15%;

  opacity: 0.16;

  background-image:
    url("../assets/b13-tactical-node.svg");

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  pointer-events: none;
}

.b13-v1-portrait-zone::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(9, 8, 14, 0.7),
      transparent 35%
    );

  pointer-events: none;
}

.b13-portrait-frame {
  position: relative;
  z-index: 2;

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

  width: 100%;
  height: 100%;
}

.b13-portrait {
  display: block;

  width: 100%;
  max-width: 470px;
  max-height: 620px;

  object-fit: cover;
  object-position: center top;

  border-radius: 20px 20px 0 0;

  filter:
    contrast(1.03)
    saturate(0.95)
    drop-shadow(0 0 35px rgba(139, 92, 246, 0.14));
}


/* ---------------------------------------------------------
   PORTRAIT TELEMETRY
   --------------------------------------------------------- */

.b13-portrait-telemetry {
  position: absolute;

  z-index: 5;

  left: 1rem;
  bottom: 2rem;

  display: flex;
  flex-direction: column;

  padding: 0.8rem 1rem;

  border-left: 1px solid rgba(167, 139, 250, 0.3);

  background: rgba(10, 9, 17, 0.48);

  backdrop-filter: blur(7px);
}

.b13-portrait-telemetry span {
  margin-top: 0.4rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.12em;
}

.b13-portrait-telemetry strong {
  color: #d4d4dc;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.58rem;
}


/* ---------------------------------------------------------
   RIGHT B13 PANEL
   --------------------------------------------------------- */

.b13-v1-panel {
  align-self: center;

  margin: 2rem 2rem 2rem 0;
}

.b13-mini-insignia {
  display: grid;
  place-items: center;

  width: 130px;
  height: 130px;

  margin: 0 auto 1.5rem;

  border: 2px solid rgba(139, 92, 246, 0.75);

  clip-path:
    polygon(
      30% 0,
      70% 0,
      100% 30%,
      100% 70%,
      70% 100%,
      30% 100%,
      0 70%,
      0 30%
    );

  color: white;

  background:
    radial-gradient(
      circle,
      rgba(139, 92, 246, 0.18),
      rgba(9, 8, 14, 0.94)
    );

  font-size: 2.7rem;
  font-weight: 900;
}

.b13-mini-insignia span {
  color: var(--b13-gold);

  font-size: 1.4rem;
}

.b13-v1-panel .b13-panel-title,
.b13-v1-panel .b13-panel-subtitle {
  text-align: center;
}

.b13-online {
  color: #86efac !important;
}


/* ---------------------------------------------------------
   SUBTLE CYBER GRID
   --------------------------------------------------------- */

.b13-v1-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(139, 92, 246, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(139, 92, 246, 0.025) 1px,
      transparent 1px
    );

  background-size: 40px 40px;

  pointer-events: none;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media screen and (max-width: 1050px) {

  .b13-v1-grid {
    grid-template-columns:
      minmax(360px, 1fr)
      minmax(300px, 0.8fr);
  }

  .b13-v1-panel {
    grid-column: 1 / -1;

    width: calc(100% - 4rem);
    max-width: none;

    margin: 0 2rem 2rem;

  }

  .b13-v1-panel .b13-status-grid {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

}


/* ---------------------------------------------------------
   MOBILE / SMALL TABLET
   --------------------------------------------------------- */

@media screen and (max-width: 800px) {

  .b13-v1-grid {
    grid-template-columns: 1fr;
  }

  .b13-v1-copy {
    padding: 3rem 1.5rem;
  }

  .b13-v1-portrait-zone {
    min-height: 480px;
  }

  .b13-portrait {
    max-width: 390px;
    max-height: 480px;
  }

  .b13-v1-panel {
    width: auto;

    margin: 1.5rem;
  }

  .b13-v1-panel .b13-status-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* ---------------------------------------------------------
   PHONE
   --------------------------------------------------------- */

@media screen and (max-width: 520px) {

  .b13-v1-name {
    font-size: 3.2rem;
  }

  .b13-v1-role {
    font-size: 0.72rem;
  }

  .b13-v1-portrait-zone {
    min-height: 410px;
  }

  .b13-portrait {
    max-height: 410px;
  }

  .b13-portrait-telemetry {
    display: none;
  }

}
/* =========================================================
   VISUAL TARGET V1 // HOMEPAGE WIDTH FIX
   ========================================================= */

/*
   MkDocs normally constrains documentation content.
   The portfolio homepage needs a wider canvas.
*/

body:has(.b13-home) .md-main__inner {
  max-width: none;
  margin: 0;
}

body:has(.b13-home) .md-content {
  max-width: none;
}

body:has(.b13-home) .md-content__inner {
  max-width: none;
  margin: 0;
  padding: 0 2rem;
}

body:has(.b13-home) .md-content__inner::before {
  display: none;
}

body:has(.b13-home) .b13-home {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
/* =========================================================
   HERO PROPORTION FIX
   ========================================================= */

.b13-v1-grid {
  grid-template-columns:
    minmax(430px, 1.12fr)
    minmax(360px, 0.88fr)
    minmax(320px, 0.68fr);

  width: 100%;
}

.b13-v1-copy {
  padding:
    4.5rem
    2.5rem
    4rem
    3.5rem;
}

.b13-v1-panel {
  min-width: 0;
  width: auto;

  margin:
    2rem
    2rem
    2rem
    0;
}
/* =========================================================
   TELEMETRY TEXT FIX
   ========================================================= */

.b13-status-grid span,
.b13-status-grid strong {
  word-break: normal;
  overflow-wrap: normal;
}

.b13-status-grid strong {
  white-space: nowrap;
}

.b13-panel-title {
  white-space: nowrap;
}

.b13-online {
  white-space: nowrap;
}
/* =========================================================
   PORTRAIT BALANCE
   ========================================================= */

.b13-v1-portrait-zone {
  min-width: 0;
  min-height: 650px;
}

.b13-portrait {
  width: auto;
  height: 100%;

  max-width: 100%;
  max-height: 620px;

  object-fit: contain;
  object-position: center bottom;
}
.b13-v1-panel .b13-status-grid {
  grid-template-columns:
    repeat(2, minmax(120px, 1fr));

  gap: 0.85rem;
}

.b13-v1-panel .b13-status-grid div {
  min-width: 0;
}
.b13-mini-insignia {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.08rem;
}

.b13-mini-insignia span {
  display: inline;
  font-size: 1.45rem;
}
.b13-portrait {
  border-radius: 18px 18px 0 0;

  -webkit-mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 82%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      to bottom,
      black 0%,
      black 82%,
      transparent 100%
    );
}
.b13-portrait-telemetry {
  left: 1.25rem;
  bottom: 1.5rem;

  border: 1px solid rgba(167, 139, 250, 0.12);
  border-left: 2px solid var(--b13-purple);
  border-radius: 8px;
}
/* =========================================================
   CHECKPOINT 00.5E // OPERATING MODEL
   ========================================================= */

.b13-ops-section {
  position: relative;
  overflow: hidden;

  padding: 2.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(18, 15, 29, 0.88),
      rgba(8, 8, 13, 0.94)
    );

  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.22);
}

.b13-ops-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(139, 92, 246, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(139, 92, 246, 0.025) 1px,
      transparent 1px
    );

  background-size: 36px 36px;

  pointer-events: none;
}

.b13-ops-heading {
  position: relative;
  z-index: 2;

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

  gap: 2rem;
}

.b13-ops-state {
  flex: 0 0 auto;

  padding: 0.8rem 1rem;

  border: 1px solid rgba(134, 239, 172, 0.15);
  border-radius: 9px;

  background: rgba(134, 239, 172, 0.025);
}

.b13-ops-state span {
  display: block;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.b13-ops-state strong {
  display: block;

  margin-top: 0.3rem;

  color: #86efac;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.7rem;
  letter-spacing: 0.1em;
}


/* FLOW */

.b13-validation-flow {
  position: relative;
  z-index: 2;

  display: grid;

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

  align-items: stretch;

  gap: 0.55rem;

  margin-top: 2.4rem;
}

.b13-flow-step {
  position: relative;

  min-width: 0;

  padding: 1.2rem 0.9rem;

  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.065),
      rgba(255, 255, 255, 0.012)
    );

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.b13-flow-step:hover {
  transform: translateY(-4px);

  border-color: rgba(167, 139, 250, 0.48);

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22);
}

.b13-flow-step.gold {
  border-color: rgba(199, 168, 107, 0.23);

  background:
    linear-gradient(
      145deg,
      rgba(199, 168, 107, 0.07),
      rgba(255, 255, 255, 0.012)
    );
}

.b13-flow-step.retest {
  border-color: rgba(74, 222, 128, 0.25);

  background:
    linear-gradient(
      145deg,
      rgba(74, 222, 128, 0.055),
      rgba(255, 255, 255, 0.012)
    );
}

.b13-flow-number {
  position: absolute;

  top: 0.6rem;
  right: 0.7rem;

  color: rgba(255, 255, 255, 0.25);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;
}

.b13-flow-icon {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  margin-bottom: 1.1rem;

  border: 1px solid rgba(167, 139, 250, 0.30);

  clip-path:
    polygon(
      30% 0,
      70% 0,
      100% 30%,
      100% 70%,
      70% 100%,
      30% 100%,
      0 70%,
      0 30%
    );

  color: var(--b13-purple-bright);

  background: rgba(139, 92, 246, 0.08);

  font-size: 1.15rem;
}

.b13-flow-step.gold .b13-flow-icon {
  border-color: rgba(199, 168, 107, 0.40);

  color: var(--b13-gold);

  background: rgba(199, 168, 107, 0.06);
}

.b13-flow-step.retest .b13-flow-icon {
  border-color: rgba(74, 222, 128, 0.36);

  color: #4ade80;

  background: rgba(74, 222, 128, 0.05);
}

.b13-flow-step > strong {
  display: block;

  color: #ffffff;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.b13-flow-step > span {
  display: block;

  margin-top: 0.65rem;

  color: var(--b13-muted);

  font-size: 0.62rem;
  line-height: 1.55;
}

.b13-flow-connector {
  display: flex;
  align-items: center;

  color: var(--b13-purple-bright);

  font-size: 1.2rem;
}

.b13-flow-connector.gold {
  color: var(--b13-gold);
}


/* FOOTER */

.b13-loop-footer {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;

  gap: 0.7rem;

  margin-top: 1.5rem;
  padding-top: 1.2rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.62rem;
}

.b13-loop-footer strong {
  color: var(--b13-gold);

  letter-spacing: 0.1em;
}

.b13-loop-footer > span:last-child {
  color: var(--b13-muted);
}

.b13-loop-pulse {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #86efac;

  box-shadow:
    0 0 14px rgba(134, 239, 172, 0.65);
}
/* =========================================================
   CHECKPOINT 00.5E // DISCIPLINE CARDS
   ========================================================= */

.b13-disciplines-section {
  margin-top: 3rem;
}

.b13-disciplines-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 2rem;
}

.b13-discipline-count {
  flex: 0 0 auto;

  padding: 0.7rem 1rem;

  border-left: 1px solid var(--b13-gold);
}

.b13-discipline-count span {
  display: block;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.b13-discipline-count strong {
  display: block;

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 1.15rem;
}

.b13-discipline-grid {
  display: grid;

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

  gap: 1rem;

  margin-top: 2rem;
}

.b13-discipline-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 310px;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 17px;

  color: inherit !important;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.82),
      rgba(9, 9, 14, 0.94)
    );

  text-decoration: none !important;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

  border-color:
    rgba(167, 139, 250, 0.45);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    0 0 25px rgba(139, 92, 246, 0.055);
}

.b13-discipline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.b13-discipline-icon {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;

  border: 1px solid rgba(167, 139, 250, 0.36);

  clip-path:
    polygon(
      30% 0,
      70% 0,
      100% 30%,
      100% 70%,
      70% 100%,
      30% 100%,
      0 70%,
      0 30%
    );

  color: var(--b13-purple-bright);

  background:
    rgba(139, 92, 246, 0.08);

  font-size: 1.35rem;
  font-weight: 800;
}

.b13-azure-icon {
  color: #60a5fa;
}

.b13-discipline-code {
  color: rgba(199, 168, 107, 0.7);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
  letter-spacing: 0.1em;
}

.b13-discipline-card h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.7rem;

  color: #ffffff;

  font-size: 1rem;
}

.b13-discipline-card p {
  margin: 0;

  color: var(--b13-muted);

  font-size: 0.7rem;
  line-height: 1.65;
}

.b13-tech-list {
  display: flex;
  flex-wrap: wrap;

  gap: 0.35rem;

  margin-top: 1.2rem;
}

.b13-tech-list span {
  padding: 0.25rem 0.45rem;

  border: 1px solid rgba(167, 139, 250, 0.14);
  border-radius: 5px;

  color: #c4b5fd;

  background:
    rgba(139, 92, 246, 0.035);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
}

.b13-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: auto;
  padding-top: 1.2rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.55rem;
  font-weight: 700;

  letter-spacing: 0.07em;
}

.b13-card-link strong {
  color: var(--b13-gold);

  font-size: 1rem;
}
/* =========================================================
   CHECKPOINT 00.5F // CAMPAIGN 00
   ========================================================= */

.b13-campaign-v1 {
  position: relative;
  overflow: hidden;

  padding: 0;

  border: 1px solid var(--b13-border);
  border-radius: 22px;

  background:
    linear-gradient(
      120deg,
      rgba(139, 92, 246, 0.10),
      rgba(11, 10, 17, 0.96) 45%,
      rgba(199, 168, 107, 0.035)
    );
}


.b13-campaign-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    310px;
}


.b13-campaign-main {
  padding: 3rem;
}


.b13-campaign-side {
  padding: 2rem;

  border-left:
    1px solid rgba(167, 139, 250, 0.13);

  background:
    rgba(7, 7, 11, 0.38);
}


/* TITLE */

.b13-campaign-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 2rem;
}


.b13-campaign-badge {
  flex: 0 0 auto;

  padding: 0.65rem 0.9rem;

  border: 1px solid rgba(134, 239, 172, 0.2);
  border-radius: 8px;

  background:
    rgba(134, 239, 172, 0.03);
}


.b13-campaign-badge span {
  display: block;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-campaign-badge strong {
  display: block;

  margin-top: 0.25rem;

  color: #86efac;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.65rem;

  letter-spacing: 0.08em;
}


/* OBJECTIVE */

.b13-campaign-objective {
  margin-top: 2rem;
  padding: 1.3rem;

  border-left:
    2px solid var(--b13-gold);

  background:
    rgba(199, 168, 107, 0.025);
}


.b13-campaign-objective > span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.55rem;

  letter-spacing: 0.14em;
}


.b13-campaign-objective p {
  max-width: 760px;

  margin: 0.7rem 0 0;

  color: var(--b13-muted);

  font-size: 0.72rem;
  line-height: 1.7;
}


/* STACK */

.b13-campaign-stack {
  display: flex;
  flex-wrap: wrap;

  gap: 0.45rem;

  margin-top: 1.6rem;
}


.b13-campaign-stack span {
  padding: 0.3rem 0.55rem;

  border:
    1px solid rgba(167, 139, 250, 0.15);

  border-radius: 5px;

  color: #c4b5fd;

  background:
    rgba(139, 92, 246, 0.04);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;
}


/* ACTION */

.b13-campaign-action {
  display: inline-flex;
  align-items: center;

  gap: 1rem;

  margin-top: 2rem;

  color:
    var(--b13-purple-bright) !important;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  letter-spacing: 0.08em;

  text-decoration: none !important;
}


.b13-campaign-action strong {
  color: var(--b13-gold);

  font-size: 1rem;
}


/* SIDE TELEMETRY */

.b13-campaign-side-heading {
  margin-bottom: 1.3rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.58rem;
  font-weight: 700;

  letter-spacing: 0.13em;
}


.b13-campaign-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0.9rem 0;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.05);
}


.b13-campaign-metric span {
  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
}


.b13-campaign-metric strong {
  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.6rem;
}


.b13-green {
  color: #86efac !important;
}


.b13-campaign-command {
  display: grid;

  grid-template-columns:
    auto 1fr;

  gap: 0.4rem 0.7rem;

  margin-top: 1.7rem;
  padding: 1rem;

  border-left:
    2px solid var(--b13-purple);

  background:
    rgba(0, 0, 0, 0.25);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;
}


.b13-campaign-command > span {
  color: var(--b13-gold);
}


.b13-campaign-command strong {
  color: #ddd6fe;

  font-size: 0.58rem;
}


.b13-campaign-command small {
  grid-column: 2;

  color: var(--b13-muted);

  font-size: 0.5rem;
}
/* =========================================================
   CHECKPOINT 00.5F // HOMEPAGE CLOSING
   ========================================================= */

.b13-closing-section {
  margin-bottom: 2rem;
}


.b13-closing-grid {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.75fr)
    minmax(0, 1.25fr);

  gap: 3rem;

  align-items: start;
}


.b13-closing-copy h2 {
  max-width: 600px;

  margin-top: 0.5rem;

  color: white;

  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}


.b13-closing-copy p {
  max-width: 600px;

  color: var(--b13-muted);

  line-height: 1.8;
}


.b13-closing-actions {
  display: grid;

  gap: 0.75rem;
}


.b13-closing-card {
  display: grid;

  grid-template-columns:
    1fr auto;

  padding: 1.3rem 1.4rem;

  border:
    1px solid rgba(167, 139, 250, 0.14);

  border-radius: 13px;

  color: inherit !important;

  background:
    linear-gradient(
      100deg,
      rgba(139, 92, 246, 0.055),
      rgba(255, 255, 255, 0.01)
    );

  text-decoration: none !important;

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}


.b13-closing-card:hover {
  transform: translateX(4px);

  border-color:
    rgba(167, 139, 250, 0.42);
}


.b13-closing-card span {
  grid-column: 1;

  margin-bottom: 0.45rem;

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.12em;
}


.b13-closing-card strong {
  grid-column: 1;

  color: white;

  font-size: 0.78rem;
}


.b13-closing-card small {
  grid-column: 1;

  margin-top: 0.3rem;

  color: var(--b13-muted);

  font-size: 0.6rem;
}


.b13-closing-card > div {
  grid-column: 2;
  grid-row: 1 / span 3;

  align-self: center;

  color: var(--b13-purple-bright);

  font-size: 1.2rem;
}


/* SIGNOFF */

.b13-signoff {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 2rem;

  margin-top: 3rem;
  padding-top: 1.3rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.06);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.55rem;
}


.b13-signoff > div {
  display: flex;
  align-items: center;

  gap: 0.55rem;

  color: var(--b13-purple-bright);

  font-weight: 800;

  letter-spacing: 0.1em;
}


.b13-signoff strong {
  color: var(--b13-muted);

  font-weight: 500;
}


.b13-signoff-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #86efac;

  box-shadow:
    0 0 12px rgba(134, 239, 172, 0.6);
}
/* =========================================================
   00.5F // RESPONSIVE
   ========================================================= */

@media screen and (max-width: 950px) {

  .b13-campaign-layout {
    grid-template-columns: 1fr;
  }

  .b13-campaign-side {
    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.13);
  }

  .b13-closing-grid {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 600px) {

  .b13-campaign-main,
  .b13-campaign-side {
    padding: 1.5rem;
  }

  .b13-campaign-title-row {
    flex-direction: column;
  }

  .b13-signoff {
    flex-direction: column;
    align-items: flex-start;
  }

}
/* =========================================================
   CHECKPOINT 00.6 // INTERNAL PAGE SYSTEM
   ========================================================= */

.b13-page {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}


/* PAGE HERO */

.b13-page-hero {
  position: relative;
  overflow: hidden;

  margin: 1.5rem 0 3rem;
  padding: 3.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(139, 92, 246, 0.15),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      rgba(20, 17, 31, 0.94),
      rgba(8, 8, 13, 0.97)
    );
}

.b13-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(139, 92, 246, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(139, 92, 246, 0.025) 1px,
      transparent 1px
    );

  background-size: 38px 38px;

  pointer-events: none;
}

.b13-page-hero-content {
  position: relative;
  z-index: 2;

  max-width: 820px;
}

.b13-page-code {
  margin-bottom: 1rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  letter-spacing: 0.17em;
}

.b13-page-title {
  margin: 0;

  color: white;

  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 850;

  line-height: 0.98;
  letter-spacing: -0.04em;
}

.b13-page-title strong {
  color: var(--b13-gold);
}

.b13-page-lead {
  max-width: 760px;

  margin-top: 1.5rem;

  color: var(--b13-muted);

  font-size: 0.95rem;
  line-height: 1.8;
}


/* PAGE STATUS */

.b13-page-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 0.6rem;

  margin-top: 1.8rem;
}

.b13-page-meta span {
  padding: 0.4rem 0.65rem;

  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 7px;

  color: #c4b5fd;

  background: rgba(139, 92, 246, 0.045);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.54rem;

  letter-spacing: 0.06em;
}


/* SECTION HEADER */

.b13-page-section {
  margin: 4rem 0;
}

.b13-page-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 2rem;

  margin-bottom: 1.7rem;
}

.b13-page-section-header h2 {
  margin: 0.4rem 0 0;

  color: white;
}

.b13-page-section-header p {
  max-width: 600px;

  margin: 0;

  color: var(--b13-muted);

  font-size: 0.72rem;
}


/* INTERNAL PAGE MOBILE */

@media screen and (max-width: 700px) {

  .b13-page-hero {
    padding: 2rem 1.5rem;
  }

  .b13-page-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

}
/* =========================================================
   CHECKPOINT 00.6B // PROJECTS
   ========================================================= */


/* FEATURED CAMPAIGN */

.b13-project-featured {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    220px;

  overflow: hidden;

  border: 1px solid rgba(167, 139, 250, 0.20);
  border-radius: 18px;

  background:
    linear-gradient(
      120deg,
      rgba(139, 92, 246, 0.095),
      rgba(10, 9, 16, 0.96)
    );
}

.b13-project-featured-main {
  padding: 2.2rem;
}

.b13-project-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  letter-spacing: 0.15em;
}

.b13-project-featured h2 {
  margin: 0.8rem 0;

  color: white;
}

.b13-project-featured p {
  max-width: 720px;

  color: var(--b13-muted);

  font-size: 0.72rem;
  line-height: 1.7;
}

.b13-project-cycle {
  margin-top: 1.5rem;

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.55rem;

  letter-spacing: 0.08em;
}

.b13-project-featured-status {
  display: grid;
  align-content: center;

  gap: 0.35rem;

  padding: 1.8rem;

  border-left:
    1px solid rgba(167, 139, 250, 0.12);

  background:
    rgba(0, 0, 0, 0.18);
}

.b13-project-featured-status span {
  margin-top: 0.8rem;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}

.b13-project-featured-status strong {
  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.67rem;
}


/* PROJECT GRID */

.b13-project-grid {
  display: grid;

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

  gap: 1rem;
}

.b13-project-card {
  min-height: 260px;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.b13-project-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(167, 139, 250, 0.42);
}

.b13-project-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.b13-project-card-head span {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.7rem;
  font-weight: 800;
}

.b13-project-card-head strong {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.b13-project-card h3 {
  margin-top: 1.4rem;

  color: white;
}

.b13-project-card p {
  color: var(--b13-muted);

  font-size: 0.7rem;
  line-height: 1.7;
}


/* TAGS */

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

  gap: 0.35rem;

  margin-top: 1.2rem;
}

.b13-project-tags span {
  padding: 0.28rem 0.45rem;

  border:
    1px solid rgba(167, 139, 250, 0.14);

  border-radius: 5px;

  color: #c4b5fd;

  background:
    rgba(139, 92, 246, 0.035);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}


/* INTERNAL SIGNOFF */

.b13-page-signoff {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 2rem;

  margin: 4rem 0 2rem;
  padding-top: 1.3rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.055);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;
}

.b13-page-signoff span {
  color: var(--b13-purple-bright);

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

  letter-spacing: 0.1em;
}

.b13-page-signoff strong {
  color: var(--b13-muted);

  font-size: 0.55rem;
  font-weight: 500;
}


/* RESPONSIVE */

@media screen and (max-width: 850px) {

  .b13-project-featured {
    grid-template-columns: 1fr;
  }

  .b13-project-featured-status {
    grid-template-columns:
      repeat(3, 1fr);

    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.12);
  }

}

@media screen and (max-width: 700px) {

  .b13-project-grid {
    grid-template-columns: 1fr;
  }

  .b13-page-signoff {
    flex-direction: column;
    align-items: flex-start;
  }

}
/* =========================================================
   CHECKPOINT 00.6C // PURPLE TEAM LAB
   ========================================================= */


/* MISSION */

.b13-lab-mission-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-lab-mission-card {
  padding: 1.4rem;

  border: 1px solid var(--b13-border);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-lab-mission-card > span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-lab-mission-card > strong {
  display: block;

  margin-top: 0.8rem;

  color: white;

  font-size: 0.75rem;
}


.b13-lab-mission-card p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


/* =========================================================
   ARCHITECTURE
   ========================================================= */

.b13-lab-architecture {
  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 20px;

  background:
    radial-gradient(
      circle at center,
      rgba(139, 92, 246, 0.08),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(15, 13, 23, 0.9),
      rgba(7, 7, 11, 0.97)
    );
}


.b13-lab-node {
  position: relative;

  padding: 1.3rem;

  border: 1px solid rgba(167, 139, 250, 0.17);
  border-radius: 14px;

  background:
    rgba(12, 11, 18, 0.78);
}


.b13-lab-host {
  max-width: 500px;
  margin: 0 auto;

  border-color:
    rgba(199, 168, 107, 0.28);
}


.b13-lab-red {
  border-color:
    rgba(248, 113, 113, 0.20);
}


.b13-lab-endpoint {
  border-color:
    rgba(167, 139, 250, 0.30);
}


.b13-lab-azure {
  border-color:
    rgba(96, 165, 250, 0.28);
}


.b13-lab-node-head {
  display: flex;
  justify-content: space-between;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-lab-node-head span {
  color: var(--b13-purple-bright);
}


.b13-lab-node-head strong {
  color: var(--b13-gold);
}


.b13-lab-node h3 {
  margin: 0.9rem 0 0.5rem;

  color: white;
}


.b13-lab-node p {
  margin: 0;

  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


.b13-lab-flow {
  margin: 1rem 0;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.55rem;
  font-weight: 700;

  text-align: center;

  letter-spacing: 0.1em;
}


.b13-lab-stage-grid {
  display: grid;

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

  gap: 1rem;

  max-width: 850px;
  margin: 0 auto;
}


.b13-lab-telemetry-grid {
  display: grid;

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

  gap: 0.8rem;
}


.b13-lab-cloud {
  max-width: 700px;
  margin: 0 auto;
}


/* STATUS */

.b13-lab-status {
  display: inline-block;

  margin-top: 1rem;
  padding: 0.28rem 0.48rem;

  border-radius: 5px;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  letter-spacing: 0.08em;
}


.b13-lab-status.ready {
  border:
    1px solid rgba(134, 239, 172, 0.2);

  color: #86efac;

  background:
    rgba(134, 239, 172, 0.035);
}


.b13-lab-status.integration {
  border:
    1px solid rgba(167, 139, 250, 0.22);

  color: var(--b13-purple-bright);

  background:
    rgba(139, 92, 246, 0.04);
}


.b13-lab-status.planned {
  border:
    1px solid rgba(199, 168, 107, 0.22);

  color: var(--b13-gold);

  background:
    rgba(199, 168, 107, 0.035);
}


/* =========================================================
   TELEMETRY MATRIX
   ========================================================= */

.b13-telemetry-matrix {
  display: grid;

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

  gap: 1rem;
}


.b13-telemetry-card {
  min-height: 220px;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.68),
      rgba(8, 8, 13, 0.94)
    );
}


.b13-telemetry-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.12em;
}


.b13-telemetry-card h3 {
  margin-top: 1rem;

  color: white;
}


.b13-telemetry-card p {
  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


/* =========================================================
   PRINCIPLES
   ========================================================= */

.b13-lab-principles {
  display: grid;

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

  gap: 1rem;
}


.b13-lab-principles > div {
  padding: 1.3rem;

  border-top:
    1px solid rgba(167, 139, 250, 0.25);
}


.b13-lab-principles span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;
}


.b13-lab-principles h3 {
  color: white;
}


.b13-lab-principles p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


/* =========================================================
   CAMPAIGN INTEGRATION
   ========================================================= */

.b13-lab-integration {
  display: grid;

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

  gap: 3rem;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      110deg,
      rgba(139, 92, 246, 0.07),
      rgba(8, 8, 13, 0.94)
    );
}


.b13-lab-integration h2 {
  color: white;
}


.b13-lab-integration p {
  max-width: 700px;

  color: var(--b13-muted);

  font-size: 0.7rem;
  line-height: 1.7;
}


.b13-lab-integration-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 0.75rem;
}


.b13-lab-integration-actions a {
  display: flex;
  justify-content: space-between;

  min-width: 210px;

  padding: 0.75rem 0.9rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 8px;

  color:
    var(--b13-purple-bright) !important;

  background:
    rgba(139, 92, 246, 0.035);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  text-decoration: none !important;
}


.b13-lab-integration-actions a strong {
  color: var(--b13-gold);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

  .b13-lab-mission-grid,
  .b13-lab-principles {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-lab-telemetry-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media screen and (max-width: 750px) {

  .b13-lab-stage-grid,
  .b13-telemetry-matrix {
    grid-template-columns: 1fr;
  }

  .b13-lab-integration {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 550px) {

  .b13-lab-mission-grid,
  .b13-lab-principles,
  .b13-lab-telemetry-grid {
    grid-template-columns: 1fr;
  }

  .b13-lab-architecture {
    padding: 1rem;
  }

}
/* =========================================================
   CHECKPOINT 00.6D // DETECTION ENGINEERING
   ========================================================= */


/* PHILOSOPHY */

.b13-detection-principles {
  display: grid;

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

  gap: 1rem;
}


.b13-detection-principle {
  padding: 1.4rem;

  border: 1px solid var(--b13-border);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-detection-principle > span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-detection-principle h3 {
  margin-top: 1rem;

  color: white;
}


.b13-detection-principle p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


/* =========================================================
   DETECTION PIPELINE
   ========================================================= */

.b13-detection-pipeline {
  display: grid;

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

  gap: 0.55rem;

  align-items: stretch;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(16, 14, 25, 0.9),
      rgba(7, 7, 11, 0.97)
    );
}


.b13-detection-stage {
  min-width: 0;

  padding: 1rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 12px;

  background:
    rgba(139, 92, 246, 0.035);
}


.b13-detection-stage.gold {
  border-color:
    rgba(199, 168, 107, 0.25);

  background:
    rgba(199, 168, 107, 0.03);
}


.b13-detection-stage.validated {
  border-color:
    rgba(134, 239, 172, 0.24);

  background:
    rgba(134, 239, 172, 0.025);
}


.b13-detection-stage > span {
  color: rgba(255, 255, 255, 0.3);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.46rem;
}


.b13-detection-stage strong {
  display: block;

  margin-top: 0.8rem;

  color: white;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.62rem;

  letter-spacing: 0.06em;
}


.b13-detection-stage small {
  display: block;

  margin-top: 0.5rem;

  color: var(--b13-muted);

  font-size: 0.52rem;
}


.b13-detection-arrow {
  display: flex;
  align-items: center;

  color: var(--b13-purple-bright);

  font-size: 1rem;
}


.b13-detection-arrow.gold {
  color: var(--b13-gold);
}


/* =========================================================
   SCHEMA
   ========================================================= */

.b13-detection-schema {
  display: grid;

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

  gap: 1rem;
}


.b13-detection-schema > div {
  padding: 1.3rem;

  border-top:
    1px solid rgba(167, 139, 250, 0.24);
}


.b13-detection-schema span {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
}


.b13-detection-schema h3 {
  color: white;

  font-size: 0.82rem;
}


.b13-detection-schema p {
  color: var(--b13-muted);

  font-size: 0.62rem;
  line-height: 1.65;
}


/* =========================================================
   DETECTION DOMAINS
   ========================================================= */

.b13-detection-domain-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-detection-domain {
  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}


.b13-detection-domain:hover {
  transform: translateY(-4px);

  border-color:
    rgba(167, 139, 250, 0.42);
}


.b13-detection-domain-head {
  display: flex;
  justify-content: space-between;
}


.b13-detection-domain-head span {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;

  letter-spacing: 0.1em;
}


.b13-detection-domain-head strong {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.08em;
}


.b13-detection-domain h3 {
  margin-top: 1.3rem;

  color: white;
}


.b13-detection-domain p {
  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-detection-domain-footer {
  margin-top: 1.3rem;
  padding-top: 0.8rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}


/* =========================================================
   LIBRARY STATUS
   ========================================================= */

.b13-detection-status {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    220px;

  overflow: hidden;

  border: 1px solid var(--b13-border);
  border-radius: 17px;

  background:
    linear-gradient(
      120deg,
      rgba(139, 92, 246, 0.08),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-detection-status-main {
  padding: 2rem;
}


.b13-detection-status-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;

  letter-spacing: 0.12em;
}


.b13-detection-status-main h3 {
  color: white;
}


.b13-detection-status-main > p {
  max-width: 700px;

  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-detection-progress {
  display: grid;

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

  gap: 0.6rem;

  margin-top: 1.4rem;
}


.b13-detection-progress > div {
  padding: 0.7rem;

  border:
    1px solid rgba(167, 139, 250, 0.12);

  border-radius: 7px;

  background:
    rgba(139, 92, 246, 0.025);
}


.b13-detection-progress span {
  display: block;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.43rem;
}


.b13-detection-progress strong {
  display: block;

  margin-top: 0.3rem;

  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
}


.b13-detection-status-side {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 2rem;

  border-left:
    1px solid rgba(167, 139, 250, 0.12);

  text-align: center;
}


.b13-detection-status-side span {
  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.1em;
}


.b13-detection-status-side strong {
  margin: 0.6rem 0;

  color: var(--b13-gold);

  font-size: 3rem;
}


.b13-detection-status-side small {
  color: var(--b13-muted);

  font-size: 0.5rem;
  line-height: 1.6;
}


/* =========================================================
   DETECTION TEMPLATE
   ========================================================= */

.b13-detection-template {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(320px, 0.7fr);

  gap: 2rem;

  align-items: center;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 17px;

  background:
    linear-gradient(
      110deg,
      rgba(139, 92, 246, 0.06),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-detection-template h2 {
  color: white;
}


.b13-detection-template p {
  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-template-terminal {
  padding: 1rem;

  border-left:
    2px solid var(--b13-purple);

  background:
    rgba(0, 0, 0, 0.28);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;
}


.b13-template-terminal > div {
  display: flex;

  gap: 0.6rem;
}


.b13-template-terminal span {
  color: var(--b13-gold);
}


.b13-template-terminal strong {
  color: #ddd6fe;

  font-size: 0.6rem;
}


.b13-template-terminal small {
  display: block;

  margin-top: 0.6rem;

  color: var(--b13-muted);

  font-size: 0.5rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1050px) {

  .b13-detection-principles,
  .b13-detection-schema {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-detection-pipeline {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .b13-detection-arrow {
    display: none;
  }

}


@media screen and (max-width: 800px) {

  .b13-detection-domain-grid {
    grid-template-columns: 1fr;
  }

  .b13-detection-status {
    grid-template-columns: 1fr;
  }

  .b13-detection-status-side {
    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.12);
  }

  .b13-detection-progress {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-detection-template {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 550px) {

  .b13-detection-principles,
  .b13-detection-schema,
  .b13-detection-pipeline,
  .b13-detection-progress {
    grid-template-columns: 1fr;
  }

}
/* =========================================================
   CHECKPOINT 00.6E // RESEARCH & BLOG
   ========================================================= */


/* EDITORIAL PRINCIPLES */

.b13-research-principles {
  display: grid;

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

  gap: 1rem;
}


.b13-research-principle {
  padding: 1.4rem;

  border: 1px solid var(--b13-border);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-research-principle > span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-research-principle h3 {
  margin-top: 1rem;

  color: white;
}


.b13-research-principle p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


/* =========================================================
   RESEARCH TRACKS
   ========================================================= */

.b13-research-track-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-research-track {
  min-height: 245px;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}


.b13-research-track:hover {
  transform: translateY(-4px);

  border-color:
    rgba(167, 139, 250, 0.42);
}


.b13-research-track-head {
  display: flex;
  justify-content: space-between;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.1em;
}


.b13-research-track-head span {
  color: var(--b13-purple-bright);
}


.b13-research-track-head strong {
  color: var(--b13-gold);
}


.b13-research-track h3 {
  margin-top: 1.3rem;

  color: white;
}


.b13-research-track p {
  color: var(--b13-muted);

  font-size: 0.67rem;
  line-height: 1.7;
}


/* =========================================================
   RESEARCH PIPELINE
   ========================================================= */

.b13-research-pipeline {
  display: grid;

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

  gap: 0.55rem;

  align-items: stretch;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(16, 14, 25, 0.9),
      rgba(7, 7, 11, 0.97)
    );
}


.b13-research-stage {
  min-width: 0;

  padding: 1rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 12px;

  background:
    rgba(139, 92, 246, 0.035);
}


.b13-research-stage.gold {
  border-color:
    rgba(199, 168, 107, 0.25);

  background:
    rgba(199, 168, 107, 0.03);
}


.b13-research-stage.published {
  border-color:
    rgba(134, 239, 172, 0.24);

  background:
    rgba(134, 239, 172, 0.025);
}


.b13-research-stage > span {
  color: rgba(255, 255, 255, 0.3);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.46rem;
}


.b13-research-stage strong {
  display: block;

  margin-top: 0.8rem;

  color: white;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.61rem;

  letter-spacing: 0.06em;
}


.b13-research-stage small {
  display: block;

  margin-top: 0.5rem;

  color: var(--b13-muted);

  font-size: 0.51rem;
}


.b13-research-arrow {
  display: flex;
  align-items: center;

  color: var(--b13-purple-bright);
}


.b13-research-arrow.gold {
  color: var(--b13-gold);
}


/* =========================================================
   EDITORIAL QUEUE
   ========================================================= */

.b13-research-queue {
  display: grid;

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

  gap: 1rem;
}


.b13-research-entry {
  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.70),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-research-entry-meta {
  display: flex;
  justify-content: space-between;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-research-entry-meta span {
  color: var(--b13-purple-bright);
}


.b13-research-entry-meta strong {
  color: var(--b13-gold);
}


.b13-research-entry h3 {
  margin-top: 1.2rem;

  color: white;
}


.b13-research-entry p {
  color: var(--b13-muted);

  font-size: 0.67rem;
  line-height: 1.7;
}


.b13-research-entry-footer {
  margin-top: 1.3rem;
  padding-top: 0.8rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}


/* =========================================================
   RESEARCH STATUS
   ========================================================= */

.b13-research-status {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    220px;

  overflow: hidden;

  border: 1px solid var(--b13-border);
  border-radius: 17px;

  background:
    linear-gradient(
      120deg,
      rgba(139, 92, 246, 0.08),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-research-status-main {
  padding: 2rem;
}


.b13-research-status-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;

  letter-spacing: 0.12em;
}


.b13-research-status-main h3 {
  color: white;
}


.b13-research-status-main > p {
  max-width: 720px;

  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-research-status-grid {
  display: grid;

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

  gap: 0.6rem;

  margin-top: 1.4rem;
}


.b13-research-status-grid > div {
  padding: 0.8rem;

  border:
    1px solid rgba(167, 139, 250, 0.12);

  border-radius: 7px;

  background:
    rgba(139, 92, 246, 0.025);
}


.b13-research-status-grid span {
  display: block;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.43rem;
}


.b13-research-status-grid strong {
  display: block;

  margin-top: 0.3rem;

  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.58rem;
}


.b13-research-status-side {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 2rem;

  border-left:
    1px solid rgba(167, 139, 250, 0.12);

  text-align: center;
}


.b13-research-status-side span {
  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.1em;
}


.b13-research-status-side strong {
  margin: 0.5rem 0;

  color: var(--b13-gold);

  font-size: 2.7rem;
}


.b13-research-status-side small {
  color: var(--b13-muted);

  font-size: 0.5rem;
  line-height: 1.6;
}


/* =========================================================
   RESEARCH LINKS
   ========================================================= */

.b13-research-links {
  display: grid;

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

  gap: 3rem;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      110deg,
      rgba(139, 92, 246, 0.06),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-research-links h2 {
  color: white;
}


.b13-research-links p {
  max-width: 700px;

  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-research-link-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 0.7rem;
}


.b13-research-link-actions a {
  display: flex;
  justify-content: space-between;

  min-width: 210px;

  padding: 0.75rem 0.9rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 8px;

  color:
    var(--b13-purple-bright) !important;

  background:
    rgba(139, 92, 246, 0.035);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  text-decoration: none !important;
}


.b13-research-link-actions strong {
  color: var(--b13-gold);
}


/* =========================================================
   00.6E // RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

  .b13-research-principles {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-research-track-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-research-pipeline {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .b13-research-arrow {
    display: none;
  }

}


@media screen and (max-width: 800px) {

  .b13-research-queue {
    grid-template-columns: 1fr;
  }

  .b13-research-status {
    grid-template-columns: 1fr;
  }

  .b13-research-status-side {
    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.12);
  }

  .b13-research-links {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 600px) {

  .b13-research-principles,
  .b13-research-track-grid,
  .b13-research-pipeline,
  .b13-research-status-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   CHECKPOINT 00.6E // RESEARCH & BLOG
   ========================================================= */


/* EDITORIAL PRINCIPLES */

.b13-research-principles {
  display: grid;

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

  gap: 1rem;
}


.b13-research-principle {
  padding: 1.4rem;

  border: 1px solid var(--b13-border);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-research-principle > span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-research-principle h3 {
  margin-top: 1rem;

  color: white;
}


.b13-research-principle p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


/* =========================================================
   RESEARCH TRACKS
   ========================================================= */

.b13-research-track-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-research-track {
  min-height: 245px;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}


.b13-research-track:hover {
  transform: translateY(-4px);

  border-color:
    rgba(167, 139, 250, 0.42);
}


.b13-research-track-head {
  display: flex;
  justify-content: space-between;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.1em;
}


.b13-research-track-head span {
  color: var(--b13-purple-bright);
}


.b13-research-track-head strong {
  color: var(--b13-gold);
}


.b13-research-track h3 {
  margin-top: 1.3rem;

  color: white;
}


.b13-research-track p {
  color: var(--b13-muted);

  font-size: 0.67rem;
  line-height: 1.7;
}


/* =========================================================
   RESEARCH PIPELINE
   ========================================================= */

.b13-research-pipeline {
  display: grid;

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

  gap: 0.55rem;

  align-items: stretch;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(16, 14, 25, 0.9),
      rgba(7, 7, 11, 0.97)
    );
}


.b13-research-stage {
  min-width: 0;

  padding: 1rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 12px;

  background:
    rgba(139, 92, 246, 0.035);
}


.b13-research-stage.gold {
  border-color:
    rgba(199, 168, 107, 0.25);

  background:
    rgba(199, 168, 107, 0.03);
}


.b13-research-stage.published {
  border-color:
    rgba(134, 239, 172, 0.24);

  background:
    rgba(134, 239, 172, 0.025);
}


.b13-research-stage > span {
  color: rgba(255, 255, 255, 0.3);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.46rem;
}


.b13-research-stage strong {
  display: block;

  margin-top: 0.8rem;

  color: white;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.61rem;

  letter-spacing: 0.06em;
}


.b13-research-stage small {
  display: block;

  margin-top: 0.5rem;

  color: var(--b13-muted);

  font-size: 0.51rem;
}


.b13-research-arrow {
  display: flex;
  align-items: center;

  color: var(--b13-purple-bright);
}


.b13-research-arrow.gold {
  color: var(--b13-gold);
}


/* =========================================================
   EDITORIAL QUEUE
   ========================================================= */

.b13-research-queue {
  display: grid;

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

  gap: 1rem;
}


.b13-research-entry {
  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.70),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-research-entry-meta {
  display: flex;
  justify-content: space-between;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-research-entry-meta span {
  color: var(--b13-purple-bright);
}


.b13-research-entry-meta strong {
  color: var(--b13-gold);
}


.b13-research-entry h3 {
  margin-top: 1.2rem;

  color: white;
}


.b13-research-entry p {
  color: var(--b13-muted);

  font-size: 0.67rem;
  line-height: 1.7;
}


.b13-research-entry-footer {
  margin-top: 1.3rem;
  padding-top: 0.8rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}


/* =========================================================
   RESEARCH STATUS
   ========================================================= */

.b13-research-status {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    220px;

  overflow: hidden;

  border: 1px solid var(--b13-border);
  border-radius: 17px;

  background:
    linear-gradient(
      120deg,
      rgba(139, 92, 246, 0.08),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-research-status-main {
  padding: 2rem;
}


.b13-research-status-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.52rem;

  letter-spacing: 0.12em;
}


.b13-research-status-main h3 {
  color: white;
}


.b13-research-status-main > p {
  max-width: 720px;

  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-research-status-grid {
  display: grid;

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

  gap: 0.6rem;

  margin-top: 1.4rem;
}


.b13-research-status-grid > div {
  padding: 0.8rem;

  border:
    1px solid rgba(167, 139, 250, 0.12);

  border-radius: 7px;

  background:
    rgba(139, 92, 246, 0.025);
}


.b13-research-status-grid span {
  display: block;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.43rem;
}


.b13-research-status-grid strong {
  display: block;

  margin-top: 0.3rem;

  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.58rem;
}


.b13-research-status-side {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 2rem;

  border-left:
    1px solid rgba(167, 139, 250, 0.12);

  text-align: center;
}


.b13-research-status-side span {
  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.1em;
}


.b13-research-status-side strong {
  margin: 0.5rem 0;

  color: var(--b13-gold);

  font-size: 2.7rem;
}


.b13-research-status-side small {
  color: var(--b13-muted);

  font-size: 0.5rem;
  line-height: 1.6;
}


/* =========================================================
   RESEARCH LINKS
   ========================================================= */

.b13-research-links {
  display: grid;

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

  gap: 3rem;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      110deg,
      rgba(139, 92, 246, 0.06),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-research-links h2 {
  color: white;
}


.b13-research-links p {
  max-width: 700px;

  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-research-link-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 0.7rem;
}


.b13-research-link-actions a {
  display: flex;
  justify-content: space-between;

  min-width: 210px;

  padding: 0.75rem 0.9rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 8px;

  color:
    var(--b13-purple-bright) !important;

  background:
    rgba(139, 92, 246, 0.035);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  text-decoration: none !important;
}


.b13-research-link-actions strong {
  color: var(--b13-gold);
}


/* =========================================================
   00.6E // RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

  .b13-research-principles {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-research-track-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-research-pipeline {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .b13-research-arrow {
    display: none;
  }

}


@media screen and (max-width: 800px) {

  .b13-research-queue {
    grid-template-columns: 1fr;
  }

  .b13-research-status {
    grid-template-columns: 1fr;
  }

  .b13-research-status-side {
    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.12);
  }

  .b13-research-links {
    grid-template-columns: 1fr;
  }

}


@media screen and (max-width: 600px) {

  .b13-research-principles,
  .b13-research-track-grid,
  .b13-research-pipeline,
  .b13-research-status-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   CHECKPOINT 00.6F // ABOUT + CONTACT
   ========================================================= */


/* =========================================================
   ABOUT // IDENTITY
   ========================================================= */

.b13-about-identity {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.72fr)
    minmax(0, 1.28fr);

  gap: 3rem;

  align-items: center;
}


.b13-about-portrait {
  position: relative;

  overflow: hidden;

  min-height: 520px;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.8),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-about-portrait img {
  display: block;

  width: 100%;
  height: 520px;

  object-fit: cover;
  object-position: center top;
}


.b13-about-portrait::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(7, 7, 11, 0.92),
      transparent 45%
    );

  pointer-events: none;
}


.b13-about-portrait-status {
  position: absolute;
  z-index: 2;

  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;

  display: grid;

  gap: 0.2rem;

  padding: 1rem;

  border-left:
    2px solid var(--b13-purple);

  background:
    rgba(7, 7, 11, 0.72);

  backdrop-filter: blur(8px);
}


.b13-about-portrait-status span {
  margin-top: 0.4rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.46rem;

  letter-spacing: 0.1em;
}


.b13-about-portrait-status strong {
  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.54rem;
}


.b13-about-intro h2 {
  color: white;

  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}


.b13-about-intro p {
  color: var(--b13-muted);

  line-height: 1.8;
}


.b13-about-cycle {
  margin: 1.5rem 0;
  padding: 1rem;

  border-left:
    2px solid var(--b13-gold);

  color: var(--b13-gold);

  background:
    rgba(199, 168, 107, 0.025);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.58rem;

  letter-spacing: 0.05em;
}


/* =========================================================
   IDENTITY MODEL
   ========================================================= */

.b13-identity-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-identity-card {
  min-height: 260px;

  padding: 1.5rem;

  border: 1px solid var(--b13-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-identity-brand {
  border-color:
    rgba(199, 168, 107, 0.26);
}


.b13-identity-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;

  letter-spacing: 0.1em;
}


.b13-identity-card h3 {
  margin-top: 1.3rem;

  color: white;
}


.b13-identity-brand h3 {
  color: var(--b13-gold);
}


.b13-identity-card p {
  color: var(--b13-muted);

  font-size: 0.67rem;
  line-height: 1.7;
}


.b13-identity-footer {
  margin-top: 1.3rem;
  padding-top: 0.8rem;

  border-top:
    1px solid rgba(255, 255, 255, 0.05);

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}


/* =========================================================
   ABOUT FOCUS
   ========================================================= */

.b13-about-focus-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-about-focus {
  padding: 1.4rem;

  border-top:
    1px solid rgba(167, 139, 250, 0.26);
}


.b13-about-focus > span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
}


.b13-about-focus h3 {
  color: white;
}


.b13-about-focus p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


/* =========================================================
   BELISARIUS BRAND PANEL
   ========================================================= */

.b13-about-bel {
  display: grid;

  grid-template-columns:
    190px
    minmax(0, 1fr);

  gap: 2rem;

  align-items: center;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(139, 92, 246, 0.13),
      transparent 25%
    ),
    linear-gradient(
      110deg,
      rgba(20, 17, 31, 0.85),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-about-bel-mark {
  display: flex;
  align-items: baseline;
  justify-content: center;

  min-height: 150px;

  color: white;

  font-size: 4rem;
  font-weight: 900;
}


.b13-about-bel-mark span {
  color: var(--b13-gold);

  font-size: 1.8rem;
}


.b13-about-bel h3 {
  color: white;
}


.b13-about-bel p {
  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.75;
}


/* =========================================================
   ABOUT LINKS
   ========================================================= */

.b13-about-links {
  display: grid;

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

  gap: 3rem;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 18px;

  background:
    linear-gradient(
      110deg,
      rgba(139, 92, 246, 0.06),
      rgba(8, 8, 13, 0.95)
    );
}


.b13-about-links h2 {
  color: white;
}


.b13-about-links p {
  max-width: 680px;

  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-about-link-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 0.65rem;
}


.b13-about-link-actions a {
  display: flex;
  justify-content: space-between;

  min-width: 220px;

  padding: 0.75rem 0.9rem;

  border:
    1px solid rgba(167, 139, 250, 0.18);

  border-radius: 8px;

  color:
    var(--b13-purple-bright) !important;

  background:
    rgba(139, 92, 246, 0.035);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

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

  text-decoration: none !important;
}


.b13-about-link-actions strong {
  color: var(--b13-gold);
}


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

.b13-contact-layout {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.7fr)
    minmax(0, 1.3fr);

  gap: 3rem;
}


.b13-contact-intro h2 {
  color: white;

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


.b13-contact-intro > p {
  color: var(--b13-muted);

  line-height: 1.75;
}


.b13-contact-note {
  margin-top: 2rem;
  padding: 1rem;

  border-left:
    2px solid var(--b13-gold);

  background:
    rgba(199, 168, 107, 0.025);
}


.b13-contact-note span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-contact-note p {
  color: var(--b13-muted);

  font-size: 0.62rem;
  line-height: 1.65;
}


/* CHANNEL CARDS */

.b13-contact-channel-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-contact-channel {
  min-height: 220px;

  padding: 1.4rem;

  border: 1px solid var(--b13-border);
  border-radius: 15px;

  color: inherit !important;

  background:
    linear-gradient(
      145deg,
      rgba(23, 20, 32, 0.72),
      rgba(8, 8, 13, 0.95)
    );

  text-decoration: none !important;

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}


.b13-contact-channel-live:hover {
  transform: translateY(-4px);

  border-color:
    rgba(167, 139, 250, 0.44);
}


.b13-contact-channel-code {
  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;

  letter-spacing: 0.1em;
}


.b13-contact-channel h3 {
  margin-top: 1.2rem;

  color: white;
}


.b13-contact-channel p {
  color: var(--b13-muted);

  font-size: 0.65rem;
  line-height: 1.65;
}


.b13-contact-pending {
  margin-top: 1.2rem;

  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.48rem;
}


.b13-contact-live {
  display: flex;
  justify-content: space-between;

  margin-top: 1.2rem;

  color: var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
  font-weight: 800;
}


.b13-contact-live strong {
  color: var(--b13-gold);
}


/* CONTACT TOPICS */

.b13-contact-topic-grid {
  display: grid;

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

  gap: 1rem;
}


.b13-contact-topic-grid > div {
  padding: 1.3rem;

  border-top:
    1px solid rgba(167, 139, 250, 0.25);
}


.b13-contact-topic-grid span {
  color: var(--b13-gold);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.5rem;
}


.b13-contact-topic-grid h3 {
  color: white;
}


.b13-contact-topic-grid p {
  color: var(--b13-muted);

  font-size: 0.63rem;
  line-height: 1.65;
}


/* CONTACT SECURITY */

.b13-contact-security {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    220px;

  gap: 2rem;

  padding: 2rem;

  border: 1px solid var(--b13-border);
  border-radius: 17px;

  background:
    linear-gradient(
      110deg,
      rgba(139, 92, 246, 0.055),
      rgba(8, 8, 13, 0.96)
    );
}


.b13-contact-security h2 {
  color: white;
}


.b13-contact-security p {
  color: var(--b13-muted);

  font-size: 0.68rem;
  line-height: 1.7;
}


.b13-contact-security-state {
  display: grid;
  align-content: center;

  gap: 0.25rem;

  padding-left: 1.4rem;

  border-left:
    1px solid rgba(167, 139, 250, 0.15);
}


.b13-contact-security-state span {
  margin-top: 0.7rem;

  color: var(--b13-muted);

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.45rem;
}


.b13-contact-security-state strong {
  color: #ddd6fe;

  font-family:
    "SFMono-Regular",
    Consolas,
    monospace;

  font-size: 0.57rem;
}


.b13-red-text {
  color: #fca5a5 !important;
}


/* =========================================================
   00.6F // RESPONSIVE
   ========================================================= */

@media screen and (max-width: 950px) {

  .b13-about-identity {
    grid-template-columns:
      minmax(260px, 0.65fr)
      minmax(0, 1fr);
  }

  .b13-about-focus-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .b13-contact-topic-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media screen and (max-width: 800px) {

  .b13-about-identity,
  .b13-about-links,
  .b13-contact-layout,
  .b13-contact-security {
    grid-template-columns: 1fr;
  }

  .b13-about-portrait {
    max-width: 500px;
  }

  .b13-identity-grid {
    grid-template-columns: 1fr;
  }

  .b13-about-bel {
    grid-template-columns: 1fr;
  }

  .b13-contact-security-state {
    padding-left: 0;
    padding-top: 1.2rem;

    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.15);
  }

}


@media screen and (max-width: 600px) {

  .b13-about-focus-grid,
  .b13-contact-channel-grid,
  .b13-contact-topic-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   CHECKPOINT 00.7A // HEADER + NAVIGATION POLISH
   ========================================================= */


/* ---------------------------------------------------------
   HEADER SHELL
   --------------------------------------------------------- */

.md-header {
  background:
    rgba(8, 8, 13, 0.96);

  border-bottom:
    1px solid rgba(167, 139, 250, 0.12);

  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.18);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);
}


.md-header__inner {
  min-height: 3.6rem;
}


/* ---------------------------------------------------------
   B13 BRAND LOCKUP
   --------------------------------------------------------- */

.md-header__button.md-logo {
  flex: 0 0 auto;

  width: 2.55rem;
  height: 2.55rem;

  margin-right: 0.75rem;

  border:
    1px solid rgba(167, 139, 250, 0.35);

  border-radius: 9px;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.17),
      rgba(17, 17, 25, 0.94)
    );

  box-shadow:
    inset 0 0 20px rgba(139, 92, 246, 0.07);
}


.md-header__button.md-logo::after {
  content: "B13";

  color:
    var(--b13-purple-bright);

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

  font-size: 0.69rem;
  font-weight: 900;

  letter-spacing: -0.035em;
}


/*
   Disable the older subtitle pseudo-element.
   Keep the header deliberately clean.
*/

.md-header__title::after {
  content: none !important;
}


/* ---------------------------------------------------------
   KEEP BELISARIUS13 VISIBLE WHILE SCROLLING
   --------------------------------------------------------- */

/*
   Material normally swaps the site title for the current page title
   while scrolling. For BELISARIUS13, the technical brand should
   remain persistent.
*/

.md-header__topic:first-child {
  position: static !important;

  opacity: 1 !important;

  transform:
    none !important;
}


.md-header__topic:first-child .md-ellipsis {
  color: #ffffff;

  font-size: 0.92rem;
  font-weight: 850;

  letter-spacing: 0.08em;
}


.md-header__topic + .md-header__topic {
  display: none !important;
}


.md-header__title {
  margin-left: 0;

  color: #ffffff;
}


/* ---------------------------------------------------------
   TOP NAVIGATION BAR
   --------------------------------------------------------- */

.md-tabs {
  background:
    rgba(8, 8, 13, 0.94);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.045);
}


.md-tabs__inner {
  min-height: 2.75rem;
}


.md-tabs__list {
  display: flex;
  align-items: center;

  gap: 0.15rem;
}


.md-tabs__item {
  height: auto;

  padding: 0;
}


.md-tabs__link {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 2.75rem;

  margin: 0;
  padding: 0 0.75rem;

  color:
    rgba(244, 244, 245, 0.68);

  font-size: 0.69rem;
  font-weight: 650;

  opacity: 1;

  transition:
    color 150ms ease,
    background 150ms ease;
}


.md-tabs__link:hover {
  color: #ffffff;

  background:
    rgba(139, 92, 246, 0.045);
}


/* ---------------------------------------------------------
   ACTIVE NAVIGATION TAB
   --------------------------------------------------------- */

.md-tabs__item--active .md-tabs__link {
  color: #ffffff;

  font-weight: 750;
}


.md-tabs__item--active .md-tabs__link::after {
  content: "";

  position: absolute;

  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      var(--b13-purple-bright),
      var(--b13-gold)
    );

  border-radius:
    2px 2px 0 0;
}


/* ---------------------------------------------------------
   SEARCH
   --------------------------------------------------------- */

.md-search {
  margin-left: auto;
}


.md-search__form {
  border:
    1px solid rgba(167, 139, 250, 0.10);

  border-radius: 8px;

  background:
    rgba(0, 0, 0, 0.22);

  transition:
    border-color 150ms ease,
    background 150ms ease;
}


.md-search__form:hover {
  border-color:
    rgba(167, 139, 250, 0.25);

  background:
    rgba(139, 92, 246, 0.035);
}


.md-search__input {
  font-size: 0.72rem;
}


/* ---------------------------------------------------------
   HEADER BUTTONS
   --------------------------------------------------------- */

.md-header__button {
  color:
    rgba(244, 244, 245, 0.8);

  transition:
    color 150ms ease,
    background 150ms ease;
}


.md-header__button:hover {
  color:
    var(--b13-purple-bright);
}


/* ---------------------------------------------------------
   MOBILE NAVIGATION
   --------------------------------------------------------- */

@media screen and (max-width: 959px) {

  .md-header__inner {
    min-height: 3.45rem;
  }


  .md-header__button.md-logo {
    width: 2.35rem;
    height: 2.35rem;

    margin-right: 0.55rem;
  }


  .md-header__topic:first-child .md-ellipsis {
    font-size: 0.78rem;

    letter-spacing: 0.065em;
  }


  .md-search__form {
    border: none;
  }

}


/* ---------------------------------------------------------
   SMALL PHONE
   --------------------------------------------------------- */

@media screen and (max-width: 480px) {

  .md-header__topic:first-child .md-ellipsis {
    font-size: 0.72rem;
  }


  .md-header__button.md-logo {
    width: 2.2rem;
    height: 2.2rem;
  }


  .md-header__button.md-logo::after {
    font-size: 0.62rem;
  }

}


/* =========================================================
   CHECKPOINT 00.7B // MOBILE RESPONSIVE CORRECTIONS
   ========================================================= */

@media screen and (max-width: 700px) {

  /* -----------------------------------------
     HOMEPAGE CANVAS
     ----------------------------------------- */

  body:has(.b13-home) .md-content__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body:has(.b13-home) .b13-home {
    width: 100%;
    max-width: 100%;
  }

  .b13-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }


  /* -----------------------------------------
     HERO
     ----------------------------------------- */

  .b13-v1-grid {
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .b13-v1-copy {
    padding:
      2.25rem
      1.25rem
      2rem;
  }

  .b13-v1-portrait-zone {
    min-width: 0;
    min-height: 360px;
  }

  .b13-portrait {
    width: 100%;
    height: auto;
    max-height: 460px;

    object-fit: contain;
    object-position: center bottom;
  }

  .b13-v1-panel {
    width: auto;
    min-width: 0;

    margin:
      0
      1rem
      1rem;
  }


  /* -----------------------------------------
     OPERATING MODEL
     ----------------------------------------- */

  .b13-ops-section {
    padding: 1.35rem;
    border-radius: 16px;
  }

  .b13-ops-heading {
    flex-direction: column;
    gap: 1rem;
  }

  .b13-ops-state {
    width: 100%;
  }

  .b13-validation-flow {
    grid-template-columns: 1fr;
    gap: 0.75rem;

    margin-top: 1.5rem;
  }

  .b13-flow-connector {
    display: none;
  }

  .b13-flow-step {
    width: 100%;
    min-width: 0;

    padding: 1.1rem;
  }

  .b13-flow-step > strong {
    font-size: 0.7rem;
    word-break: normal;
    overflow-wrap: normal;
  }

  .b13-flow-step > span {
    font-size: 0.64rem;
    word-break: normal;
    overflow-wrap: normal;
  }

  .b13-loop-footer {
    flex-wrap: wrap;
  }


  /* -----------------------------------------
     CORE DISCIPLINES
     ----------------------------------------- */

  .b13-disciplines-header {
    flex-direction: column;
  }

  .b13-discipline-grid {
    grid-template-columns: 1fr;
  }

  .b13-discipline-card {
    min-height: auto;
  }


  /* -----------------------------------------
     CAMPAIGN 00
     ----------------------------------------- */

  .b13-campaign-layout {
    grid-template-columns: 1fr;
  }

  .b13-campaign-main,
  .b13-campaign-side {
    padding: 1.35rem;
  }

  .b13-campaign-side {
    border-left: none;

    border-top:
      1px solid rgba(167, 139, 250, 0.13);
  }

  .b13-campaign-title-row {
    flex-direction: column;
  }


  /* -----------------------------------------
     HOMEPAGE CLOSING
     ----------------------------------------- */

  .b13-closing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .b13-signoff {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* =========================================================
   CHECKPOINT 00.7B // NARROW PHONE EDGE CASE
   ========================================================= */

@media screen and (max-width: 360px) {

  .b13-v1-panel {
    margin:
      0
      0.65rem
      1rem;

    padding: 1.25rem;
  }

  .b13-v1-panel .b13-status-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .b13-v1-panel .b13-status-grid strong {
    white-space: normal;
  }

}

/* =========================================================
   CHECKPOINT 00.7C // ACCESSIBILITY
   ========================================================= */


/* ---------------------------------------------------------
   KEYBOARD FOCUS
   --------------------------------------------------------- */

:where(
  a,
  button,
  input,
  textarea,
  select,
  summary,
  [tabindex]
):focus-visible {
  outline:
    2px solid var(--b13-gold);

  outline-offset: 3px;

  border-radius: 4px;
}


/* B13 interactive cards */

.b13-button:focus-visible,
.b13-closing-card:focus-visible,
.b13-contact-channel-live:focus-visible,
.b13-about-link-actions a:focus-visible,
.b13-research-link-actions a:focus-visible,
.b13-lab-integration-actions a:focus-visible {
  outline:
    2px solid var(--b13-purple-bright);

  outline-offset: 4px;
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;

    scroll-behavior:
      auto !important;
  }

}