:root {
  --ink: #0b1736;
  --blue: #1f49d8;
  --signal: #f3ff52;
  --paper: #f6f7fb;
  --white: #ffffff;
  --muted: #667089;
  --line: #dbe0eb;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--signal); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(100% - 3rem, var(--max)); margin-inline: auto; }
.site-header {
  width: min(100% - 3rem, var(--max));
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 1rem; font-weight: 700; letter-spacing: 0; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); font-size: .88rem; font-weight: 700; }
nav a { text-decoration: none; }
.nav-contact { border-bottom: 2px solid var(--blue); padding-bottom: .2rem; }

.hero { padding: clamp(5rem, 10vw, 9rem) 0 2.5rem; }
.hero-kicker, .section-label { text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 800; }
.hero-kicker { color: var(--blue); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero-kicker span { color: var(--muted); padding: 0 .6rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.hero-grid > * { min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(3.7rem, 7vw, 6.7rem); line-height: .98; letter-spacing: 0; font-weight: 680; }
h1 span { display: block; }
.hero-title-wrap { position: relative; }
.hero-statement { font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 650; margin-bottom: 1.8rem; }
.hero-context { max-width: 38rem; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: 0 1.25rem; text-decoration: none; font-weight: 750; font-size: .92rem; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover, .button-primary:focus-visible { background: var(--ink); }
.button-secondary { border: 1px solid var(--line); }
.button-secondary span { margin-left: .55rem; }
.availability { margin-top: clamp(4rem, 8vw, 7rem); padding-top: 1.2rem; border-top: 1px solid var(--ink); display: grid; grid-template-columns: .42fr 1fr; gap: 2rem; font-size: .9rem; }
.availability span { color: var(--muted); }

.profile { padding: clamp(6rem, 11vw, 10rem) 0; }
.section-label { color: var(--blue); margin-bottom: 3.5rem; }
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 9vw, 9rem); }
h2 { font-size: clamp(2.45rem, 5vw, 5.3rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 37rem; margin-top: 2rem; }
.profile-body { max-width: 43rem; font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.profile-body p { margin-bottom: 1.5rem; }
.profile-focus { margin-top: clamp(4rem, 8vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--ink); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 9rem); }
.profile-focus-label { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.25rem; }
.profile-focus h3 { font-size: clamp(1.65rem, 2.7vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 1rem; }
.profile-focus > div:first-child p { color: var(--muted); max-width: 30rem; }
.profile-focus-list { border-top: 1px solid var(--line); }
.profile-focus-list > div { display: grid; grid-template-columns: minmax(9rem, .7fr) 1.3fr; gap: 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.profile-focus-list strong { font-size: .95rem; }
.profile-focus-list span { color: var(--muted); }

.achievements { width: min(100% - 1.5rem, 1400px); max-width: none; background: var(--ink); color: white; padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem); }
.section-label-light { color: var(--signal); }
.section-intro { display: grid; grid-template-columns: 1fr .65fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.section-intro h2 { margin-bottom: 0; max-width: 12ch; }
.section-intro p { color: #bfc7db; max-width: 32rem; margin-bottom: .4rem; }
.achievement-list { list-style: none; padding: 0; margin: 0; }
.achievement-list li { display: grid; grid-template-columns: 3rem minmax(12rem, .7fr) 1fr; gap: clamp(1rem, 4vw, 4rem); align-items: center; padding: 2rem 0; border-top: 1px solid #34405f; }
.achievement-list li:last-child { border-bottom: 1px solid #34405f; }
.achievement-number { color: #6f7b98; font-size: .78rem; font-weight: 800; }
.achievement-metric { font-size: clamp(2.4rem, 5vw, 5rem); line-height: .88; letter-spacing: -.06em; font-weight: 750; color: var(--signal); }
.achievement-metric small { display: block; color: white; font-size: .75rem; letter-spacing: .08em; line-height: 1.3; margin-top: .65rem; text-transform: uppercase; }
.achievement-list p { margin-bottom: 0; color: #d5daea; max-width: 43rem; }

.contact { width: min(100% - 1.5rem, 1400px); max-width: none; min-height: 42rem; display: grid; grid-template-columns: minmax(16rem, .65fr) 1.35fr; background: var(--blue); color: white; padding: clamp(1.5rem, 5vw, 5rem); gap: clamp(3rem, 9vw, 9rem); align-items: stretch; }
.portrait-wrap { overflow: hidden; min-height: 30rem; background: #d9d9d2; }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.contact-copy { padding: clamp(1rem, 4vw, 3rem) 0; display: flex; flex-direction: column; align-items: flex-start; }
.contact-copy h2 { max-width: 12ch; }
.contact-copy p { color: #d6defc; max-width: 38rem; font-size: 1.1rem; }
.contact-email { margin-top: auto; font-size: clamp(1.55rem, 3.4vw, 3.3rem); font-weight: 700; letter-spacing: -.035em; text-decoration-thickness: .06em; text-underline-offset: .18em; }
.contact-linkedin { margin-top: 1.2rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .3em; }
.contact-linkedin:hover { color: var(--signal); }
.site-footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .84rem; }
.site-footer div { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }

.legal-header { min-height: 82px; }
.back-link { color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.legal-page { max-width: 860px; padding: clamp(5rem, 10vw, 9rem) 0; }
.legal-page > h1, .not-found h1 { font-size: clamp(4rem, 10vw, 7.5rem); line-height: .88; letter-spacing: -.07em; margin-bottom: clamp(4rem, 8vw, 7rem); }
.legal-page section { padding: 2rem 0; border-top: 1px solid var(--line); }
.legal-page section h2 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 1rem; }
.legal-page section p, .legal-intro { max-width: 46rem; }
.legal-intro { font-size: 1.3rem; color: var(--muted); margin-bottom: 4rem; }
.legal-note { margin-top: 3rem; padding: 1.2rem 1.4rem; border-left: .35rem solid var(--blue); background: white; color: var(--muted); }
.legal-updated { color: var(--muted); font-size: .85rem; margin-top: 2rem; }
.not-found { min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { margin-bottom: 1rem; }
.not-found p { color: var(--muted); margin-bottom: 2rem; }

a:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
@media (max-width: 850px) {
  .section-shell, .site-header { width: min(100% - 2rem, var(--max)); }
  .site-header { min-height: 76px; }
  nav a:not(.nav-contact) { display: none; }
  .hero-grid, .profile-grid, .profile-focus, .section-intro, .contact { grid-template-columns: 1fr; }
  .hero-grid { align-items: start; }
  .availability { grid-template-columns: 1fr; gap: .25rem; }
  .achievement-list li { grid-template-columns: 2rem 1fr; }
  .achievement-list p { grid-column: 2; }
  .contact { width: min(100% - 1rem, 1400px); }
  .portrait-wrap { min-height: 25rem; max-height: 35rem; }
  .contact-email { margin-top: 3rem; }
}
@media (max-width: 560px) {
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.8rem, 13vw, 4rem); line-height: 1; letter-spacing: 0; }
  .hero-statement { font-size: 1.85rem; }
  .contact-email { overflow-wrap: anywhere; }
  .achievement-list li { grid-template-columns: 1.5rem 1fr; padding: 1.7rem 0; }
  .achievement-list p { grid-column: 1 / -1; padding-left: 2.5rem; }
  .profile-focus-list > div { grid-template-columns: 1fr; gap: .35rem; }
  .site-footer { padding: 2rem 0; align-items: flex-start; gap: 1rem; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
