:root {
  /* Palette — clean light theme */
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a2027;
  --text-muted: #5b6b7c;
  --border: #e3e8ee;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eff4ff;
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);

  --radius: 14px;
  --max-width: 1080px;

  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

img {
  max-width: 100%;
}
/* ===================== Layout helpers ===================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section__lead {
  color: var(--text-muted);
  margin: 10px 0 40px;
  max-width: 640px;
}

/* ===================== Navbar ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar__brand {
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.navbar__links {
  display: flex;
  gap: 28px;
}
.navbar__links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.navbar__links a:hover {
  color: var(--text);
}
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-dark);
}
.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ===================== Hero ===================== */
.hero {
  padding: 96px 0 72px;
  background: radial-gradient(
      1200px 400px at 50% -10%,
      var(--accent-soft),
      transparent 70%
    ),
    var(--bg);
}
.hero__inner {
  text-align: center;
  max-width: 780px;
}
.hero__eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin: 0 0 14px;
}
.hero__name {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text);
  margin: 16px 0 0;
  font-weight: 500;
}
.hero__summary {
  color: var(--text-muted);
  margin: 18px auto 0;
  max-width: 680px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 34px 0 26px;
  flex-wrap: wrap;
}
.hero__meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===================== Chips ===================== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid #dbe6ff;
}
.chip--soft {
  background: #fff;
  color: var(--text-muted);
  border-color: var(--border);
}

/* ===================== Timeline ===================== */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding-bottom: 34px;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.timeline__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.timeline__head h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.timeline__company {
  color: var(--accent);
  font-weight: 600;
}
.timeline__note {
  color: var(--text-muted);
  margin: 6px 0 12px;
  font-size: 0.95rem;
}
.timeline__content .chips {
  margin-top: 10px;
}

/* ===================== Cards / grid ===================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d3ddf0;
}
.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 14px;
}
.card__link {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===================== Skills ===================== */
.skills {
  display: grid;
  gap: 26px;
}
.skills__heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

/* ===================== Education / awards ===================== */
.edu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.edu__list {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}
.edu__item h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.edu__school {
  color: var(--text-muted);
  margin: 4px 0;
  font-size: 0.94rem;
}
.edu__detail {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.edu__awards {
  margin: 28px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  display: grid;
  gap: 12px;
}

/* ===================== Privacy policies ===================== */
.policies {
  display: grid;
  gap: 12px;
  max-width: 720px;
}
.policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.12s, border-color 0.15s, box-shadow 0.15s;
}
.policy:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.policy__app {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.policy__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}
.policy__arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===================== Contact ===================== */
.contact {
  text-align: center;
  max-width: 640px;
}
.contact__links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 26px;
  font-weight: 600;
}

/* ===================== Footer ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer__muted {
  color: var(--text-muted);
}

/* ===================== Responsive ===================== */
@media (max-width: 760px) {
  .navbar__links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 18px;
    display: none;
  }
  .navbar__links.is-open {
    display: flex;
  }
  .navbar__toggle {
    display: flex;
  }
  .edu {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section {
    padding: 64px 0;
  }
}
