:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #f7f8fa;
  --white: #ffffff;
  --accent: #164e63;
  --accent-2: #0f766e;
  --dark: #0b1220;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(229,231,235,.85); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 900; font-size: 1.45rem; letter-spacing: -.08em; }
.brand span { color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .92rem; font-weight: 650; }
.nav-links a:hover { color: var(--accent-2); }
.nav-button { padding: 9px 15px; border: 1px solid var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; font-size: 1.4rem; }
.hero { min-height: 86vh; display: grid; align-items: center; background: linear-gradient(135deg,#f8fafc 0%,#fff 55%,#edf7f5 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; padding: 80px 0; }
.eyebrow, .section-label, .tag { font-size: .72rem; letter-spacing: .14em; font-weight: 800; color: var(--accent-2); }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.065em; max-width: 780px; margin: 18px 0 26px; }
.lead { max-width: 680px; color: #475467; font-size: 1.12rem; }
.hero-actions { display: flex; gap: 12px; margin: 34px 0 22px; flex-wrap: wrap; }
.button { display: inline-flex; padding: 13px 20px; border-radius: 999px; font-weight: 750; border: 1px solid var(--ink); }
.primary { background: var(--ink); color: white; }
.secondary { background: white; }
.quick-links { display: flex; gap: 20px; color: #475467; font-size: .9rem; font-weight: 650; }
.hero-photo { justify-self: end; max-width: 430px; width: 100%; }
.photo-frame { padding: 10px; background: white; border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(15,23,42,.12); transform: rotate(1.2deg); }
.photo-frame img { display: block; width: 100%; aspect-ratio: 1/1.15; object-fit: cover; }
.availability { margin-top: 18px; display: flex; justify-content: center; gap: 9px; font-size: .82rem; font-weight: 700; color: #475467; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; margin-top: 8px; }
.section { padding: 110px 0; }
.section-alt { background: var(--paper); }
.two-col { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
h2 { font-size: clamp(2.2rem,4vw,3.8rem); line-height: 1.02; letter-spacing: -.055em; margin-top: 14px; }
.section-text { color: #475467; font-size: 1.05rem; }
.section-text p + p { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 35px; }
.stats div { padding-top: 18px; border-top: 1px solid var(--line); }
.stats strong, .stats span { display: block; }
.stats strong { font-size: 1.05rem; color: var(--ink); }
.stats span { color: var(--muted); font-size: .82rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; }
.section-heading p { color: var(--muted); max-width: 360px; }
.experience-card { display: grid; grid-template-columns: .35fr 1fr; gap: 60px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-meta { display: flex; flex-direction: column; gap: 7px; font-size: .82rem; color: var(--muted); font-weight: 650; }
.experience-card h3, .project-card h3, .mini-card h3, .skills-grid h3, .timeline-item h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 9px; }
.experience-card p, .project-card p, .mini-card p, .timeline-item p { color: var(--muted); }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 8px; }
.check-list li { color: #475467; padding-left: 22px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 900; }
.infra-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 24px; }
.mini-card { background: white; padding: 28px; border: 1px solid var(--line); }
.icon, .project-number { color: var(--accent-2); font-weight: 850; font-size: .78rem; display: block; margin-bottom: 25px; }
.project-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.project-card { padding: 34px; border: 1px solid var(--line); background: #fff; }
.project-card.featured { grid-column: span 2; display: grid; grid-template-columns: 80px 1fr; gap: 25px; background: var(--paper); }
.project-card .tag { display: inline-block; margin-bottom: 12px; }
.project-card h3 { font-size: 1.65rem; margin-bottom: 12px; }
.tech-stack { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 22px; }
.tech-stack span { padding: 5px 9px; background: #eef2f4; border-radius: 5px; font-size: .72rem; font-weight: 700; color: #344054; }
.section-dark { background: var(--dark); color: white; }
.section-dark .section-label { color: #5eead4; }
.section-dark .section-heading p { color: #98a2b3; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #263143; }
.skills-grid > div { padding: 30px 25px 30px 0; border-bottom: 1px solid #263143; }
.skills-grid > div:nth-child(n+2) { padding-left: 25px; border-left: 1px solid #263143; }
.skills-grid h3 { color: white; }
.skills-grid p { color: #98a2b3; font-size: .92rem; }
.timeline { border-left: 1px solid var(--line); margin-top: 40px; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 30px; padding: 0 0 42px 35px; position: relative; }
.timeline-item::before { content:""; position:absolute; left:-5px; top:5px; width:9px; height:9px; border-radius:50%; background: var(--accent-2); }
.timeline-item > span { font-size: .8rem; font-weight: 800; color: var(--accent-2); }
.contact-section { background: #eef7f5; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-lead { color: #475467; margin-top: 24px; max-width: 520px; font-size: 1.05rem; }
.contact-list { border-top: 1px solid rgba(15,118,110,.2); }
.contact-list a { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(15,118,110,.2); }
.contact-list span { color: #667085; font-size: .82rem; }
.contact-list strong { font-size: .9rem; text-align: right; }
footer { background: var(--dark); color: #98a2b3; font-size: .8rem; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
@media (max-width: 850px) {
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 70px; background: white; padding: 18px; border: 1px solid var(--line); flex-direction: column; align-items: stretch; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-photo { justify-self: start; max-width: 360px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 14px; }
  .experience-card { grid-template-columns: 1fr; gap: 20px; }
  .infra-grid, .skills-grid { grid-template-columns: 1fr; }
  .skills-grid > div, .skills-grid > div:nth-child(n+2) { padding: 25px 0; border-left: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero h1 { font-size: 3rem; }
  .section { padding: 75px 0; }
  .stats { grid-template-columns: 1fr; }
  .quick-links { flex-wrap: wrap; }
  .contact-list a { display: block; }
  .contact-list strong { display: block; text-align: left; margin-top: 3px; }
  .footer-inner { flex-direction: column; }
}
