/* ============ 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: clip;
  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; }
article { padding-left: 24px; padding-right: 24px; }

.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);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
  opacity: 0.8;
}
.project-link:hover { gap: 10px; opacity: 1; }

/* ============ 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; }

/* ============ NEWS ============ */
.news-block {
  margin-top: 48px;
}
.news-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.news-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.news-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent-2);
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}
.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: oklch(22% 0.035 250 / 0.5); }
.news-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  padding-top: 3px;
  white-space: nowrap;
}
.news-body { display: flex; flex-direction: column; gap: 5px; }
.news-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.news-desc {
  font-size: 13.5px;
  color: var(--fg-dim);
  line-height: 1.5;
  text-wrap: pretty;
}
.news-source {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.7;
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.2s ease;
}
.news-source:hover { opacity: 1; }
.news-comment {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  margin-top: 6px;
  opacity: 0.85;
  font-style: italic;
}
@media (max-width: 600px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ ARTICLES ============ */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
.article-card {
  display: block;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(20px);
}
.article-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.article-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.article-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: oklch(28% 0.04 250 / 0.6);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}
.article-card h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}
.article-card > p {
  font-size: 13.5px;
  color: var(--fg-dim);
  line-height: 1.5;
  text-wrap: pretty;
}
.article-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.article-card:hover .article-read { opacity: 1; }
.article-reading-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-reading-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
.article-body-content { max-width: 720px; }
.article-body-content h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--fg);
}
.article-body-content h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--fg);
}
.article-body-content p {
  font-size: 15px;
  line-height: 1.72;
  color: var(--fg-dim);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.article-body-content ul, .article-body-content ol {
  margin: 4px 0 16px 20px;
}
.article-body-content li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin-bottom: 6px;
}
.article-body-content strong { color: var(--fg); font-weight: 500; }
.article-body-content code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-elev);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--accent-2);
}
.article-body-content pre {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0 20px;
}
.article-body-content pre code {
  background: none;
  padding: 0;
  font-size: 12.5px;
  color: var(--fg-dim);
}
.article-cta-block {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
}
.article-cta-block p {
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.linkedin-link-block {
  margin-top: 20px;
  text-align: center;
}

/* ============ LEAD MAGNET ============ */
.lead-magnet-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background: linear-gradient(135deg, oklch(22% 0.06 240 / 0.7), var(--bg-card));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
}
.lead-magnet-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: oklch(28% 0.08 240 / 0.6);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.lead-magnet-icon svg { width: 22px; height: 22px; }
.lead-magnet-body { flex: 1; min-width: 0; }
.lead-magnet-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.lead-magnet-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--fg);
}
.lead-magnet-desc {
  font-size: 13.5px;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.lead-magnet-form { display: flex; gap: 10px; }
.lead-magnet-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: oklch(18% 0.025 250 / 0.8);
  color: var(--fg);
  font-size: 13.5px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.lead-magnet-form input[type="email"]:focus { border-color: var(--accent); }
.lead-magnet-form input[type="email"]::placeholder { color: var(--fg-muted); }
.lead-magnet-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: oklch(12% 0.02 250);
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.lead-magnet-form button:hover { opacity: 0.85; }
@media (max-width: 640px) {
  .lead-magnet-card { flex-direction: column; }
  .lead-magnet-form { flex-direction: column; }
}

/* ============ TESTIMONIAL ============ */
.proj-testimonial {
  margin-top: 24px;
  padding: 20px 24px;
  background: oklch(20% 0.04 240 / 0.5);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.proj-testimonial blockquote {
  font-size: 14.5px;
  font-style: italic;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 10px;
}
.proj-testimonial cite {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  font-style: normal;
}

/* YouTube embed in talk-thumb */
.talk-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.talk-card--embed { cursor: default; }
.talk-card--embed:hover { transform: none; }

/* Calendly CTA */
.calendly-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  backdrop-filter: blur(20px);
  flex-wrap: wrap;
}
.calendly-cta-text h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.calendly-cta-text p { font-size: 13px; color: var(--fg-dim); }

/* ============ 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; }


/* ── Active nav link ── */
.nav-links a[aria-current="page"] {
  color: var(--fg);
  background: oklch(25% 0.04 250 / 0.5);
}

/* ── Nav needs relative for dropdown ── */
.nav { position: fixed; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: oklch(12% 0.02 250 / 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 0 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 0;
  }
  .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; }
  .article-cta-block { padding: 20px; }
  .article-card { padding: 20px; }
  .article-body-content h2 { font-size: 17px; }
}

/* ============ 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); }

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  margin-top: 72px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 144px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--border) 8%,
    var(--border) 92%,
    transparent);
}
.tl-item {
  display: grid;
  grid-template-columns: 144px 1fr;
  gap: 0 40px;
  margin-bottom: 32px;
  position: relative;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-year {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 26px;
  padding-right: 40px;
  position: relative;
  gap: 10px;
}
.tl-dot {
  position: absolute;
  right: -5px;
  top: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: oklch(38% 0.06 250);
  border: 2px solid var(--bg);
  z-index: 1;
  transition: all 0.3s ease;
}
.tl-dot.current {
  background: var(--accent);
  box-shadow: 0 0 14px var(--glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.tl-period {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-align: right;
  white-space: nowrap;
  line-height: 1.4;
}
.tl-card {
  padding: 28px 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  transition: all 0.35s ease;
}
.tl-card:hover {
  border-color: var(--border-strong);
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}
.tl-company-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tl-company {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.tl-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: oklch(40% 0.18 145 / 0.12);
  border: 1px solid oklch(60% 0.18 145 / 0.35);
  color: oklch(72% 0.18 145);
}
.tl-role {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.tl-desc {
  font-size: 15px;
  color: var(--fg-dim);
  margin-bottom: 18px;
  text-wrap: pretty;
  line-height: 1.6;
}
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; gap: 14px; }
  .tl-year {
    flex-direction: row;
    align-items: center;
    padding: 0 0 0 24px;
    gap: 12px;
  }
  .tl-dot { right: auto; top: auto; position: static; flex-shrink: 0; }
  .tl-period { text-align: left; white-space: normal; }
  .tl-card:hover { transform: none; }
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.service-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:nth-child(1)::after { background: radial-gradient(circle at 0% 0%, oklch(55% 0.18 240 / 0.09), transparent 55%); }
.service-card:nth-child(2)::after { background: radial-gradient(circle at 100% 0%, oklch(55% 0.18 280 / 0.09), transparent 55%); }
.service-card:nth-child(3)::after { background: radial-gradient(circle at 0% 100%, oklch(55% 0.18 200 / 0.09), transparent 55%); }
.service-card:nth-child(4)::after { background: radial-gradient(circle at 100% 100%, oklch(55% 0.18 145 / 0.09), transparent 55%); }
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-strong);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:nth-child(1) .service-icon {
  background: linear-gradient(135deg, oklch(30% 0.1 240 / 0.6), oklch(20% 0.05 240 / 0.3));
  color: var(--accent);
}
.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, oklch(30% 0.1 280 / 0.6), oklch(20% 0.05 280 / 0.3));
  color: var(--accent-3);
}
.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, oklch(30% 0.1 200 / 0.6), oklch(20% 0.05 200 / 0.3));
  color: var(--accent-2);
}
.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, oklch(30% 0.12 145 / 0.4), oklch(20% 0.05 145 / 0.2));
  color: oklch(72% 0.18 145);
}
.service-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  text-wrap: balance;
}
.service-card p {
  font-size: 15px;
  color: var(--fg-dim);
  text-wrap: pretty;
  line-height: 1.6;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
}
.service-for {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  text-transform: uppercase;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ CONTACT FORM ============ */
.contact-form {
  margin-top: 32px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.form-group input,
.form-group textarea {
  background: oklch(13% 0.02 250 / 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.2s ease;
  width: 100%;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-muted); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: oklch(15% 0.025 250 / 0.9);
  box-shadow: 0 0 0 3px oklch(72% 0.18 240 / 0.1);
}
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 15px;
}
.form-submit:disabled { cursor: not-allowed; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 20px;
  background: oklch(40% 0.18 145 / 0.1);
  border: 1px solid oklch(60% 0.18 145 / 0.3);
  border-radius: var(--r-md);
  color: oklch(72% 0.18 145);
  font-size: 14px;
  text-align: left;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
