:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --ink: #1a1d23;
  --ink-soft: #4b525d;
  --muted: #6b7280;
  --accent: #e8762a; /* warm orange, nod to AWS */
  --accent-dark: #c05f1d;
  --hero-bg: #131a26;
  --hero-ink: #f3f5f8;
  --hero-soft: #b9c2d0;
  --card-border: #e5e7eb;
  --radius: 12px;
  --maxw: 900px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.monogram {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.03em;
}
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 50% -10%, #1e2a3f 0%, var(--hero-bg) 60%);
  color: var(--hero-ink);
  text-align: center;
  padding: 5.5rem 1.25rem 4rem;
  position: relative;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.monogram-lg { width: 4.5rem; height: 4.5rem; font-size: 1.6rem; margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.15; }
.hero-role { font-size: 1.15rem; font-weight: 600; color: #fff; margin-top: 0.6rem; }
.hero-focus { color: var(--hero-soft); font-size: 0.98rem; margin-top: 0.25rem; }
.hero-summary { color: var(--hero-soft); max-width: 560px; margin: 1.1rem auto 0; font-size: 1.02rem; }
.hero-actions { margin-top: 1.8rem; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero-social { margin-top: 1.8rem; display: flex; gap: 1.2rem; justify-content: center; }
.hero-social a { color: var(--hero-soft); transition: color 0.15s; }
.hero-social a:hover { color: #fff; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  color: var(--hero-soft); text-decoration: none; font-size: 1.3rem; opacity: 0.7;
}
.scroll-hint:hover { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.7rem 1.5rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(232, 118, 42, 0.35); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.35); color: var(--hero-ink); }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { font-size: 1.1rem; padding: 0.9rem 2rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 1.9rem; letter-spacing: -0.01em; margin-bottom: 1.2rem; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 1.6rem; }
.lead-sm { color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 640px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card {
  background: var(--bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 1.4rem;
}
.section-alt .card { background: #fff; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p, .card li { color: var(--ink-soft); font-size: 0.96rem; }
.topics { list-style: disc; padding-left: 1.2rem; }
.topics li { margin-bottom: 0.35rem; }
.about-edu { margin-top: 1.8rem; color: var(--ink-soft); font-size: 0.96rem; }
.follow-note { margin-top: 1.6rem; color: var(--ink-soft); }
.follow-note a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; padding-left: 1.8rem; }
.timeline::before {
  content: ""; position: absolute; left: 0.45rem; top: 0.4rem; bottom: 0.4rem;
  width: 2px; background: var(--card-border);
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -1.8rem; top: 0.35rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg-alt);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-body h3 { font-size: 1.12rem; }
.timeline-org { color: var(--accent-dark); font-weight: 600; font-size: 0.95rem; margin: 0.1rem 0 0.4rem; }
.timeline-desc { color: var(--ink-soft); font-size: 0.96rem; max-width: 620px; }
.volunteer { margin-top: 2rem; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Certifications ---------- */
.cert-grid {
  list-style: none; display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.8rem;
}
.cert {
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 1rem 1.15rem; font-weight: 600; font-size: 0.95rem;
  background: var(--bg); position: relative; padding-left: 2.6rem;
}
.cert::before {
  content: "✓"; position: absolute; left: 1rem; top: 1rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: #e9f7ee; color: #1d8a3f;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
}

/* ---------- Contact / footer ---------- */
.contact-inner { text-align: center; }
.contact-inner .lead { margin-left: auto; margin-right: auto; }
.contact-links { margin-top: 1.4rem; color: var(--muted); }
.contact-links a { color: var(--ink-soft); font-weight: 600; text-decoration: none; margin: 0 0.5rem; }
.contact-links a:hover { color: var(--accent-dark); }

footer { border-top: 1px solid var(--card-border); padding: 1.6rem 0; }
.footer-inner { display: flex; align-items: center; gap: 0.8rem; justify-content: center; color: var(--muted); font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--card-border); padding: 0.4rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 1.25rem; }
  .nav-links a:hover { background: var(--bg-alt); }
  .section { padding: 3.2rem 0; }
  .hero { padding: 4rem 1.25rem 3.2rem; }
  .timeline-desc { font-size: 0.92rem; }
}
