:root {
  /* accent palette — toggled by data-accent */
  --accent: oklch(0.82 0.15 155);
  --accent-soft: oklch(0.82 0.15 155 / 0.14);
  --accent-line: oklch(0.82 0.15 155 / 0.32);

  /* dark (default) */
  --bg: oklch(0.16 0.018 260);
  --bg-2: oklch(0.19 0.02 260);
  --fg: oklch(0.97 0.005 260);
  --fg-dim: oklch(0.72 0.01 260);
  --fg-mute: oklch(0.55 0.015 260);
  --line: oklch(1 0 0 / 0.08);
  --line-strong: oklch(1 0 0 / 0.14);
  --surface: oklch(1 0 0 / 0.03);
  --surface-hi: oklch(1 0 0 / 0.06);
  --glow: radial-gradient(1200px 600px at 10% -10%, var(--accent-soft), transparent 60%),
          radial-gradient(900px 500px at 100% 0%, oklch(0.7 0.12 250 / 0.14), transparent 60%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
}

[data-theme="light"] {
  --bg: oklch(0.985 0.004 100);
  --bg-2: oklch(0.965 0.006 100);
  --fg: oklch(0.18 0.015 260);
  --fg-dim: oklch(0.4 0.015 260);
  --fg-mute: oklch(0.56 0.01 260);
  --line: oklch(0 0 0 / 0.08);
  --line-strong: oklch(0 0 0 / 0.14);
  --surface: oklch(1 0 0 / 0.7);
  --surface-hi: oklch(1 0 0 / 0.9);
  --glow: radial-gradient(1200px 600px at 10% -10%, var(--accent-soft), transparent 60%),
          radial-gradient(900px 500px at 100% 0%, oklch(0.85 0.08 250 / 0.25), transparent 60%);
}

[data-accent="mint"]   { --accent: rgb(103, 224, 153); --accent-soft: rgb(103 224 153 / 0.14); --accent-line: rgb(103 224 153 / 0.32); }
[data-accent="cyan"]   { --accent: oklch(0.82 0.13 220); --accent-soft: oklch(0.82 0.13 220 / 0.14); --accent-line: oklch(0.82 0.13 220 / 0.32); }
[data-accent="amber"]  { --accent: oklch(0.82 0.14 75);  --accent-soft: oklch(0.82 0.14 75 / 0.14);  --accent-line: oklch(0.82 0.14 75 / 0.32); }
[data-accent="violet"] { --accent: oklch(0.78 0.14 300); --accent-soft: oklch(0.78 0.14 300 / 0.14); --accent-line: oklch(0.78 0.14 300 / 0.32); }
[data-accent="red"]    { --accent: oklch(0.72 0.18 22);  --accent-soft: oklch(0.72 0.18 22 / 0.14);  --accent-line: oklch(0.72 0.18 22 / 0.32); }

[data-font="inter"]      { --font-sans: 'Inter', system-ui, sans-serif; }
[data-font="mono-first"] { --font-sans: 'JetBrains Mono', monospace; }
[data-font="editorial"]  { --font-sans: 'Instrument Serif', serif; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--glow);
  pointer-events: none;
  z-index: 0;
}

/* Grain */
[data-grain="true"] body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#root { position: relative; z-index: 2; }

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 22px; font-style: italic;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.nav-links {
  display: flex; gap: 4px;
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--fg-dim);
  transition: all 0.18s;
  cursor: pointer;
  font-weight: 500;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active {
  background: var(--surface-hi);
  color: var(--fg);
  border: 1px solid var(--line-strong);
  margin: -1px;
}
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer; color: var(--fg-dim);
  transition: all 0.18s;
}
.icon-btn:hover { color: var(--fg); background: var(--surface-hi); border-color: var(--line-strong); }

/* Page */
.page { max-width: 1200px; margin: 0 auto; padding: 40px 32px 120px; }
.page-head { margin-bottom: 48px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent-line);
}
h1.page-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.page-sub {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 680px;
  line-height: 1.55;
  margin: 0;
}

/* Card / glass */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
[data-surface="glass"] .card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-surface="flat"] .card {
  background: var(--bg-2);
}
[data-surface="outline"] .card {
  background: transparent;
  border-color: var(--line-strong);
}
.card.interactive:hover {
  border-color: var(--accent-line);
  background: var(--surface-hi);
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 48px;
}
.hero[data-layout="centered"] {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 96px 0;
}
.hero[data-layout="centered"] .hero-right { display: none; }
.hero[data-layout="stacked"] {
  grid-template-columns: 1fr;
  gap: 40px;
}
.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.hero-name em {
  font-style: italic;
  color: var(--accent);
}
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
  background: var(--surface);
}
.status-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  position: relative;
}
.status-pulse::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(2.4); opacity: 0; } }

.hero-tagline {
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-dim);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-tagline strong { color: var(--fg); font-weight: 500; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  transition: all 0.18s;
}
.btn:hover { background: var(--surface-hi); border-color: var(--line-strong); }
.btn-primary {
  background: var(--accent);
  color: oklch(0.16 0.018 260);
  border-color: var(--accent);
}
.btn-primary:hover { filter: brightness(1.08); }

.hero-right {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.photo-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 10px, var(--line) 10px, var(--line) 11px);
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 12px;
}
.photo-placeholder span {
  background: var(--bg); padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line);
}

/* Metrics grid */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 64px;
}
.metric {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.metric .metric-label { flex: 1; }
.metric::before {
  content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 1px;
  background: var(--accent);
}
.metric-value {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.metric-value .unit { color: var(--fg-mute); font-size: 24px; }
.metric-label {
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.4;
}
.metric-context {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}

.metrics[data-style="minimal"] .metric {
  background: transparent;
  border: none;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 24px;
}
.metrics[data-style="minimal"] .metric::before { display: none; }
.metrics[data-style="inline"] {
  grid-template-columns: 1fr;
  gap: 0;
}
.metrics[data-style="inline"] .metric {
  border-radius: 0;
  border-left: none; border-right: none; border-bottom: none;
  padding: 24px 0;
  display: flex; align-items: baseline; gap: 32px;
}
.metrics[data-style="inline"] .metric:last-child { border-bottom: 1px solid var(--line); }
.metrics[data-style="inline"] .metric::before { display: none; }
.metrics[data-style="inline"] .metric-value { font-size: 48px; margin: 0; min-width: 200px; }

/* Section headings */
.section { margin: 80px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Experience timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.job {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.job:last-child { border-bottom: 1px solid var(--line); }
.job-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.05em;
  padding-top: 4px;
}
.job-current {
  color: var(--accent);
}
.job-role {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px;
}
.job-company {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 16px;
}
.job-bullets {
  margin: 0; padding: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.job-bullets li {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.job-bullets li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 1px; background: var(--accent);
}
.job-bullets strong { color: var(--fg); font-weight: 500; font-family: var(--font-mono); font-size: 14px; }

/* Education */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.edu-card { padding: 28px; }
.edu-degree { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.edu-school { font-family: var(--font-mono); font-size: 13px; color: var(--fg-dim); margin-bottom: 12px; }
.edu-year { font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute); }

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 20px;
}
.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-preview {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.project-preview iframe {
  position: absolute;
  top: 0; left: 0;
  width: 200%; height: 200%;
  transform: scale(0.5);
  transform-origin: 0 0;
  border: 0;
  pointer-events: none;
}
.project-preview-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklch, var(--bg) 85%, transparent) 100%);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s;
}
.project-card:hover .project-preview-overlay { opacity: 1; }
.project-body {
  padding: 24px 24px 28px;
}
.project-title {
  font-size: 20px; font-weight: 500;
  margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
.project-title-arrow {
  color: var(--fg-mute);
  transition: transform 0.2s, color 0.2s;
}
.project-card:hover .project-title-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}
.project-desc {
  font-size: 14px; color: var(--fg-dim);
  line-height: 1.5;
  margin: 0 0 16px;
}
.project-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-hi);
  border: 1px solid var(--line);
  color: var(--fg-dim);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.contact-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 220px;
}
.contact-card.interactive { cursor: pointer; }
.contact-top { display: flex; align-items: center; justify-content: space-between; }
.contact-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--surface-hi);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--fg);
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.contact-handle {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: auto;
}
.contact-sub {
  font-size: 13px; color: var(--fg-dim);
}

/* Latest posts section */
.latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-card {
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 200px;
}
.post-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-platform { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-dim); }
.post-platform-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--surface-hi); border: 1px solid var(--line); display: grid; place-items: center; }
.post-body { font-size: 15px; line-height: 1.55; color: var(--fg); flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.05em; text-transform: uppercase; }

/* Tweaks panel */
.tweaks-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-hi);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  color: var(--fg);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.2s;
}
.tweaks-fab:hover { transform: rotate(30deg); background: var(--accent); color: var(--bg); }
.tweaks-panel {
  position: fixed; bottom: 84px; right: 24px; z-index: 100;
  width: 320px;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.4);
}
.tweaks-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.tweak-row { margin-bottom: 16px; }
.tweak-label {
  font-size: 12px; color: var(--fg-dim); margin-bottom: 8px;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.tweak-label .tweak-value { color: var(--fg); }
.tweak-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-opt {
  flex: 1; min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  font-family: var(--font-mono);
}
.tweak-opt:hover { color: var(--fg); border-color: var(--line-strong); }
.tweak-opt.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch {
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--line);
  transition: transform 0.15s;
}
.tweak-swatch:hover { transform: scale(1.1); }
.tweak-swatch.active { border-color: var(--fg); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}
.testimonial-card {
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.testimonial-card[data-accent="mint"]   { --ta: rgb(103, 224, 153); }
.testimonial-card[data-accent="cyan"]   { --ta: oklch(0.82 0.13 220); }
.testimonial-card[data-accent="amber"]  { --ta: oklch(0.82 0.14 75);  }
.testimonial-card[data-accent="violet"] { --ta: oklch(0.78 0.14 300); }
.testimonial-card:hover {
  border-color: var(--ta, var(--accent-line));
}
.testimonial-quote-mark {
  position: absolute;
  top: -20px; right: 16px;
  font-family: var(--font-serif);
  font-size: 140px;
  line-height: 1;
  color: var(--ta, var(--accent));
  opacity: 0.18;
  pointer-events: none;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ta, var(--accent));
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testimonial-meta { flex: 1; min-width: 0; }
.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.testimonial-role {
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 2px;
}
.testimonial-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  margin-top: 4px;
}
.testimonial-arrow {
  color: var(--fg-mute);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.testimonial-card:hover .testimonial-arrow {
  transform: translate(3px, -3px);
  color: var(--ta, var(--accent));
}

.testimonial-cta {
  margin-top: 64px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: left;
}

/* Calendly CTA on Contact page */
.calendly-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px auto 0;
  max-width: 880px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in oklch, var(--accent) 80%, oklch(0.7 0.14 170)) 100%);
  color: oklch(0.16 0.018 260);
  border: 1px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.calendly-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, oklch(1 0 0 / 0.25), transparent 70%);
  pointer-events: none;
}
.calendly-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px color-mix(in oklch, var(--accent) 30%, transparent);
}
.calendly-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.calendly-cta-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: oklch(0.16 0.018 260 / 0.15);
  border: 1px solid oklch(0.16 0.018 260 / 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.calendly-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 6px;
}
.calendly-cta-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.calendly-cta-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.7;
}
.calendly-cta-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: oklch(0.16 0.018 260);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.calendly-cta:hover .calendly-cta-arrow {
  transform: translateX(4px);
}

/* Footer */
.footer {
  max-width: 1200px; margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Fade in page transitions */
.page {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0; }
  .hero-right { max-width: 320px; margin: 0 auto; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .job { grid-template-columns: 1fr; gap: 12px; }
  .edu-grid, .latest-grid, .contact-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 20px; }
  .nav-links { font-size: 13px; }
  .nav-link { padding: 6px 12px; }
  .page { padding: 24px 20px 80px; }
}
