/* ────────────────────────────────────────────────────────────
   Muhammad Ali — v3
   "Enterprise Resilience Architect"
   Navy · Teal · Orange  ·  Premium enterprise-tech
   ──────────────────────────────────────────────────────────── */

:root {
  --navy:        #0A1428;
  --navy-2:      #0F1B33;
  --navy-3:      #142346;
  --navy-4:      #1B2D55;
  --line:        #1f2d47;
  --line-2:      #2a3a5a;
  --line-3:      #3a4c70;

  --text:        #e8eef7;
  --text-2:      #b9c4d6;
  --muted:       #7a86a0;
  --faint:       #4a5570;
  --whisper:     #2a3450;

  --teal:        #00D4C8;
  --teal-dim:    #008c84;
  --teal-soft:   rgba(0, 212, 200, 0.08);
  --teal-glow:   rgba(0, 212, 200, 0.35);

  --orange:      #FF6B00;
  --orange-dim:  #cc5500;
  --orange-soft: rgba(255, 107, 0, 0.10);

  --warm:        #f59e0b;
  --blue:        #3b82f6;

  --radius:      12px;
  --radius-sm:   6px;
  --radius-lg:   20px;

  --maxw:        1280px;
  --gutter:      clamp(20px, 4vw, 56px);

  --f-display:   "Space Grotesk", system-ui, -apple-system, sans-serif;
  --f-sans:      "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:      "Geist Mono", ui-monospace, "JetBrains Mono", Menlo, monospace;

  --shadow-card: 0 1px 0 rgba(255,255,255,.03) inset,
                 0 0 0 1px var(--line),
                 0 24px 60px -30px rgba(0,0,0,.6);
  --shadow-pop:  0 1px 0 rgba(255,255,255,.04) inset,
                 0 0 0 1px var(--line-2),
                 0 30px 80px -20px rgba(0,0,0,.65),
                 0 0 60px -20px var(--teal-glow);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--navy); scroll-behavior: smooth; }

body {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(0,212,200,.06), transparent 60%),
    radial-gradient(900px 600px at -5% 35%, rgba(59,130,246,.05), transparent 60%),
    radial-gradient(600px 400px at 110% 95%, rgba(255,107,0,.05), transparent 60%),
    var(--navy);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle grid pattern */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--grid-opacity, 1);
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--text); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

::selection { background: var(--teal); color: var(--navy); }

/* ──────────────────────  LAYOUT  ────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
section { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow .bar { width: 24px; height: 1px; background: var(--teal); }
.eyebrow .num { color: var(--muted); }

.section-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 18px 0 0;
  color: var(--text);
  max-width: 22ch;
  padding-bottom: .08em;
}
.section-title .teal { color: var(--teal); }
.section-title .orange { color: var(--orange); }

.section-kicker {
  margin: 18px 0 0;
  color: var(--text-2);
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.55;
}

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.divider { border-top: 1px solid var(--line); }

/* ──────────────────────  NAV  ────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 20, 40, .75);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text);
}
.brand .mark {
  width: 32px; height: 32px;
  background:
    radial-gradient(circle at 30% 30%, var(--teal), var(--teal-dim));
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  box-shadow: 0 0 24px var(--teal-glow);
}
.brand .name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
}
.brand .name small { display: block; color: var(--muted); font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .04em; margin-top: 1px; }
.nav-links { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav-links a {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  padding: 9px 16px;
  background: var(--teal);
  color: var(--navy) !important;
  border-radius: 8px;
  transition: filter .2s, transform .15s;
}
.nav-cta:hover { filter: brightness(1.1); color: var(--navy) !important; }

/* ──────────────────────  HERO  ────────────────────── */
.hero {
  padding: 80px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow-row {
  display: flex; gap: 16px; align-items: center;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--text-2);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.avail-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--teal-dim);
  background: var(--teal-soft);
  border-radius: 999px;
  color: var(--teal);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.avail-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(54px, 8vw, 108px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0 0 18px;
  color: var(--text);
}
.hero-name .accent {
  background: linear-gradient(90deg, var(--teal) 0%, #6be8df 60%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-headline {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -.005em;
  color: var(--text-2);
  margin: 0 0 18px;
  max-width: 32ch;
}
.hero-subhead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 0 28px;
}

.hero-rot {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-rot .arrow { color: var(--orange); }
.hero-rot .rot {
  color: var(--text);
  font-weight: 500;
  transition: opacity .3s ease;
  display: inline-block;
  min-width: 18ch;
}
.hero-rot .rot.swap { opacity: 0; }

.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 10px;
  transition: transform .15s, filter .2s, background .2s, border-color .2s, color .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 0 0 1px var(--teal), 0 8px 24px -8px var(--teal-glow);
}
.btn-primary:hover { filter: brightness(1.08); color: var(--navy); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-secondary:hover { border-color: var(--text-2); background: rgba(255,255,255,.03); }
.btn-orange {
  background: var(--orange);
  color: white;
  box-shadow: 0 0 0 1px var(--orange), 0 8px 24px -8px rgba(255, 107, 0, .5);
}
.btn-orange:hover { filter: brightness(1.05); color: white; }

/* hero photo card */
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-pop);
}
.hero-photo-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(0,212,200,.18), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(59,130,246,.15), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,.02) 12px 13px);
}
.hero-photo-mono {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 200px;
  letter-spacing: -.06em;
  color: var(--teal);
  opacity: .12;
  user-select: none;
}
.hero-photo-tag {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--text-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(10, 20, 40, .7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}
.hero-photo-tag .led {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal-glow);
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}
.hero-photo-tag b { color: var(--text); font-weight: 500; }
.hero-photo-corner {
  position: absolute;
  width: 28px; height: 28px;
  border: 1.5px solid var(--teal);
}
.hero-photo-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hero-photo-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.hero-photo-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; display: none; }
.hero-photo-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; display: none; }
.hero-photo-name {
  position: absolute; top: 50px; left: 28px; right: 28px;
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* KPI ribbon */
.kpi-ribbon {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.kpi-cell {
  padding: 26px 28px;
  border-left: 1px solid var(--line);
  position: relative;
}
.kpi-cell:first-child { border-left: 0; }
.kpi-cell::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30%; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  opacity: .6;
}
.kpi-num {
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--text);
}
.kpi-num .unit { color: var(--teal); font-size: 26px; margin-left: 2px; }
.kpi-lbl {
  margin-top: 10px;
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.kpi-sub { color: var(--muted); font-size: 11.5px; font-family: var(--f-mono); margin-top: 4px; letter-spacing: .04em; }

/* ──────────────────────  ABOUT  ────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.about-prose strong { color: var(--text); font-weight: 600; }
.about-prose em { color: var(--teal); font-style: normal; }
.about-side {
  display: flex; flex-direction: column; gap: 16px;
}
.about-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-2);
}
.about-card h4 {
  margin: 0 0 14px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--teal);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fact-row {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
}
.fact-row:first-of-type { border-top: 0; }
.fact-row .k { color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.fact-row .v { color: var(--text); }

/* ──────────────────────  EXPERIENCE TIMELINE  ────────────────────── */
.xp-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.xp-filter {
  font-family: var(--f-mono);
  font-size: 11.5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--navy-2);
  color: var(--text-2);
  letter-spacing: .04em;
  transition: all .2s;
}
.xp-filter.active {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
  font-weight: 500;
}
.xp-filter:hover:not(.active) { color: var(--text); border-color: var(--line-3); }
.xp-filter .ct { color: var(--faint); margin-left: 6px; }
.xp-filter.active .ct { color: rgba(10,20,40,.6); }

.xp-list {
  display: flex; flex-direction: column;
  position: relative;
}
.xp-list::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 168px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
@media (max-width: 800px) {
  .xp-list::before { left: 12px; }
}
.xp {
  display: grid;
  grid-template-columns: 152px 32px 1fr;
  gap: 0;
  padding: 20px 0;
  align-items: start;
}
.xp-when {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
  padding-right: 24px;
  padding-top: 6px;
}
.xp-when .yr { color: var(--text); font-weight: 500; display: block; font-size: 12px; }
.xp-when .dur { color: var(--faint); font-size: 10.5px; display: block; margin-top: 2px; }
.xp-node {
  display: grid; place-items: start center;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}
.xp-node .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px var(--navy), 0 0 12px var(--teal-glow);
}
.xp.recent .xp-node .dot { background: var(--teal); }
.xp-card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s, transform .2s;
}
.xp-card:hover { border-color: var(--line-3); transform: translateX(4px); }
.xp-card h3 {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.005em;
  color: var(--text);
}
.xp-role {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.xp-role .via { color: var(--muted); }
.xp-card ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.xp-card ul li { position: relative; padding-left: 16px; }
.xp-card ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 1px; background: var(--teal);
}
.xp-loc {
  margin-top: 12px;
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ──────────────────────  CAREER EVOLUTION MAP  ────────────────────── */
.evo {
  background:
    radial-gradient(800px 400px at 50% 50%, rgba(0,212,200,.05), transparent 70%),
    var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.evo-progress {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  padding: 0 var(--gutter) 32px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.evo-progress .yr { color: var(--text); }
.evo-progress .bar {
  flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden;
  position: relative;
}
.evo-progress .bar .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--warm), var(--blue) 50%, var(--teal));
  border-radius: 2px;
  transition: width .5s ease;
}

.evo-track {
  position: relative;
  padding: 12px 32px 32px;
}
.evo-line {
  position: absolute;
  left: 50px; right: 50px; top: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--warm) 0%, var(--blue) 50%, var(--teal) 100%);
  border-radius: 3px;
  box-shadow: 0 0 24px rgba(0,212,200,.3);
}
.evo-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.evo-node {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
  text-align: center;
}
.evo-node .ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--teal);
  display: grid; place-items: center;
  font-size: 32px;
  color: var(--teal);
  box-shadow: 0 0 0 8px var(--navy-2), 0 0 32px var(--teal-glow);
  transition: transform .25s, box-shadow .25s;
  font-family: var(--f-display);
  font-weight: 700;
  position: relative;
  z-index: 2;
}
.evo-node.warm .ring  { border-color: var(--warm);  color: var(--warm);  box-shadow: 0 0 0 8px var(--navy-2), 0 0 32px rgba(245,158,11,.35); }
.evo-node.blue .ring  { border-color: var(--blue);  color: var(--blue);  box-shadow: 0 0 0 8px var(--navy-2), 0 0 32px rgba(59,130,246,.35); }
.evo-node.teal .ring  { border-color: var(--teal);  color: var(--teal);  box-shadow: 0 0 0 8px var(--navy-2), 0 0 32px var(--teal-glow); }
.evo-node:hover .ring, .evo-node.active .ring { transform: scale(1.08); }
.evo-node.active .ring { background: rgba(255,255,255,.03); }

.evo-node .yrs {
  margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em;
}
.evo-node .ttl {
  margin-top: 8px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 16px;
  color: var(--text);
  max-width: 22ch;
}

.evo-detail {
  margin: 36px 32px 0;
  background: var(--navy);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.evo-detail h4 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.evo-detail .meta {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--teal);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.evo-detail .body { color: var(--text-2); font-size: 14.5px; line-height: 1.65; margin: 14px 0; }
.evo-detail .sig {
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--orange);
  letter-spacing: .04em;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
}
.evo-detail .techs { display: flex; flex-wrap: wrap; gap: 6px; }

/* ──────────────────────  PROJECTS  ────────────────────── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.proj {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.proj::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent 80%);
  opacity: 0; transition: opacity .25s;
}
.proj:hover {
  border-color: var(--teal-dim);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -25px rgba(0,212,200,.25);
}
.proj:hover::before { opacity: 1; }
.proj-hd {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 8px;
}
.proj-domain {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}
.proj-badge {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid color-mix(in oklab, var(--orange) 50%, transparent);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.proj h3 {
  margin: 6px 0 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--text);
}
.proj-client {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
}
.proj-client .yr { color: var(--muted); margin-left: 8px; font-family: var(--f-mono); font-size: 11.5px; }
.proj-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.proj-impact {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.proj-impact .item {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--teal);
  border: 1px solid color-mix(in oklab, var(--teal) 35%, transparent);
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--teal-soft);
  letter-spacing: .02em;
}
.proj-stack {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.proj-stack .chip {
  font-family: var(--f-mono); font-size: 10px;
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--navy-3);
  border: 1px solid var(--line);
}

/* ──────────────────────  HEX HEATMAP  ────────────────────── */
.hex-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hex-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 662 / 368;
}
.hex-grid svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hex-cell { cursor: pointer; transition: transform .2s, filter .2s; transform-origin: center; transform-box: fill-box; }
.hex-cell:hover, .hex-cell.active { filter: brightness(1.2); }
.hex-cell:hover .hex-shape, .hex-cell.active .hex-shape {
  stroke: var(--teal);
  stroke-width: 2;
}
.hex-shape { transition: fill .2s, stroke .2s; }
.hex-label { fill: var(--text); font-family: var(--f-display); font-weight: 500; font-size: 11px; pointer-events: none; text-anchor: middle; }
.hex-stars { fill: var(--orange); font-family: var(--f-mono); font-size: 9px; pointer-events: none; text-anchor: middle; letter-spacing: 1px; }

.hex-detail {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 320px;
}
.hex-detail .lvl {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--teal);
  letter-spacing: .08em; text-transform: uppercase;
}
.hex-detail h3 {
  margin: 8px 0 6px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.01em;
}
.hex-detail .yrs {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.hex-detail .desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 18px;
}
.hex-detail .projs {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hex-detail .proj-list {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13.5px;
  color: var(--text-2);
}
.hex-detail .proj-list li {
  padding: 8px 12px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  list-style: none;
}

/* ──────────────────────  VALUE PROPS  ────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.value {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.value:hover { border-color: var(--line-3); transform: translateY(-3px); }
.value-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-soft);
  border: 1px solid color-mix(in oklab, var(--teal) 40%, transparent);
  display: grid; place-items: center;
  color: var(--teal);
  margin-bottom: 18px;
}
.value-icon svg { width: 22px; height: 22px; }
.value h3 {
  margin: 0 0 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.005em;
}
.value-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 18px;
}
.value-metrics {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.value-metrics .m {
  font-family: var(--f-mono); font-size: 10.5px;
  padding: 4px 9px;
  background: var(--navy);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--teal);
  letter-spacing: .02em;
}

/* ──────────────────────  MODERNIZATION QUIZ  ────────────────────── */
.quiz {
  background: linear-gradient(180deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.quiz::after {
  content: "";
  position: absolute; top: 0; right: 0; width: 240px; height: 240px;
  background: radial-gradient(circle, var(--teal-glow), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.quiz-inner { position: relative; z-index: 2; }
.quiz-meter {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
}
.quiz-meter .bar { flex: 1; height: 4px; background: var(--whisper); border-radius: 2px; overflow: hidden; }
.quiz-meter .fill { height: 100%; background: var(--teal); transition: width .4s ease; border-radius: 2px; }

.quiz-q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 24px;
}
.quiz-a {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.quiz-opt {
  text-align: left;
  padding: 16px 20px;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 14.5px;
  transition: all .2s;
  display: flex; align-items: center; gap: 12px;
}
.quiz-opt:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  transform: translateX(4px);
}
.quiz-opt .ic {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-3);
  display: grid; place-items: center;
  color: var(--muted);
  font-size: 11px;
  flex-shrink: 0;
  transition: all .2s;
}
.quiz-opt:hover .ic { border-color: var(--teal); color: var(--teal); }

.quiz-nav {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .04em;
}
.quiz-nav button {
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--text-2);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  transition: all .2s;
}
.quiz-nav button:hover:not([disabled]) { color: var(--text); border-color: var(--text-2); }
.quiz-nav button[disabled] { opacity: .4; cursor: not-allowed; }

/* quiz result */
.quiz-result { text-align: center; padding: 20px 0; }
.quiz-score {
  font-family: var(--f-display); font-weight: 700;
  font-size: 96px; line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--teal), #6be8df);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.quiz-score .of { color: var(--muted); font-size: 32px; -webkit-text-fill-color: var(--muted); font-weight: 400; }
.quiz-tier {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--orange);
  letter-spacing: .12em; text-transform: uppercase;
  margin-top: 14px;
}
.quiz-insight {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
  color: var(--text);
  max-width: 36ch;
  margin: 12px auto 6px;
}
.quiz-insight-body {
  margin: 12px auto 24px;
  color: var(--text-2);
  max-width: 50ch;
  line-height: 1.6;
}
.quiz-similar {
  background: var(--navy);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 24px auto;
  max-width: 56ch;
  font-size: 13.5px;
  color: var(--text-2);
}
.quiz-similar b { color: var(--teal); }

/* ──────────────────────  SKILLS / TECH EXPERTISE  ────────────────────── */
.tech {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
}
.tech-tabs {
  display: flex; flex-direction: column;
  padding: 16px 0;
  border-right: 1px solid var(--line);
  background: var(--navy);
}
.tech-tab {
  text-align: left;
  padding: 12px 24px;
  font-family: var(--f-sans);
  font-size: 13.5px;
  color: var(--text-2);
  border-left: 2px solid transparent;
  transition: all .2s;
  font-weight: 500;
}
.tech-tab:hover { color: var(--text); }
.tech-tab.active {
  background: var(--navy-2);
  color: var(--teal);
  border-left-color: var(--teal);
}
.tech-tab .ct { color: var(--muted); font-family: var(--f-mono); font-size: 10.5px; margin-left: 6px; }
.tech-tab.active .ct { color: var(--teal); }
.tech-panel { padding: 28px; }
.tech-panel h4 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
}
.tech-panel .meta {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.tech-items {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tech-item {
  font-family: var(--f-mono); font-size: 12px;
  padding: 8px 14px;
  background: var(--navy);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text-2);
  transition: all .2s;
}
.tech-item:hover {
  color: var(--teal);
  border-color: var(--teal-dim);
  background: var(--teal-soft);
}

/* ──────────────────────  ACHIEVEMENTS  ────────────────────── */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ach {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.ach:hover { border-color: var(--orange); transform: translateY(-3px); }
.ach-yr {
  font-family: var(--f-display); font-weight: 700;
  font-size: 28px;
  color: var(--orange);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 10px;
}
.ach-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.ach-by {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--teal);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.ach-desc { color: var(--text-2); font-size: 13.5px; line-height: 1.55; }

/* ──────────────────────  THOUGHT LEADERSHIP  ────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
  cursor: pointer;
}
.article:hover { border-color: var(--teal-dim); transform: translateY(-3px); }
.article-tag {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.article h3 {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--text);
}
.article p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
}
.article-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.article-meta .read .arrow { color: var(--teal); }

/* ──────────────────────  CONTACT  ────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal-glow), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-lead h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 12px 0 18px;
  padding-bottom: .08em;
}
.contact-lead .teal { color: var(--teal); }
.contact-lead p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 42ch;
}
.contact-facts { display: flex; flex-direction: column; gap: 10px; font-family: var(--f-mono); font-size: 12.5px; }
.contact-facts .row {
  display: flex; gap: 14px; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-facts .k { color: var(--muted); width: 96px; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.contact-facts .v { color: var(--text); }
.contact-facts a { color: var(--teal); }

.contact-form {
  background: var(--navy);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form h3 {
  margin: 0 0 18px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--navy-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--f-sans); font-size: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); background: var(--navy-3); }
.field textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ──────────────────────  FOOTER  ────────────────────── */
footer.f {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
  flex-wrap: wrap;
  gap: 16px;
}
footer.f .c { color: var(--faint); }

/* ──────────────────────  RESPONSIVE  ────────────────────── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 420px; }
  .kpi-ribbon { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell { border-left: 0 !important; border-top: 1px solid var(--line); }
  .kpi-cell:nth-child(-n+2) { border-top: 0; }
  .kpi-cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .evo-nodes { grid-template-columns: 1fr; gap: 16px; }
  .evo-line { display: none; }
  .evo-detail { grid-template-columns: 1fr; gap: 20px; margin: 24px 16px 0; padding: 22px; }
  .proj-grid, .values-grid, .ach-grid, .articles-grid, .quiz-a { grid-template-columns: 1fr; }
  .hex-wrap { grid-template-columns: 1fr; gap: 24px; }
  .hex-grid { aspect-ratio: 662 / 368; height: auto; }
  .tech { grid-template-columns: 1fr; }
  .tech-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .tech-tab { border-left: 0; border-bottom: 2px solid transparent; flex-shrink: 0; }
  .tech-tab.active { border-left-color: transparent; border-bottom-color: var(--teal); }
  .contact { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .xp { grid-template-columns: 1fr; gap: 6px; }
  .xp-node { display: none; }
  .xp-when, .xp-card { grid-column: 1; }
  .xp-when { text-align: left; padding-right: 0; padding-top: 0; order: -1; margin-bottom: 4px; display: flex; gap: 10px; align-items: baseline; }
  .xp-when .yr { display: inline; }
  .xp-when .dur { display: inline; margin-top: 0; }
  .xp-list::before { display: none; }
}
@media (max-width: 720px) {
  .hero { padding: 48px 0 32px; }
  .nav-cta span.full { display: none; }
}
