:root {
  --background: #050911;
  --background-alt: #070c15;
  --panel: #09101b;
  --panel-hover: #0b1421;

  --border: rgba(137, 160, 190, .16);
  --border-strong: rgba(77, 202, 255, .34);

  --text: #edf4fc;
  --text-soft: #a1afc2;
  --text-dim: #627188;

  --cyan: #45caff;
  --cyan-soft: #83dcff;

  --green: #4ef0a8;
  --green-soft: #8affc6;

  --red: #ff627d;

  --container: 1420px;

  --radius: 12px;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  min-height: 100vh;

  overflow-x: hidden;

  color: var(--text);

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(28, 118, 170, .10),
      transparent 28%
    ),
    var(--background);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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


/* =========================================================
   BACKGROUND
========================================================= */

.grid-background {
  position: fixed;
  inset: 0;

  z-index: -4;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, .016) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .016) 1px,
      transparent 1px
    );

  background-size: 52px 52px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .9),
      rgba(0, 0, 0, .2)
    );
}

.page-noise {
  position: fixed;
  inset: 0;

  z-index: 9999;

  opacity: .015;

  pointer-events: none;

  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,.25) 3px
    );
}


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

.site-header {
  position: sticky;
  top: 0;

  z-index: 100;

  border-bottom: 1px solid rgba(137,160,190,.10);

  background: rgba(5,9,17,.82);

  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;

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

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

  gap: 12px;
}

.identity-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

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

  color: var(--cyan);

  background: rgba(69,202,255,.045);

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 11px;
  font-weight: 700;
}

.identity-text {
  display: flex;
  flex-direction: column;

  line-height: 1.1;
}

.identity-text strong {
  font-size: 12px;

  letter-spacing: .12em;
}

.identity-text small {
  margin-top: 4px;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .12em;
}

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

  gap: 28px;
}

.nav-links a {
  color: var(--text-soft);

  font-size: 12px;

  transition: color .2s ease;
}

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

.nav-links .external {
  color: var(--cyan);
}

.mobile-menu {
  display: none;

  border: 0;

  padding: 5px;

  background: transparent;

  cursor: pointer;
}

.mobile-menu span {
  width: 23px;
  height: 2px;

  display: block;

  margin: 5px;

  background: var(--text);
}


/* =========================================================
   SHARED TERMINAL TEXT
========================================================= */

.shell-line,
.command,
.footer-shell {
  color: #75859b;

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 12px;
}

.shell-line span,
.command span,
.footer-shell span {
  color: var(--green);
}

.command {
  margin-bottom: 20px;
}

.section-index {
  margin: 0;

  color: var(--cyan);

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: .16em;
}


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

.hero {
  padding: 110px 0 0;
}

.hero-layout {
  min-height: 560px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.06fr)
    minmax(440px, .94fr);

  gap: 95px;

  align-items: center;
}

.operator-name {
  margin: 28px 0 6px;

  color: #aab8ca;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: .18em;
}

h1 {
  margin: 0;

  font-size: clamp(60px, 6.4vw, 92px);

  line-height: .94;

  letter-spacing: -.06em;
}

h1 span {
  display: block;

  color: var(--cyan);
}

.hero-intro {
  max-width: 690px;

  margin: 31px 0 25px;

  color: var(--text-soft);

  font-size: 16px;

  line-height: 1.85;
}

.role-list {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 31px;
}

.role-list span {
  padding: 5px 9px;

  border: 1px solid rgba(78,240,168,.18);

  border-radius: 4px;

  color: var(--green);

  background: rgba(78,240,168,.025);

  font-family:
    Consolas,
    monospace;

  font-size: 9px;

  letter-spacing: .08em;
}

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

  gap: 11px;
}

.button {
  min-height: 46px;

  display: inline-flex;

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

  gap: 14px;

  padding: 0 20px;

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

  border-radius: 7px;

  font-size: 12px;
  font-weight: 700;

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

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

.button.primary {
  color: #041017;

  border-color: var(--cyan);

  background: var(--cyan);
}

.button.primary:hover {
  background: var(--cyan-soft);
}

.button.secondary {
  background: rgba(255,255,255,.018);
}

.button.secondary:hover {
  border-color: var(--border-strong);
}


/* =========================================================
   BOOT TERMINAL
========================================================= */

.boot-terminal {
  overflow: hidden;

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

  border-radius: var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(10,17,29,.97),
      rgba(5,10,18,.98)
    );

  box-shadow:
    0 30px 90px rgba(0,0,0,.30),
    0 0 60px rgba(69,202,255,.025);
}

.terminal-bar {
  height: 42px;

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

  padding: 0 15px;

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

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

.terminal-controls {
  display: flex;

  gap: 6px;
}

.terminal-controls span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #344156;
}

.terminal-bar small {
  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 9px;
}

.terminal-content {
  min-height: 385px;

  padding: 28px;

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 12px;
}

.terminal-content > p:first-child {
  margin-top: 0;
}

.prompt {
  color: var(--cyan);

  margin-right: 8px;
}

.boot-output {
  margin: 25px 0 30px;
}

.boot-output p {
  display: flex;

  margin: 10px 0;

  color: #8291a6;
}

.boot-output strong {
  margin-left: auto;

  color: var(--green);

  font-weight: 400;
}

.boot-prefix {
  margin-right: 10px;

  color: var(--green);
}

.dots {
  color: #39465a;

  margin-left: 7px;
}

.terminal-info {
  padding-top: 20px;

  border-top: 1px dashed rgba(137,160,190,.13);
}

.terminal-info div {
  display: flex;

  justify-content: space-between;

  margin: 9px 0;
}

.terminal-info span {
  color: var(--text-dim);
}

.terminal-info strong {
  color: #aab8ca;

  font-weight: 400;
}

.terminal-info .green {
  color: var(--green);
}

.terminal-last {
  margin: 22px 0 0;
}

.terminal-cursor {
  width: 7px;
  height: 14px;

  display: inline-block;

  vertical-align: -2px;

  background: var(--cyan);

  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}


/* =========================================================
   HARDWARE
========================================================= */

.hardware-strip {
  margin-top: 95px;

  display: grid;

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

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

.hardware-strip > div {
  min-height: 100px;

  display: flex;
  flex-direction: column;

  justify-content: center;

  padding: 20px 26px;

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

.hardware-strip > div:first-child {
  padding-left: 0;
}

.hardware-strip > div:last-child {
  border-right: 0;
}

.hardware-strip small {
  margin-bottom: 6px;

  color: var(--cyan);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .12em;
}

.hardware-strip strong {
  font-size: 15px;
}

.hardware-strip span {
  margin-top: 3px;

  color: var(--text-dim);

  font-size: 10px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 125px 0;

  scroll-margin-top: 70px;
}

.alternate {
  border-top: 1px solid rgba(137,160,190,.08);
  border-bottom: 1px solid rgba(137,160,190,.08);

  background: rgba(6,11,20,.64);
}

.section-heading {
  max-width: 760px;

  margin-bottom: 55px;
}

.section-heading h2 {
  margin: 9px 0 15px;

  font-size: clamp(35px, 4vw, 51px);

  line-height: 1.08;

  letter-spacing: -.04em;
}

.section-heading > p:last-child {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.8;
}


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

.infra-grid {
  display: grid;

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

  gap: 13px;
}

.infra-card {
  min-height: 320px;

  padding: 24px;

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

  border-radius: var(--radius);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.021),
      rgba(255,255,255,.006)
    );

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

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

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

  background: rgba(69,202,255,.02);
}

.infra-top {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.system-id {
  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .1em;
}

.configured,
.deployed {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  color: var(--green);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .08em;
}

.configured i,
.deployed i,
.panel-state i {
  width: 6px;
  height: 6px;

  display: inline-block;

  border-radius: 50%;

  background: var(--green);

  box-shadow:
    0 0 9px rgba(78,240,168,.55);
}

.system-icon {
  width: 45px;
  height: 45px;

  display: grid;

  place-items: center;

  margin: 35px 0 25px;

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

  border-radius: 8px;

  color: var(--cyan);

  background: rgba(69,202,255,.035);

  font-family:
    Consolas,
    monospace;

  font-size: 10px;

  font-weight: 700;
}

.infra-card h3 {
  margin: 0 0 10px;

  font-size: 18px;
}

.infra-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 12px;

  line-height: 1.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;

  margin-top: 22px;
}

.tag-row span {
  padding: 4px 8px;

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

  border-radius: 4px;

  color: #718198;

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

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .04em;
}


/* =========================================================
   SHARED PANELS
========================================================= */

.topology,
.access-panel,
.attack-panel,
.docker-window,
.development-panel {
  border: 1px solid var(--border);

  border-radius: var(--radius);

  background: rgba(7,12,21,.70);
}

.topology {
  margin-top: 14px;

  padding: 29px;
}

.access-panel {
  margin-top: 14px;

  padding: 29px;
}

.panel-header {
  display: flex;

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

.panel-label {
  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .13em;
}

.panel-header h3 {
  margin: 4px 0 0;

  font-size: 18px;
}

.panel-state {
  display: flex;

  align-items: center;

  gap: 7px;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .1em;
}

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


/* =========================================================
   PLATFORM TOPOLOGY
========================================================= */

.platform-map {
  margin-top: 45px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.platform-host {
  width: min(420px, 100%);

  padding: 20px;

  text-align: center;

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

  border-radius: 8px;

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

.node-label {
  display: block;

  margin-bottom: 7px;

  color: var(--cyan);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .12em;
}

.platform-host strong {
  display: block;

  font-size: 15px;
}

.platform-host small {
  color: var(--text-dim);

  font-size: 9px;
}

.vertical-path {
  width: 1px;
  height: 34px;

  background: rgba(69,202,255,.34);
}

.vm-row {
  width: 100%;

  display: grid;

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

  gap: 12px;

  position: relative;
}

.vm-row::before {
  content: "";

  position: absolute;

  top: -1px;

  left: 12.5%;
  right: 12.5%;

  height: 1px;

  background: rgba(69,202,255,.25);
}

.vm-node {
  position: relative;

  padding: 21px;

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

  border-radius: 8px;

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

.vm-node::before {
  content: "";

  position: absolute;

  top: -18px;
  left: 50%;

  width: 1px;
  height: 18px;

  background: rgba(69,202,255,.25);
}

.vm-node span {
  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;
}

.vm-node strong {
  display: block;

  margin: 7px 0 3px;

  font-size: 13px;
}

.vm-node small {
  color: var(--text-dim);

  font-size: 9px;
}

.vm-node.ubuntu {
  border-color: rgba(78,240,168,.20);
}

.vm-node.attacker {
  border-color: rgba(255,98,125,.25);
}


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

.access-map {
  margin-top: 40px;

  display: grid;

  grid-template-columns: 180px 1fr;

  gap: 40px;

  align-items: center;
}

.access-origin {
  padding: 18px;

  text-align: center;

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

  border-radius: 8px;
}

.access-origin span,
.branch-title {
  display: block;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .12em;
}

.access-origin strong {
  font-size: 12px;
}

.branch-area {
  display: grid;

  gap: 20px;
}

.branch {
  padding-left: 25px;

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

.branch-flow {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-top: 9px;
}

.network-node {
  min-width: 155px;

  padding: 12px 16px;

  text-align: center;

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

  border-radius: 6px;

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

.network-node.cyan {
  border-color: rgba(69,202,255,.30);
}

.network-node.green-node {
  border-color: rgba(78,240,168,.25);
}

.network-node small {
  display: block;

  margin-bottom: 3px;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .1em;
}

.network-node strong {
  font-size: 10px;
}

.flow-arrow {
  color: var(--cyan);

  font-family:
    Consolas,
    monospace;
}

.green-text {
  color: var(--green);
}


/* =========================================================
   ATTACK RANGE
========================================================= */

.attack-panel {
  overflow: hidden;
}

.attack-panel .panel-header {
  padding: 25px 28px;

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

.attack-path {
  padding: 58px 38px;

  display: grid;

  grid-template-columns:
    1fr
    115px
    1fr
    115px
    1fr;

  align-items: center;
}

.attack-machine {
  min-height: 300px;

  padding: 25px;

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

  border-radius: 9px;

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

.attacker-machine {
  border-color: rgba(255,98,125,.28);
}

.domain-machine {
  border-color: rgba(69,202,255,.27);
}

.machine-head {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.machine-os,
.machine-role {
  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .1em;
}

.machine-role {
  padding: 3px 6px;

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

  border-radius: 3px;
}

.machine-role.red {
  color: var(--red);

  border-color: rgba(255,98,125,.22);
}

.machine-icon {
  width: 43px;
  height: 43px;

  display: grid;

  place-items: center;

  margin: 32px 0 21px;

  border: 1px solid rgba(255,98,125,.35);

  border-radius: 7px;

  color: var(--red);

  background: rgba(255,98,125,.025);

  font-family:
    Consolas,
    monospace;

  font-weight: 700;
}

.machine-icon.windows {
  color: var(--cyan);

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

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

.attack-machine h3 {
  margin: 0 0 9px;

  font-size: 22px;
}

.attack-machine p {
  margin: 0;

  color: var(--text-soft);

  font-size: 11px;

  line-height: 1.7;
}

.attack-link {
  text-align: center;
}

.attack-label {
  display: block;

  margin-bottom: 9px;

  color: var(--red);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .08em;
}

.attack-line {
  height: 1px;

  position: relative;

  background:
    linear-gradient(
      to right,
      rgba(255,98,125,.18),
      rgba(255,98,125,.8)
    );
}

.attack-line::after {
  content: "";

  position: absolute;

  right: -1px;
  top: -3px;

  border-left: 6px solid var(--red);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.attack-line i {
  width: 6px;
  height: 6px;

  position: absolute;

  top: -2.5px;
  left: 0;

  border-radius: 50%;

  background: var(--red);

  box-shadow:
    0 0 9px rgba(255,98,125,.8);

  animation:
    packet 2.4s linear infinite;
}

@keyframes packet {
  from {
    left: 0;
  }

  to {
    left: calc(100% - 6px);
  }
}

.range-tooling {
  padding: 18px 28px;

  display: flex;

  align-items: center;

  gap: 30px;

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

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

.range-tooling > span {
  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .12em;
}

.range-tooling > div {
  display: flex;

  flex-wrap: wrap;

  gap: 15px;
}

.range-tooling strong {
  color: #77869a;

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  font-weight: 400;
}


/* =========================================================
   OPERATIONS
========================================================= */

.operations-grid {
  display: grid;

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

  gap: 13px;
}

.operation-card {
  min-height: 330px;

  display: flex;

  flex-direction: column;

  padding: 28px;

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

  border-radius: var(--radius);

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

  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease;
}

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

  border-color: rgba(78,240,168,.30);

  background: rgba(78,240,168,.012);
}

.operation-head {
  display: flex;

  justify-content: space-between;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .09em;
}

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

.operation-status.blue-status {
  color: var(--cyan);
}

.operation-category {
  margin-top: 43px;

  color: var(--green);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: .12em;
}

.operation-category.blue-category {
  color: var(--cyan);
}

.operation-card h3 {
  margin: 8px 0 10px;

  font-size: 22px;
}

.operation-card > p {
  max-width: 600px;

  margin: 0;

  color: var(--text-soft);

  font-size: 12px;

  line-height: 1.75;
}

.operation-footer {
  margin-top: auto;

  padding-top: 30px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;
}

.operation-footer .tag-row {
  margin: 0;
}

.open-project {
  flex-shrink: 0;

  color: var(--cyan);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .08em;
}


/* =========================================================
   DOCKER SERVICES
========================================================= */

.docker-window {
  overflow: hidden;
}

.docker-header {
  min-height: 48px;

  display: flex;

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

  padding: 0 22px;

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

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .1em;
}

.docker-columns,
.docker-row {
  display: grid;

  grid-template-columns:
    1.15fr
    1.8fr
    1fr
    .8fr;

  align-items: center;

  gap: 20px;

  padding: 0 22px;
}

.docker-columns {
  min-height: 39px;

  color: #4f5e73;

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

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .1em;
}

.docker-row {
  min-height: 66px;

  border-top: 1px solid rgba(137,160,190,.075);

  transition: background .2s ease;
}

.docker-row:hover {
  background: rgba(69,202,255,.015);
}

.docker-row strong {
  font-size: 11px;
}

.docker-row > span {
  color: var(--text-dim);

  font-size: 10px;
}

.docker-row .deployed {
  color: var(--green);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;
}


/* =========================================================
   DEVELOPMENT
========================================================= */

.development-panel {
  padding: 45px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(380px, .88fr);

  gap: 75px;

  align-items: center;

  background:
    radial-gradient(
      circle at 85% 50%,
      rgba(69,202,255,.055),
      transparent 35%
    ),
    rgba(7,12,21,.70);
}

.featured-tag {
  color: var(--cyan);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: .14em;
}

.development-copy h3 {
  margin: 10px 0;

  font-size: 40px;

  letter-spacing: -.04em;
}

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

  color: var(--text-soft);

  font-size: 13px;

  line-height: 1.8;
}

.feature-list {
  margin: 30px 0;
}

.feature-list > div {
  display: grid;

  grid-template-columns: 35px 1fr;

  gap: 12px;

  padding: 12px 0;

  border-bottom: 1px solid rgba(137,160,190,.09);
}

.feature-list > div > span {
  color: var(--cyan);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;
}

.feature-list p {
  margin: 0;

  color: var(--text-dim);

  font-size: 11px;
}

.feature-list strong {
  display: block;

  margin-bottom: 2px;

  color: #b9c5d4;

  font-size: 11px;
}

.development-tags {
  margin-bottom: 28px;
}

.application-architecture {
  padding: 26px;

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

  border-radius: 9px;

  background: #060b13;
}

.architecture-title {
  margin-bottom: 25px;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .12em;
}

.app-stack {
  display: flex;

  flex-direction: column;

  align-items: center;
}

.app-node {
  width: 100%;

  padding: 14px 17px;

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

  border-radius: 6px;

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

.app-node.cyan {
  border-color: rgba(69,202,255,.30);
}

.app-node.green-node {
  border-color: rgba(78,240,168,.25);
}

.app-node span {
  display: block;

  color: var(--text-dim);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .1em;
}

.app-node strong {
  display: block;

  margin: 3px 0;

  font-size: 11px;
}

.app-node small {
  color: var(--text-dim);

  font-size: 8px;
}

.stack-arrow {
  height: 25px;

  display: grid;

  place-items: center;

  color: #3c4b60;

  font-family:
    Consolas,
    monospace;
}

.repo-path {
  margin-top: 25px;

  padding: 11px 13px;

  border: 1px solid rgba(137,160,190,.10);

  border-radius: 5px;

  color: #7b899c;

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

  font-family:
    Consolas,
    monospace;

  font-size: 9px;
}

.repo-path span {
  margin-right: 7px;

  color: var(--green);
}

.repo-path i {
  width: 6px;
  height: 11px;

  display: inline-block;

  margin-left: 4px;

  vertical-align: -1px;

  background: var(--green);

  animation: blink 1s steps(2) infinite;
}


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

footer {
  padding: 65px 0 28px;

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

  background: rgba(4,8,14,.72);
}

.footer-main {
  display: flex;

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

.footer-main h3 {
  margin: 13px 0 2px;

  font-size: 20px;
}

.footer-main p {
  margin: 0;

  color: var(--text-dim);

  font-size: 11px;
}

.footer-links {
  display: flex;

  gap: 25px;
}

.footer-links a {
  color: var(--text-soft);

  font-size: 11px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 50px;

  padding-top: 19px;

  display: flex;

  justify-content: space-between;

  border-top: 1px solid rgba(137,160,190,.075);

  color: #465469;

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .1em;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(17px);

  transition:
    opacity .65s ease,
    transform .65s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


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

@media (max-width: 1150px) {

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

    gap: 55px;
  }

  .boot-terminal {
    max-width: 750px;
  }

  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .attack-path {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .attack-link {
    width: 1px;
    height: 55px;

    margin: auto;
  }

  .attack-label {
    position: absolute;

    transform: translateX(-50%);

    white-space: nowrap;
  }

  .attack-line {
    width: 1px;
    height: 55px;

    background:
      linear-gradient(
        to bottom,
        rgba(255,98,125,.18),
        rgba(255,98,125,.8)
      );
  }

  .attack-line::after {
    right: auto;
    left: -3px;
    top: auto;
    bottom: -1px;

    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid var(--red);
    border-bottom: 0;
  }

  .attack-line i {
    left: -2.5px;

    animation: packetVertical 2.4s linear infinite;
  }

  @keyframes packetVertical {
    from {
      top: 0;
    }

    to {
      top: calc(100% - 6px);
    }
  }

  .development-panel {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .application-architecture {
    max-width: 700px;
  }

}


@media (max-width: 900px) {

  .mobile-menu {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: 72px;
    left: 0;
    right: 0;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 14px 24px 25px;

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

    background: rgba(5,9,17,.98);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .hardware-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .hardware-strip > div {
    border-bottom: 1px solid var(--border);
  }

  .vm-row {
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
  }

  .vm-row::before,
  .vm-node::before {
    display: none;
  }

  .access-map {
    grid-template-columns: 1fr;
  }

  .access-origin {
    max-width: 220px;
  }

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

}


@media (max-width: 680px) {

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .identity-text strong {
    font-size: 10px;
  }

  .hero {
    padding-top: 75px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-intro {
    font-size: 14px;
  }

  .hardware-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .hardware-strip > div:first-child {
    padding-left: 20px;
  }

  .section {
    padding: 90px 0;
  }

  .infra-grid,
  .vm-row {
    grid-template-columns: 1fr;
  }

  .topology,
  .access-panel {
    padding: 20px;
  }

  .panel-header {
    gap: 20px;
  }

  .branch-flow {
    flex-direction: column;

    align-items: stretch;
  }

  .flow-arrow {
    transform: rotate(90deg);

    text-align: center;
  }

  .network-node {
    width: 100%;
  }

  .attack-panel .panel-header {
    padding: 20px;
  }

  .attack-path {
    padding: 30px 18px;
  }

  .range-tooling {
    align-items: flex-start;

    flex-direction: column;
  }

  .operation-footer {
    align-items: flex-start;

    flex-direction: column;
  }

  .docker-columns {
    display: none;
  }

  .docker-row {
    min-height: 110px;

    grid-template-columns: 1fr 1fr;

    gap: 7px 15px;

    padding: 18px;
  }

  .development-panel {
    padding: 25px;
  }

  .development-copy h3 {
    font-size: 34px;
  }

  .footer-main {
    flex-direction: column;

    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 12px;
  }

}

/* ACTIVE NAVIGATION */

.nav-links a.active {
  color: var(--cyan);
}

.nav-links a.active::before {
  content: "> ";

  color: var(--green);

  font-family: Consolas, monospace;
}


/* =========================================================
   V2.1 // OFFENSIVE SECURITY VISUAL IDENTITY
========================================================= */

:root {
  --background: #02050a;
  --background-alt: #04080e;

  --panel: #060b12;
  --panel-hover: #090f17;

  --cyan: #00d9ff;
  --cyan-soft: #65e7ff;

  --green: #39ff9c;
  --green-soft: #82ffc1;

  --red: #ff244d;
  --red-soft: #ff5874;
  --red-dark: #8e102c;

  --hud-border: rgba(255,255,255,.09);
}


/* ---------------------------------------------------------
   GLOBAL ATMOSPHERE
--------------------------------------------------------- */

body {
  background:
    radial-gradient(
      circle at 18% 12%,
      rgba(0,217,255,.065),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 10%,
      rgba(255,36,77,.045),
      transparent 25%
    ),
    #02050a;
}


/* stronger grid */

.grid-background {
  opacity: .72;

  background-image:
    linear-gradient(
      rgba(0,217,255,.021) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0,217,255,.021) 1px,
      transparent 1px
    );

  background-size: 56px 56px;
}


/* subtle scanlines */

body::after {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 9998;

  pointer-events: none;

  opacity: .11;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 3px,
      rgba(0,0,0,.28) 4px
    );
}


/* abstract cyber traces */

body::before {
  content: "";

  position: fixed;

  width: 52vw;
  height: 52vw;

  right: -17vw;
  top: 9vh;

  z-index: -2;

  pointer-events: none;

  opacity: .11;

  transform: rotate(-12deg);

  background:
    linear-gradient(
      90deg,
      transparent 0 12%,
      var(--red) 12% 12.15%,
      transparent 12.15% 28%,
      var(--cyan) 28% 28.1%,
      transparent 28.1% 100%
    ),
    linear-gradient(
      0deg,
      transparent 0 21%,
      var(--red) 21% 21.15%,
      transparent 21.15% 46%,
      var(--cyan) 46% 46.1%,
      transparent 46.1% 100%
    );

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


/* ---------------------------------------------------------
   NAV
--------------------------------------------------------- */

.site-header {
  border-bottom-color: rgba(0,217,255,.11);

  background: rgba(2,5,10,.88);
}

.identity-icon {
  position: relative;

  overflow: hidden;

  border-radius: 2px;

  border-color: rgba(0,217,255,.4);

  box-shadow:
    inset 0 0 20px rgba(0,217,255,.025);
}

.identity-icon::after {
  content: "";

  position: absolute;

  width: 30px;
  height: 1px;

  background: var(--red);

  transform: rotate(-45deg);

  opacity: .55;
}


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

.hero {
  position: relative;

  min-height: calc(100vh - 72px);

  padding-top: 95px;

  overflow: hidden;
}


/* giant background classification */

.hero::before {
  content: "RED // TEAM";

  position: absolute;

  right: -25px;
  top: 90px;

  z-index: -1;

  color: rgba(255,36,77,.025);

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: clamp(80px, 11vw, 180px);

  font-weight: 900;

  letter-spacing: -.08em;

  transform: rotate(90deg);

  transform-origin: right top;

  white-space: nowrap;
}


.operator-name {
  color: var(--cyan);

  font-family:
    Consolas,
    "Courier New",
    monospace;

  font-size: 11px;

  letter-spacing: .15em;
}


.glitch-title {
  position: relative;

  display: inline-block;

  max-width: 800px;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;

  font-size: clamp(68px, 7.5vw, 112px);

  line-height: .84;

  letter-spacing: -.065em;

  text-transform: uppercase;
}


.hero-offensive,
.hero-security {
  display: block;
}


.hero-offensive {
  color: #f5f7fa;
}


.hero-security {
  position: relative;

  color: var(--red);

  text-shadow:
    2px 0 0 rgba(0,217,255,.28),
    -2px 0 0 rgba(255,36,77,.14),
    0 0 30px rgba(255,36,77,.09);
}


.hero-cursor {
  color: var(--cyan);

  animation: blink 1s steps(2) infinite;
}


/* chromatic glitch copies */

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);

  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: 0;

  overflow: hidden;

  white-space: nowrap;
}


.glitch-title::before {
  color: var(--cyan);

  transform: translateX(-3px);
}


.glitch-title::after {
  color: var(--red);

  transform: translateX(3px);
}


body.glitch-active .glitch-title::before {
  opacity: .22;

  clip-path:
    polygon(
      0 17%,
      100% 17%,
      100% 31%,
      0 31%
    );
}


body.glitch-active .glitch-title::after {
  opacity: .25;

  clip-path:
    polygon(
      0 63%,
      100% 63%,
      100% 78%,
      0 78%
    );
}


.hero-intro {
  max-width: 720px;
}


.role-list span {
  border-radius: 2px;
}


.role-list span:nth-child(1),
.role-list span:nth-child(2) {
  color: var(--red-soft);

  border-color: rgba(255,36,77,.27);

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


.offensive-button {
  position: relative;

  overflow: hidden;

  color: white !important;

  border-color: var(--red) !important;

  background:
    linear-gradient(
      110deg,
      #c81236,
      var(--red)
    ) !important;

  box-shadow:
    0 0 30px rgba(255,36,77,.08);
}


.offensive-button::after {
  content: "";

  position: absolute;

  width: 45px;
  height: 150%;

  top: -25%;
  left: -70px;

  transform: skewX(-22deg);

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

  transition: left .45s ease;
}


.offensive-button:hover::after {
  left: calc(100% + 25px);
}


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

.boot-terminal {
  position: relative;

  border-radius: 3px;

  border-color: rgba(0,217,255,.18);

  box-shadow:
    18px 18px 0 rgba(255,36,77,.012),
    -14px -14px 0 rgba(0,217,255,.008),
    0 40px 100px rgba(0,0,0,.42);
}


.boot-terminal::before,
.boot-terminal::after {
  content: "";

  position: absolute;

  z-index: 4;

  pointer-events: none;
}


.boot-terminal::before {
  width: 46px;
  height: 2px;

  top: -1px;
  right: 20px;

  background: var(--red);

  box-shadow:
    -18px 5px 0 rgba(255,36,77,.25);
}


.boot-terminal::after {
  width: 2px;
  height: 40px;

  left: -1px;
  bottom: 20px;

  background: var(--cyan);
}


/* ---------------------------------------------------------
   ANGULAR HUD PANELS
--------------------------------------------------------- */

.infra-card,
.topology,
.access-panel,
.attack-panel,
.operation-card,
.docker-window,
.development-panel,
.application-architecture {
  border-radius: 2px;
}


.infra-card,
.operation-card {
  position: relative;

  overflow: hidden;
}


.infra-card::before,
.operation-card::before {
  content: "";

  position: absolute;

  top: -1px;
  left: -1px;

  width: 27px;
  height: 27px;

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

  pointer-events: none;

  opacity: .45;
}


.infra-card::after,
.operation-card::after {
  content: "";

  position: absolute;

  right: -1px;
  bottom: -1px;

  width: 27px;
  height: 27px;

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

  pointer-events: none;

  opacity: .18;
}


/* ---------------------------------------------------------
   INFRASTRUCTURE
--------------------------------------------------------- */

#infrastructure .section-index,
#infrastructure .command span {
  color: var(--cyan);
}


.system-icon {
  border-radius: 2px;

  transform: rotate(45deg);
}


.system-icon span {
  transform: rotate(-45deg);
}


.infra-card:hover .system-icon {
  box-shadow:
    0 0 25px rgba(0,217,255,.10);
}


/* ---------------------------------------------------------
   OFFENSIVE TRANSITION
--------------------------------------------------------- */

#range {
  position: relative;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(255,36,77,.055),
      transparent 27%
    ),
    radial-gradient(
      circle at 100% 50%,
      rgba(0,217,255,.035),
      transparent 27%
    ),
    rgba(3,6,11,.84);
}


#range::before {
  content: "OFFENSIVE SECURITY // CONTROLLED ENVIRONMENT";

  position: absolute;

  top: 35px;
  right: 0;

  color: rgba(255,36,77,.065);

  font-family:
    Consolas,
    monospace;

  font-size: clamp(18px, 2.5vw, 38px);

  font-weight: 700;

  letter-spacing: .1em;

  white-space: nowrap;

  transform: translateX(8%);
}


#range .section-index {
  color: var(--red);
}


#range .command span {
  color: var(--red);
}


#range .section-heading h2 {
  text-shadow:
    2px 0 rgba(0,217,255,.08),
    -2px 0 rgba(255,36,77,.08);
}


/* ---------------------------------------------------------
   ATTACK GRAPH
--------------------------------------------------------- */

.attack-panel {
  position: relative;

  border-color: rgba(255,36,77,.16);

  box-shadow:
    inset 0 0 80px rgba(255,36,77,.012);
}


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

  position: absolute;

  inset: 0;

  pointer-events: none;

  opacity: .10;

  background-image:
    linear-gradient(
      rgba(255,36,77,.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,36,77,.06) 1px,
      transparent 1px
    );

  background-size: 28px 28px;
}


.attacker-machine {
  position: relative;

  border-color: rgba(255,36,77,.50);

  box-shadow:
    inset 0 0 35px rgba(255,36,77,.025),
    0 0 30px rgba(255,36,77,.025);
}


.attacker-machine::before {
  content: "OFFENSIVE NODE";

  position: absolute;

  top: -9px;
  left: 18px;

  padding: 1px 7px;

  color: var(--red);

  background: #03060b;

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .12em;
}


.attack-line {
  background:
    linear-gradient(
      to right,
      rgba(255,36,77,.15),
      var(--red)
    );
}


.attack-line i {
  background: white;

  box-shadow:
    0 0 5px white,
    0 0 14px var(--red),
    0 0 24px var(--red);
}


/* ---------------------------------------------------------
   OPERATIONS
--------------------------------------------------------- */

#projects {
  position: relative;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(255,36,77,.012),
      transparent
    );
}


.operation-card:hover {
  border-color: rgba(255,36,77,.38);

  background:
    linear-gradient(
      120deg,
      rgba(255,36,77,.025),
      rgba(0,217,255,.008)
    );

  box-shadow:
    0 12px 50px rgba(0,0,0,.18);
}


.operation-card:hover::before {
  border-color: var(--red);

  opacity: 1;
}


.operation-card:hover .operation-category {
  text-shadow:
    0 0 10px rgba(57,255,156,.25);
}


/* targeting marks */

.operation-card .operation-head::before {
  content: "[";
  color: var(--red);

  margin-right: 5px;

  opacity: .55;
}


.operation-card .operation-head::after {
  content: "]";
  color: var(--red);

  margin-left: 5px;

  opacity: .55;
}


/* ---------------------------------------------------------
   SERVICES
--------------------------------------------------------- */

.docker-window {
  border-color: rgba(0,217,255,.14);

  box-shadow:
    inset 0 0 80px rgba(0,217,255,.008);
}


.docker-row:hover {
  background:
    linear-gradient(
      90deg,
      rgba(0,217,255,.035),
      transparent 75%
    );
}


/* ---------------------------------------------------------
   DEVELOPMENT
--------------------------------------------------------- */

#development {
  position: relative;
}


.development-panel {
  border-color: rgba(0,217,255,.16);
}


.application-architecture {
  position: relative;
}


.application-architecture::before {
  content: "BUILD // DEPLOY // ITERATE";

  position: absolute;

  right: 18px;
  top: -8px;

  padding: 0 7px;

  color: rgba(0,217,255,.45);

  background: #050911;

  font-family:
    Consolas,
    monospace;

  font-size: 6px;

  letter-spacing: .13em;
}


/* ---------------------------------------------------------
   SECTION SPACING
--------------------------------------------------------- */

.section {
  padding-top: 105px;
  padding-bottom: 105px;
}


.section-heading {
  margin-bottom: 45px;
}


/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

footer {
  position: relative;

  overflow: hidden;

  padding-top: 50px;
}


footer::after {
  content: "EOF";

  position: absolute;

  right: 3vw;
  bottom: -35px;

  color: rgba(0,217,255,.025);

  font-family:
    Consolas,
    monospace;

  font-size: 120px;

  font-weight: 900;
}


/* ---------------------------------------------------------
   SELECTION / SCROLLBAR
--------------------------------------------------------- */

::selection {
  color: white;

  background: rgba(255,36,77,.72);
}


::-webkit-scrollbar {
  width: 8px;
}


::-webkit-scrollbar-track {
  background: #02050a;
}


::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      var(--red-dark),
      #174b5c
    );

  border-radius: 0;
}


/* ---------------------------------------------------------
   RESPONSIVE V2.1
--------------------------------------------------------- */

@media (max-width: 900px) {

  .hero::before,
  #range::before {
    opacity: .45;
  }

  .glitch-title {
    font-size: clamp(58px, 13vw, 90px);
  }

}


@media (max-width: 680px) {

  .hero {
    min-height: auto;
  }

  .glitch-title {
    font-size: clamp(48px, 15vw, 72px);

    line-height: .88;
  }

  body::before {
    display: none;
  }

}


/* ---------------------------------------------------------
   ACCESSIBILITY
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: .001ms !important;
  }

}


/* =========================================================
   V2.1 // OPERATOR PROFILE
========================================================= */

.operator-profile {
  position: relative;

  padding: 58px 0;

  border-top: 1px solid rgba(255,36,77,.11);
  border-bottom: 1px solid rgba(0,217,255,.11);

  background:
    linear-gradient(
      90deg,
      rgba(255,36,77,.022),
      transparent 38%,
      rgba(0,217,255,.018)
    );
}


.operator-profile::before {
  content: "";

  position: absolute;

  top: -1px;
  left: 8%;

  width: 130px;
  height: 1px;

  background: var(--red);

  box-shadow:
    170px 0 var(--cyan);
}


.operator-profile-grid {
  display: grid;

  grid-template-columns: .8fr 2fr;

  gap: 70px;

  align-items: center;
}


.profile-label {
  color: var(--red);

  font-family:
    Consolas,
    monospace;

  font-size: 8px;

  letter-spacing: .13em;
}


.profile-intro h2 {
  margin: 9px 0 0;

  font-size: 25px;

  line-height: 1.25;

  letter-spacing: -.025em;
}


.profile-intro h2 strong {
  color: var(--red-soft);

  font-weight: inherit;
}


.profile-facts {
  display: grid;

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


.profile-facts > div {
  min-height: 90px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 0 23px;

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


.profile-facts span {
  margin-bottom: 7px;

  color: var(--cyan);

  font-family:
    Consolas,
    monospace;

  font-size: 7px;

  letter-spacing: .12em;
}


.profile-facts strong {
  font-size: 11px;
}


.profile-facts small {
  margin-top: 3px;

  color: var(--text-dim);

  font-size: 8px;
}


@media (max-width: 1000px) {

  .operator-profile-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

}


@media (max-width: 700px) {

  .profile-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-facts > div {
    border-bottom: 1px solid var(--border);
  }

}


/* =========================================================
   V2.1.1 // DESKTOP DENSITY + INFRASTRUCTURE LAYOUT
========================================================= */


/* ---------------------------------------------------------
   HERO
   Remove the unnecessary full-viewport height that creates
   the large empty area before Operator Profile.
--------------------------------------------------------- */

@media (min-width: 1001px) {

  .hero {
    min-height: 0;
    padding-bottom: 72px;
  }

}


/* ---------------------------------------------------------
   OPERATOR PROFILE
--------------------------------------------------------- */

.operator-profile {
  padding-top: 42px;
  padding-bottom: 42px;
}

.profile-facts > div {
  min-height: 76px;
}


/* ---------------------------------------------------------
   INFRASTRUCTURE
   This section should read as one systems overview rather
   than three vertically stacked dashboards.
--------------------------------------------------------- */

@media (min-width: 1100px) {

  #infrastructure.section {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  #infrastructure .section-heading {
    margin-bottom: 32px;
  }


  /* Technology cards */

  #infrastructure .infra-grid {
    gap: 12px;
    margin-bottom: 14px;
  }

  #infrastructure .infra-card {
    min-height: 205px;
    padding: 20px;
  }

  #infrastructure .system-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }

  #infrastructure .infra-card h3 {
    margin-bottom: 8px;
  }

  #infrastructure .infra-card p {
    line-height: 1.55;
  }


  /* Put virtualization and access architecture side-by-side */

  #infrastructure .topology-access-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .85fr);
    gap: 14px;
    align-items: stretch;
  }

  #infrastructure .topology,
  #infrastructure .access-panel {
    margin-top: 0;
    height: 100%;
  }


  /* Virtualization panel */

  #infrastructure .topology {
    padding: 25px 28px 28px;
  }

  #infrastructure .topology-header {
    margin-bottom: 22px;
  }

  #infrastructure .host-node {
    max-width: 350px;
    min-height: 82px;
    margin-bottom: 28px;
  }

  #infrastructure .vm-grid {
    gap: 10px;
  }

  #infrastructure .vm-node {
    min-height: 92px;
    padding: 16px;
  }


  /* Access architecture */

  #infrastructure .access-panel {
    padding: 25px 26px 28px;
  }

  #infrastructure .access-panel-header {
    margin-bottom: 22px;
  }

  #infrastructure .access-map {
    min-height: 0;
  }

}


/* =========================================================
   V2.1.1 // PROFILE DIVIDER CLEANUP
========================================================= */

.operator-profile::before {
  display: none;
}



/* =========================================================
   V2.1.2 // INFRASTRUCTURE INTERACTION + ACCESS MAP
========================================================= */


/* ---------------------------------------------------------
   LOWER INFRASTRUCTURE PANELS
--------------------------------------------------------- */

#infrastructure .topology,
#infrastructure .access-panel {
  position: relative;
  overflow: hidden;

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


#infrastructure .topology:hover,
#infrastructure .access-panel:hover {
  border-color: rgba(0, 210, 255, 0.48);

  box-shadow:
    inset 0 0 36px rgba(0, 210, 255, 0.025),
    0 0 24px rgba(0, 210, 255, 0.025);
}


/* Virtualization nodes */

#infrastructure .platform-host,
#infrastructure .vm-node {
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}


#infrastructure .topology:hover .platform-host {
  border-color: rgba(0, 210, 255, 0.62);

  box-shadow:
    0 0 18px rgba(0, 210, 255, 0.055);
}


#infrastructure .vm-node:hover {
  transform: translateY(-2px);

  border-color: rgba(0, 210, 255, 0.55);

  background:
    rgba(0, 210, 255, 0.025);
}


#infrastructure .vm-node.attacker:hover {
  border-color: rgba(255, 31, 78, 0.65);

  background:
    rgba(255, 31, 78, 0.025);

  box-shadow:
    0 0 18px rgba(255, 31, 78, 0.045);
}


#infrastructure .vm-node.ubuntu:hover {
  border-color: rgba(0, 255, 153, 0.55);

  background:
    rgba(0, 255, 153, 0.02);
}


/* ---------------------------------------------------------
   VERTICAL ACCESS ARCHITECTURE
--------------------------------------------------------- */

#infrastructure .access-map-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  min-width: 0;

  padding-top: 10px;
}


#infrastructure .access-map-vertical .access-origin {
  width: min(190px, 100%);
  min-width: 0;

  position: relative;
  flex: none;
}


#infrastructure .access-trunk {
  width: 1px;
  height: 28px;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 210, 255, 0.5),
      rgba(255, 31, 78, 0.32)
    );

  position: relative;
}


#infrastructure .access-trunk::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: min(230px, 26vw);
  max-width: 230px;
  height: 1px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      to right,
      rgba(0, 210, 255, 0.45),
      rgba(0, 210, 255, 0.16) 45%,
      rgba(0, 255, 153, 0.16) 55%,
      rgba(0, 255, 153, 0.45)
    );
}


#infrastructure .access-split {
  display: grid;

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

  gap: 18px;

  width: 100%;
}


#infrastructure .access-path {
  min-width: 0;

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

  padding-top: 15px;
}


#infrastructure .access-path .branch-title {
  margin-bottom: 12px;

  font-size: 9px;
  letter-spacing: 0.15em;
}


#infrastructure .access-path .network-node {
  width: 100%;
  max-width: 180px;
  min-width: 0;

  padding: 13px 10px;

  text-align: center;

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


#infrastructure .access-path .network-node strong {
  display: block;

  overflow-wrap: anywhere;
}


#infrastructure .vertical-arrow {
  display: block;

  margin: 5px 0;

  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
}


#infrastructure .cyan-text {
  color: var(--cyan);
}


/* Public path interaction */

#infrastructure .public-path:hover .network-node {
  border-color: rgba(0, 210, 255, 0.62);

  background:
    rgba(0, 210, 255, 0.025);

  box-shadow:
    0 0 16px rgba(0, 210, 255, 0.04);
}


#infrastructure .public-path .network-node:hover {
  transform: translateY(-2px);

  border-color: rgba(0, 210, 255, 0.85);
}


/* Private path interaction */

#infrastructure .private-path:hover .network-node {
  border-color: rgba(0, 255, 153, 0.55);

  background:
    rgba(0, 255, 153, 0.02);

  box-shadow:
    0 0 16px rgba(0, 255, 153, 0.035);
}


#infrastructure .private-path .network-node:hover {
  transform: translateY(-2px);

  border-color: rgba(0, 255, 153, 0.82);
}


/* ---------------------------------------------------------
   NARROW DESKTOP / TABLET
--------------------------------------------------------- */

@media (max-width: 1099px) {

  #infrastructure .topology-access-grid {
    display: block;
  }

  #infrastructure .access-panel {
    margin-top: 14px;
  }

}


@media (max-width: 620px) {

  #infrastructure .access-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #infrastructure .access-trunk::after {
    display: none;
  }

}


/* =========================================================
   V2.1.2 // CYBER RANGE SCALE + READABILITY
========================================================= */

@media (min-width: 1001px) {

  /* Give the lab visualization a little more presence */
  #range .range-panel {
    margin-top: 38px;
  }

  #range .range-environment {
    padding-top: 46px;
    padding-bottom: 46px;
  }


  /* Machine cards */
  #range .range-node {
    min-height: 225px;
    padding: 28px 26px;
  }

  #range .range-node h3 {
    font-size: 22px;
  }

  #range .range-node p {
    font-size: 13px;
    line-height: 1.65;
  }

  #range .range-node .system-icon {
    width: 46px;
    height: 46px;
  }


  /* Tags inside Kali / WS01 / DC01 */
  #range .tag,
  #range .node-tag {
    font-size: 9px;
    padding: 5px 8px;
  }


  /* Attack-path labels between machines */
  #range .attack-label,
  #range .path-label {
    font-size: 9px;
    letter-spacing: 0.1em;
  }


  /* Bottom LAB TOOLING bar */
  #range .range-tooling {
    min-height: 54px;
    padding: 15px 24px;
  }

  #range .range-tooling,
  #range .range-tooling span {
    font-size: 10px;
  }

  #range .range-tooling .tooling-label {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

}


/* =========================================================
   V2.1.3 // CYBER RANGE READABILITY - ACTUAL MARKUP
========================================================= */

@media (min-width: 1001px) {

  /* Main cyber range panel */
  #range .attack-panel {
    margin-top: 42px;
  }


  /* Main attack path area */
  #range .attack-path {
    padding-top: 52px;
    padding-bottom: 52px;
    gap: 0;
  }


  /* Kali / WS01 / DC01 */
  #range .attack-machine {
    min-height: 240px;
    padding: 28px 26px;
  }

  #range .attack-machine h3 {
    font-size: 22px;
    margin-top: 18px;
    margin-bottom: 10px;
  }

  #range .attack-machine p {
    font-size: 13px;
    line-height: 1.65;
  }


  /* K / W / AD icons */
  #range .machine-icon {
    width: 46px;
    height: 46px;

    font-size: 15px;
  }


  /* Small OS + role labels */
  #range .machine-os,
  #range .machine-role {
    font-size: 9px;
    letter-spacing: 0.12em;
  }


  /* Tool tags inside each machine */
  #range .tag-row span {
    font-size: 9px;
    padding: 5px 8px;
  }


  /* Attack path between machines */
  #range .attack-link {
    min-width: 112px;
  }

  #range .attack-label {
    font-size: 9px;
    letter-spacing: 0.10em;
  }


  /* Bottom tooling bar */
  #range .range-tooling {
    min-height: 62px;
    padding: 17px 26px;

    display: flex;
    align-items: center;
    gap: 30px;
  }

  #range .range-tooling > span {
    flex: none;

    font-size: 10px;
    letter-spacing: 0.16em;
  }

  #range .range-tooling > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  #range .range-tooling strong {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

}


/* Keep the tooling row comfortable on narrower screens */
@media (max-width: 1000px) {

  #range .range-tooling {
    gap: 16px;
  }

  #range .range-tooling > div {
    flex-wrap: wrap;
  }

}


/* =========================================================
   V2.1.3 // PROJECT TAG READABILITY
========================================================= */

#projects .tag-row span {
  font-size: 10px;
  padding: 5px 9px;
  letter-spacing: 0.05em;
}

