:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --ink: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #dbe4ef;
  --accent: #1d4ed8;
  --accent-dark: #1e3a8a;
  --accent-soft: #dbeafe;
  --success: #0f766e;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% 0%, rgba(29, 78, 216, 0.14), transparent 36rem), radial-gradient(circle at 88% 20%, rgba(15, 118, 110, 0.11), transparent 30rem), var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
.skip-link { position:absolute; left:1rem; top:-4rem; z-index:10; padding:.75rem 1rem; background:var(--ink); color:white; border-radius:999px; }
.skip-link:focus { top:1rem; }
.wrap { width:min(var(--wrap), calc(100% - 2rem)); margin-inline:auto; }
.site-header { position:sticky; top:0; z-index:5; backdrop-filter:blur(16px); background:rgba(248,250,252,.78); border-bottom:1px solid rgba(219,228,239,.8); }
.nav { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }
.brand { display:inline-flex; align-items:center; gap:.7rem; text-decoration:none; font-weight:800; letter-spacing:-.03em; }
.brand-mark { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background:var(--ink); color:white; font-size:.9rem; }
.nav-menu { display:flex; align-items:center; gap:1rem; list-style:none; padding:0; margin:0; }
.nav-menu a { text-decoration:none; color:var(--muted); font-weight:650; font-size:.94rem; }
.nav-menu a:hover { color:var(--accent); }
.nav-toggle { display:none; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:.55rem .85rem; font:inherit; font-weight:700; }
.hero { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.65fr); gap:2rem; align-items:center; padding:5.5rem 0 3.5rem; }
.eyebrow { margin:0 0 .7rem; color:var(--accent); text-transform:uppercase; letter-spacing:.16em; font-weight:850; font-size:.78rem; }
h1,h2,h3,p { overflow-wrap:anywhere; }
h1 { margin:0; max-width:860px; font-size:clamp(2.45rem,6vw,5.45rem); line-height:.95; letter-spacing:-.075em; }
.hero-lead { max-width:760px; margin:1.55rem 0 0; color:var(--muted); font-size:clamp(1.08rem,2vw,1.35rem); }
.hero-actions,.contact-actions,.project-links { display:flex; flex-wrap:wrap; gap:.75rem; }
.hero-actions { margin-top:2rem; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:.75rem 1.05rem; border-radius:999px; border:1px solid var(--line); background:var(--surface); color:var(--ink); text-decoration:none; font-weight:800; box-shadow:0 1px 0 rgba(15,23,42,.05); }
.btn:hover { border-color:var(--accent); color:var(--accent); }
.btn.primary { background:var(--accent); color:white; border-color:var(--accent); }
.btn.primary:hover { background:var(--accent-dark); border-color:var(--accent-dark); color:white; }
.hero-tags { display:flex; flex-wrap:wrap; gap:.55rem; padding:0; margin:1.8rem 0 0; list-style:none; }
.hero-tags li { padding:.45rem .7rem; border-radius:999px; background:var(--accent-soft); color:var(--accent-dark); font-size:.9rem; font-weight:750; }
.hero-card,.note-card,.project-card,.timeline-item,.skills-grid article,.education-grid article,.cta { background:rgba(255,255,255,.88); border:1px solid rgba(219,228,239,.95); border-radius:var(--radius); box-shadow:var(--shadow); }
.hero-card { padding:1.35rem; }
.card-kicker { margin:0; color:var(--success); font-weight:850; text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; }
.hero-card h2 { margin:.35rem 0 .65rem; font-size:1.45rem; letter-spacing:-.04em; }
.hero-card p,.hero-card dd,.hero-card dt { margin:0; }
.hero-card p { color:var(--muted); }
.hero-card dl { display:grid; gap:.85rem; margin:1.25rem 0 0; }
.hero-card div { padding-top:.85rem; border-top:1px solid var(--line); }
.hero-card dt { color:var(--muted-2); font-size:.83rem; font-weight:800; }
.hero-card dd { margin-top:.12rem; font-weight:800; }
.section { padding:3.7rem 0; }
.section-heading { max-width:820px; margin-bottom:1.5rem; }
.section-heading h2,.cta h2 { margin:0; font-size:clamp(2rem,4vw,3.45rem); line-height:1.04; letter-spacing:-.06em; }
.content-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr); gap:1rem; }
.rich-text,.note-card { padding:1.4rem; }
.rich-text { background:rgba(255,255,255,.62); border:1px solid rgba(219,228,239,.65); border-radius:var(--radius); }
.rich-text p:first-child { margin-top:0; }
.rich-text p:last-child,.note-card p:last-child { margin-bottom:0; }
.rich-text p,.project-card p,.timeline-item p,.skills-grid p,.education-grid p,.cta p { color:var(--muted); }
.note-card h3 { margin:0 0 .45rem; font-size:1.25rem; }
.projects { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.project-card { padding:1.35rem; }
.project-header { min-height:104px; }
.project-type,.time { margin:0 0 .35rem; color:var(--accent); font-weight:850; font-size:.83rem; }
.project-card h3,.timeline-item h3,.skills-grid h3,.education-grid h3 { margin:0; font-size:1.35rem; line-height:1.14; letter-spacing:-.035em; }
.project-card ul { padding-left:1.1rem; color:var(--muted); }
.project-links { margin-top:1rem; }
.project-links a { text-decoration:none; color:var(--accent); font-weight:850; }
.project-links a::after { content:" →"; }
.timeline { display:grid; gap:.85rem; }
.timeline-item { padding:1.2rem 1.35rem; }
.timeline-item p:last-child { margin-bottom:0; }
.skills-grid,.education-grid { display:grid; gap:1rem; }
.skills-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.education-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.skills-grid article,.education-grid article { padding:1.2rem; }
.cta { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1.5rem; align-items:center; padding:2rem; margin-block:3rem 4rem; }
.cta p { max-width:820px; }
.contact-actions { justify-content:flex-end; }
.footer { border-top:1px solid var(--line); padding:1.6rem 0; background:rgba(255,255,255,.45); color:var(--muted); }
.footer-inner { display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.footer p { margin:0; }
@media (max-width:900px) { .hero,.content-grid,.cta { grid-template-columns:1fr; } .projects,.skills-grid,.education-grid { grid-template-columns:1fr; } .contact-actions { justify-content:flex-start; } }
@media (max-width:720px) { .nav-toggle { display:inline-flex; } .nav-menu { position:absolute; left:1rem; right:1rem; top:72px; display:none; flex-direction:column; align-items:stretch; padding:.8rem; border:1px solid var(--line); border-radius:18px; background:var(--surface); box-shadow:var(--shadow); } .nav-menu.is-open { display:flex; } .nav-menu a { display:block; padding:.7rem; } .hero { padding-top:3.2rem; } .brand-text { display:none; } .cta { padding:1.35rem; } }
.profile-photo {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  margin-bottom: 1rem;
}
