@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #04070b;
  --panel: rgba(10, 16, 24, 0.64);
  --panel-strong: rgba(8, 12, 18, 0.82);
  --line: rgba(255, 255, 255, 0.09);
  --line-hot: rgba(255, 255, 255, 0.16);
  --text: rgba(245, 248, 252, 0.94);
  --muted: rgba(216, 226, 236, 0.68);
  --quiet: rgba(188, 202, 218, 0.48);
  --orange: #f0a23a;
  --amber: #e18a32;
  --blue: #3da6ff;
  --cyan: #22c0f2;
  --green: #8ad93d;
  --purple: #a970f8;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
.brand strong,
.kicker,
.subtitle,
.top-fact,
.nav a,
.system-card p,
.overview h2,
.bottom-grid h2 {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 10, 0.08), transparent 38%, rgba(3, 6, 10, 0.08)),
    url("assets/nexus-technical-background-2k.webp") 54% center / cover fixed no-repeat,
    #03070b;
  overflow-x: hidden;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

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

ul {
  margin: 0;
  padding-left: 1.05rem;
}

li {
  margin: 0.38rem 0;
  color: rgba(244, 248, 252, 0.82);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.glass-panel,
.system-card {
  background:
    linear-gradient(145deg, rgba(18, 25, 36, 0.72), rgba(6, 10, 16, 0.58)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    var(--shadow);
  backdrop-filter: blur(18px) saturate(116%);
  -webkit-backdrop-filter: blur(18px) saturate(116%);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 22px 24px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background:
    linear-gradient(160deg, rgba(3, 7, 11, 0.48), rgba(5, 8, 13, 0.30)),
    rgba(3, 6, 10, 0.22);
  border-right-color: rgba(184, 216, 246, 0.15);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.04),
    18px 0 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(112%);
  -webkit-backdrop-filter: blur(16px) saturate(112%);
}

.overview,
.bottom-grid > .glass-panel,
.profile-detail,
.career-detail {
  background:
    linear-gradient(160deg, rgba(3, 7, 11, 0.48), rgba(5, 8, 13, 0.30)),
    rgba(3, 6, 10, 0.22);
  border-color: rgba(184, 216, 246, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(112%);
  -webkit-backdrop-filter: blur(16px) saturate(112%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand em {
  color: var(--quiet);
  font-style: normal;
  font-weight: 500;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--quiet);
  font-size: 0.58rem;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 18px);
  gap: 3px;
  transform: rotate(30deg);
}

.brand-mark span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(93, 177, 255, 0.9);
  background: linear-gradient(145deg, rgba(65, 163, 255, 0.78), rgba(12, 32, 58, 0.5));
  clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%);
  box-shadow: 0 0 18px rgba(45, 143, 255, 0.22);
}

.brand-mark span:first-child {
  grid-column: 2;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(231, 238, 246, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.nav a::before,
[data-icon]::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  vertical-align: -0.15em;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: var(--line-hot);
  background: rgba(255, 255, 255, 0.045);
}

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

.nav a[data-icon="grid"],
[data-icon="grid"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='14' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3C/svg%3E"); }
.nav a[data-icon="user"],
[data-icon="user"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
[data-icon="clock"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
[data-icon="star"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3 7 7 .5-5.5 4.7 1.7 6.8L12 17.3 5.8 21l1.7-6.8L2 9.5 9 9z'/%3E%3C/svg%3E"); }
[data-icon="briefcase"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='20' height='14' x='2' y='7' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M12 12v.01'/%3E%3C/svg%3E"); }
[data-icon="monitor"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='20' height='14' x='2' y='3' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E"); }
[data-icon="spark"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8zM5 3v4M3 5h4M19 17v4M17 19h4'/%3E%3C/svg%3E"); }
[data-icon="mail"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
[data-icon="settings"],
[data-icon="cog"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.2a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.2a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1A2 2 0 1 1 7.1 4.3l.1.1a1.7 1.7 0 0 0 1.8.3h.1a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.2a1.7 1.7 0 0 0 1 1.5h.1a1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8v.1a1.7 1.7 0 0 0 1.5 1h.2a2 2 0 1 1 0 4h-.2a1.7 1.7 0 0 0-1.5 1Z'/%3E%3C/svg%3E"); }
[data-icon="calendar"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"); }
[data-icon="wifi"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 13a10 10 0 0 1 14 0M8.5 16.5a5 5 0 0 1 7 0M2 9a15 15 0 0 1 20 0M12 20h.01'/%3E%3C/svg%3E"); }
[data-icon="lock"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4M12 16v2'/%3E%3C/svg%3E"); }
[data-icon="award"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 7.5 12 4 8.5 7.5 5 8l.5 3.5L4 15l3.5 1.5L9 20l3-2 3 2 1.5-3.5L20 15l-1.5-3.5L19 8z'/%3E%3C/svg%3E"); }
[data-icon="infinity"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 15c-2.2 0-4-1.3-4-3s1.8-3 4-3c4 0 8 6 12 6 2.2 0 4-1.3 4-3s-1.8-3-4-3c-4 0-8 6-12 6Z'/%3E%3C/svg%3E"); }
[data-icon="arrow"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E"); }
[data-icon="info"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E"); }
[data-icon="camera"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M14.5 4 16 7h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3l1.5-3z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }
[data-icon="droplet"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5S5 10 5 15a7 7 0 0 0 14 0c0-5-7-12.5-7-12.5Z'/%3E%3C/svg%3E"); }
[data-icon="cube"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m21 8-9-5-9 5 9 5 9-5Z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8M12 13v8'/%3E%3C/svg%3E"); }
[data-icon="server"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='18' height='8' x='3' y='3' rx='2'/%3E%3Crect width='18' height='8' x='3' y='13' rx='2'/%3E%3Cpath d='M7 7h.01M7 17h.01M11 7h6M11 17h6'/%3E%3C/svg%3E"); }
[data-icon="brain"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 2A3.5 3.5 0 0 0 6 5.5v.3A4 4 0 0 0 4 13a4 4 0 0 0 2 7.5A3.5 3.5 0 0 0 12 18V5.5A3.5 3.5 0 0 0 8.5 2M14.5 2A3.5 3.5 0 0 1 18 5.5v.3A4 4 0 0 1 20 13a4 4 0 0 1-2 7.5A3.5 3.5 0 0 1 12 18'/%3E%3C/svg%3E"); }
[data-icon="home"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E"); }
[data-icon="eye"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
[data-icon="chart"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 3v18h18M7 16V9M12 16V5M17 16v-3'/%3E%3C/svg%3E"); }
[data-icon="target"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
[data-icon="github"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M12 .5A12 12 0 0 0 8.2 23.9c.6.1.8-.2.8-.6v-2.1c-3.3.7-4-1.4-4-1.4-.5-1.3-1.3-1.7-1.3-1.7-1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1 .1.7 2.1 2.8 1.5.1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.3-.1-.3-.5-1.6.1-3.2 0 0 1-.3 3.4 1.2a11.6 11.6 0 0 1 6.2 0C17 5.8 18 6.1 18 6.1c.6 1.6.2 2.9.1 3.2.8.9 1.2 2 1.2 3.3 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.2c0 .3.2.7.8.6A12 12 0 0 0 12 .5Z'/%3E%3C/svg%3E"); }

blockquote {
  margin: auto 18px 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.48;
}

blockquote p {
  margin: 0 0 16px;
}

blockquote cite {
  color: rgba(241, 246, 252, 0.72);
}

.status-card {
  padding: 20px;
  border-radius: 12px;
  box-shadow: none;
}

.status-card div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(237, 244, 251, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(138, 217, 61, 0.55);
}

.status-card strong {
  display: block;
  margin: 12px 0 18px;
  color: var(--green);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  height: 36px;
  gap: 5px;
}

.bars span {
  min-height: 9px;
  background: linear-gradient(to top, rgba(29, 99, 166, 0.65), rgba(59, 166, 255, 0.85));
}

.bars span:nth-child(2n) { height: 25px; }
.bars span:nth-child(3n) { height: 31px; }
.bars span:nth-child(4n) { height: 18px; }

.copyright {
  display: block;
  margin: 28px 20px 0;
  color: var(--quiet);
  line-height: 1.45;
}

.main {
  min-width: 0;
  padding: 28px 34px 34px;
}

.topline {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 34px;
  min-height: 62px;
}

.top-fact,
.connection {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 248, 252, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-fact span,
.connection > span {
  color: rgba(214, 228, 242, 0.72);
}

.clock {
  justify-self: end;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 10px;
  text-align: right;
  box-shadow: none;
}

.clock strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
}

.clock span,
.clock small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.connection small {
  display: block;
  color: rgba(245, 248, 252, 0.78);
}

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

.connection i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(138, 217, 61, 0.65);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 28px;
  align-items: end;
  margin-top: 24px;
}

.hero-copy {
  padding: 18px 0 0 50px;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.kicker span:nth-child(1) { color: var(--orange); }
.kicker span:nth-child(2) { color: var(--blue); }
.kicker span:nth-child(3) { color: var(--green); }
.kicker span:nth-child(4) { color: var(--purple); }

h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2.8rem, 4.2vw, 4.35rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.18);
}

.subtitle {
  margin: 18px 0 0;
  color: rgba(245, 248, 252, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.overview {
  padding: 22px 28px;
  border-radius: 16px;
}

.overview h2,
.bottom-grid h2 {
  margin: 0 0 18px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-grid div {
  --metric-accent: var(--blue);
  min-height: 82px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.metric-grid span {
  color: var(--blue);
}

.metric-grid div:nth-child(2) { --metric-accent: var(--orange); }
.metric-grid div:nth-child(3) { --metric-accent: var(--green); }

.metric-grid span {
  color: var(--metric-accent);
}

.metric-grid span::before {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--metric-accent), white 38%),
    var(--metric-accent) 62%,
    color-mix(in srgb, var(--metric-accent), black 14%)
  );
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--metric-accent), transparent 52%));
}

.metric-grid strong {
  margin-left: 10px;
  font-size: 1.25rem;
}

.metric-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ghost-button,
.card-info,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 150px;
  min-height: 36px;
  margin-top: 20px;
  padding: 0 14px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  color: rgba(244, 248, 252, 0.78);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.ghost-button:hover,
.card-info:hover,
.primary-button:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.card-info {
  width: 36px;
  min-width: 36px;
  padding: 0;
  justify-content: center;
  color: rgba(214, 228, 242, 0.74);
}

.card-info::before {
  width: 1.05rem;
  height: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.system-card {
  position: relative;
  min-height: 242px;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.system-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-hot);
}

.system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 50%, color-mix(in srgb, var(--accent), transparent 78%), transparent 34%),
    linear-gradient(110deg, color-mix(in srgb, var(--accent), transparent 90%), transparent 52%);
  opacity: 0.88;
}

.system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent), transparent 80%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 80%) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, black 45%, black);
}

.system-card .card-content::after {
  content: "";
  position: absolute;
  inset: 74px -120px 28px 36%;
  z-index: -1;
  opacity: 0.52;
  background:
    radial-gradient(circle at 8% 18%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 42%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 16%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 54%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 30%, var(--accent) 0 2px, transparent 3px),
    linear-gradient(24deg, transparent 10%, color-mix(in srgb, var(--accent), transparent 70%) 10.5%, transparent 11.5%),
    linear-gradient(154deg, transparent 28%, color-mix(in srgb, var(--accent), transparent 72%) 28.5%, transparent 29.5%),
    linear-gradient(8deg, transparent 46%, color-mix(in srgb, var(--accent), transparent 75%) 46.5%, transparent 47.5%),
    linear-gradient(132deg, transparent 61%, color-mix(in srgb, var(--accent), transparent 74%) 61.5%, transparent 62.5%);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent), transparent 64%));
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 1;
  max-width: 64%;
  padding: 24px 24px 18px;
}

.card-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--accent);
  font-size: 2rem;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent), transparent 55%));
}

.card-icon::before {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent), white 38%),
    var(--accent) 58%,
    color-mix(in srgb, var(--accent), black 14%)
  );
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent), transparent 48%));
}

.system-card h2 {
  margin: 0 0 3px 54px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.system-card p {
  margin: 0 0 16px 54px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-card ul {
  font-size: 0.82rem;
  line-height: 1.2;
}

.accent-orange { --accent: var(--orange); }
.accent-blue { --accent: var(--blue); }
.accent-green { --accent: var(--green); }
.accent-cyan { --accent: var(--cyan); }
.accent-purple { --accent: var(--purple); }
.accent-amber { --accent: var(--amber); }

.visual {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 1;
}

.ps-visual {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(61, 166, 255, 0.5);
  border-radius: 12px;
  color: #52abff;
  background: linear-gradient(145deg, rgba(2, 20, 42, 0.95), rgba(7, 11, 18, 0.86));
  font-size: 2.8rem;
  font-weight: 700;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38), 0 0 32px rgba(61, 166, 255, 0.12);
}

.ps-visual::before,
.ps-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(240, 162, 58, 0.42);
  pointer-events: none;
}

.ps-visual::before {
  inset: -42px 38px 64px -96px;
  border-width: 1px 0 0 1px;
}

.ps-visual::after {
  width: 148px;
  height: 86px;
  right: 54px;
  bottom: -18px;
  border-radius: 50%;
  border-style: dashed;
  opacity: 0.48;
}

.device-visual {
  width: 158px;
  height: 86px;
  border: 1px solid rgba(150, 196, 230, 0.18);
  border-radius: 36px;
  background:
    radial-gradient(circle at 34% 50%, rgba(232, 241, 248, 0.9), rgba(72, 93, 110, 0.8) 16%, rgba(3, 10, 17, 0.2) 18%),
    linear-gradient(135deg, rgba(95, 127, 148, 0.8), rgba(4, 12, 20, 0.95));
  transform: perspective(400px) rotateX(54deg) rotateZ(-24deg);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.5);
}

.device-visual span {
  position: absolute;
  top: 15px;
  right: 23px;
  width: 58px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02));
}

.wire-box {
  width: 150px;
  height: 128px;
  border: 1px solid color-mix(in srgb, var(--green), transparent 52%);
  transform: skewY(-12deg) rotate(-4deg);
  background:
    linear-gradient(35deg, transparent 48%, color-mix(in srgb, var(--green), transparent 70%) 49%, transparent 51%),
    linear-gradient(145deg, transparent 48%, color-mix(in srgb, var(--green), transparent 70%) 49%, transparent 51%);
  opacity: 0.65;
}

.wire-box::before,
.wire-box::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid color-mix(in srgb, var(--green), transparent 65%);
}

.wire-box::after {
  inset: 42px -18px 22px 34px;
  border-left: 0;
  border-bottom: 0;
}

.rack-visual {
  width: 150px;
  height: 160px;
  transform: perspective(460px) rotateY(-38deg) rotateX(5deg);
  background:
    repeating-linear-gradient(to bottom, rgba(61, 166, 255, 0.18) 0 18px, rgba(8, 18, 29, 0.72) 18px 23px),
    linear-gradient(90deg, rgba(20, 80, 130, 0.38), rgba(3, 12, 22, 0.95));
  border: 1px solid rgba(61, 166, 255, 0.28);
  box-shadow: 0 0 34px rgba(61, 166, 255, 0.14);
}

.ai-visual {
  width: 150px;
  height: 172px;
  border-radius: 50% 42% 45% 50%;
  background:
    radial-gradient(circle at 60% 40%, rgba(169, 112, 248, 0.38), transparent 32%),
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.09) 1px, transparent 2px);
  background-size: auto, 18px 18px;
  border-left: 2px solid rgba(192, 158, 255, 0.5);
  filter: drop-shadow(0 0 28px rgba(141, 93, 232, 0.28));
}

.ai-visual::after {
  content: "";
  position: absolute;
  inset: 16px 0 18px 42px;
  border: solid rgba(192, 158, 255, 0.36);
  border-width: 1px 0 1px 1px;
  border-radius: 50% 0 0 50%;
}

.house-visual {
  width: 164px;
  height: 116px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 25% 62%, rgba(240, 162, 58, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 57% 48%, rgba(240, 162, 58, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 68%, rgba(240, 162, 58, 0.9) 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(242, 151, 45, 0.18), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(240, 162, 58, 0.2);
  transform: perspective(440px) rotateX(55deg) rotateZ(-25deg);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}

.house-visual::before,
.house-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.house-visual::after {
  inset: 39px 28px;
}

/* Category-specific workflow diagrams, all built from the same technical line language. */
.imaging-workflow,
.color-mapper,
.halftone-flow,
.infrastructure-map,
.automation-network,
.smart-grid {
  width: 170px;
  height: 138px;
  opacity: 0.88;
}

.imaging-workflow {
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  clip-path: polygon(9% 16%, 77% 0, 100% 23%, 90% 87%, 21% 100%, 0 73%);
  background:
    linear-gradient(140deg, transparent 47%, color-mix(in srgb, var(--accent), transparent 58%) 48%, transparent 49%),
    linear-gradient(40deg, transparent 40%, color-mix(in srgb, var(--accent), transparent 70%) 41%, transparent 42%),
    radial-gradient(circle at 25% 63%, color-mix(in srgb, var(--accent), white 12%) 0 3px, transparent 4px),
    linear-gradient(145deg, color-mix(in srgb, var(--accent), transparent 88%), transparent 68%);
}

.imaging-workflow::before,
.imaging-workflow::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
}

.imaging-workflow::before {
  inset: 23px 28px 28px 25px;
  transform: rotate(-9deg);
}

.imaging-workflow::after {
  width: 44px;
  height: 44px;
  right: 12px;
  bottom: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 42%, color-mix(in srgb, var(--accent), transparent 50%) 43% 45%, transparent 46%);
}

.imaging-workflow i,
.imaging-workflow b,
.imaging-workflow span {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  background: rgba(4, 8, 13, 0.86);
  transform: rotate(45deg);
}

.imaging-workflow i { top: 16px; left: 44px; }
.imaging-workflow b { top: 69px; left: 70px; }
.imaging-workflow span { bottom: 22px; left: 25px; }

.color-mapper {
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 58%);
  background:
    repeating-conic-gradient(from -12deg, color-mix(in srgb, var(--accent), transparent 42%) 0 1deg, transparent 1deg 23deg),
    radial-gradient(circle, rgba(4, 9, 15, 0.1) 0 15%, color-mix(in srgb, var(--accent), transparent 72%) 16% 17%, transparent 18% 34%, color-mix(in srgb, var(--accent), transparent 72%) 35% 36%, transparent 37% 55%, color-mix(in srgb, var(--accent), transparent 68%) 56% 57%, transparent 58%);
  box-shadow: inset 0 0 32px color-mix(in srgb, var(--accent), transparent 85%), 0 0 30px color-mix(in srgb, var(--accent), transparent 85%);
}

.color-mapper::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 110px;
  top: 14px;
  left: 84px;
  background: color-mix(in srgb, var(--accent), transparent 25%);
  transform: rotate(47deg);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent), transparent 35%);
}

.color-mapper i,
.color-mapper b,
.color-mapper span {
  position: absolute;
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent), transparent 30%);
}

.color-mapper i { top: 19px; left: 75px; }
.color-mapper b { right: 18px; bottom: 35px; }
.color-mapper span { left: 41px; bottom: 17px; }

.halftone-flow {
  transform: skewY(-9deg);
  background:
    radial-gradient(circle at 8% 50%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 17% 50%, var(--accent) 0 4px, transparent 5px),
    radial-gradient(circle at 28% 50%, var(--accent) 0 5px, transparent 6px),
    radial-gradient(circle at 42% 50%, var(--accent) 0 6px, transparent 7px),
    radial-gradient(circle at 59% 50%, var(--accent) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 50%, var(--accent) 0 8px, transparent 9px),
    radial-gradient(circle at 94% 50%, var(--accent) 0 9px, transparent 10px);
}

.halftone-flow::before,
.halftone-flow::after {
  content: "";
  position: absolute;
  inset: 17px 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent), transparent 30%) 0 1px, transparent 2px);
  background-size: 14px 14px;
  mask-image: linear-gradient(90deg, transparent, black 44%, black);
}

.halftone-flow::after {
  inset: 28px 7px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  background: none;
  clip-path: polygon(0 28%, 58% 0, 100% 28%, 100% 76%, 45% 100%, 0 70%);
}

.infrastructure-map {
  background:
    radial-gradient(circle at 12% 22%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 49% 18%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 84% 33%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 30% 78%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 72% 76%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(29deg, transparent 24%, color-mix(in srgb, var(--accent), transparent 52%) 24.7% 25.5%, transparent 26%),
    linear-gradient(154deg, transparent 42%, color-mix(in srgb, var(--accent), transparent 55%) 42.7% 43.5%, transparent 44%),
    linear-gradient(6deg, transparent 63%, color-mix(in srgb, var(--accent), transparent 54%) 63.7% 64.5%, transparent 65%);
}

.infrastructure-map::before,
.infrastructure-map::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 54%);
}

.infrastructure-map::before { inset: 33px 48px 34px 52px; }
.infrastructure-map::after { inset: 45px 61px 47px 65px; box-shadow: -52px -24px 0 -1px rgba(0,0,0,0), 44px 34px 0 -1px rgba(0,0,0,0); }

.automation-network {
  border-radius: 50% 48% 45% 52%;
  background:
    radial-gradient(circle at 58% 42%, color-mix(in srgb, var(--accent), white 6%) 0 4px, transparent 5px),
    radial-gradient(circle at 30% 24%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 22%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 72%, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 76%, var(--accent) 0 2px, transparent 3px),
    repeating-radial-gradient(ellipse at 58% 42%, transparent 0 16px, color-mix(in srgb, var(--accent), transparent 64%) 17px 18px, transparent 19px 29px);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 64%);
}

.automation-network::before {
  content: "";
  position: absolute;
  inset: 16px;
  background:
    linear-gradient(30deg, transparent 48%, color-mix(in srgb, var(--accent), transparent 55%) 49% 50%, transparent 51%),
    linear-gradient(148deg, transparent 48%, color-mix(in srgb, var(--accent), transparent 55%) 49% 50%, transparent 51%),
    linear-gradient(83deg, transparent 48%, color-mix(in srgb, var(--accent), transparent 55%) 49% 50%, transparent 51%);
}

.smart-grid {
  transform: perspective(420px) rotateX(52deg) rotateZ(-19deg);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  background:
    radial-gradient(circle at 20% 32%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 49% 60%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 28%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent), transparent 78%) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--accent), transparent 78%) 1px, transparent 1px);
  background-size: auto, auto, auto, 27px 27px, 27px 27px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.42);
}

.smart-grid::before,
.smart-grid::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
}

.smart-grid::before { inset: 25px 48px 23px 48px; transform: rotate(45deg); }
.smart-grid::after { inset: 46px 68px 42px 68px; border-radius: 50%; }

/* Readable category illustrations: concrete tools and workflows in the same line system. */
.image-stack,
.color-reader,
.carton-workflow,
.server-system,
.automation-flow,
.house-plan {
  width: 174px;
  height: 132px;
  opacity: 0.92;
}

.image-stack {
  right: 24px;
  bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 52%);
  background:
    linear-gradient(145deg, transparent 49%, color-mix(in srgb, var(--accent), transparent 58%) 50% 51%, transparent 52%),
    linear-gradient(28deg, transparent 55%, color-mix(in srgb, var(--accent), transparent 70%) 56% 57%, transparent 58%),
    linear-gradient(156deg, transparent 48%, rgba(242, 225, 190, 0.22) 49% 55%, transparent 56%),
    linear-gradient(132deg, rgba(55, 98, 117, 0.55), rgba(8, 16, 23, 0.28) 56%, rgba(234, 144, 52, 0.32));
  clip-path: polygon(4% 18%, 88% 0, 100% 81%, 15% 100%);
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent), transparent 85%);
}

.image-stack::before,
.image-stack::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 40%);
}

.image-stack::before {
  inset: 16px 23px 19px 19px;
  clip-path: polygon(0 16%, 78% 0, 100% 85%, 12% 100%);
}

.image-stack::after {
  width: 42px;
  height: 42px;
  right: 12px;
  bottom: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, transparent 0 39%, color-mix(in srgb, var(--accent), transparent 24%) 40% 44%, transparent 45%);
}

.image-stack i,
.image-stack b,
.image-stack span {
  position: absolute;
  display: block;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent), transparent 22%);
}

.image-stack i { width: 6px; height: 6px; top: 26px; left: 40px; }
.image-stack b { width: 5px; height: 5px; top: 65px; left: 92px; }
.image-stack span { width: 6px; height: 6px; bottom: 26px; left: 48px; }

.color-reader {
  width: 150px;
  height: 84px;
  right: 30px;
  bottom: 34px;
  border: 1px solid rgba(155, 210, 245, 0.42);
  border-radius: 34px 24px 26px 34px;
  transform: perspective(420px) rotateX(18deg) rotateZ(-14deg);
  background:
    radial-gradient(circle at 29% 52%, rgba(232, 247, 255, 0.86) 0 9px, rgba(47, 88, 115, 0.92) 10px 17px, rgba(7, 15, 24, 0.86) 18px 23px, transparent 24px),
    linear-gradient(105deg, rgba(55, 102, 135, 0.82), rgba(6, 18, 29, 0.97) 68%);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.48), 0 0 30px rgba(61, 166, 255, 0.12);
}

.color-reader::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 20px;
  width: 44px;
  height: 19px;
  border: 1px solid rgba(150, 211, 255, 0.6);
  border-radius: 3px;
  background: linear-gradient(90deg, #5a5eff, #25cbff 32%, #80df58 55%, #f1ca38 76%, #f37357);
  box-shadow: inset 0 0 8px rgba(255,255,255,0.22);
}

.color-reader::after {
  content: "";
  position: absolute;
  right: -31px;
  top: 29px;
  width: 36px;
  height: 27px;
  border: 1px solid rgba(151, 212, 255, 0.46);
  border-left: 0;
  border-radius: 0 20px 20px 0;
}

.color-reader i,
.color-reader b,
.color-reader span { display: none; }

.carton-workflow {
  right: 22px;
  bottom: 22px;
  transform: perspective(460px) rotateY(-18deg) rotateX(7deg);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent), transparent 4%) 0 2px, transparent 3px) 0 0 / 13px 13px,
    linear-gradient(135deg, transparent 46%, color-mix(in srgb, var(--accent), transparent 46%) 47% 48%, transparent 49%);
  mask-image: linear-gradient(90deg, transparent 0, black 28%, black);
}

.carton-workflow::before {
  content: "";
  position: absolute;
  inset: 16px 7px 10px 42px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 35%);
  background:
    linear-gradient(28deg, transparent 49%, color-mix(in srgb, var(--accent), transparent 48%) 50% 51%, transparent 52%),
    linear-gradient(150deg, transparent 49%, color-mix(in srgb, var(--accent), transparent 48%) 50% 51%, transparent 52%);
  clip-path: polygon(22% 0, 100% 20%, 81% 100%, 0 78%);
}

.carton-workflow::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 88px;
  left: 1px;
  top: 24px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  background: linear-gradient(145deg, rgba(233, 243, 222, 0.22), color-mix(in srgb, var(--accent), transparent 78%));
  clip-path: polygon(0 14%, 76% 0, 100% 76%, 18% 100%);
}

.carton-workflow i,
.carton-workflow b,
.carton-workflow span { display: none; }

.server-system {
  width: 128px;
  height: 142px;
  right: 36px;
  bottom: 18px;
  transform: perspective(500px) rotateY(-24deg);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 37%);
  background:
    repeating-linear-gradient(to bottom, rgba(8, 17, 28, 0.95) 0 16px, color-mix(in srgb, var(--accent), transparent 55%) 17px 18px, rgba(8, 17, 28, 0.95) 19px 23px),
    linear-gradient(90deg, rgba(40, 122, 174, 0.52), rgba(4, 12, 20, 0.9));
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.44);
}

.server-system::before {
  content: "";
  position: absolute;
  inset: 10px 15px;
  background: repeating-linear-gradient(to bottom, transparent 0 17px, rgba(85, 201, 255, 0.94) 17px 20px, transparent 20px 23px);
  opacity: 0.78;
}

.server-system::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 48px;
  left: -70px;
  top: 36px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 62%);
  border-right: 0;
  background:
    radial-gradient(circle at 17% 22%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 55% 58%, var(--accent) 0 3px, transparent 4px),
    linear-gradient(26deg, transparent 47%, color-mix(in srgb, var(--accent), transparent 40%) 48% 49%, transparent 50%);
}

.server-system i,
.server-system b,
.server-system span { display: none; }

.automation-flow {
  width: 181px;
  height: 118px;
  right: 20px;
  bottom: 29px;
  background:
    linear-gradient(28deg, transparent 49%, color-mix(in srgb, var(--accent), transparent 35%) 49.4% 50.6%, transparent 51%),
    linear-gradient(152deg, transparent 49%, color-mix(in srgb, var(--accent), transparent 35%) 49.4% 50.6%, transparent 51%);
}

.automation-flow::before,
.automation-flow::after,
.automation-flow i,
.automation-flow b,
.automation-flow span {
  content: "";
  position: absolute;
  display: block;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 27%);
  background: rgba(13, 10, 23, 0.72);
}

.automation-flow::before { width: 42px; height: 42px; left: 6px; top: 38px; }
.automation-flow::after { width: 48px; height: 48px; left: 66px; top: 34px; border-radius: 50%; box-shadow: inset 0 0 0 12px rgba(169, 112, 248, 0.08); }
.automation-flow i { width: 39px; height: 39px; right: 4px; top: 9px; }
.automation-flow b { width: 39px; height: 39px; right: 4px; bottom: 9px; }
.automation-flow span { width: 8px; height: 8px; left: 86px; top: 54px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent), transparent 16%); }

.house-plan {
  width: 164px;
  height: 120px;
  right: 24px;
  bottom: 25px;
  transform: perspective(460px) rotateX(50deg) rotateZ(-19deg);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 43%);
  background:
    linear-gradient(90deg, transparent 31%, color-mix(in srgb, var(--accent), transparent 42%) 32% 33%, transparent 34% 67%, color-mix(in srgb, var(--accent), transparent 42%) 68% 69%, transparent 70%),
    linear-gradient(transparent 43%, color-mix(in srgb, var(--accent), transparent 42%) 44% 45%, transparent 46% 74%, color-mix(in srgb, var(--accent), transparent 42%) 75% 76%, transparent 77%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent), transparent 88%), rgba(5, 10, 15, 0.32));
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.48);
}

.house-plan::before {
  content: "";
  position: absolute;
  inset: 22px 54px 22px 50px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 30%);
  transform: rotate(45deg);
}

.house-plan::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 51% 61%, var(--accent) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 27%, var(--accent) 0 3px, transparent 4px);
}

.house-plan i,
.house-plan b,
.house-plan span { display: none; }

/* Generated category artwork keeps the focal object to the right and the copy readable. */
.system-card .category-art {
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  opacity: 0.92;
}

.category-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.05);
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.category-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 10, 16, 0.74) 0%, rgba(6, 10, 16, 0.33) 45%, transparent 74%);
  pointer-events: none;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.45fr 1.05fr;
  gap: 14px;
  margin-top: 14px;
}

.bottom-grid > article {
  min-height: 160px;
  padding: 22px 26px;
  border-radius: var(--radius);
}

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

.timeline > p {
  margin-top: -12px;
  color: var(--quiet);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail {
  position: relative;
  height: 34px;
  margin: 18px 8px 2px;
}

.rail::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--green), var(--purple), rgba(255, 255, 255, 0.1));
}

.rail span {
  position: absolute;
  top: 10px;
  left: var(--pos);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 18px color-mix(in srgb, var(--color), transparent 45%);
}

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

.timeline-labels small {
  color: var(--muted);
  font-size: 0.67rem;
  line-height: 1.3;
}

.philosophy p {
  font-style: italic;
  line-height: 1.45;
}

.philosophy .philosophy-local {
  margin-top: 12px;
  color: rgba(203, 214, 225, 0.78);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.55;
}

.philosophy strong {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-icons {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: rgba(156, 176, 198, 0.8);
  font-size: 1.4rem;
}

.focus {
  display: grid;
  align-content: start;
  gap: 10px;
}

.focus-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.focus-row span {
  grid-column: 1 / -1;
}

.focus-row i {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.focus-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 45%);
}

.focus-row b {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.primary-button {
  justify-content: center;
  min-width: 164px;
  color: var(--orange);
  border-color: color-mix(in srgb, var(--orange), transparent 45%);
}

.contact-icons {
  display: flex;
  gap: 18px;
  margin-top: 16px;
}

.contact-icons a {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: rgb(129, 143, 158);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-icons a[data-icon="mail"]::before {
  width: 20px;
  height: 20px;
}

.contact-icons .social-logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-icons a:hover,
.contact-icons a:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.22);
}

.profile-detail,
.career-detail {
  margin-top: 14px;
  padding: 28px;
  border-radius: var(--radius);
}

.story-heading {
  margin-bottom: 20px;
}

.story-kicker {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-heading h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.story-columns p,
.career-intro,
.profile-note,
.career-close {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.profile-note,
.career-close {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.career-intro {
  max-width: 940px;
}

.milestone-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.milestone-list li {
  position: relative;
  min-height: 112px;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1px solid color-mix(in srgb, var(--blue), transparent 54%);
  color: var(--muted);
}

.milestone-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(61, 166, 255, 0.5);
}

.milestone-list time,
.milestone-list strong,
.milestone-list span {
  display: block;
}

.milestone-list time {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.milestone-list strong {
  margin-bottom: 6px;
  color: var(--text);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.milestone-list span {
  font-size: 0.79rem;
  line-height: 1.45;
}

.content-page {
  min-width: 0;
  padding: 28px 34px 56px;
}

.page-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-topline a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 248, 252, 0.78);
  transition: color 180ms ease;
}

.page-topline a:hover {
  color: var(--orange);
}

.profile-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: center;
  min-height: 320px;
  padding: 34px 42px;
  border-radius: var(--radius);
}

.profile-page-hero h1,
.career-detail h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.page-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.16;
  overflow: hidden;
  border: 1px solid rgba(125, 186, 245, 0.23);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 38%, rgba(61, 166, 255, 0.25), transparent 30%),
    linear-gradient(145deg, rgba(11, 29, 47, 0.82), rgba(3, 7, 12, 0.38));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(91, 173, 247, 0.18);
}

.portrait-placeholder::before {
  inset: 14%;
  border-radius: 50%;
}

.portrait-placeholder::after {
  inset: 28% 20% 11%;
  border-radius: 50% 50% 18% 18%;
}

.portrait-placeholder span {
  position: relative;
  z-index: 1;
  color: rgba(227, 239, 252, 0.8);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.portrait-photo::before,
.portrait-photo::after {
  display: none;
}

.portrait-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(0.88) contrast(1.03) brightness(0.94);
}

@media (max-width: 1280px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 18px 22px;
    border-width: 0 0 1px;
  }

  .brand {
    margin: 0;
  }

  .nav {
    display: flex;
    overflow-x: auto;
    justify-content: flex-end;
    padding-bottom: 2px;
  }

  .nav a {
    grid-template-columns: 22px auto;
    min-width: max-content;
  }

  blockquote,
  .status-card,
  .copyright {
    display: none;
  }

  .main {
    padding: 24px;
  }

  .content-page {
    padding: 24px;
  }

  .hero-copy {
    padding-left: 8px;
  }

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

  .overview {
    max-width: none;
  }

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

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

  .milestone-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sidebar {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

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

  .top-fact {
    display: none;
  }

  .clock,
  .connection {
    justify-self: stretch;
  }

  .connection {
    justify-content: flex-end;
  }

  .kicker {
    gap: 11px;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .subtitle {
    font-size: 0.84rem;
    letter-spacing: 0.2em;
  }

  .metric-grid,
  .cards,
  .bottom-grid,
  .story-columns,
  .milestone-list {
    grid-template-columns: 1fr;
  }

  .profile-page-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait-placeholder {
    width: min(280px, 100%);
    justify-self: start;
  }

  .card-content {
    max-width: 100%;
    padding-right: 118px;
  }

  .visual {
    right: 18px;
    transform: scale(0.72);
    transform-origin: bottom right;
    opacity: 0.78;
  }

  .device-visual,
  .house-visual {
    transform: scale(0.72) perspective(400px) rotateX(54deg) rotateZ(-24deg);
  }
}

@media (max-width: 520px) {
  .main {
    padding: 16px;
  }

  .brand {
    letter-spacing: 0.12em;
  }

  .nav a {
    min-height: 42px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

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

  .connection {
    justify-content: flex-start;
  }

  .overview,
  .bottom-grid > article {
    padding: 18px;
  }

  .system-card {
    min-height: 0;
  }

  .card-content {
    padding: 20px;
  }

  .system-card h2,
  .system-card p {
    margin-left: 48px;
  }

  .visual {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -12px 20px 18px auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
