:root {
  --paper: #FFFFFF;
  --ink: #12141A;
  --muted: #5D6470;
  --rule: #E4E7EC;
  --accent: #2B44FF;
  --accent-ink: #FFFFFF;
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --max: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; padding-bottom: 28px;
}
.brand { display: inline-flex; line-height: 0; }
.brand img { height: 24px; width: auto; }

.btn {
  display: inline-block;
  font: 500 15px/1 var(--sans);
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: #1F33CC; color: var(--accent-ink); }
.btn-small { padding: 10px 16px; font-size: 14px; }

/* Hero */
.hero { padding: clamp(48px, 10vw, 120px) 0 clamp(56px, 10vw, 112px); }
.eyebrow {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 20px;
}
.hero h1 {
  font: 500 clamp(40px, 7vw, 76px)/1.04 var(--display);
  letter-spacing: -.02em; margin: 0 0 28px;
}
.lede {
  font: 400 clamp(21px, 2.6vw, 28px)/1.4 var(--display);
  max-width: 30em; margin: 0 0 20px;
}
.hero .sub { color: var(--muted); max-width: 36em; margin: 0; }

/* Sections */
.section { border-top: 1px solid var(--rule); padding: clamp(48px, 7vw, 88px) 0; }
.section .wrap {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 820px) {
  .section .wrap { grid-template-columns: 220px 1fr; gap: 48px; }
}
.label {
  font: 500 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 6px 0 0;
}

.pair { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 680px) { .pair { grid-template-columns: 1fr 1fr; gap: 48px; } }
.pair h3 {
  font: 500 clamp(24px, 2.6vw, 30px)/1.2 var(--display);
  margin: 0 0 12px; letter-spacing: -.01em;
}
.pair p { margin: 0; color: var(--ink); }
.pair p + p { margin-top: 12px; }

/* Background */
.bio { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 680px) { .bio { grid-template-columns: 200px 1fr; gap: 48px; } }

.portrait {
  position: relative; width: 100%; max-width: 200px; aspect-ratio: 4 / 5;
  background: var(--ink); overflow: hidden; border-radius: 4px;
}
.portrait .mono {
  position: absolute; inset: 0; margin: auto; width: 62%; height: auto;
}
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

.bio .intro {
  font: 400 clamp(21px, 2.4vw, 26px)/1.4 var(--display); margin: 0 0 24px;
}
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 14px 0; border-top: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }

/* Contact */
.contact h2 {
  font: 500 clamp(28px, 4vw, 44px)/1.15 var(--display);
  letter-spacing: -.015em; margin: 0 0 16px; max-width: 18em;
}
.contact p { margin: 0 0 28px; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 28px; padding-bottom: 40px; font-size: 14px; color: var(--muted);
}
.site-footer p { margin: 0; }

.contact .label { color: var(--accent); margin: 6px 0 0; }

/* Language toggle */
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font: inherit; font-size: 13px; letter-spacing: .06em;
  background: none; border: 1px solid currentColor; border-radius: 999px;
  color: var(--muted); padding: 7px 12px; cursor: pointer;
}
.lang-toggle:hover { color: var(--accent); }
