/* ─────────────────────────────────────────
   Reset & base
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:        #1e3a5f;
  --navy-hover:  #2d5a8e;
  --text:        #111827;
  --text-muted:  #6b7280;
  --bg:          #faf9f7;
  --border:      #e5e7eb;
  --white:       #ffffff;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* ─────────────────────────────────────────
   Layout
───────────────────────────────────────── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

main .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

/* ─────────────────────────────────────────
   Avatar
───────────────────────────────────────── */
.avatar-wrapper {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  flex-shrink: 0;
  align-self: center;
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%;
}

/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */
.eyebrow {
  font-size: 1.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0;
}

.org {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.375rem;
}

.org::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--navy);
  flex-shrink: 0;
}

.bio {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.75rem;
}

/* ─────────────────────────────────────────
   Contact button
───────────────────────────────────────── */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 0.8125rem 1.625rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, transform 0.18s ease;
  margin-bottom: 2.75rem;
}

.btn-contact svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-contact:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.btn-contact:active {
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   Socials
───────────────────────────────────────── */
.socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.18s ease, background 0.18s ease;
  margin: 0 0.125rem;
}

.socials a:first-child {
  margin-left: -0.75rem;
}

.socials a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.socials a:hover {
  color: var(--navy);
  background: rgba(30, 58, 95, 0.06);
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 760px) {
  main .container {
    gap: 2rem;
  }

  .avatar-wrapper {
    width: 140px;
    height: 140px;
  }

  .bio {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  main {
    padding: 3rem 0 2.5rem;
    align-items: flex-start;
  }

  main .container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  .avatar-wrapper {
    width: 120px;
    height: 120px;
  }

  .org {
    justify-content: center;
  }

  .btn-contact {
    width: 100%;
    justify-content: center;
  }

  .socials {
    justify-content: center;
  }

  .socials a span {
    display: none;
  }

  .socials a {
    padding: 0.5rem;
    margin: 0 0.25rem;
  }

  .socials a:first-child {
    margin-left: 0;
  }

  footer .container {
    flex-direction: column;
    gap: 0.375rem;
    text-align: center;
  }
}
