:root {
  color-scheme: light;
  --paper: #e9f1f7;
  --cream: #f2f8fc;
  --ink: #102842;
  --muted: #384f65;
  --line: #b1c4d5;
  --marine: #234f70;
  --accent: #a6d5e8;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
h2 { font-size: clamp(3rem, 6.6vw, 6.8rem); }
h3 { font-size: clamp(1.95rem, 3.05vw, 3.15rem); line-height: 1.03; }
em { color: var(--marine); font-weight: inherit; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 2 * clamp(1.25rem, 5.75vw, 6rem), 1320px); margin-inline: auto; }
.section-space { padding-block: clamp(4.4rem, 9vw, 9.25rem); }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .6rem 1rem; background: var(--cream); transform: translateY(-160%); }
.skip:focus { transform: none; }
.kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.45rem; font-size: .71rem; font-weight: 720; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ""; display: block; width: .48rem; height: .48rem; border-radius: 50%; background: currentColor; }
.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.1rem; }
.brand { display: inline-block; justify-self: start; }
.brand img { width: 8.1rem; height: auto; }
.header nav { display: flex; gap: clamp(1rem, 3.4vw, 3.35rem); }
.header nav a, .header-mail { font-size: .86rem; font-weight: 630; text-decoration: none; }
.header nav a:hover, .header-mail:hover { text-decoration: underline; }
.header-mail { justify-self: end; }
.header-mail span { margin-left: .34rem; }
.hero-shell { position: relative; isolation: isolate; overflow: hidden; background: #0e2740; color: var(--cream); }
.hero-image, .hero-shell::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 50% 53%; }
.hero-shell::after { content: ""; z-index: -1; background: linear-gradient(90deg, #0b233bf7 0%, #0b233be8 29%, #0c2741a6 60%, #112b4952 100%); }
.hero-shell .kicker, .hero-shell em { color: var(--accent); }
.hero { padding-block: clamp(3.6rem, 6.5vw, 6.4rem); }
.hero h1 { font-size: clamp(3.45rem, 7.15vw, 7.7rem); line-height: .91; }
.hero h1 em { display: block; }
.hero .intro { max-width: 32rem; margin-top: 1.65rem; color: #e2eff7; font-size: clamp(1rem, 1.36vw, 1.18rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; min-height: 3.15rem; margin-top: 1.45rem; padding: .65rem 1.05rem; background: var(--accent); color: var(--ink); font-size: .88rem; font-weight: 670; text-decoration: none; transition: background-color .2s; }
.button:hover { background: var(--cream); }
.portrait { width: min(100%, 30rem); margin-top: clamp(1.35rem, 3vw, 2.4rem); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.portrait figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .18rem .85rem; padding-block: .68rem; border-bottom: 1px solid var(--line); font-size: .86rem; }
.portrait strong { font-weight: 660; }
.portrait figcaption span { color: var(--muted); font-size: .78rem; }
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: 1.2rem; border-bottom: 1px solid var(--line); padding-block: 1.25rem; }
.proof-number { display: flex; align-items: center; gap: .9rem; }
.proof-number strong { font: 400 clamp(3rem, 5vw, 5.15rem)/.85 var(--serif); letter-spacing: -.075em; }
.proof-number span { font-size: .86rem; font-weight: 650; line-height: 1.35; }
.proof ul { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; list-style: none; padding: 0; }
.proof li { font: 400 clamp(1.05rem, 2.25vw, 2.05rem)/1.1 var(--serif); letter-spacing: -.04em; color: var(--marine); }
.section-head { max-width: 49rem; margin-bottom: clamp(2rem, 4.4vw, 4.6rem); }
.section-intro { max-width: 35rem; margin-top: 1.35rem; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.services article { display: flex; flex-direction: column; align-items: flex-start; padding: 1.85rem clamp(1rem, 2.6vw, 2.4rem) 1.7rem 0; }
.services article + article { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.6vw, 2.4rem); }
.services p { margin: 1rem 0 1.25rem; color: var(--muted); }
.services a, .text-link { margin-top: auto; font-size: .87rem; font-weight: 670; }
.services a span, .text-link span { margin-left: .12rem; }
.career { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(2.6rem, 6.8vw, 7rem); padding-top: clamp(1.8rem, 4vw, 4.25rem); }
.career-intro h2 { max-width: 8ch; }
.career-intro > p:not(.kicker) { color: var(--muted); max-width: 27rem; margin: 1.45rem 0 .9rem; }
.timeline { padding: 0 0 0 1.45rem; list-style: none; border-left: 1px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(7rem, .6fr) minmax(0, 1.4fr); gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: 1.89rem; left: -1.72rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--marine); box-shadow: 0 0 0 3px var(--paper); }
.timeline-period { margin-top: .32rem; font-size: .79rem; font-weight: 710; color: var(--marine); }
.timeline h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.timeline h3 + p { color: var(--muted); margin-top: .45rem; }
.timeline a { display: inline-block; margin-top: .45rem; font-size: .82rem; font-weight: 650; }
.contact { background: #d0e2ef; }
.contact-inner { display: grid; grid-template-columns: 1.18fr .82fr; align-items: end; gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
.contact-inner > div + div { padding-bottom: .25rem; max-width: 29rem; }
.contact a { display: inline-block; margin-top: .94rem; font: 400 clamp(1.5rem, 3vw, 2.7rem)/1.15 var(--serif); overflow-wrap: anywhere; }
.footer { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; font-size: .82rem; }
.footer .brand img { width: 6.8rem; }
.footer > a:last-child { justify-self: end; }

@media (max-width: 760px) {
  .career { grid-template-columns: 1fr; }
  .career-intro h2 { max-width: none; }
}
@media (max-width: 680px) {
  .header-inner { min-height: 68px; grid-template-columns: auto 1fr; }
  .header nav { justify-content: end; }
  .header-mail { display: none; }
  .header .brand img { width: 6.15rem; }
  .hero h1 { font-size: clamp(2.9rem, 9vw, 4.9rem); }
  .hero-image { object-position: 66% center; }
  .hero-shell::after { background: linear-gradient(90deg, #0b233bf5 0%, #0b233be0 50%, #0c2741a3 100%); }
  .proof { grid-template-columns: 1fr; }
  .proof ul { justify-content: flex-start; gap: .5rem 1.3rem; }
  .services { grid-template-columns: 1fr; }
  .services article, .services article + article { padding: 1.4rem 0; border-left: 0; }
  .services article + article { border-top: 1px solid var(--line); }
  .services h3 br { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr auto; padding-block: 1.25rem; }
  .footer > span { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .header nav { gap: .55rem; }
  .header .brand img { width: 5.55rem; }
  .header nav a { font-size: .77rem; }
  .timeline li { grid-template-columns: 1fr; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
