/* ─── Design tokens ──────────────────────────────────────────── */
:root {
  --bg:           #F9F8F6;
  --text:         #111110;
  --muted:        #6B6866;
  --border:       #DEDAD5;
  --photo-bg:     #E5E2DD;

  --font-body:    'Inter', sans-serif;
  --font-serif:   'Source Serif 4', Georgia, serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --size-name:        40px;
  --size-role:        13px;
  --size-intro:       15px;
  --lh-name:          1.15;
  --lh-intro:         1.75;
  --ls-name:          -0.02em;
  --content-width:    480px;
  --frame-size:       88px;
  --photo-inner:      172px;
  --photo-pos-y:      -17%;
}

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

/* ─── Base ───────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
}

main {
  max-width: var(--content-width);
  width: 100%;
}

/* ─── Photo ──────────────────────────────────────────────────── */
.photo-frame {
  position: relative;
  width: var(--frame-size);
  height: var(--frame-size);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--photo-bg);
}

.photo-img {
  position: absolute;
  width: var(--photo-inner);
  height: var(--photo-inner);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center var(--photo-pos-y);
}

/* ─── Name ───────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-serif);
  font-size: var(--size-name);
  font-weight: 600;
  line-height: var(--lh-name);
  letter-spacing: var(--ls-name);
}

/* ─── Role line ──────────────────────────────────────────────── */
.role {
  font-family: var(--font-mono);
  font-size: var(--size-role);
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ─── Intro paragraphs ───────────────────────────────────────── */
.intro {
  font-size: var(--size-intro);
  line-height: var(--lh-intro);
  color: var(--text);
}

/* ─── Button ─────────────────────────────────────────────────── */
.button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 20px;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  border-color: var(--text);
  background-color: var(--text);
  color: var(--bg);
}
