@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0f1b2d;
  --navy-deep: #0b1424;
  --ink: #1a1f2b;
  --muted: #5b6474;
  --paper: #fbfaf7;
  --line: #e6e2d9;
  --accent: #ff8a00;
  --accent-ink: #b45309;
  --radius: 14px;
  --max: 72rem;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --space: clamp(4rem, 10vw, 8rem);
  --header: 3.75rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; color: var(--ink); padding: 0.5rem 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgb(15 27 45 / 0.85);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header); }
.brand { margin-right: auto; color: #fff; font-weight: 750; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: none; gap: 1.75rem; }
.nav a { position: relative; color: rgb(255 255 255 / 0.85); font-size: 0.95rem; text-decoration: none; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
}
.lang:hover { border-color: var(--accent); }
@media (min-width: 52rem) { .nav { display: flex; } }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100svh, 56rem);
  margin-top: calc(-1 * var(--header));
  padding-block: calc(var(--header) + 3rem) 4rem;
  background: var(--navy);
  color: #fff;
}
.hero__cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(11 20 36 / 0.92) 0%, rgb(11 20 36 / 0.6) 55%, rgb(11 20 36 / 0.1) 100%);
}
@media (max-width: 40rem) {
  .hero::after { background: linear-gradient(180deg, rgb(11 20 36 / 0.75), rgb(11 20 36 / 0.92)); }
}
.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.5rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 0.3em; }
.hero__lead { max-width: 38rem; color: rgb(255 255 255 / 0.88); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--accent); color: #111; }
.button--primary:hover { background: #ff9d2e; }
.button--ghost { border: 1px solid rgb(255 255 255 / 0.4); color: #fff; }
.button--ghost:hover { border-color: #fff; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 46rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.stats strong { display: block; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 800; line-height: 1.1; overflow-wrap: normal; }
.stats span { color: rgb(255 255 255 / 0.7); font-size: 0.9rem; }
@media (min-width: 48rem) {
  .stats { grid-template-columns: repeat(4, auto); justify-content: start; column-gap: clamp(2rem, 4vw, 3.5rem); max-width: none; }
}

/* Sections */
.section { padding-block: var(--space); }
.section--white { background: #fff; border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #fff; }
.section__lead { max-width: 44rem; color: var(--muted); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); }
.section--navy .section__lead { color: rgb(255 255 255 / 0.8); }

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card h3::before {
  content: '';
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--accent);
}
.card p { margin: 0; color: var(--muted); }
.section--navy .card { background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.12); }
.section--navy .card p { color: rgb(255 255 255 / 0.75); }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.tags li { padding: 0.25rem 0.75rem; border-radius: 999px; background: #f1ede4; color: var(--ink); font-size: 0.85rem; }

.languages { margin: 2rem 0 0; color: var(--muted); }
.languages strong { color: var(--ink); }

/* Timeline */
.timeline { margin: 2.5rem 0 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 2.5rem 1.75rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #fff;
}
.timeline__period { margin: 0; color: var(--accent-ink); font-size: 0.85rem; font-weight: 650; letter-spacing: 0.04em; }
.timeline h3 { margin: 0.25rem 0; font-size: 1.3rem; }
.timeline__role { margin-bottom: 0.75rem; color: var(--muted); }
@media (min-width: 52rem) {
  .timeline > li { display: grid; grid-template-columns: 11rem 1fr; gap: 2rem; }
  .timeline__period { padding-top: 0.3rem; }
}

/* Contact */
.contact__links { display: grid; gap: 1.5rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.contact__links small {
  display: block;
  color: rgb(255 255 255 / 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  overflow-wrap: anywhere;
}
.contact__links a:hover { color: var(--accent); }
.contact__links .cv-link {
  justify-content: center;
  min-width: 44px;
  margin-left: 0.75rem;
  color: var(--accent);
  border-bottom: 0;
  vertical-align: bottom;
}
.contact__links .cv-link:hover { color: #fff; }

.site-footer { padding-block: 2rem; background: var(--navy-deep); color: rgb(255 255 255 / 0.6); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
