:root {
  --bg: #ffffff;
  --tint: #f5f7fa;
  --ink: #0b1b2e;
  --text: #22303f;
  --muted: #5d6b7a;
  --accent: #1f5eff;
  --accent-dark: #1748c7;
  --gold: #c99a3b;
  --line: #e3e8ef;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 27, 46, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; z-index: 99; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 0; gap: 1rem; }
.logo { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
nav a:hover { color: var(--ink); }
nav a.nav-cta { color: #fff; background: var(--ink); padding: 0.5rem 1rem; border-radius: 999px; }
nav a.nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle, .nav-burger { display: none; }

/* Hero */
.hero { padding: 4.5rem 0 3rem; background: radial-gradient(1000px 500px at 85% -10%, #e6eeff 0%, transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 3.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: #136c3a; background: #e7f6ec; border: 1px solid #c8ebd4; padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1fa45a; box-shadow: 0 0 0 4px rgba(31,164,90,0.18); }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--gold); margin-bottom: 0.7rem; }
.lede { font-size: 1.14rem; color: var(--text); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.35rem; border-radius: 12px; font-weight: 600; font-size: 0.97rem; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(31,94,255,0.25); }
.btn.primary:hover { background: var(--accent-dark); color: #fff; }
.btn.outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--tint); }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1rem; box-shadow: var(--shadow); }
.portrait { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.pill-row { list-style: none; padding: 0; margin: 1rem 0 0.25rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill-row li { font-size: 0.78rem; font-weight: 600; color: var(--ink); background: var(--tint); border: 1px solid var(--line); padding: 0.3rem 0.65rem; border-radius: 999px; }
.stats { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats li { background: var(--ink); color: #cfd9e6; border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; }
.stats strong { display: block; color: #fff; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.35rem; }
.stats span { font-size: 0.9rem; line-height: 1.4; display: block; }

/* Sections */
.section { padding: 5rem 0; }
.section.tint { background: var(--tint); }
.section-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 0.6rem; }
.two-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.prose p { font-size: 1.05rem; }
.callout { border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1rem; color: var(--ink); font-weight: 600; }
.narrow-text { max-width: 70ch; }

/* Experience */
.jobs { display: grid; gap: 1rem; margin-top: 2rem; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.job.featured { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.job header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 0.6rem; }
.job h3 { margin-bottom: 0.15rem; }
.company { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.97rem; }
.company .muted { font-weight: 400; }
.when { margin: 0; white-space: nowrap; font-size: 0.85rem; font-weight: 600; color: var(--muted); background: var(--tint); padding: 0.25rem 0.7rem; border-radius: 999px; }
.job ul { margin: 0; padding-left: 1.15rem; }
.job li { margin: 0.35rem 0; font-size: 0.98rem; }
.job li::marker { color: var(--accent); }
.earlier { margin-top: 1.3rem; font-size: 0.93rem; }

/* Results */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.result { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; background: #fff; display: flex; flex-direction: column; }
.result strong { font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1.1; }
.result p { margin: 0.4rem 0 0.8rem; color: var(--ink); font-weight: 500; font-size: 0.97rem; line-height: 1.4; flex: 1; }
.result span { font-size: 0.8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Certifications */
.cert-grid { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.cert-grid li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem 0.85rem 2.4rem; position: relative; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.cert-grid li::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.edu { color: var(--muted); font-size: 0.95rem; }
.edu strong { color: var(--ink); }

/* Client success cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.card { background: var(--tint); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.card p { margin: 0; font-size: 0.97rem; }

/* Contact */
.contact { background: var(--ink); color: #cfd9e6; }
.contact h2 { color: #fff; }
.section-label.light { color: #8fb0ff; }
.contact-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 0.97rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: #8fa1b5; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; word-break: break-word; text-align: right; }
.contact-list a:hover { color: #8fb0ff; }

/* Footer */
.site-footer { padding: 1.6rem 0; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer a { color: var(--muted); text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-burger { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
  .nav-burger span::before { position: absolute; top: -7px; }
  .nav-burger span::after { position: absolute; top: 7px; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem; }
  nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  nav a.nav-cta { margin-top: 0.8rem; text-align: center; border-bottom: 0; }
  .nav-toggle:checked ~ nav { display: flex; }
  .hero { padding-top: 2.5rem; }
  .hero-grid, .two-col, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { max-width: 380px; }
  .section { padding: 3.5rem 0; }
  .job header { flex-direction: column; gap: 0.5rem; }
  .cert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats, .results-grid, .cards { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .cards { grid-template-columns: 1fr; }
  .stats strong, .result strong { font-size: 1.6rem; }
  .stats li, .result { padding: 1rem; }
  .btn { flex: 1 1 100%; }
  .contact-list li { flex-direction: column; gap: 0.2rem; }
  .contact-list a { text-align: left; }
  .footer-row { flex-direction: column; }
}
