@font-face {
  font-family: Iceland;
  src: url("fonts/iceland.woff2") format("woff2"), url("fonts/iceland.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter.woff2") format("woff2"), url("fonts/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --deep: #102c63;
  --sapphire: #153878;
  --accent: #ffad66;
  --ink: #122445;
  --body: #35445d;
  --muted: #52627a;
  --paper: #f7f9fc;
  --ice: #eaf1fc;
  --line: #ccd7e8;
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
body { font-size: 1rem; line-height: 1.65; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { color: var(--deep); background: var(--accent); }
.wrap { width: min(73rem, 89%); margin: 0 auto; }
.masthead, .intro, footer { background: var(--deep); color: white; }
.header, footer .wrap { display: flex; align-items: center; justify-content: space-between; }
.header { min-height: 4.75rem; border-bottom: 1px solid #ffffff38; }
.wordmark, h1 { font-family: Iceland, "Trebuchet MS", sans-serif; font-weight: 400; }
.wordmark { font-size: 3rem; line-height: 1; text-decoration: none; }
.wordmark span, h1 span { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.3rem); }
nav a, footer a:not(.wordmark) { font-size: .875rem; font-weight: 550; text-decoration: none; padding: .6rem 0; }
nav a:hover, footer a:hover { color: var(--accent); }
nav .language-switch {
  border: 1px solid #ffffff66;
  border-radius: .38rem;
  padding: .3rem .55rem;
}
nav .language-switch:hover { border-color: var(--accent); }
.intro-layout { display: flex; align-items: stretch; gap: 1rem; padding: clamp(2rem, 4vw, 4rem) 0; }
.presentation { flex: 1.16 1 0; min-width: 0; padding-bottom: 1.25rem; }
.eyebrow, .period { font-size: .8125rem; font-weight: 650; letter-spacing: .06em; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #d3e4ff; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--accent); }
h1 { font-size: clamp(3.6rem, 7.7vw, 7rem); line-height: 1; letter-spacing: -.042em; margin: .55rem 0 1.15rem; }
.bio { max-width: 53ch; color: #e2ecfc; font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.65; }
.profile-link { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.6rem; padding: .68rem 1rem; border-radius: .38rem; background: var(--accent); color: var(--deep); text-decoration: none; font-weight: 650; font-size: .9375rem; }
.profile-link:hover { background: #ffc394; }
.art {
  flex: 1 1 0;
  background: radial-gradient(circle, var(--accent) 1.3px, transparent 1.6px) center / 18px 18px;
  mask-image: radial-gradient(ellipse, black 36%, transparent 72%);
}
.details { display: grid; grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.5rem, 5vw, 4.75rem) 0; }
.section-heading { margin: 0 0 1.6rem; }
.section-heading h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.18; letter-spacing: -.048em; }
.timeline { position: relative; padding-left: 1.55rem; }
.timeline-item { position: relative; background: var(--ice); border: 1px solid var(--line); border-radius: .65rem; padding: 1.35rem 1.55rem; }
.timeline-item + li { margin-top: 1rem; }
.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(-1.57rem + 5px);
  top: calc(1.65rem + 6px);
  height: calc(100% + 1rem + 2px);
  width: 3px;
  background: var(--line);
}
.timeline-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -1.57rem;
  top: 1.65rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--sapphire);
  background: var(--paper);
}
.period { color: var(--muted); font-variant-numeric: tabular-nums; }
.event h3 { margin: .45rem 0 .08rem; font-size: clamp(1.12rem, 2vw, 1.4rem); letter-spacing: -.035em; line-height: 1.35; }
.institution { font-weight: 600; color: var(--sapphire); }
.event > p:last-child { margin-top: .8rem; color: var(--body); }
.sidebar { padding-top: .35rem; }
.sidebar section { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.sidebar section + section { margin-top: 2rem; }
.sidebar h2 { font-size: 1.25rem; letter-spacing: -.035em; margin-bottom: .9rem; }
.stack { display: flex; flex-wrap: wrap; gap: .45rem; }
.stack li { background: var(--ice); color: var(--sapphire); padding: .25rem .65rem; border-radius: .25rem; font-size: .875rem; font-weight: 550; }
.education h3 { font-size: 1rem; line-height: 1.45; }
.education li + li { margin-top: 1.1rem; }
.education p, .languages dd { color: var(--muted); }
.education p { font-size: .9375rem; }
.languages div { display: flex; justify-content: space-between; gap: .8rem; }
.languages div + div { margin-top: .25rem; }
footer .wrap { padding: 1rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: .5rem; left: .5rem; background: white; color: var(--deep); padding: .5rem 1rem; transform: translateY(-180%); z-index: 2; }
.skip-link:focus { transform: none; }
@media (max-width: 48rem) {
  .wrap { width: 89%; }
  .intro-layout { flex-direction: column; gap: .5rem; }
  .presentation { padding: 0; }
  .header nav { gap: clamp(.45rem, 2.2vw, 1rem); flex-wrap: wrap; justify-content: flex-end; }
  .art { width: min(85%, 20rem); height: 6rem; flex: none; align-self: center; }
  .details { grid-template-columns: 1fr; }
  .timeline-item { padding: 1.15rem; }
  .sidebar { padding: 0; }
}
@media print {
  .masthead, .art, footer, .skip-link, .profile-link { display: none; }
  .wrap { width: 100%; }
  .intro-layout, .details { display: block; padding: 1rem 0; }
  .intro, body { color: black; background: white; }
  .intro * { color: black !important; }
  h1 { font-size: 3rem; }
  .presentation { padding: 0; }
  .timeline-item, .sidebar section { break-inside: avoid; }
  .sidebar { margin-top: 2rem; }
}
