/* ============ TOKENS ============ */
:root {
  --bg: oklch(15% 0.025 250);
  --bg-elev: oklch(18% 0.03 250);
  --bg-card: oklch(20% 0.035 250 / 0.6);
  --border: oklch(32% 0.04 250 / 0.5);
  --border-strong: oklch(42% 0.06 240 / 0.6);
  --fg: oklch(96% 0.01 250);
  --fg-dim: oklch(78% 0.02 250);
  --fg-muted: oklch(60% 0.03 250);
  --accent: oklch(72% 0.18 240);
  --accent-2: oklch(78% 0.15 200);
  --accent-3: oklch(70% 0.2 280);
  --glow: oklch(72% 0.2 240 / 0.35);
  --grad-aurora: radial-gradient(ellipse 80% 60% at 50% -10%, oklch(40% 0.2 250 / 0.45), transparent 60%),
                 radial-gradient(ellipse 60% 50% at 90% 30%, oklch(45% 0.18 200 / 0.25), transparent 60%),
                 radial-gradient(ellipse 60% 50% at 10% 80%, oklch(40% 0.2 280 / 0.2), transparent 60%);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-soft: 0 8px 28px -12px oklch(0% 0 0 / 0.6), 0 2px 6px oklch(0% 0 0 / 0.4);
  --shadow-glow: 0 0 0 1px var(--border-strong), 0 20px 60px -20px var(--glow);
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ============ BACKGROUND ============ */
.bg-aurora {
  position: fixed;
  inset: 0;
  background: var(--grad-aurora);
  z-index: -2;
  pointer-events: none;
}
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, oklch(50% 0.05 250 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(50% 0.05 250 / 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 90%);
  z-index: -1;
  pointer-events: none;
}
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 20px;
  background: oklch(15% 0.025 250 / 0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  z-index: 100;
  box-shadow: var(--shadow-soft);
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--fg);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 400;
}
.nav-links a:hover {
  color: var(--fg);
  background: oklch(30% 0.04 250 / 0.5);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-toggle {
  display: flex;
  background: oklch(10% 0.02 250 / 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--fg-muted);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0.06em;
}
.lang-toggle button.active {
  background: var(--accent);
  color: oklch(12% 0.02 250);
  font-weight: 600;
}
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ============ LAYOUT ============ */
section { padding: 120px 24px; position: relative; }
.container { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-2);
}
h2.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 620px;
  text-wrap: pretty;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(20% 0.03 250 / 0.5);
  margin-bottom: 28px;
}
.hero-status .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(78% 0.18 145);
  box-shadow: 0 0 10px oklch(78% 0.18 145);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(48px, 7.5vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-role {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  margin-bottom: 18px;
}
.hero-role .divider { color: var(--accent); margin: 0 8px; }
.hero-tagline {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--fg-dim);
  max-width: 540px;
  margin-bottom: 38px;
  text-wrap: pretty;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: oklch(12% 0.02 250);
  box-shadow: 0 8px 24px -8px var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px var(--glow);
}
.btn-ghost {
  background: oklch(20% 0.03 250 / 0.5);
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: oklch(26% 0.04 250 / 0.7);
  border-color: var(--accent);
}
.btn svg { width: 16px; height: 16px; }

.hero-meta {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--maxw);
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-meta .scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
.scroll-hint .line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--fg-muted);
  position: relative;
  overflow: hidden;
}
.scroll-hint .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  justify-self: end;
  width: 100%;
}
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  box-shadow: var(--shadow-glow);
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.6s ease;
}
.hero-visual:hover .hero-photo-wrap img { transform: scale(1.05); }
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, oklch(35% 0.15 240 / 0.25));
  pointer-events: none;
}
.orbit {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed oklch(40% 0.05 250 / 0.4);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.orbit-2 {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  border: 1px dashed oklch(40% 0.05 250 / 0.25);
  animation: spin 60s linear infinite reverse;
  pointer-events: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}
.orbit-2 .orbit-node {
  background: var(--accent-2);
  box-shadow: 0 0 14px var(--accent-2);
}
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: oklch(18% 0.03 250 / 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.hero-chip.chip-1 { top: 6%; left: -12%; }
.hero-chip.chip-2 { bottom: 14%; right: -6%; }
.hero-chip.chip-3 { top: 50%; left: -22%; }
.hero-chip .ico {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.hero-chip .ico svg { width: 100%; height: 100%; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}
.stat:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.about-bio p {
  font-size: 17px;
  color: var(--fg-dim);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.about-bio p:first-child::first-letter {
  font-size: 60px;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 6px;
  font-weight: 500;
  color: var(--accent);
}
.about-highlights {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.highlight-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-dim);
  background: oklch(20% 0.03 250 / 0.4);
}

/* ============ SKILLS ============ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.skill-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s ease;
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), oklch(50% 0.15 240 / 0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.skill-card:hover::before { opacity: 1; }
.skill-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.skill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, oklch(30% 0.1 240 / 0.6), oklch(20% 0.05 240 / 0.3));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent);
}
.skill-icon svg { width: 22px; height: 22px; }
.skill-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.skill-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 6px;
  background: oklch(24% 0.04 240 / 0.5);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.skill-chip:hover {
  color: var(--fg);
  border-color: var(--accent);
  background: oklch(28% 0.08 240 / 0.7);
}

/* ============ CERTIFICATIONS ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.cert-card {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.cert-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: oklch(12% 0.02 250);
  letter-spacing: 0.04em;
}
.cert-card[data-issuer="microsoft"] .cert-badge { background: linear-gradient(135deg, #0078D4, #50E6FF); }
.cert-card[data-issuer="redhat"] .cert-badge { background: linear-gradient(135deg, #EE0000, #ff7a59); color: white; }
.cert-card[data-issuer="dynatrace"] .cert-badge { background: linear-gradient(135deg, #1496ff, oklch(75% 0.15 200)); }
.cert-card[data-issuer="cloudamize"] .cert-badge { background: linear-gradient(135deg, oklch(60% 0.15 145), oklch(75% 0.12 180)); }
.cert-name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.cert-issuer {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cert-issuer .year {
  margin-left: auto;
  color: var(--accent-2);
}
.cert-link {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cert-link:hover { text-decoration: underline; }

/* ============ PROJECTS ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.project-card {
  position: relative;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.project-card .project-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.25;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: top right;
}
.project-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.project-card h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 80%;
  text-wrap: balance;
}
.project-card p {
  color: var(--fg-dim);
  font-size: 15px;
  margin-bottom: 22px;
  max-width: 90%;
}
.project-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 5px;
  background: oklch(24% 0.04 240 / 0.5);
  color: var(--fg-dim);
  border: 1px solid var(--border);
}

/* ============ TALKS ============ */
.talks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.talk-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.talk-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.talk-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: oklch(10% 0.02 250);
  border-bottom: 1px solid var(--border);
}
.talk-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(1.05);
}
.talk-card:hover .talk-thumb img { transform: scale(1.06); }
.talk-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(10% 0.02 250 / 0.85) 0%, transparent 50%, oklch(10% 0.02 250 / 0.3) 100%);
  pointer-events: none;
}
.talk-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: oklch(20% 0.04 250 / 0.7);
  border: 1.5px solid oklch(98% 0.005 250 / 0.6);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: var(--fg);
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px oklch(0% 0 0 / 0.4);
}
.talk-play svg { width: 26px; height: 26px; margin-left: 3px; }
.talk-card:hover .talk-play {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(12% 0.02 250);
  transform: scale(1.08);
}
.talk-platform {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: oklch(10% 0.02 250 / 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg);
  letter-spacing: 0.04em;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.talk-platform svg { width: 14px; height: 14px; color: #ff0033; }
.talk-meta {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.talk-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
  letter-spacing: 0.08em;
}
.talk-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}
.talk-desc {
  font-size: 14px;
  color: var(--fg-dim);
  text-wrap: pretty;
  line-height: 1.5;
}

/* ============ BLOG ============ */
.blog-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  padding: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, oklch(50% 0.18 280 / 0.2), transparent 60%);
  pointer-events: none;
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.blog-card h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.blog-card p {
  color: var(--fg-dim);
  font-size: 16px;
  max-width: 540px;
}
.blog-card .arrow {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: oklch(20% 0.04 250 / 0.6);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.blog-card:hover .arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(12% 0.02 250);
  transform: rotate(-45deg);
}
.blog-card .arrow svg { width: 22px; height: 22px; transition: transform 0.3s ease; }

/* ============ CONTACT ============ */
.contact {
  text-align: center;
}
.contact .container { max-width: 820px; }
.contact h2.section-title { margin-bottom: 24px; }
.contact-sub {
  font-size: 18px;
  color: var(--fg-dim);
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}
.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.contact-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, oklch(30% 0.1 240 / 0.6), oklch(20% 0.05 240 / 0.3));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-card .value {
  font-size: 16px;
  font-weight: 500;
}

/* ============ FOOTER ============ */
footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner a { color: var(--fg-dim); text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 280px; justify-self: start; order: -1; }
  .hero-chip.chip-3 { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .skills-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .talks-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 32px; grid-template-columns: 1fr; gap: 24px; }
  .blog-card h3 { font-size: 24px; }
  .contact-channels { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
  section { padding: 80px 24px; }
}
@media (max-width: 540px) {
  .cert-grid { grid-template-columns: 1fr; }
  .nav { padding: 8px 8px 8px 14px; }
  .nav-logo { font-size: 12px; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: oklch(30% 0.04 250); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: oklch(40% 0.06 250); }

::selection { background: var(--accent); color: oklch(12% 0.02 250); }
