:root {
  --navy-900: #0f1e33;
  --navy-800: #16294a;
  --navy-700: #1e3a5f;
  --accent: #3b6ea5;
  --accent-strong: #2a5688;
  --slate-50: #f6f8fb;
  --slate-100: #eef2f7;
  --slate-200: #dde4ee;
  --slate-500: #5a6b82;
  --slate-700: #334155;
  --ink: #142033;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 30, 51, .06), 0 8px 24px rgba(15, 30, 51, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-strong); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #7fb0e6; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--white); color: var(--navy-900); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 30, 51, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #d3deeb; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(59, 110, 165, .45), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 96px 0 88px;
}
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #b8cde6; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; letter-spacing: -0.035em; }
.headline { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: #a9c4e4; margin: 10px 0 20px; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: #d6e0ec; max-width: 680px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--white); color: var(--navy-900); }
.btn-primary:hover { background: #e6eef8; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: #e6eef8; }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }

.stats {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stats li {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 18px 20px;
}
.stats strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.stats span { display: block; font-size: 14px; line-height: 1.45; color: #c3d2e4; margin-top: 2px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.section-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 10px;
}
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy-900); margin-bottom: 36px; }

.about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.about-grid h2 { margin-bottom: 0; }
.prose p { color: var(--slate-700); }
.note {
  font-weight: 600; color: var(--navy-700) !important;
  border-left: 3px solid var(--accent); padding-left: 14px; margin-top: 1.5em;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); margin: 16px 0 10px; }
.card p { font-size: 15.5px; color: var(--slate-700); margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--slate-100); color: var(--navy-700);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-feature { border-color: #b7cbe3; background: linear-gradient(180deg, #f3f7fc 0%, var(--white) 70%); }
.card-feature .card-icon { background: var(--navy-700); color: var(--white); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 180px; top: 8px; bottom: 8px; width: 2px; background: var(--slate-200);
}
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 174px; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--accent);
}
.timeline li:first-child::before { background: var(--accent); }
.tl-date { font-size: 14px; font-weight: 700; color: var(--slate-500); padding-top: 2px; text-align: right; padding-right: 16px; }
.tl-body h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); }
.tl-org { font-weight: 600; color: var(--accent-strong); font-size: 15px; margin: 4px 0 8px; }
.tl-body p:last-child { color: var(--slate-700); margin: 0; font-size: 16px; }

.edu {
  margin-top: 56px; padding: 24px 28px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--slate-50);
}
.edu h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 10px; }
.edu ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 40px; color: var(--slate-700); }

/* Contact */
.contact {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white); text-align: center;
}
.contact .section-kicker { color: #a9c4e4; }
.contact h2 { color: var(--white); margin-bottom: 16px; }
.contact-inner { max-width: 720px; }
.contact-inner > p { color: #d6e0ec; }
.contact-line { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin: 20px 0 6px; word-break: break-word; }
.contact-line a { color: var(--white); text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .35); }
.contact-line a:hover { border-color: var(--white); }
.contact-meta { font-size: 15px; color: #b8cde6 !important; }

.site-footer { background: var(--navy-900); color: #93a7c0; font-size: 14px; padding: 22px 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .nav-wrap { height: auto; padding-top: 12px; padding-bottom: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav-links { gap: 2px; margin-left: -10px; flex-wrap: wrap; }
  .nav-links a { padding: 6px 8px; font-size: 14px; }
  .hero { padding: 56px 0 56px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { gap: 10px; margin-top: 40px; }
  .stats li { padding: 14px 16px; }
  .stats strong { font-size: 24px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .tl-date { text-align: left; padding-right: 0; }
  .edu ul { flex-direction: column; }
}

/* Outside of work */
.hobby-inner { display: flex; gap: 32px; align-items: flex-start; max-width: 880px; }
.hobby-icon {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  background: #fbf3df; border: 1px solid #ecd9a8; color: #8a5a00;
}
.hobby-icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.hobbies h2 { margin-bottom: 14px; }
.hobbies p:last-child { color: var(--slate-700); margin: 0; }
@media (max-width: 680px) { .hobby-inner { flex-direction: column; gap: 18px; } }
@media (max-width: 680px) {
  .eyebrow { font-size: 12px; letter-spacing: .04em; padding: 5px 10px; }
}
@media (max-width: 680px) {
  .nav-links { gap: 0; margin-left: -8px; }
  .nav-links a { padding: 6px 7px; font-size: 13.5px; }
}
