:root {
  --bg: #030712;
  --panel: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e5e7f0;
  --muted: #cbd5e1;
  --accent: #7dd3fc;
  --accent-2: #a855f7;
  --accent-3: #34d399;
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.bg-accents {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.8;
}

.blob-1 {
  width: 320px;
  height: 320px;
  left: -80px;
  top: -60px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.4), transparent 60%);
}

.blob-2 {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -40px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.3), transparent 60%);
}

.blob-3 {
  width: 280px;
  height: 280px;
  left: 35%;
  top: 10%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 60%);
}

.site-header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.7));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.site-header > * {
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-photo {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  position: relative;
}

.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.brand-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 45%);
  pointer-events: none;
}

.brand-photo::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.name-strong {
  font-weight: 700;
  font-size: 1.5rem;
}

.caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 10px;
}

.icon-link {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.3);
  background: linear-gradient(140deg, rgba(125, 211, 252, 0.2), rgba(168, 85, 247, 0.18));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.6);
  background: linear-gradient(140deg, rgba(125, 211, 252, 0.3), rgba(168, 85, 247, 0.28));
  box-shadow: 0 10px 22px rgba(125, 211, 252, 0.2);
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background: linear-gradient(120deg, rgba(125, 211, 252, 0.18), rgba(168, 85, 247, 0.18));
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  border-color: rgba(125, 211, 252, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(125, 211, 252, 0.18);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card,
.section {
  scroll-margin-top: 175px;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(18px);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.hero-copy h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  margin: 8px 0 10px;
  line-height: 1.15;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 100%;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 14px;
}

.skills-block {
  display: grid;
  gap: 10px;
}

.skills-label {
  margin: 0;
  font-size: 0.85rem;
}

.skills-block .chips {
  margin-top: 6px;
  margin-bottom: 12px;
}

.chips.secondary {
  margin-top: 6px;
}

.chips.secondary .chip {
  font-size: 0.9rem;
  color: var(--muted);
}

.impact-strip {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
}

.impact-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
  color: #e2e8f0;
  font-size: 0.95rem;
}

.hero-actions {
  margin-top: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  font-size: 0.95rem;
  border: none;
  background: transparent;
}

.chip::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn.primary {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.stat-card {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  padding: 18px;
  border-radius: 18px;
  display: grid;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.stat-row strong {
  color: #fff;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project {
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.project:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.project h3 {
  margin: 0;
  font-size: 1.05rem;
}

.project-image {
  position: relative;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.project-image .pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 45%);
  pointer-events: none;
}

.project-image .pill.left {
  left: 14px;
  right: auto;
  background: rgba(0, 0, 0, 0.6);
}

.project-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  flex: 1;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.project p {
  color: var(--muted);
  line-height: 1.6;
}

.project-result {
  color: #e2e8f0;
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.link:hover {
  color: #bae6fd;
}

.about {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.capabilities {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.cap-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 12px;
}

.cap-grid span {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.strengths {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 12px;
}

.strength {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  line-height: 1.4;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 4px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.card-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
}

.hero-about {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.hero-about .eyebrow {
  font-size: 0.9rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.65);
  margin: 0 0 8px;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
}

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

.body {
  color: var(--muted);
  line-height: 1.6;
}

.edu-title {
  font-size: 1.3rem;
  margin: 0 0 4px;
}

.edu-line {
  margin: 0;
}

.info {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
}

.logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.logo.edu {
  background: linear-gradient(135deg, #16a34a, #0f5132);
  color: #e8f5ee;
}

.logo.work {
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  color: #e0f2fe;
}

.logo.mini {
  width: 54px;
  height: 54px;
  font-size: 0.85rem;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.logo.is-logo-zoom img {
  transform: scale(1.12);
}

.logo.border-green {
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.18);
}

.logo.border-red {
  border-color: rgba(239, 68, 68, 0.85);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.18);
}

.edu-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.experience-list {
  padding-left: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
}

.experience-list li {
  list-style: none;
  margin-left: 0;
}

.exp-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
}

.exp-details {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.case-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.case-list li {
  list-style: disc;
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    padding: 18px 16px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .brand {
    flex: 1 1 100%;
    align-items: flex-start;
  }

  .brand-photo {
    width: 88px;
    height: 88px;
  }

  .brand-copy {
    max-width: 100%;
  }

  .nav-links {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .page {
    padding: 18px 16px 72px;
    gap: 28px;
  }

  .card {
    padding: 24px;
  }

  .lede {
    margin-bottom: 18px;
  }

  .chips {
    margin-top: 14px;
    margin-bottom: 12px;
  }

  .impact-strip {
    margin-bottom: 16px;
  }

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

  .contact {
    align-items: flex-start;
  }
}
