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

:root {
  --v2-purple: #6C5CE7;
  --v2-purple-dark: #5A4BD1;
  --v2-purple-soft: #EDE9FE;
  --v2-yellow: #FFF8E7;
  --v2-yellow-accent: #FDCB6E;
  --v2-text: #2D3436;
  --v2-muted: #636E72;
  --v2-white: #ffffff;
  --v2-border: #E8E4F3;
  --container: 1140px;
  --header-container: 1400px;
  --header-h: 72px;
  --banner-h: 0px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--v2-text);
  background: var(--v2-white);
  padding-top: var(--banner-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.header-container {
  max-width: var(--header-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}

/* Preview banner */
.preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.preview-banner a {
  color: var(--v2-yellow-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.preview-banner a:hover { opacity: 0.85; }

/* Header */
.v2-header {
  position: sticky;
  top: var(--banner-h);
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--v2-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--v2-purple);
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.4vw, 22px);
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--v2-purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--v2-purple);
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover { background: var(--v2-purple-dark); }
.btn-outline {
  background: transparent;
  color: var(--v2-purple);
  border: 2px dashed var(--v2-purple);
}
.btn-contact {
  background: var(--v2-purple);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  flex-shrink: 0;
}
.btn-white {
  background: #fff;
  color: var(--v2-purple);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--v2-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.hero-deco-dots {
  position: absolute;
  top: 60px;
  left: 4%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--v2-purple) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.25;
}
.hero-deco-lines {
  position: absolute;
  top: 40px;
  left: 12%;
  width: 80px;
  height: 60px;
  background: repeating-linear-gradient(
    45deg,
    var(--v2-yellow-accent) 0 3px,
    transparent 3px 10px
  );
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--v2-purple);
}
.hero-highlight::after {
  content: "";
  position: absolute;
  inset: -6px -12px;
  border: 2px dashed var(--v2-purple);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.hero-sub {
  color: var(--v2-muted);
  font-size: 1.05rem;
  max-width: 420px;
  margin-bottom: 28px;
}
.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}
.photo-blob {
  position: absolute;
  width: min(380px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--v2-purple-soft);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.photo-frame {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 20px 50px rgba(108, 92, 231, 0.2);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame--pulse {
  background: linear-gradient(135deg, var(--v2-purple-soft) 0%, var(--v2-yellow) 100%);
}
.pulse-visual {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pulse-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--v2-purple) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.1;
  pointer-events: none;
}
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36%;
  height: 36%;
  margin: -18% 0 0 -18%;
  border-radius: 50%;
  border: 2px solid var(--pulse-ring-color, var(--v2-purple));
  background: var(--pulse-color, rgba(108, 92, 231, 0.08));
  opacity: 0;
  animation: pulseRing 3s var(--ease) infinite;
}
.pulse-ring--1 { animation-delay: 0s; }
.pulse-ring--2 { animation-delay: 1s; }
.pulse-ring--3 { animation-delay: 2s; }
@keyframes pulseRing {
  0% { transform: scale(0.45); opacity: 0.5; }
  70% { opacity: 0.1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.pulse-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--pulse-color, rgba(108, 92, 231, 0.5));
  box-shadow: 0 0 20px var(--pulse-color, rgba(108, 92, 231, 0.4));
  z-index: 3;
  animation: pulseCore 2.4s var(--ease) infinite;
}
@keyframes pulseCore {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Social bar */
.social-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 24px 0 8px;
  flex-wrap: wrap;
}
.social-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v2-purple-soft);
  color: var(--v2-purple);
  transition: background 0.2s, transform 0.2s;
}
.social-link:hover {
  background: var(--v2-purple);
  color: #fff;
  transform: translateY(-2px);
}
.social-link svg { width: 20px; height: 20px; }

/* Sections */
.section {
  padding: clamp(64px, 10vw, 100px) 0;
}
.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v2-purple);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--v2-muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}
.section-desc a {
  color: var(--v2-purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* About */
.section-about {
  background: var(--v2-yellow);
  position: relative;
  overflow: hidden;
}
.section-deco-dots {
  position: absolute;
  bottom: 40px;
  right: 5%;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(var(--v2-purple) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.2;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.about-photo { position: relative; }
.about-blob {
  position: absolute;
  inset: 10% -5% -5% 10%;
  background: var(--v2-purple-soft);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  z-index: 0;
}
.about-frame {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.about-frame img {
  width: 100%;
  aspect-ratio: 6/7;
  object-fit: cover;
  transition: opacity 0.25s var(--ease);
}
.about-badges {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.about-badge {
  position: absolute;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
.about-badge:nth-child(1) { top: 8%; right: -8%; }
.about-badge:nth-child(2) { bottom: 30%; left: -12%; }
.about-badge:nth-child(3) { bottom: 8%; right: 5%; }
.about-text {
  color: var(--v2-muted);
  margin-bottom: 24px;
  max-width: 480px;
}

/* Services */
.section-services { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 20px;
  background: var(--v2-white);
  border: 1px solid var(--v2-border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.12);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--v2-yellow-accent);
  display: grid;
  place-items: center;
  color: var(--v2-text);
}
.service-icon svg { width: 28px; height: 28px; }
.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--v2-muted);
  line-height: 1.55;
}

/* Skills */
.section-skills { background: var(--v2-yellow); }
.skills-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.skills-text {
  color: var(--v2-muted);
  margin-bottom: 24px;
  max-width: 400px;
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.skill-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--v2-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.skill-track {
  height: 8px;
  border-radius: 999px;
  background: var(--v2-purple-soft);
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--v2-purple);
  transition: width 1s var(--ease);
}
.skill-grid.is-animated .skill-fill {
  width: calc(var(--pct) * 1%);
}

/* Portfolio */
.section-portfolio { background: #fff; }
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.portfolio-tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  background: var(--v2-purple-soft);
  color: var(--v2-purple);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.portfolio-tab.is-active,
.portfolio-tab:hover {
  background: var(--v2-purple);
  color: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--v2-border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.portfolio-card.is-hidden { display: none; }
.portfolio-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.portfolio-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--v2-purple-soft);
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-body {
  padding: 20px;
}
.portfolio-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v2-purple);
  margin-bottom: 8px;
}
.portfolio-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.portfolio-desc {
  font-size: 14px;
  color: var(--v2-muted);
  line-height: 1.5;
}

/* Engineering Impact */
.section-engineering { background: #fff; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.impact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  color: inherit;
}
.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.12);
}
.impact-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--v2-purple-soft);
}
.impact-icon-wrap--github { background: color-mix(in srgb, #24292f 10%, var(--v2-purple-soft)); }
.impact-icon-wrap--stackoverflow { background: color-mix(in srgb, #F48024 14%, #fff); }
.impact-icon-wrap svg { width: 24px; height: 24px; }
.impact-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--v2-text);
  line-height: 1.2;
}
.impact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-muted);
  margin-top: 6px;
}

/* Language breakdown */
.lang-breakdown {
  max-width: 960px;
  margin: 0 auto;
}
.lang-breakdown h3 {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.lang-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lang-bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.04);
}
.lang-bar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-bar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--lang-color) 12%, transparent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lang-bar-icon svg { width: 18px; height: 18px; }
.lang-bar-name {
  font-size: 14px;
  font-weight: 700;
}
.lang-bar-track {
  height: 10px;
  border-radius: 999px;
  background: var(--v2-purple-soft);
  overflow: hidden;
}
.lang-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--lang-color);
  transition: width 1s var(--ease);
}
.lang-bars.is-animated .lang-bar-fill { width: calc(var(--pct) * 1%); }
.lang-bar-pct {
  font-size: 13px;
  font-weight: 700;
  min-width: 40px;
  text-align: right;
  color: var(--v2-muted);
}

/* Repos */
.section-repos { background: var(--v2-yellow); }
.repos-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 420px;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--v2-muted);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap input:focus {
  border-color: var(--v2-purple);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border: none;
  background: #fff;
  color: var(--v2-purple);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-chip.active,
.filter-chip:hover {
  background: var(--v2-purple);
  color: #fff;
}
.repo-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-muted);
  margin-bottom: 20px;
}
.section-cta {
  text-align: center;
  margin-top: 32px;
}
.empty-state.hidden { display: none; }
.empty-state {
  text-align: center;
  color: var(--v2-muted);
  padding: 32px 0;
}

/* Expertise */
.section-expertise { background: #fff; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.expertise-card {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.12);
}
.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--v2-yellow-accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--v2-text);
}
.expertise-icon svg { width: 22px; height: 22px; }
.expertise-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.expertise-desc {
  font-size: 14px;
  color: var(--v2-muted);
  line-height: 1.55;
}

/* Timeline */
.section-experience { background: var(--v2-yellow); }
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--v2-purple-soft);
  border-radius: 999px;
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.06);
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--v2-purple);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--v2-purple-soft);
}
.timeline-period {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v2-purple);
  margin-bottom: 6px;
}
.timeline-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.timeline-company {
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-muted);
  margin-bottom: 12px;
}
.timeline-achievements {
  margin-bottom: 10px;
  padding-left: 18px;
  list-style: disc;
}
.timeline-achievements li {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 4px;
}
.timeline-impact {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-purple);
}

/* Thought leadership */
.section-thoughts { background: #fff; }
.thought-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.thought-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  color: inherit;
  min-height: 100%;
}
.thought-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(108, 92, 231, 0.12);
}
.thought-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.thought-brand svg { width: 20px; height: 20px; }
.thought-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v2-purple);
  background: var(--v2-purple-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.thought-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}
.thought-excerpt {
  font-size: 14px;
  color: var(--v2-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
}
.thought-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-muted);
}

/* Testimonials */
/* ---- Certifications wall ---- */
.section-certs { overflow: hidden; }

.cert-wall {
  position: relative;
  margin: 32px 0 8px;
  padding: 8px 0 20px;
  overflow: hidden;
}

.cert-wall-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 100px);
  z-index: 2;
  pointer-events: none;
}

.cert-wall-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--v2-white) 0%, transparent 100%);
}

.cert-wall-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--v2-white) 0%, transparent 100%);
}

.cert-track {
  overflow: hidden;
  margin-bottom: 16px;
}

.cert-track:last-child { margin-bottom: 0; }

.cert-track-inner {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: max-content;
  will-change: transform;
}

.cert-track--row1 .cert-track-inner {
  animation: certScrollLeft 52s linear infinite;
}

.cert-track--row2 .cert-track-inner {
  animation: certScrollRight 58s linear infinite;
  padding-left: 80px;
}

.cert-wall:hover .cert-track-inner {
  animation-play-state: paused;
}

@keyframes certScrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes certScrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.cert-tile {
  flex: 0 0 320px;
  width: 320px;
  height: 196px;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cert-tile:hover {
  transform: translateY(-4px);
}

.cert-tile:hover .cert-card {
  border-color: var(--v2-purple-soft);
  box-shadow: 0 12px 28px rgba(108, 92, 231, 0.14);
}

.cert-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: var(--v2-white);
  border: 1px solid var(--v2-border);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.08);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--v2-purple);
  border-radius: 14px 14px 0 0;
}

.cert-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.cert-card-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: block;
}

.cert-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cert-card-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v2-purple);
}

.cert-card-issuer {
  font-size: 11px;
  font-weight: 700;
  color: var(--v2-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cert-card-via {
  font-size: 9px;
  font-weight: 600;
  color: var(--v2-muted);
}

.cert-card-title {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--v2-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cert-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.cert-card-skill {
  font-size: 9px;
  font-weight: 700;
  color: var(--v2-purple-dark);
  background: var(--v2-purple-soft);
  padding: 4px 10px;
  border-radius: 999px;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cert-card-skill--empty {
  visibility: hidden;
  padding: 0;
  min-width: 0;
}

.cert-card-date {
  font-size: 10px;
  font-weight: 600;
  color: var(--v2-muted);
  white-space: nowrap;
  margin-left: auto;
}

.section-certs .section-cta {
  margin-top: 24px;
  text-align: center;
}

.section-testimonials { background: var(--v2-yellow); }
.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.avatar-cluster {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}
.avatar-dots {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spinSlow 24s linear infinite;
  background: repeating-conic-gradient(
    from 0deg,
    var(--v2-purple) 0deg 7deg,
    transparent 7deg 16deg
  );
  mask: radial-gradient(circle, transparent 72%, #000 73% 82%, transparent 83%);
  -webkit-mask: radial-gradient(circle, transparent 72%, #000 73% 82%, transparent 83%);
  opacity: 0.55;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 168px;
  height: 168px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.avatar-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s var(--ease);
}
.testimonial-quote {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--v2-text);
  margin-bottom: 24px;
}
.testimonial-quote::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--v2-purple);
  line-height: 0;
  vertical-align: -12px;
  margin-right: 4px;
}
.testimonial-meta strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}
.testimonial-meta span {
  font-size: 14px;
  color: var(--v2-muted);
}
.testimonial-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--v2-purple);
  background: #fff;
  color: var(--v2-purple);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.testimonial-btn:hover {
  background: var(--v2-purple);
  color: #fff;
}

/* CTA band */
.cta-band {
  background: var(--v2-purple);
  padding: clamp(40px, 6vw, 56px) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-title {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
}

/* Footer */
.v2-footer {
  background: #fff;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}
.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--v2-text);
}
.footer-text {
  font-size: 14px;
  color: var(--v2-muted);
  line-height: 1.6;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--v2-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--v2-purple); }
.footer-bottom {
  border-top: 1px solid var(--v2-border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--v2-muted);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner,
  .about-inner,
  .skills-inner,
  .testimonials-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub, .about-text, .skills-text { margin-left: auto; margin-right: auto; }
  .hero-photo { order: -1; }
  .service-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .skill-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .thought-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-bar-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-badge:nth-child(1) { right: 0; }
  .about-badge:nth-child(2) { left: 0; }
  .cta-inner { justify-content: center; text-align: center; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: calc(var(--banner-h) + var(--header-h));
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--v2-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .btn-contact { display: none; }
  .impact-grid,
  .expertise-grid,
  .thought-grid { grid-template-columns: 1fr; }
  .repos-toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cert-track-inner { animation: none !important; }
  .cert-wall { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cert-track { overflow-x: visible; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .skill-fill { width: calc(var(--pct) * 1%) !important; transition: none; }
  .lang-bar-fill { width: calc(var(--pct) * 1%) !important; transition: none; }
  .avatar-dots { animation: none; }
  .pulse-ring, .pulse-core { animation: none; }
  .pulse-ring { opacity: 0.2; transform: scale(1.2); }
}
