@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #0f2d4a;
  --teal: #1a7a72;
  --teal-light: #e8f4f3;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --max-width: 860px;
  --section-padding: 72px 0;
}

/* ── Base ── */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.4rem; color: var(--teal); }
h3 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

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

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

/* ── Navigation ── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--navy);
  padding: 0.9rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.site-nav .container-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

/* ── Hero ── */

.hero-section {
  background-color: var(--navy);
  color: var(--white);
  padding: 80px 0 72px;
  text-align: center;
}

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--teal);
  margin-bottom: 1.5rem;
}

.hero-section h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 0;
}

/* ── Section shared ── */

section {
  padding: var(--section-padding);
}

section:nth-of-type(even) {
  background-color: var(--gray-100);
}

.section-heading {
  margin-bottom: 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--teal-light);
}

/* ── About ── */

.about-section p {
  max-width: 680px;
}

/* ── Experience & Leadership ── */

.role-card {
  margin-bottom: 2rem;
}

.role-card:last-child {
  margin-bottom: 0;
}

.role-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.role-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
}

.role-org {
  font-weight: 400;
  color: var(--gray-600);
}

.role-date {
  font-size: 0.88rem;
  color: var(--gray-600);
  white-space: nowrap;
}

.role-card ul {
  margin: 0.5rem 0 0 1.1rem;
  padding: 0;
}

.role-card ul li {
  margin-bottom: 0.25rem;
  font-size: 0.97rem;
}

/* ── Skills ── */

.skills-group {
  margin-bottom: 1.75rem;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-group-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-technical {
  background-color: var(--teal);
  color: var(--white);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
}

.badge-professional {
  background-color: var(--gray-200);
  color: var(--gray-800);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ── Contact ── */

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--navy);
  color: var(--white);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.contact-badge:hover {
  background-color: var(--teal);
  color: var(--white);
}

.contact-badge svg {
  flex-shrink: 0;
}

/* ── Footer ── */

.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.88rem;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.2rem; }

  .hero-photo {
    width: 170px;
    height: 170px;
  }

  .role-header {
    flex-direction: column;
    gap: 0;
  }

  .nav-links {
    gap: 1rem;
  }
}
