:root {
  --accent: #00A388;
  --accent-dark: #007d69;
  --text: #1a1a1a;
  --muted: #5d5d5d;
  --light: #999;
  --border: #e5e7eb;
  --bg: #fff;
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--accent-dark);
}

/* ── Layout ──────────────────────────────────────────────── */

.site-wrap {
  flex: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}

/* ── Header ──────────────────────────────────────────────── */

header {
  text-align: center;
  margin-bottom: 2rem;
}

.portrait {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.portrait::before {
  content: attr(data-initials);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

h1 strong {
  font-weight: 700;
}

.tagline {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
}

/* ── Contacts ────────────────────────────────────────────── */

.contacts {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.contact:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact i {
  font-size: 0.85rem;
}

/* ── Bio ─────────────────────────────────────────────────── */

.bio {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ── Sections ────────────────────────────────────────────── */

section {
  margin-bottom: 2.25rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Currently ───────────────────────────────────────────── */

.role {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

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

.role-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

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

.role-org {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.role-org:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.role-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.role-date {
  font-size: 0.78rem;
  color: var(--light);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 0.15rem;
}

/* ── Highlights ──────────────────────────────────────────── */

.highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.highlights li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.highlights li::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.55rem;
  margin-top: 0.38rem;
  flex-shrink: 0;
}

/* ── Actions ─────────────────────────────────────────────── */

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.action {
  display: inline-block;
  padding: 0.55rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.action:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Footer ──────────────────────────────────────────────── */

.site-footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--light);
  padding: 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer a {
  color: var(--light);
}

.site-footer a:hover {
  color: var(--muted);
}

/* ── Dark mode ───────────────────────────────────────────── */

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e5e7eb;
    --muted: #9ca3af;
    --light: #6b7280;
    --border: #374151;
    --bg: #111827;
  }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 480px) {
  .site-wrap {
    padding-top: 2.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .contacts {
    gap: 0.35rem;
  }

  .contact {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
  }
}
