:root {
  color-scheme: light;
  --navy: #12243a;
  --ink: #1c2b3a;
  --muted: #607184;
  --paper: #f6f3ed;
  --white: #fff;
  --blue: #315d89;
  --blue-soft: #dfe9f2;
  --amber: #d29b52;
  --line: rgba(18, 36, 58, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 86px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.wordmark { font-weight: 750; letter-spacing: 0.19em; text-decoration: none; }
.language-link {
  justify-self: end;
  padding: 8px 12px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
}
.language-link:hover, .language-link:focus-visible { background: var(--blue-soft); }

main, footer { width: min(1180px, calc(100% - 48px)); margin: auto; }
.hero {
  min-height: 590px;
  display: grid;
  align-content: center;
}
.eyebrow, .section-number {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1 {
  max-width: 850px;
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}
.profile, .contact {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}
.profile, .contact { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
h2 { margin: 0 0 28px; color: var(--navy); font: 400 clamp(2.3rem, 5vw, 4.7rem)/1.02 Georgia, serif; letter-spacing: -0.035em; }
.profile-copy { max-width: 820px; }
.profile-copy p { margin: 0 0 24px; color: var(--muted); font-size: 1.2rem; line-height: 1.75; }
.contact { min-height: 430px; align-items: start; }
.email { display: inline-block; color: var(--blue); font-size: clamp(1.15rem, 3vw, 1.8rem); text-underline-offset: 6px; }
footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 800px) {
  .hero { min-height: auto; padding: 100px 0; }
  .profile, .contact { padding: 78px 0; grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 72px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero { padding-top: 70px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
