:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --ink: #102039;
  --ink-soft: #526176;
  --muted: #7b8798;
  --line: #dce4ef;
  --line-strong: #c8d4e4;
  --blue: #1a56db;
  --blue-dark: #1243b5;
  --blue-pale: #e8f0ff;
  --navy: #0c1b33;
  --green: #1d9b62;
  --shadow: 0 24px 70px rgba(30, 67, 122, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111f;
  --surface: #0d1828;
  --surface-soft: #13233a;
  --ink: #f1f5fb;
  --ink-soft: #b0bfd3;
  --muted: #8495ad;
  --line: #203149;
  --line-strong: #314762;
  --blue: #73a5ff;
  --blue-dark: #1d54bb;
  --blue-pale: #172b4e;
  --navy: #050b14;
  --green: #45d495;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: 116px 0; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(247, 249, 252, .9);
  border-color: rgba(200, 212, 228, .75);
  box-shadow: 0 8px 34px rgba(32, 56, 92, .07);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: flex-start; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  letter-spacing: .02em;
  box-shadow: 0 8px 20px rgba(26, 86, 219, .2);
}
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav > a:not(.nav-download) { color: var(--ink-soft); font-size: 14px; font-weight: 650; transition: color .2s ease; }
.site-nav > a:not(.nav-download):hover, .site-nav > a.active { color: var(--blue); }
.nav-download {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-download:hover { border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,86,219,.1); }
.theme-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,86,219,.1); }
.theme-icon { position: absolute; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface); padding: 11px; cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { min-height: 100svh; display: grid; align-items: center; padding-top: 128px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: 78px; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.hero-orb-one { width: 520px; height: 520px; right: -170px; top: 90px; background: radial-gradient(circle, rgba(118,164,255,.18), rgba(118,164,255,0) 68%); }
.hero-orb-two { width: 400px; height: 400px; left: -220px; bottom: -90px; background: radial-gradient(circle, rgba(138,210,255,.16), rgba(138,210,255,0) 70%); }
.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 7px 12px;
  border: 1px solid #cce3d8;
  border-radius: 999px;
  background: #f2fbf7;
  color: #236b4e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(29,155,98,.11); }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { color: var(--line-strong); padding-inline: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 25px; max-width: 760px; font-size: clamp(3.25rem, 6vw, 5.85rem); line-height: .99; letter-spacing: -.066em; font-weight: 780; }
.accent-text { display: block; color: var(--blue); }
.hero-positioning { max-width: 660px; margin-bottom: 14px; color: var(--ink); font-size: clamp(1.22rem, 2vw, 1.52rem); line-height: 1.42; font-weight: 680; letter-spacing: -.02em; }
.hero-intro { max-width: 660px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(1rem, 1.45vw, 1.13rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 740;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 32px rgba(26,86,219,.22); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 16px 38px rgba(26,86,219,.29); }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.8); color: var(--ink); }
.button-secondary:hover { border-color: var(--blue); box-shadow: 0 12px 30px rgba(30,67,122,.09); }
.hero-links { display: flex; align-items: center; gap: 14px; margin-top: 27px; color: var(--ink-soft); font-size: 14px; }
.hero-links span { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.hero-links a { transition: color .2s ease; }
.hero-links a:hover { color: var(--blue); }

.portrait-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 620px;
  margin-left: auto;
  isolation: isolate;
}
.portrait-backdrop {
  position: absolute;
  z-index: -2;
  inset: 48px 12px 32px 74px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(232,240,255,.95), rgba(210,227,255,.62)),
    linear-gradient(45deg, transparent 46%, rgba(26,86,219,.08) 47% 53%, transparent 54%);
  background-size: auto, 28px 28px;
  border: 1px solid rgba(156,184,235,.52);
}
.portrait-backdrop::before,
.portrait-backdrop::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,86,219,.15);
}
.portrait-backdrop::before { width: 220px; height: 220px; right: -58px; top: -52px; }
.portrait-backdrop::after { width: 112px; height: 112px; left: -42px; bottom: 72px; }
.portrait-frame {
  position: absolute;
  inset: 20px 44px 72px 94px;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.9);
  border-radius: 34px;
  background: #dce6f5;
  box-shadow: 0 30px 80px rgba(29,67,125,.2);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}
.portrait-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(190,205,226,.8);
  border-radius: 15px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px rgba(30,67,122,.16);
  backdrop-filter: blur(14px);
}
.founder-code-card { position: absolute; z-index: 3; left: -22px; bottom: 78px; width: 248px; overflow: hidden; border: 1px solid rgba(142,179,255,.38); border-radius: 16px; background: rgba(7,17,33,.95); color: #dce8fb; box-shadow: 0 22px 48px rgba(12,27,51,.3); backdrop-filter: blur(14px); }
.founder-code-head { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-bottom: 1px solid rgba(142,179,255,.18); color: #9eb5d5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.code-window-dots { display: inline-flex; gap: 4px; }
.code-window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #6685b4; }
.code-window-dots i:nth-child(1) { background: #f59e9e; }
.code-window-dots i:nth-child(2) { background: #f5d27b; }
.code-window-dots i:nth-child(3) { background: #7ed4ae; }
.founder-code-card pre { margin: 0; padding: 13px 15px 15px; overflow: hidden; color: #dbeafe; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.7; white-space: pre-wrap; }
.founder-code-card code { font: inherit; }
.code-keyword { color: #8eb3ff; }
.code-variable { color: #5eead4; }
.code-string { color: #f7c982; }
.experience-chip { right: 0; top: 91px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; }
.experience-chip strong { color: var(--blue); font-size: 24px; line-height: 1; }
.experience-chip span { color: var(--ink-soft); font-size: 10px; line-height: 1.35; font-weight: 650; }
.portrait-signature {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 12px;
  background: var(--navy);
  color: #d9e5f6;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(12,27,51,.2);
}
.portrait-signature i { width: 3px; height: 3px; border-radius: 50%; background: #70a1ff; }

.architecture-card { position: relative; overflow: hidden; border: 1px solid rgba(191,207,229,.9); border-radius: var(--radius-lg); background: rgba(255,255,255,.86); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.architecture-card::after { content: ""; position: absolute; inset: auto -90px -100px auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(26,86,219,.08), transparent 66%); pointer-events: none; }
.card-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 19px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #cfdaea; }
.window-dots i:nth-child(2) { background: #bcd0ef; }
.window-dots i:nth-child(3) { background: #87aef5; }
.card-status { justify-self: end; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.code-panel { margin: 20px 20px 0; padding: 20px; border-radius: 16px; background: var(--navy); color: #c7d7ee; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.6; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.code-panel p { margin-bottom: 3px; }
.code-key { color: #8eb3ff; }
.code-mark { color: #647894; }
.code-string { color: #83e4bd; }
.code-indent { padding-left: 24px; }
.service-map { padding: 25px 24px 22px; text-align: center; }
.service-node { position: relative; z-index: 1; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 9px 22px rgba(30,67,122,.06); }
.service-node span, .service-node small { display: block; }
.service-node span { color: var(--ink); font-size: 13px; font-weight: 780; }
.service-node small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.service-main { width: 55%; margin: 0 auto; border-color: #bbcef5; background: var(--blue-pale); }
.service-line { width: 1px; height: 18px; margin: auto; background: var(--line-strong); }
.service-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-row::before { content: ""; position: absolute; left: 25%; right: 25%; top: -9px; height: 1px; background: var(--line-strong); }
.service-row .service-node::before { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 9px; background: var(--line-strong); }
.profile-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(238,244,255,.53); }
.profile-metrics div { padding: 18px 12px; text-align: center; }
.profile-metrics div + div { border-left: 1px solid var(--line); }
.profile-metrics strong, .profile-metrics span { display: block; }
.profile-metrics strong { font-size: 17px; letter-spacing: -.02em; }
.profile-metrics span { color: var(--muted); font-size: 10px; }

.section-heading { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, 1fr); gap: 50px; align-items: start; margin-bottom: 62px; }
.section-index { margin: 8px 0 0; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.09; letter-spacing: -.05em; }
.about { overflow: hidden; background: var(--surface); }
.about::after { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; bottom: -290px; border: 1px solid rgba(26,86,219,.1); border-radius: 50%; box-shadow: 0 0 0 92px rgba(26,86,219,.025), 0 0 0 184px rgba(26,86,219,.018); pointer-events: none; }
.about > .container { position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 74px; align-items: start; }
.about-copy { color: var(--ink-soft); }
.about-copy .lead { color: var(--ink); font-size: 1.3rem; line-height: 1.55; font-weight: 590; }
.founder-note { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--line); }
.founder-note-mark { display: block; width: 56px; height: 56px; flex: 0 0 auto; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: #fff; object-fit: contain; object-position: center; box-shadow: 0 9px 22px rgba(26,86,219,.18); }
.founder-note strong, .founder-note span { display: block; }
.founder-note strong { color: var(--ink); font-size: 15px; }
.founder-note span { color: var(--muted); font-size: 13px; }
.about-skills-visual { position: relative; display: flex; min-height: 510px; align-items: center; isolation: isolate; }
.about-skills-visual::before { content: ""; position: absolute; z-index: -2; width: 330px; height: 330px; right: 8px; top: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(26,86,219,.18), rgba(26,86,219,.055) 48%, transparent 70%); transform: translateY(-50%); filter: blur(2px); pointer-events: none; }
.about-portrait-cutout { position: absolute; z-index: -1; right: -34px; bottom: -30px; display: block; width: auto; height: 108%; max-width: none; opacity: .48; object-fit: contain; object-position: right bottom; filter: saturate(.72) contrast(1.04) drop-shadow(0 24px 34px rgba(14,43,91,.15)); pointer-events: none; user-select: none; }
.skills-panel { display: grid; gap: 26px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.about-skills-visual .skills-panel { position: relative; z-index: 2; width: min(72%, 470px); border-color: rgba(200,212,228,.88); background: rgba(247,249,252,.91); box-shadow: 0 24px 60px rgba(30,67,122,.12); backdrop-filter: blur(18px); }
.skill-group > p { margin-bottom: 13px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.skill-list { display: flex; flex-wrap: wrap; gap: 9px; }
.skill-list span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink-soft); font-size: 13px; font-weight: 640; }
.education { overflow: hidden; background: var(--bg); }
.education::before { content: ""; position: absolute; width: 470px; height: 470px; right: -235px; top: 235px; border: 1px solid rgba(26,86,219,.09); border-radius: 50%; box-shadow: 0 0 0 82px rgba(26,86,219,.022), 0 0 0 164px rgba(26,86,219,.014); pointer-events: none; }
.education > .container { position: relative; z-index: 1; }
.education-heading { align-items: end; }
.education-intro { max-width: 680px; margin: 20px 0 0; color: var(--ink-soft); }
.education-stage { position: relative; min-height: 560px; padding-right: 220px; isolation: isolate; }
.education-stage::before { content: ""; position: absolute; z-index: -2; width: 360px; height: 360px; right: -20px; top: 48%; border-radius: 50%; background: radial-gradient(circle, rgba(26,86,219,.15), rgba(26,86,219,.045) 50%, transparent 72%); transform: translateY(-50%); filter: blur(2px); pointer-events: none; }
.education-graduation-cutout { position: absolute; z-index: -1; right: -55px; bottom: -20px; display: block; width: auto; height: 650px; max-width: none; opacity: .43; object-fit: contain; object-position: right bottom; filter: saturate(.7) contrast(1.04) drop-shadow(0 24px 34px rgba(14,43,91,.14)); pointer-events: none; user-select: none; }
.education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.education-stage .education-grid { position: relative; z-index: 2; }
.education-card { display: flex; min-width: 0; flex-direction: column; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 18px 52px rgba(30,67,122,.07); }
.education-summary { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: start; gap: 16px; }
.education-logo { display: block; width: 96px; height: 56px; padding: 5px; border: 1px solid rgba(147,197,253,.3); border-radius: 14px; background: #fff; object-fit: contain; object-position: center; }
.education-type { margin-bottom: 4px; color: var(--blue); font-size: 11px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.education-summary h3 { margin-bottom: 4px; font-size: 1.18rem; line-height: 1.3; letter-spacing: -.025em; }
.education-institution { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.education-period { margin: 6px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.credential-status { align-self: start; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.credential-status-complete { border: 1px solid #bde2ce; background: #ecf8f1; color: #176b47; }
.credential-status-progress { border: 1px solid #c9daf7; background: #eef4ff; color: #2459af; }
.education-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.education-result span { color: var(--muted); font-size: 12px; font-weight: 720; }
.education-result strong { color: var(--ink); font-size: 13px; text-align: right; }
.credential-proof { display: flex; align-items: flex-start; gap: 15px; margin-top: auto; padding: 19px; border: 1px dashed var(--line-strong); border-radius: 16px; background: var(--surface-soft); }
.credential-proof svg { width: 29px; height: 29px; flex: 0 0 auto; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.credential-proof span,
.credential-proof strong { display: block; }
.credential-proof span { margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.credential-proof strong { color: var(--ink); font-size: 14px; }
.credential-proof p { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.general-education { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.general-education-label { margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.general-education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.school-qualification { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.school-level { position: relative; display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 13px; background: #f8fbff; }
.school-level img { display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.school-level span { position: absolute; right: 3px; bottom: 3px; padding: 2px 4px; border-radius: 4px; background: rgba(7,19,38,.82); color: #fff; font-size: 9px; font-weight: 850; letter-spacing: .03em; line-height: 1; }
.school-qualification strong,
.school-qualification div > span { display: block; }
.school-qualification strong { color: var(--ink); font-size: 14px; }
.school-qualification div > span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.school-result { padding: 6px 9px; border: 1px solid #bde2ce; border-radius: 999px; background: #ecf8f1; color: #176b47; font-size: 10px; font-weight: 800; }

.certificate-showcase { margin-top: 28px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 18px 52px rgba(30,67,122,.07); }
.certificate-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.certificate-heading .education-type { margin-bottom: 8px; }
.certificate-heading h3 { margin-bottom: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.035em; }
.certificate-heading > p { max-width: 340px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; text-align: right; }
.certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.certificate-card { position: relative; display: block; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); color: var(--ink); font: inherit; text-align: left; cursor: zoom-in; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.certificate-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 34px rgba(30,67,122,.1); }
.certificate-card > img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 14px; background: #eef2f7; object-fit: contain; object-position: center; }
.credential-preview-badge { position: absolute; z-index: 2; top: 13px; right: 13px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(7,19,38,.84); color: #fff; font-size: 10px; font-weight: 820; letter-spacing: .03em; line-height: 1; box-shadow: 0 8px 22px rgba(7,19,38,.2); backdrop-filter: blur(8px); }
.credential-preview-badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.certificate-card-copy { display: block; padding: 15px 16px 17px; }
.certificate-card-copy strong, .certificate-card-copy span { display: block; }
.certificate-card-copy strong { font-size: 14px; }
.certificate-card-copy span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.certificate-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: stretch; border-color: rgba(54,116,225,.34); background: linear-gradient(135deg, var(--bg), var(--blue-pale)); }
.certificate-card-featured > img { height: 100%; min-height: 330px; aspect-ratio: auto; }
.certificate-card-featured .certificate-card-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px; border-left: 1px solid var(--line); }
.certificate-card-featured .certificate-card-copy strong { margin-top: 9px; color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.03em; }
.certificate-card-featured .certificate-card-copy > span:last-child { margin-top: 12px; font-size: 13px; line-height: 1.6; }
.certificate-award-kicker { width: fit-content; margin-top: 0 !important; padding: 6px 9px; border: 1px solid #dbc889; border-radius: 999px; background: #fff5ce; color: #745512 !important; font-size: 10px !important; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.certificate-card > .sample-badge { position: absolute; top: 12px; right: 12px; }

.experience { overflow: hidden; background: var(--surface); }
.experience-layout {
  display: grid;
  grid-template-columns: minmax(270px, .62fr) minmax(0, 1.38fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: stretch;
}
.experience-portrait-stage {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  pointer-events: none;
}
.experience-portrait-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -50px;
  right: -6px;
  top: 30px;
  bottom: 28px;
  border: 1px solid rgba(54,116,225,.18);
  border-radius: 46% 46% 28px 28px;
  background:
    radial-gradient(circle at 54% 27%, rgba(54,116,225,.19), transparent 39%),
    linear-gradient(160deg, rgba(255,255,255,.66), rgba(221,233,252,.2));
  box-shadow: inset 0 1px rgba(255,255,255,.74), 0 28px 70px rgba(41,75,127,.1);
}
.experience-portrait-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -23px;
  bottom: 28px;
  width: 118px;
  height: 1px;
  background: linear-gradient(90deg, rgba(54,116,225,.62), transparent);
  box-shadow: 0 -7px 0 -3px rgba(54,116,225,.36);
}
.experience-portrait-cutout {
  position: absolute;
  z-index: 2;
  left: -54px;
  bottom: -8px;
  display: block;
  width: auto;
  height: 650px;
  max-width: none;
  opacity: .43;
  object-fit: contain;
  object-position: left bottom;
  filter: saturate(.88) contrast(1.02) drop-shadow(0 25px 34px rgba(28,49,80,.2));
  user-select: none;
}
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: calc(28% + 3px); top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline-item { display: grid; grid-template-columns: 28% 16px 1fr; gap: 0 26px; padding: 0 0 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { padding-top: 3px; color: var(--muted); font-size: 14px; font-weight: 650; text-align: right; }
.timeline-marker { position: relative; z-index: 2; width: 11px; height: 11px; margin-top: 7px; border: 3px solid var(--surface); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #9ab6ec; }
.timeline-content { max-width: 700px; padding: 0 0 0 5px; }
.role-heading { display: flex; justify-content: space-between; gap: 20px; }
.role-heading h3 { margin-bottom: 3px; font-size: 1.22rem; letter-spacing: -.02em; }
.role-heading p { margin-bottom: 17px; color: var(--blue); font-size: 14px; font-weight: 720; }
.role-heading > span { align-self: flex-start; padding: 5px 9px; border-radius: 7px; background: var(--blue-pale); color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.timeline-content > p { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); }

.projects { overflow: hidden; background: var(--navy); color: #fff; }
.projects::before { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -240px; border-radius: 50%; border: 1px solid rgba(132,171,233,.12); box-shadow: 0 0 0 110px rgba(132,171,233,.03), 0 0 0 220px rgba(132,171,233,.025); }
.projects .section-index { color: #8eb3ff; }
.projects-heading { position: relative; z-index: 1; grid-template-columns: 1fr 320px; align-items: end; }
.projects-heading h2 { max-width: 790px; }
.section-side-copy { margin-bottom: 4px; color: #aab9ce; }
.project-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { position: relative; display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid rgba(166,190,225,.18); border-radius: 24px; background: rgba(255,255,255,.055); box-shadow: 0 22px 55px rgba(0,0,0,.12); transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(142,179,255,.46); background: rgba(255,255,255,.075); box-shadow: 0 28px 72px rgba(0,0,0,.22); }
.project-media { position: relative; display: grid; aspect-ratio: 16 / 9; overflow: hidden; place-items: center; padding: 14px; border-bottom: 1px solid rgba(166,190,225,.16); background: linear-gradient(145deg, #edf3fb, #dce7f6); }
.project-media img { display: block; width: 100%; height: 100%; border-radius: 13px; background: #fff; object-fit: contain; object-position: center; }
.project-media-logo { padding: 38px 56px; background: #f5f7fa; }
.project-media-logo img { border-radius: 0; background: transparent; }
.project-media-placeholder { padding: 18px; background: #07152b; }
.project-media-placeholder img { background: transparent; }
.project-media-meta { position: absolute; z-index: 2; inset: 14px 14px auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.project-media-meta span, .project-media-meta strong { border: 1px solid rgba(255,255,255,.24); background: rgba(7,19,38,.84); color: #fff; box-shadow: 0 8px 22px rgba(7,19,38,.18); backdrop-filter: blur(10px); }
.project-media-meta span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 800; }
.project-media-meta strong { padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.project-image-note { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; border: 1px solid rgba(166,190,225,.18); border-radius: 8px; background: rgba(6,20,45,.76); color: #a9b9d0; font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(8px); }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 27px 28px 28px; }
.project-type { margin-bottom: 10px; color: #8eb3ff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-body h3 { margin-bottom: 13px; color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.17; letter-spacing: -.035em; }
.project-body > p:not(.project-type) { max-width: 650px; color: #b4c1d4; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.project-tags span { padding: 6px 9px; border: 1px solid rgba(166,190,225,.2); border-radius: 7px; background: rgba(142,179,255,.05); color: #c7d3e4; font-size: 10px; font-weight: 700; }
.project-footer { display: flex; align-items: center; min-height: 42px; margin-top: auto; padding-top: 25px; }
.project-link, .project-private { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 780; }
.project-link { padding: 10px 13px; border: 1px solid rgba(142,179,255,.34); border-radius: 10px; color: #dbe7fb; transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
.project-link:hover { transform: translateY(-2px); border-color: #8eb3ff; background: rgba(142,179,255,.12); color: #fff; }
.project-link svg, .project-private svg { width: 16px; height: 16px; flex: 0 0 auto; }
.project-link:not(.project-link-github) svg, .project-private svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-link-github svg { fill: currentColor; }
.project-private { color: #8fa1ba; }
.projects-cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 22px; padding: 28px 30px; border: 1px solid rgba(142,179,255,.24); border-radius: 22px; background: linear-gradient(120deg, rgba(39,93,205,.24), rgba(255,255,255,.045)); }
.projects-cta p { margin-bottom: 5px; color: #8eb3ff; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.projects-cta h3 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.25; letter-spacing: -.025em; }
.projects-cta-button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: #fff; color: #102039; font-size: 13px; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.16); transition: transform .2s ease, box-shadow .2s ease; }
.projects-cta-button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.projects-cta-button svg { width: 18px; height: 18px; fill: currentColor; }
.projects-cta-button > span { color: #4d6280; font-size: 15px; }

.open-source { overflow: hidden; background: var(--bg); }
.open-source::before { content: ""; position: absolute; width: 420px; height: 420px; left: -240px; bottom: -220px; border: 1px solid rgba(26,86,219,.1); border-radius: 50%; box-shadow: 0 0 0 80px rgba(26,86,219,.025), 0 0 0 160px rgba(26,86,219,.018); pointer-events: none; }
.open-source-heading { position: relative; z-index: 1; align-items: end; margin-bottom: 48px; }
.open-source-intro { max-width: 680px; margin: 20px 0 0; color: var(--ink-soft); }
.open-source-carousel { position: relative; z-index: 1; }
.open-source-viewport { overflow: hidden; border-radius: 28px; }
.open-source-track { display: flex; width: 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.open-source-slide { min-width: 0; flex: 0 0 100%; }
.open-source-feature { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .94fr) minmax(560px, 1.06fr); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 26px 72px rgba(30,67,122,.11); }
.open-source-copy { padding: 46px; }
.open-source-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.open-source-badges span { padding: 7px 10px; border: 1px solid #bfd2f7; border-radius: 999px; background: var(--blue-pale); color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.open-source-badges span + span { border-color: var(--line); background: var(--surface-soft); color: var(--ink-soft); }
.open-source-kicker { margin-bottom: 9px; color: var(--blue); font-size: 11px; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.open-source-copy h3 { margin-bottom: 15px; color: var(--ink); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.05em; }
.open-source-copy > p:not(.open-source-kicker) { max-width: 670px; color: var(--ink-soft); }
.open-source-purpose { display: flex; align-items: center; gap: 15px; margin-top: 27px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.open-source-script { display: grid; width: 54px; height: 54px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 760; letter-spacing: -.04em; }
.open-source-purpose strong, .open-source-purpose div > span { display: block; }
.open-source-purpose strong { color: var(--ink); font-size: 13px; }
.open-source-purpose div > span { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.open-source-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.open-source-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 720; }
.open-source-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 29px; padding: 12px 15px; border-radius: 11px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 12px 28px rgba(26,86,219,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.open-source-link:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 16px 34px rgba(26,86,219,.28); }
.open-source-link svg { width: 17px; height: 17px; fill: currentColor; }
.open-source-link > span { margin-left: 2px; font-size: 14px; opacity: .72; }
.open-source-visual { position: relative; min-width: 0; min-height: 620px; isolation: isolate; }
.open-source-visual::before { content: ""; position: absolute; z-index: -1; left: -32px; top: 50%; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(26,86,219,.17), rgba(26,86,219,.05) 50%, transparent 72%); transform: translateY(-50%); filter: blur(2px); pointer-events: none; }
.open-source-portrait-cutout { position: absolute; z-index: 3; left: -128px; bottom: -20px; display: block; width: auto; height: 640px; max-width: none; opacity: .43; object-fit: contain; object-position: left bottom; filter: saturate(.88) contrast(1.02) drop-shadow(0 24px 34px rgba(14,43,91,.2)); transform: rotate(.8deg); transform-origin: bottom center; pointer-events: none; user-select: none; }
.open-source-code { align-self: stretch; min-width: 0; margin: 24px 24px 24px 0; overflow: hidden; border: 1px solid rgba(166,190,225,.2); border-radius: 20px; background: #07152b; color: #dbe8ff; box-shadow: 0 25px 58px rgba(5,15,31,.24); }
.open-source-visual .open-source-code { position: absolute; z-index: 2; inset: 24px 24px 24px 185px; margin: 0; }
.open-source-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 17px; border-bottom: 1px solid rgba(166,190,225,.14); background: #0b1b35; }
.open-source-code-bar div { display: flex; gap: 6px; }
.open-source-code-bar div span { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; }
.open-source-code-bar div span:nth-child(2) { background: #f7c95d; }
.open-source-code-bar div span:nth-child(3) { background: #55c98b; }
.open-source-code-bar strong { color: #91a8c8; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 650; }
.open-source-code pre { min-height: 270px; margin: 0; overflow: auto; padding: 42px 28px; font-size: 12px; line-height: 1.85; white-space: pre; }
.open-source-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.open-source-code .code-muted { color: #7d95b7; }
.open-source-code .code-key { color: #8eb3ff; }
.open-source-code .code-value { color: #80dfaa; }
.open-source-code-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border-top: 1px solid rgba(166,190,225,.14); color: #91a8c8; font-size: 10px; font-weight: 700; }
.open-source-code-footer strong { padding: 5px 8px; border: 1px solid rgba(128,223,170,.22); border-radius: 7px; color: #80dfaa; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; }
.open-source-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.open-source-control { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 10px 24px rgba(30,67,122,.07); transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.open-source-control:hover { transform: translateY(-2px); border-color: var(--blue); background: var(--blue-pale); color: var(--blue); }
.open-source-control svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.open-source-dots { display: flex; align-items: center; gap: 8px; }
.open-source-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.open-source-dot.is-active { width: 24px; border-radius: 999px; background: var(--blue); }

.gallery { background: var(--surface); }
.gallery-heading { align-items: end; margin-bottom: 48px; }
.gallery-intro { max-width: 680px; margin: 20px 0 0; color: var(--ink-soft); }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 20px; align-items: stretch; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--bg); box-shadow: 0 24px 65px rgba(30,67,122,.1); }
.gallery-image-button { position: relative; display: block; width: 100%; min-height: 490px; overflow: hidden; padding: 0; border: 0; background: #dce4ef; color: #fff; cursor: zoom-in; }
.gallery-image-button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(5,14,28,.5)); pointer-events: none; }
.gallery-image-button img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gallery-image-button:hover img { transform: scale(1.025); }
.gallery-view { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.36); border-radius: 10px; background: rgba(7,17,33,.7); font-size: 12px; font-weight: 760; backdrop-filter: blur(12px); }
.gallery-view svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-caption { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 24px 26px 26px; }
.event-kicker { margin-bottom: 13px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.gallery-caption .event-kicker { margin-bottom: 5px; font-size: 10px; }
.gallery-caption h3 { margin-bottom: 0; color: var(--ink); font-size: 1.8rem; line-height: 1.1; letter-spacing: -.04em; }
.gallery-caption > p { margin-bottom: 2px; color: var(--muted); font-size: 13px; text-align: right; }
.gallery-story { display: flex; flex-direction: column; padding: 38px; border-radius: 26px; background: var(--navy); color: #fff; box-shadow: 0 24px 65px rgba(12,27,51,.17); }
.gallery-story-label { margin-bottom: 18px; color: #8eb3ff; font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.gallery-story h3 { margin-bottom: 18px; font-size: clamp(1.65rem, 2.5vw, 2.3rem); line-height: 1.12; letter-spacing: -.04em; }
.gallery-story > p:not(.gallery-story-label) { color: #b5c3d7; }
.gallery-values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gallery-values span { padding: 6px 9px; border: 1px solid rgba(166,190,225,.2); border-radius: 8px; color: #c7d3e4; font-size: 11px; font-weight: 650; }
.gallery-count { display: flex; align-items: end; gap: 10px; margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(166,190,225,.17); }
.gallery-count strong { color: #8eb3ff; font-size: 2.6rem; line-height: .9; letter-spacing: -.05em; }
.gallery-count span { max-width: 135px; color: #91a2ba; font-size: 11px; line-height: 1.35; }

.event-highlights { margin-top: 20px; }
.event-highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event-highlight-card { position: relative; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 26px; background: #dce4ef; color: #fff; cursor: zoom-in; box-shadow: 0 20px 56px rgba(30,67,122,.1); }
.event-highlight-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4,12,24,.76)); pointer-events: none; }
.event-highlight-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.event-highlight-card:hover img { transform: scale(1.025); }
.event-highlight-innovesta img { object-position: 50% 70%; }
.event-highlight-graduation img { object-position: 50% 48%; }
.event-highlight-copy { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: flex-start; flex-direction: column; text-align: left; }
.event-highlight-copy strong { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.025em; }
.event-highlight-copy small { margin-top: 5px; color: #d3deed; font-size: 12px; font-weight: 650; letter-spacing: .03em; }

.gallery-lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; overflow: visible; padding: 0; border: 0; border-radius: 22px; background: transparent; color: #fff; }
.gallery-lightbox::backdrop { background: rgba(3,8,16,.86); backdrop-filter: blur(10px); }
.gallery-lightbox figure { overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; background: #07101e; box-shadow: 0 34px 90px rgba(0,0,0,.55); }
.gallery-lightbox img { display: block; width: 100%; height: min(78vh, 820px); background: #030812; object-fit: contain; object-position: center; }
.gallery-lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 20px; color: #dce7f7; }
.gallery-lightbox figcaption strong { font-size: 14px; font-weight: 720; }
.gallery-lightbox figcaption span { color: #93a9c5; font-size: 12px; line-height: 1.45; text-align: right; }
.lightbox-close { position: absolute; z-index: 2; top: -15px; right: -15px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: #fff; color: #0c1b33; cursor: pointer; box-shadow: 0 12px 34px rgba(0,0,0,.34); }
.lightbox-close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
body.lightbox-open { overflow: hidden; }

.recommendations { overflow: hidden; background: var(--bg); }
.recommendations-heading { align-items: end; }
.recommendations-intro { max-width: 680px; margin: 20px 0 0; color: var(--ink-soft); }
.sample-review-note { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 13px 16px; border: 1px solid #e8d7a9; border-radius: 13px; background: #fff9e9; }
.sample-review-note > span { flex: 0 0 auto; padding: 5px 8px; border-radius: 7px; background: #f5e4af; color: #765716; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sample-review-note p { margin-bottom: 0; color: #725f31; font-size: 13px; line-height: 1.5; }
.recommendation-carousel { position: relative; }
.recommendation-viewport { width: min(100%, 920px); margin: 0 auto; overflow: hidden; border-radius: 24px; }
.recommendation-track { display: flex; width: 100%; transition: transform .45s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.recommendation-card { display: flex; min-height: 380px; flex: 0 0 100%; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 18px 50px rgba(30,67,122,.07); }
.recommendation-card-top { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.recommendation-card-top svg { width: 43px; height: 43px; fill: var(--blue); opacity: .15; }
.sample-badge { padding: 6px 9px; border: 1px solid #e7d39c; border-radius: 999px; background: #fff6dd; color: #795816; font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.recommendation-card blockquote { margin: 30px 0 32px; color: var(--ink); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.72; letter-spacing: -.012em; }
.reviewer { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.reviewer-avatar { display: block; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 13px; object-fit: cover; border: 1px solid rgba(147,197,253,.3); }
.reviewer strong,
.reviewer div > span { display: block; }
.reviewer strong { color: var(--ink); font-size: 14px; }
.reviewer div > span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.recommendation-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.recommendation-control { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.recommendation-control:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.recommendation-control svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.recommendation-dots { display: flex; align-items: center; gap: 8px; }
.recommendation-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.recommendation-dot.is-active { width: 24px; border-radius: 999px; background: var(--blue); }

.contact { background: var(--bg); }
.contact-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 72px; padding: 72px; border-radius: 32px; background: var(--blue); color: #fff; box-shadow: 0 30px 70px rgba(26,86,219,.22); }
.contact .section-index { margin-bottom: 17px; color: #bed2ff; }
.contact-copy h2 { max-width: 700px; margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.contact-copy > p:not(.section-index) { max-width: 660px; margin-bottom: 30px; color: #dbe6ff; font-size: 1.05rem; }
.button-light { background: #fff; color: var(--blue); box-shadow: 0 13px 30px rgba(12,35,78,.16); }
.button-light:hover { box-shadow: 0 17px 34px rgba(12,35,78,.25); }
.contact-details { align-self: stretch; display: grid; border-top: 1px solid rgba(255,255,255,.2); }
.contact-details > * { display: flex; flex-direction: column; justify-content: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-details span { color: #bed2ff; font-size: 11px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.contact-details strong { margin-top: 2px; font-size: 15px; font-weight: 650; }
.contact-details a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.site-footer { padding: 32px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin-bottom: 0; }
.footer-inner p:last-child { justify-self: end; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 10px; }

[data-theme="dark"] .site-header.scrolled { background: rgba(8,17,31,.9); border-color: rgba(49,71,98,.76); box-shadow: 0 8px 34px rgba(0,0,0,.24); }
[data-theme="dark"] .nav-download,
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .button-secondary { background: rgba(13,24,40,.84); }
[data-theme="dark"] .availability { border-color: #24513f; background: #102b22; color: #88d9b5; }
[data-theme="dark"] .button-primary { background: #2866d4; box-shadow: 0 14px 32px rgba(14,63,155,.34); }
[data-theme="dark"] .button-primary:hover { background: #3476e9; box-shadow: 0 16px 38px rgba(14,63,155,.44); }
[data-theme="dark"] .portrait-backdrop {
  background:
    linear-gradient(145deg, rgba(25,49,84,.96), rgba(15,32,56,.76)),
    linear-gradient(45deg, transparent 46%, rgba(115,165,255,.1) 47% 53%, transparent 54%);
  border-color: rgba(70,105,159,.58);
}
[data-theme="dark"] .portrait-backdrop::before,
[data-theme="dark"] .portrait-backdrop::after { border-color: rgba(115,165,255,.2); }
[data-theme="dark"] .portrait-frame { border-color: rgba(25,42,65,.94); background: #17263a; box-shadow: 0 30px 80px rgba(0,0,0,.42); }
[data-theme="dark"] .portrait-chip { border-color: rgba(53,76,108,.92); background: rgba(13,24,40,.94); box-shadow: 0 18px 44px rgba(0,0,0,.38); }
[data-theme="dark"] .architecture-card { border-color: rgba(50,75,108,.92); background: rgba(13,24,40,.88); }
[data-theme="dark"] .profile-metrics { background: rgba(19,35,58,.65); }
[data-theme="dark"] .education-card,
[data-theme="dark"] .certificate-showcase,
[data-theme="dark"] .gallery-card { box-shadow: 0 20px 56px rgba(0,0,0,.27); }
[data-theme="dark"] .credential-status-complete { border-color: #24513f; background: #102b22; color: #88d9b5; }
[data-theme="dark"] .credential-status-progress { border-color: #29466f; background: #142747; color: #9bc0ff; }
[data-theme="dark"] .school-result { border-color: #24513f; background: #102b22; color: #88d9b5; }
[data-theme="dark"] .gallery-image-button { background: #17263a; }
[data-theme="dark"] .event-highlight-card { border-color: var(--line); background: #17263a; box-shadow: 0 20px 56px rgba(0,0,0,.27); }
[data-theme="dark"] .sample-review-note { border-color: #5a4920; background: #271f0e; }
[data-theme="dark"] .sample-review-note > span,
[data-theme="dark"] .sample-badge { border-color: #685423; background: #352a12; color: #e6c66c; }
[data-theme="dark"] .sample-review-note p { color: #cfbd88; }
[data-theme="dark"] .recommendation-card,
[data-theme="dark"] .certificate-card { box-shadow: 0 20px 56px rgba(0,0,0,.27); }
[data-theme="dark"] .open-source-feature { box-shadow: 0 24px 64px rgba(0,0,0,.29); }
[data-theme="dark"] .open-source-badges span { border-color: #315a9d; }
[data-theme="dark"] .open-source-portrait-cutout { opacity: .43; filter: saturate(.76) brightness(1.03) contrast(1.05) drop-shadow(0 24px 38px rgba(0,0,0,.4)); }
[data-theme="dark"] .open-source-visual::before { background: radial-gradient(circle, rgba(115,165,255,.19), rgba(45,92,170,.07) 50%, transparent 72%); }
[data-theme="dark"] .about-skills-visual .skills-panel { border-color: rgba(49,71,98,.88); background: rgba(13,24,40,.9); box-shadow: 0 26px 64px rgba(0,0,0,.32); }
[data-theme="dark"] .about-portrait-cutout { opacity: .34; filter: saturate(.55) brightness(.82) contrast(1.1) drop-shadow(0 24px 38px rgba(0,0,0,.34)); }
[data-theme="dark"] .about-skills-visual::before { background: radial-gradient(circle, rgba(115,165,255,.19), rgba(45,92,170,.07) 48%, transparent 70%); }
[data-theme="dark"] .education-graduation-cutout { opacity: .3; filter: saturate(.58) brightness(.82) contrast(1.08) drop-shadow(0 24px 38px rgba(0,0,0,.34)); }
[data-theme="dark"] .education-stage::before { background: radial-gradient(circle, rgba(115,165,255,.17), rgba(45,92,170,.06) 50%, transparent 72%); }
[data-theme="dark"] .experience-portrait-stage::before {
  border-color: rgba(115,165,255,.22);
  background:
    radial-gradient(circle at 54% 27%, rgba(115,165,255,.2), transparent 40%),
    linear-gradient(160deg, rgba(24,42,67,.78), rgba(9,21,38,.16));
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 30px 72px rgba(0,0,0,.28);
}
[data-theme="dark"] .experience-portrait-cutout {
  opacity: .43;
  filter: saturate(.78) brightness(1.03) contrast(1.05) drop-shadow(0 25px 38px rgba(0,0,0,.42));
}
[data-theme="dark"] .contact-shell { background: #1c57bd; box-shadow: 0 30px 70px rgba(0,0,0,.3); }
[data-theme="dark"] .button-light { background: #f7faff; color: #174aa6; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(26,86,219,.35); outline-offset: 3px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-top: 150px; padding-bottom: 90px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; width: 100%; }
  .portrait-stage { margin: auto; }
  .about-grid { gap: 45px; }
  .about-skills-visual .skills-panel { width: min(70%, 440px); }
  .about-portrait-cutout { right: -54px; }
  .education-stage { min-height: 680px; padding-right: 210px; }
  .education-graduation-cutout { right: -64px; height: 720px; opacity: .38; }
  .education-grid, .gallery-layout { grid-template-columns: 1fr; }
  .experience-layout { grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr); gap: 32px; }
  .experience-portrait-stage { min-height: 600px; }
  .experience-portrait-stage::before { left: -70px; right: -10px; }
  .experience-portrait-cutout { left: -80px; height: 620px; }
  .open-source-feature { grid-template-columns: 1fr; }
  .open-source-visual { min-height: 600px; }
  .open-source-portrait-cutout { left: -50px; bottom: -14px; height: 620px; }
  .open-source-visual .open-source-code { inset: 24px 24px 24px 240px; }
  .gallery-image-button { min-height: 460px; }
  .gallery-story { min-height: 370px; }
  .contact-shell { padding: 58px; gap: 46px; }
}

@media (max-width: 960px) {
  .theme-toggle { position: relative; z-index: 102; margin-left: auto; }
  .menu-button { display: block; position: relative; z-index: 102; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; z-index: 101; flex-direction: column; justify-content: center; gap: 24px; margin-left: 0; padding: 92px 28px 40px; background: rgba(247,249,252,.98); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
  [data-theme="dark"] .site-nav { background: rgba(8,17,31,.985); }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav > a:not(.nav-download) { font-size: 1.35rem; }
  .nav-download { margin-top: 10px; font-size: 16px; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 88px 0; }
  .hero { min-height: auto; padding-top: 138px; }
  h1 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .section-heading, .about-grid, .projects-heading, .contact-shell { grid-template-columns: 1fr; }
  .section-heading { gap: 17px; margin-bottom: 46px; }
  .about-grid { gap: 44px; }
  .about-skills-visual { min-height: 520px; }
  .about-skills-visual .skills-panel { width: min(70%, 470px); }
  .about-portrait-cutout { right: -18px; height: 104%; opacity: .43; }
  .education-stage { min-height: 0; padding: 305px 0 0; }
  .education-stage::before { width: 300px; height: 300px; right: -24px; top: 132px; transform: none; }
  .education-graduation-cutout { top: -56px; right: -22px; bottom: auto; height: 390px; opacity: .4; }
  .experience-layout { grid-template-columns: 1fr; gap: 24px; }
  .experience-portrait-stage { min-height: 390px; }
  .experience-portrait-stage::before { left: -18px; right: auto; top: 4px; bottom: 8px; width: 310px; border-radius: 44% 44% 26px 26px; }
  .experience-portrait-stage::after { right: auto; left: 222px; bottom: 8px; }
  .experience-portrait-cutout { left: -38px; bottom: -6px; height: 440px; }
  .open-source-visual { min-height: 540px; }
  .open-source-portrait-cutout { left: -62px; bottom: -3px; height: 540px; }
  .open-source-visual .open-source-code { inset: 20px 20px 20px 200px; }
  .timeline::before { left: 5px; }
  .timeline-item { grid-template-columns: 16px 1fr; gap: 0 17px; }
  .timeline-date { grid-column: 2; grid-row: 1; padding: 0 0 8px; text-align: left; font-size: 12px; }
  .timeline-marker { grid-column: 1; grid-row: 1 / span 2; }
  .timeline-content { grid-column: 2; grid-row: 2; padding-left: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .projects-cta { align-items: flex-start; flex-direction: column; }
  .certificate-card-featured { grid-template-columns: 1fr; }
  .certificate-card-featured > img { min-height: 0; aspect-ratio: 4 / 3; }
  .certificate-card-featured .certificate-card-copy { padding: 20px; border-top: 1px solid var(--line); border-left: 0; }
  .gallery-lightbox figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .gallery-lightbox figcaption span { text-align: left; }
  .gallery-image-button { min-height: 390px; }
  .gallery-story { min-height: 340px; padding: 34px; }
  .contact-shell { padding: 48px 34px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .footer-inner p:last-child { justify-self: start; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, var(--container)); }
  .nav-wrap { min-height: 70px; }
  .brand > span:last-child { font-size: 14px; }
  .nav-wrap { gap: 10px; }
  .theme-toggle { width: 40px; height: 40px; margin-left: auto; }
  .hero { padding-top: 116px; }
  .availability { font-size: 11px; }
  .eyebrow { font-size: 11px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-links { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero-links span { display: none; }
  .portrait-stage { min-height: 530px; }
  .portrait-frame { inset: 24px 26px 68px 54px; border-width: 6px; border-radius: 27px; }
  .portrait-backdrop { inset: 50px 4px 38px 34px; border-radius: 32px; }
  .founder-code-card { left: 0; bottom: 87px; width: 228px; }
  .experience-chip { right: 0; top: 69px; }
  .portrait-signature { right: 13px; bottom: 27px; gap: 6px; padding: 9px 10px; font-size: 8px; }
  .card-bar { grid-template-columns: 1fr auto; }
  .card-bar > span:not(.card-status) { display: none; }
  .code-panel { margin: 13px 13px 0; padding: 16px; font-size: 11px; }
  .service-map { padding-inline: 13px; }
  .service-main { width: 68%; }
  .profile-metrics span { font-size: 8px; }
  .about-skills-visual { min-height: 500px; }
  .about-skills-visual .skills-panel { width: 68%; padding: 23px 20px; }
  .about-portrait-cutout { right: -64px; bottom: -22px; height: 100%; opacity: .34; }
  .education-stage { padding-top: 270px; }
  .education-stage::before { width: 255px; height: 255px; right: -38px; top: 108px; }
  .education-graduation-cutout { top: -45px; right: -52px; height: 340px; opacity: .34; }
  .experience-portrait-stage { min-height: 330px; }
  .experience-portrait-stage::before { left: -42px; width: 265px; }
  .experience-portrait-stage::after { left: 176px; }
  .experience-portrait-cutout { left: -62px; bottom: -4px; height: 375px; }
  .skills-panel { padding: 23px; }
  .education-card { padding: 23px; }
  .certificate-showcase { padding: 23px; }
  .certificate-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .certificate-heading > p { text-align: left; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-card-featured { grid-column: auto; }
  .general-education-grid { grid-template-columns: 1fr; }
  .education-summary { grid-template-columns: 72px minmax(0, 1fr); gap: 13px; }
  .education-logo { width: 72px; height: 48px; padding: 4px; border-radius: 12px; }
  .credential-status { grid-column: 1 / -1; justify-self: start; }
  .education-result { align-items: flex-start; flex-direction: column; gap: 5px; }
  .education-result strong { text-align: left; }
  .credential-proof { flex-direction: column; }
  .school-qualification { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 15px; }
  .school-level { width: 44px; height: 44px; }
  .project-media { aspect-ratio: 16 / 10; padding: 10px; }
  .project-media-logo { padding: 34px 42px; }
  .project-media-placeholder { padding: 14px; }
  .project-body { padding: 23px; }
  .projects-cta { padding: 24px; }
  .projects-cta-button { width: 100%; justify-content: center; }
  .open-source-copy { padding: 28px 23px; }
  .open-source-purpose { align-items: flex-start; }
  .open-source-visual { min-height: 460px; }
  .open-source-visual::before { left: -78px; width: 250px; height: 250px; }
  .open-source-portrait-cutout { z-index: 1; left: -75px; bottom: 0; height: 430px; opacity: .43; }
  .open-source-visual .open-source-code { inset: 12px 12px 12px 122px; border-radius: 16px; }
  .open-source-code pre { min-height: 0; padding: 31px 18px; font-size: 10px; }
  .open-source-code-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .gallery-image-button { min-height: 300px; }
  .gallery-caption { align-items: flex-start; flex-direction: column; gap: 8px; padding: 20px; }
  .gallery-caption > p { text-align: left; }
  .gallery-story { min-height: 380px; padding: 28px; }
  .event-highlight-grid { grid-template-columns: 1fr; }
  .event-highlight-card { aspect-ratio: 4 / 5; border-radius: 20px; }
  .event-highlight-copy { left: 19px; right: 19px; bottom: 18px; }
  .lightbox-close { top: -12px; right: -6px; }
  .sample-review-note { align-items: flex-start; flex-direction: column; }
  .recommendation-card { min-height: auto; padding: 26px 23px; }
  .role-heading { display: block; }
  .role-heading > span { display: inline-block; margin-bottom: 12px; }
  .contact-shell { width: calc(100% - 24px); padding: 38px 24px; border-radius: 24px; }
  .contact-details strong { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
