/* Abduljawad Amory — portfolio. Visual language mirrors genloop.ai: deep navy, sky-blue type, glass panels, canvas topologies. */
:root {
  --bg: #03101d;
  --bg-2: #051524;
  --panel: #071a2b;
  --panel-2: #0a2236;
  --line: rgba(125, 190, 255, 0.11);
  --line-2: rgba(125, 190, 255, 0.2);
  --text: #f3f7fa;
  --muted: #8aa4ba;
  --dim: #5d778d;
  --head: #a6d9f7;
  --sky: #38bdf8;
  --sky-2: #0ea5e9;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 14px;
  --wrap: 1200px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 7px;
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary {
  color: #fff;
  background: linear-gradient(#0284c7 0%, #075985 100%);
  box-shadow: rgba(0, 114, 176, .6) 0 2px 8px 0, rgb(13, 170, 255) 0 3px 4px -2px inset, rgb(25, 175, 255) 0 2px 1px -1px inset;
}
.btn-light { color: #071a2b; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(10, 34, 54, .6); }
.btn svg { width: 14px; height: 14px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
}
.site-header.scrolled { background: rgba(3, 16, 29, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav { height: 64px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 26px; font-size: 14px; color: #c9d8e4; }
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 1px; background: var(--sky); box-shadow: 0 0 8px var(--sky); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; margin-left: auto; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -340px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(30, 120, 200, .38), rgba(12, 60, 110, .12) 60%, transparent);
  pointer-events: none;
}
#starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; }
.eyebrow { color: var(--sky); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.hero h1 {
  margin: 18px auto 0; max-width: 900px;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #d7efff 0%, #a6d9f7 55%, #6fbfee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { margin: 22px auto 0; max-width: 640px; font-size: 16.5px; line-height: 1.65; color: #9db4c8; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--dim); flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); display: inline-block; }

/* hero visual panel */
.hero-stage {
  position: relative; margin: 64px auto 0; max-width: 1200px; height: 600px;
  border: 1px solid var(--line); border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(30, 110, 190, .22), transparent 60%),
    linear-gradient(180deg, rgba(7, 26, 43, .55), rgba(3, 16, 29, .2));
  overflow: hidden;
}
.hero-stage::before, .hero-stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 34%; pointer-events: none;
  background-image: radial-gradient(rgba(140, 200, 255, .22) 1px, transparent 1.2px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.hero-stage::before { left: -4%; } .hero-stage::after { right: -4%; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tiles { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); display: grid; grid-template-columns: repeat(3, 44px); gap: 12px; z-index: 2; }
.tile {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, #0e2a42, #081c2e); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 14px rgba(0,0,0,.35);
  color: #8fd2fb; font: 600 11px/1 var(--mono); letter-spacing: -0.02em; position: relative;
}
.tile svg { width: 20px; height: 20px; }
.tile[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: #0c2539; border: 1px solid var(--line-2); color: #dceefa; padding: 3px 8px; border-radius: 6px; font: 500 11px var(--font); white-space: nowrap; z-index: 5;
}
.pills { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.pill {
  display: flex; align-items: center; gap: 10px; min-width: 210px; height: 38px; padding: 0 12px;
  border-radius: 9px; background: linear-gradient(180deg, #0e2a42, #0a2034); border: 1px solid var(--line-2);
  color: #dceefa; font-size: 13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 6px 20px rgba(0,0,0,.35);
  transition: border-color .2s, transform .2s;
}
.pill:hover { border-color: rgba(56,189,248,.5); transform: translateX(-3px); }
.pill svg { width: 14px; height: 14px; color: #7cc8f5; flex: none; }
.pill .dot { margin-left: auto; }
.hero-avatar {
  position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; transform: translate(-50%, -50%); z-index: 3;
  border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, rgba(56,189,248,.9), rgba(56,189,248,.05) 35%, rgba(166,217,247,.9) 60%, rgba(56,189,248,.05) 85%, rgba(56,189,248,.9));
  box-shadow: 0 0 40px rgba(56,189,248,.45), 0 0 0 8px rgba(56,189,248,.06), 0 0 0 18px rgba(56,189,248,.03);
  animation: spin 14s linear infinite;
}
.hero-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #061827; animation: spin-img 14s linear infinite; }
.hero-avatar-label {
  position: absolute; left: 50%; top: calc(50% + 74px); transform: translateX(-50%); z-index: 3;
  font: 500 11px var(--mono); color: #b9e2fb; background: rgba(6, 24, 39, .85); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 4px 9px; white-space: nowrap;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-img { to { transform: rotate(-360deg); } }

/* laurels */
.laurels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 960px; margin: 56px auto 0; }
.laurel { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.laurel svg { width: 22px; height: 46px; color: #4fb3ee; flex: none; }
.laurel svg.r { transform: scaleX(-1); }
.laurel b { display: block; color: #e8f4fc; font-weight: 500; font-size: 15px; line-height: 1.3; }
.laurel span { display: block; color: #9db4c8; font-size: 14px; line-height: 1.3; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 130px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; font-size: 13px; }
.sec-head h2 { color: var(--head); font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.028em; max-width: 760px; }
.sec-head h2 em { font-style: normal; color: #e9f6ff; }
.sec-head p { margin-top: 14px; max-width: 620px; color: #93abc0; }

.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 38, 60, .82) 0%, rgba(7, 26, 43, .82) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.card h3 { color: var(--text); font-size: 17px; letter-spacing: -0.005em; }
.card p { font-size: 14px; color: #8fa8bd; margin-top: 8px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 24px; }
.profile-card { padding: 28px; overflow: hidden; }
.profile-card .ph { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.profile-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.02); }
.profile-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3,16,29,.85)); }
.profile-card .ph .badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; color: #e8f4fc; font-size: 13px; }
.profile-card h3 { margin-top: 20px; font-size: 22px; letter-spacing: -0.02em; }
.profile-card .prole { color: var(--sky); font-size: 13.5px; margin-top: 4px; }
.facts { margin-top: 18px; display: grid; gap: 10px; font-size: 13.5px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--line-2); padding-top: 10px; }
.facts dt { color: var(--dim); } .facts dd { margin: 0; color: #d6e6f2; text-align: right; }
.profile-links { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.about-body { padding: 36px; display: flex; flex-direction: column; }
.about-body .quote { color: #e3f1fb; font-size: 22px; line-height: 1.45; letter-spacing: -0.015em; }
.about-body .txt { margin-top: 18px; color: #93abc0; font-size: 15px; white-space: pre-line; }
.stat-strip { margin-top: auto; padding-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-strip .v { color: #e8f4fc; font-size: 30px; letter-spacing: -0.03em; font-weight: 500; }
.stat-strip .l { color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 4px; }

/* ---------- compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .card { padding: 26px; min-height: 360px; display: flex; flex-direction: column; }
.compare .card.with { background: linear-gradient(180deg, rgba(20, 70, 110, .55), rgba(9, 34, 56, .85)); border-color: rgba(56,189,248,.25); }
.compare .lbl { color: #dceefa; font-size: 14px; }
.chat { margin-top: 18px; padding: 18px; border-radius: 12px; background: rgba(3,16,29,.45); border: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; gap: 14px; }
.msg-q { align-self: flex-end; max-width: 80%; background: #2563eb22; border: 1px solid rgba(96,165,250,.35); color: #dbeafe; padding: 9px 13px; border-radius: 10px 10px 2px 10px; font-size: 13.5px; }
.msg-a { display: flex; gap: 10px; font-size: 13.5px; color: #c7d8e5; line-height: 1.6; }
.msg-a .av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 600 10px var(--mono); background: #10304a; color: #7cc8f5; border: 1px solid var(--line-2); }
.cite { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; margin: 0 2px; border-radius: 4px; font: 600 10px var(--mono); background: rgba(56,189,248,.16); color: #7dd3fc; border: 1px solid rgba(56,189,248,.3); vertical-align: 1px; }
.ask { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 6px 0 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(10,34,54,.6); color: var(--dim); font-size: 13px; }
.ask i { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(#0284c7, #075985); display: grid; place-items: center; color: #fff; font-style: normal; }
.verdict { margin-top: 18px; font-size: 14px; }
.verdict b { display: flex; gap: 8px; align-items: center; color: #e8f4fc; font-weight: 500; }
.verdict .x { color: var(--red); } .verdict .ok { color: var(--green); }
.verdict p { margin-top: 6px; color: #8fa8bd; }

/* ---------- challenges ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chal { padding: 26px; min-height: 300px; display: flex; flex-direction: column; }
.chal .ill { flex: 1; min-height: 170px; display: grid; place-items: center; }
.chal .ill svg { width: 100%; max-width: 340px; height: 160px; overflow: visible; }
.chal h3 { margin-top: 10px; }
.flow-dash { stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.blink { animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.strip {
  margin-top: 24px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 20px; align-items: center;
  padding: 26px 30px; border-radius: var(--radius); border: 1px solid rgba(56,189,248,.18);
  background: linear-gradient(90deg, rgba(14, 60, 98, .55), rgba(7, 26, 43, .8));
}
.strip .lead { color: #dceefa; font-size: 14.5px; line-height: 1.5; }
.strip .lead span { display: block; color: var(--sky); }
.strip .v { color: #fff; font-size: 26px; letter-spacing: -0.03em; font-weight: 500; }
.strip .l { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

/* ---------- process (sticky) ---------- */
.process { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; position: relative; }
.steps { position: relative; padding-left: 46px; }
.steps::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent); }
.steps .rail { position: absolute; left: 13px; top: 0; width: 1px; height: 0; background: linear-gradient(180deg, var(--sky), #a6d9f7); box-shadow: 0 0 10px var(--sky); transition: height .2s linear; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; position: relative; opacity: .35; transition: opacity .5s ease; }
.step.active { opacity: 1; }
.step .num {
  position: absolute; left: -46px; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center;
  font: 600 12px var(--mono); color: #cfeafc; background: #0b2337; border: 1px solid var(--line-2);
  transition: background .4s, box-shadow .4s, color .4s;
}
.step.active .num { background: var(--sky-2); color: #fff; box-shadow: 0 0 0 5px rgba(14,165,233,.18), 0 0 18px rgba(14,165,233,.7); border-color: transparent; }
.step h3 { color: #e9f6ff; font-size: 26px; letter-spacing: -0.02em; }
.step p { margin-top: 12px; max-width: 440px; color: #93abc0; font-size: 15px; }
.step .mobile-vis { display: none; }
.stage-wrap { position: sticky; top: 90px; height: calc(100vh - 120px); max-height: 640px; display: flex; align-items: center; }
.stage {
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 100%;
  border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 40%, rgba(25, 90, 150, .35), rgba(7, 26, 43, .95) 70%);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
}
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(.98); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.scene.on { opacity: 1; transform: none; pointer-events: auto; }
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-title { position: absolute; left: 18px; top: 16px; color: #a6d9f7; font-size: 13px; z-index: 2; }
.scene-tag { position: absolute; right: 16px; top: 13px; z-index: 2; font: 500 11px var(--mono); color: #b9d4e6; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; background: rgba(3,16,29,.5); }
.legend { position: absolute; left: 18px; bottom: 14px; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: #9db4c8; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.foot-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 500 11px var(--mono); color: #6f8ba2; z-index: 2; }

/* hub scene chips */
.chip { position: absolute; transform: translate(-50%, -50%); z-index: 2; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 7px; background: #0b2337; border: 1px solid var(--line-2); color: #cfe3f1; font-size: 12px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.chip svg { width: 12px; height: 12px; color: #7cc8f5; }
.hub-core { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #5cc4ff, #0b6db3 55%, #06345a); box-shadow: 0 0 0 10px rgba(56,189,248,.08), 0 0 0 22px rgba(56,189,248,.04), 0 0 50px rgba(56,189,248,.6); }
.hub-core svg { width: 46px; height: 46px; color: #fff; }
.hub-label { position: absolute; left: 50%; top: calc(50% + 70px); transform: translateX(-50%); z-index: 2; text-align: center; font-size: 12px; color: #dceefa; background: rgba(3,16,29,.75); border: 1px solid var(--line-2); border-radius: 7px; padding: 5px 10px; white-space: nowrap; }
.hub-label small { display: block; font: 500 10px var(--mono); color: #7d98ae; letter-spacing: .04em; }

/* monitoring scene */
.mon { position: absolute; inset: 52px 18px 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; z-index: 2; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); background: rgba(3,16,29,.5); border-radius: 10px; padding: 10px 12px; }
.kpi .k { font: 500 10.5px var(--mono); color: #7d98ae; text-transform: uppercase; letter-spacing: .05em; }
.kpi .v { color: #fff; font-size: 22px; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 11px; }
.up { color: var(--green); } .down { color: var(--red); }
.chart-box { position: relative; border: 1px solid var(--line); background: rgba(3,16,29,.45); border-radius: 10px; overflow: hidden; }
.chart-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart-box .t { position: absolute; left: 12px; top: 8px; font: 500 10.5px var(--mono); color: #7d98ae; z-index: 2; }
.alarms { border: 1px solid var(--line); background: rgba(3,16,29,.5); border-radius: 10px; padding: 8px 10px; height: 118px; overflow: hidden; font: 500 11px var(--mono); }
.alarm { display: grid; grid-template-columns: 54px 66px 1fr auto; gap: 8px; align-items: center; padding: 4px 2px; border-bottom: 1px dashed rgba(125,190,255,.08); color: #b6cbdb; animation: slidein .5s ease; white-space: nowrap; overflow: hidden; }
.alarm span:nth-child(3) { overflow: hidden; text-overflow: ellipsis; }
.sev { font-size: 10px; padding: 1px 6px; border-radius: 4px; text-align: center; }
.sev.crit { color: #fecaca; background: rgba(248,113,113,.18); } .sev.maj { color: #fde68a; background: rgba(251,191,36,.16); } .sev.min { color: #bae6fd; background: rgba(56,189,248,.14); } .sev.clr { color: #bbf7d0; background: rgba(74,222,128,.14); }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }

/* learn scene */
.learn { position: absolute; inset: 56px 22px 22px; display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.diffcard { border: 1px solid var(--line-2); background: rgba(6,24,39,.9); border-radius: 12px; padding: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.diffcard .hd { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #dceefa; }
.diffcard .hd .who { display: flex; align-items: center; gap: 8px; }
.diffcard .hd .who i { width: 22px; height: 22px; border-radius: 50%; background: #164e74; display: grid; place-items: center; font: 600 9px var(--mono); color: #bae6fd; font-style: normal; }
.diffcard .hd small { color: #7d98ae; }
.diffcard .file { margin-top: 10px; font: 500 11px var(--mono); color: #7d98ae; }
.diff { margin-top: 8px; border-radius: 8px; overflow: hidden; font: 500 11.5px var(--mono); }
.diff div { padding: 6px 10px; }
.diff .del { background: rgba(248,113,113,.1); color: #fca5a5; }
.diff .add { background: rgba(74,222,128,.1); color: #86efac; }
.diffcard .act { margin-top: 12px; display: flex; justify-content: flex-end; gap: 8px; }
.diffcard .act span { font-size: 12px; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--line-2); color: #cfe3f1; }
.diffcard .act .ap { background: #16a34a; border-color: #16a34a; color: #fff; transition: box-shadow .3s; }
.diffcard .act .ap.pressed { box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.wf { border: 1px solid var(--line); background: rgba(3,16,29,.5); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #cfe3f1; }
.wf-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px dashed rgba(125,190,255,.08); }
.wf-row:last-child { border: 0; }
.wf-row .st { margin-left: auto; font: 500 10.5px var(--mono); }
.learn .hub-core { position: relative; left: auto; top: auto; transform: none; margin: auto auto 0; width: 76px; height: 76px; flex: none; }
.learn .hub-core svg { width: 36px; height: 36px; }
.verified { align-self: center; display: none; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: #bbf7d0; background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.35); }
.verified.show { display: inline-flex; animation: slidein .4s ease; }

/* ---------- research ---------- */
.research { padding: 30px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; }
.research .k { font: 500 11px var(--mono); color: #7d98ae; letter-spacing: .06em; text-transform: uppercase; }
.research .big { color: #fff; font-size: 64px; letter-spacing: -0.04em; line-height: 1; margin-top: 18px; font-weight: 500; }
.research .big + p { margin-top: 10px; max-width: 420px; color: #9db4c8; }
.bars { margin-top: 26px; display: grid; gap: 14px; }
.bar .t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #cfe3f1; }
.bar .t span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .t span:last-child { font: 500 12px var(--mono); color: #7dd3fc; }
.bar .track { margin-top: 6px; height: 8px; border-radius: 99px; background: rgba(125,190,255,.08); overflow: hidden; }
.bar .fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #0369a1, #38bdf8); box-shadow: 0 0 12px rgba(56,189,248,.5); transition: width 1.4s cubic-bezier(.2,.7,.2,1); }
.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; color: #b9d4e6; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(3,16,29,.4); }
.mcards { display: grid; gap: 14px; }
.mcard { border: 1px solid var(--line); border-radius: 12px; background: rgba(3,16,29,.45); padding: 18px; }
.mcard .row { display: flex; align-items: center; justify-content: space-between; }
.mcard .row span { color: #cfe3f1; font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.mcard .row b { color: #fff; font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.mcard .sub { margin-top: 10px; font: 500 11px var(--mono); color: #7d98ae; display: flex; justify-content: space-between; }
.pubs { margin-top: 24px; display: grid; gap: 0; }
.pub { display: grid; grid-template-columns: 70px 1fr auto; gap: 18px; align-items: baseline; padding: 18px 4px; border-top: 1px solid var(--line); }
.pub .y { font: 500 13px var(--mono); color: var(--sky); }
.pub h4 { color: #e8f4fc; font-size: 15.5px; letter-spacing: -0.01em; }
.pub h4 a:hover { color: #7dd3fc; }
.pub .meta { margin-top: 4px; font-size: 13px; color: #7d98ae; }
.pub .c { font: 500 12px var(--mono); color: #9db4c8; white-space: nowrap; }

/* ---------- projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .3s ease, border-color .3s ease; }
.proj:hover { transform: translateY(-4px); border-color: rgba(56,189,248,.35); }
.proj .thumb { position: relative; height: 210px; overflow: hidden; border-bottom: 1px solid var(--line); background: #061a2b; }
.proj .thumb canvas, .proj .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj .thumb img { filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: .85; }
.proj .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,70,120,.15), rgba(3,16,29,.75)); pointer-events: none; }
.proj .cat { position: absolute; left: 14px; bottom: 12px; z-index: 2; font: 500 11px var(--mono); color: #b9e2fb; letter-spacing: .08em; text-transform: uppercase; }
.proj .feat { position: absolute; right: 12px; top: 12px; z-index: 2; font: 500 10.5px var(--mono); color: #bbf7d0; border: 1px solid rgba(74,222,128,.35); background: rgba(3,16,29,.6); border-radius: 5px; padding: 2px 7px; }
.proj .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.proj .body .more { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--sky); display: inline-flex; gap: 6px; align-items: center; }
.proj .mini-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.proj .mini-tags span { font: 500 10.5px var(--mono); color: #9db4c8; border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(1, 8, 15, .72); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-card { width: 100%; max-width: 760px; max-height: calc(100vh - 48px); overflow: auto; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #0b2438, #061827); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.modal-card .thumb { position: relative; height: 240px; border-bottom: 1px solid var(--line); }
.modal-card .thumb canvas, .modal-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-card .inner { padding: 28px 30px 32px; }
.modal-card h3 { color: #fff; font-size: 28px; letter-spacing: -0.025em; }
.modal-card .cat { font: 500 11px var(--mono); color: var(--sky); text-transform: uppercase; letter-spacing: .08em; }
.modal-card .desc { margin-top: 14px; color: #a7bdcf; font-size: 15px; }
.modal-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.modal-card li { display: flex; gap: 10px; color: #d6e6f2; font-size: 14px; }
.modal-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px var(--sky); }
.modal-metrics { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-metrics div { flex: 1; min-width: 140px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: rgba(3,16,29,.4); }
.modal-metrics b { display: block; color: #fff; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.modal-metrics span { font-size: 12.5px; color: #8fa8bd; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 8px; background: rgba(3,16,29,.7); border: 1px solid var(--line-2); color: #fff; font-size: 18px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bento .card { overflow: hidden; display: flex; flex-direction: column; }
.bento .vis { position: relative; flex: 1; min-height: 220px; }
.bento .vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bento .txt { padding: 0 24px 24px; }
.bento .txt .ex { margin-top: 12px; font-size: 13px; color: var(--sky); display: inline-flex; gap: 6px; }
.b-graph { grid-column: span 7; grid-row: span 2; min-height: 620px; }
.b-loop { grid-column: span 5; }
.b-small { grid-column: span 5; display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; background: none !important; border: 0 !important; box-shadow: none !important; }
.b-small > .card { min-height: 0; }
.b-half { grid-column: span 6; }
.skill-chips { position: absolute; inset: 0; pointer-events: none; }
.gtag { position: absolute; font: 500 11px var(--mono); color: #cfe3f1; background: rgba(6,24,39,.85); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; white-space: nowrap; transform: translate(-50%, -50%); }
.rules { position: absolute; inset: 22px 22px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(6,24,39,.85); padding: 14px; font-size: 12.5px; color: #dceefa; }
.rules .hd { display: flex; justify-content: space-between; align-items: center; }
.rules .pend { font-size: 11px; color: #fde68a; border: 1px solid rgba(251,191,36,.4); border-radius: 6px; padding: 2px 8px; background: rgba(251,191,36,.08); }
.rules .cols { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rules .cols small { color: #7d98ae; font-size: 11px; }
.ln { height: 6px; border-radius: 4px; background: rgba(125,190,255,.14); margin-top: 7px; }
.ln.b { background: rgba(56,189,248,.45); }
.rules .act { margin-top: 14px; display: flex; justify-content: flex-end; gap: 8px; }
.rules .act span { font-size: 11.5px; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; }
.rules .act .ap { background: #16a34a; border-color: #16a34a; color: #fff; }
.cloud-vis { display: grid; place-items: center; padding: 24px 12px 6px; }
.cloud { position: relative; width: 150px; height: 84px; border-radius: 42px; border: 1px solid rgba(56,189,248,.45); background: radial-gradient(circle at 50% 30%, rgba(56,189,248,.25), rgba(6,24,39,.9)); display: grid; place-items: center; color: #dceefa; font-size: 12px; box-shadow: 0 0 30px rgba(56,189,248,.25); }
.cloud-pills { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.cloud-pills span { font: 500 10px var(--mono); color: #b9d4e6; border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; background: rgba(3,16,29,.5); }
.ifaces { display: flex; justify-content: center; align-items: flex-end; gap: 6px; padding: 34px 8px 10px; }
.ifaces div { display: grid; justify-items: center; gap: 6px; font-size: 10.5px; color: #9db4c8; }
.ifaces i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: #0b2337; color: #7cc8f5; font-style: normal; }
.ifaces i svg { width: 16px; height: 16px; }
.ifaces div:nth-child(3) i { width: 40px; height: 40px; background: radial-gradient(circle at 35% 30%, #5cc4ff, #0b6db3 60%); color: #fff; }
.b-small .card .txt { padding: 0 18px 18px; }
.b-small .card h3 { font-size: 15.5px; }
.dash-mini { position: absolute; inset: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-mini .tile2 { border: 1px solid var(--line); border-radius: 10px; background: rgba(6,24,39,.75); padding: 10px 12px; position: relative; overflow: hidden; }
.dash-mini .tile2 small { color: #7d98ae; font: 500 10px var(--mono); }
.dash-mini .tile2 b { display: block; color: #fff; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }
.dash-mini .tile2 small, .dash-mini .tile2 b { position: relative; z-index: 1; }
.dash-mini canvas { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; width: 100%; }
.cert-strip { margin-top: 20px; display: flex; align-items: center; gap: 24px; padding: 20px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(90deg, rgba(12,38,60,.85), rgba(7,26,43,.85)); flex-wrap: wrap; }
.seals { display: flex; gap: 10px; }
.seal { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 700 10px/1.1 var(--mono); color: #dceefa; background: radial-gradient(circle at 35% 30%, #4b6378, #1c2c3a 70%); border: 2px solid #5b738a; box-shadow: inset 0 0 0 3px #1c2c3a, inset 0 0 0 4px #6c849b; }
.cert-strip h3 { color: #e8f4fc; font-size: 17px; }
.cert-strip .tags { margin-top: 8px; }
.cert-strip .btn { margin-left: auto; }

/* ---------- experience ---------- */
.exp { display: grid; grid-template-columns: 300px 1fr; gap: 48px; }
.exp-side { position: sticky; top: 100px; align-self: start; }
.exp-side .co { display: flex; align-items: center; gap: 14px; }
.exp-side .logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #0e2a42, #081c2e); border: 1px solid var(--line-2); color: #fff; font-weight: 600; }
.exp-side .co b { display: block; color: #fff; font-size: 18px; font-weight: 500; }
.exp-side .co span { color: var(--muted); font-size: 13px; }
.exp-side p { margin-top: 18px; font-size: 14px; color: #93abc0; }
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--sky), var(--line-2) 30%, var(--line-2) 85%, transparent); }
.role { position: relative; padding: 22px 24px; margin-bottom: 18px; }
.role::before { content: ""; position: absolute; left: -33px; top: 28px; width: 11px; height: 11px; border-radius: 50%; background: #0b2337; border: 2px solid var(--sky); box-shadow: 0 0 10px rgba(56,189,248,.6); }
.role .top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.role h3 { font-size: 18px; }
.role .when { font: 500 12px var(--mono); color: var(--sky); white-space: nowrap; }
.role .where { margin-top: 2px; font-size: 13px; color: var(--dim); }
.role .sum { margin-top: 10px; color: #a7bdcf; font-size: 14.5px; }
.role ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.role li { position: relative; padding-left: 16px; font-size: 14px; color: #93abc0; }
.role li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--sky); }
.role .tags { margin-top: 14px; }
.role .toggle { margin-top: 10px; font-size: 13px; color: var(--sky); }
.role.collapsed ul li:nth-child(n+3) { display: none; }

/* ---------- education ---------- */
.edu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edu .card { padding: 24px; display: flex; flex-direction: column; }
.edu .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3); color: #7dd3fc; margin-bottom: 18px; }
.edu .ic svg { width: 20px; height: 20px; }
.edu .school { margin-top: 6px; color: var(--sky); font-size: 13.5px; }
.edu .when { margin-top: auto; padding-top: 16px; font: 500 12px var(--mono); color: var(--dim); }
.certs { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.cert .ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.3); color: var(--green); }
.cert .ic svg { width: 16px; height: 16px; }
.cert h4 { color: #e8f4fc; font-size: 14.5px; font-weight: 500; }
.cert p { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.cert small { display: block; margin-top: 6px; font: 500 11px var(--mono); color: var(--dim); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; text-align: left; display: flex; align-items: center; gap: 16px; padding: 22px 4px; color: #e8f4fc; font-size: 16.5px; }
.qa button svg { width: 16px; height: 16px; flex: none; color: var(--sky); transition: transform .3s; }
.qa.open button svg { transform: rotate(90deg); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 4px 22px 36px; color: #93abc0; max-width: 820px; }
.qa.open .ans { grid-template-rows: 1fr; }

/* ---------- cta ---------- */
.cta {
  position: relative; margin-top: 130px; border-radius: 22px; border: 1px solid rgba(56,189,248,.2);
  padding: 110px 24px; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(30, 120, 200, .45), transparent 65%), linear-gradient(180deg, #071a2b, #04121f);
}
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.035em; color: #e9f6ff; max-width: 860px; margin: 0 auto; }
.cta h2 span { background: linear-gradient(180deg, #a6d9f7, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta p { position: relative; margin-top: 18px; color: #9db4c8; }
.cta .hero-actions { position: relative; }

/* ---------- footer ---------- */
footer { position: relative; margin-top: 110px; border-top: 1px solid var(--line); padding: 56px 0 40px; overflow: hidden; }
footer::after { content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(30,120,200,.3), transparent); pointer-events: none; }
.foot { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot h5 { margin: 0 0 14px; color: #e8f4fc; font-size: 14px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.foot ul a:hover { color: #fff; }
.foot .about { font-size: 13.5px; max-width: 320px; margin-top: 16px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-2); color: #cfe3f1; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--sky); color: #fff; }
.socials svg { width: 15px; height: 15px; }
.copy { position: relative; margin-top: 48px; text-align: center; font-size: 12.5px; color: var(--dim); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .profile-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
  .profile-card h3 { margin-top: 0; }
  .projects { grid-template-columns: 1fr 1fr; }
  .b-graph, .b-loop, .b-small, .b-half { grid-column: span 12; }
  .b-graph { min-height: 520px; }
  .research { grid-template-columns: 1fr; }
  .exp { grid-template-columns: 1fr; gap: 28px; }
  .exp-side { position: static; }
  .edu, .certs { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip .lead { grid-column: 1 / -1; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pills { right: 3%; } .tiles { left: 3%; grid-template-columns: repeat(3, 38px); gap: 8px; }
  .tile { width: 38px; height: 38px; }
  .pill { min-width: 0; }
  .process { grid-template-columns: 1fr; }
  .stage-wrap { display: none; }
  .steps { padding-left: 40px; }
  .step { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .step .num { left: -40px; }
  .step .mobile-vis { display: block; position: relative; margin-top: 20px; aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse at 50% 40%, rgba(25, 90, 150, .35), rgba(7, 26, 43, .95) 70%); }
  .step .mobile-vis .scene { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .mobile-menu { display: block; position: fixed; inset: 64px 0 auto 0; z-index: 49; background: rgba(3,16,29,.97); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .3s ease; }
  .menu-open .mobile-menu { transform: none; }
  .mobile-menu a { display: block; padding: 12px 0; color: #dceefa; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }
  .hero { padding-top: 120px; }
  .hero-stage { height: 520px; margin-top: 44px; }
  .tiles { top: 22px; left: 50%; transform: translateX(-50%); grid-template-columns: repeat(9, 30px); gap: 6px; }
  .tile { width: 30px; height: 30px; border-radius: 8px; font-size: 9px; }
  .tile svg { width: 15px; height: 15px; }
  .pills { top: auto; bottom: 18px; right: 50%; transform: translateX(50%); gap: 8px; }
  .pill { height: 32px; font-size: 12px; min-width: 230px; }
  .hero-avatar { width: 84px; height: 84px; top: 46%; }
  .hero-avatar-label { top: calc(46% + 56px); }
  .laurels { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .section { padding-top: 96px; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .profile-card { display: block; }
  .about-body { padding: 24px; }
  .about-body .quote { font-size: 19px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .compare, .grid-2, .projects, .edu, .certs { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; padding: 22px; }
  .research { padding: 22px; }
  .research .big { font-size: 52px; }
  .pub { grid-template-columns: 1fr; gap: 4px; }
  .b-small { grid-template-columns: 1fr; }
  .b-graph { min-height: 460px; }
  .cert-strip .btn { margin-left: 0; }
  .cta { padding: 80px 18px; margin-top: 96px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .kpi .v { font-size: 17px; }
  .chip { font-size: 10.5px; height: 24px; padding: 0 7px; }
  .chip svg { display: none; }
  .hub-core { width: 64px; height: 64px; }
  .hub-core svg { width: 32px; height: 32px; }
  .hub-label { top: calc(50% + 46px); font-size: 11px; }
  .hub-label small { display: none; }
  .foot-note { display: none; }
  .alarm { grid-template-columns: 44px 56px 1fr; } .alarm span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
