:root {
    color-scheme: light;
    --navy: #1a365d;
    --paper: #faf8f3;
    --ink: #293747;
    --muted: #536274;
    --line: #d9dedf;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #98733a; outline-offset: 5px; border-radius: 2px; }
.container { width: min(1080px, 100%); padding-inline: 40px; margin-inline: auto; }
.header { background: var(--navy); }
.nav { min-height: 78px; display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; width: 100%; }
.nav-list li:last-child { margin-left: auto; }
.nav-link { display: block; padding-block: 14px; color: #f6f7fa; font-size: 15px; text-decoration: none; }
.nav-link.active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 9px; }
.header a:focus-visible { outline-color: #e7c795; }
.hero { padding-block: 88px 80px; }
.hero-content { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; align-items: start; }
.hero-image { display: block; width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: center 10%; background: #e7ecec; margin-top: 8px; }
h1 { color: var(--navy); font-size: clamp(36px, 4vw, 52px); line-height: 1.15; letter-spacing: -0.04em; font-weight: 650; margin: 0 0 20px; }
p { margin: 0 0 22px; }
.hero-label { color: var(--navy); font-size: 20px; line-height: 1.5; font-weight: 500; margin-bottom: 32px; max-width: 36ch; }
.hero-bio { max-width: 66ch; }
.hero-bio:last-child { margin: 32px 0 0; font-size: 16px; }
.contact-section { border-top: 1px solid var(--line); padding-block: 32px 36px; background: #f0f0e9; }
.home-page .contact-section .container { padding-left: 304px; }
h2 { margin: 0 0 10px; color: var(--navy); font-size: 20px; font-weight: 600; line-height: 1.4; }
.contact-section p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }
.contact-section .footer-links { font-size: 13px; margin-top: 24px; }
@media (max-width: 760px) {
    .container { padding-inline: 24px; }
    .nav { min-height: 64px; }
    .nav-list { gap: 22px; }
    .nav-link { font-size: 14px; }
    .hero { padding-block: 44px 48px; }
    .hero-content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .hero-image { width: 144px; height: 144px; margin: 0 auto; }
    h1 { text-align: center; font-size: 36px; }
    .hero-label { text-align: center; font-size: 18px; margin-inline: auto; }
    .hero-bio { font-size: 17px; line-height: 1.75; }
    .home-page .contact-section .container { padding-left: 24px; }
}
@media (max-width: 360px) {
    .nav-list { gap: 16px; }
    .nav-link { font-size: 13px; }
}

/* Shared reading surfaces and components. */
:root {
    --primary: var(--navy);
    --accent: #2c5282;
    --text: var(--ink);
    --text-light: var(--muted);
    --border: var(--line);
    --bg-white: #fff;
    --radius: 8px;
}
body { overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
.nav-list { flex-wrap: wrap; }
.nav-link { min-height: 44px; }
h2, h3, h4 { color: var(--navy); line-height: 1.4; }
h3 { font-size: 22px; margin: 0 0 12px; }
h4 { font-size: 18px; margin: 0 0 10px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 6px; }
.nav-list li { margin-bottom: 0; }
.container-narrow { max-width: 920px; }
.page-header { padding: 64px 0 32px; }
.page-header h1 { font-size: clamp(30px, 4vw, 44px); }
.page-header p { color: var(--muted); max-width: 65ch; margin-bottom: 0; }
.section { padding: 32px 0 64px; }
.section-title { margin-top: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 26px; }
.card, .resume-wrapper, .legal-content { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card-body, .talk-content { padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.talk-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr); margin-bottom: 24px; }
.talk-image { width: 100%; height: 100%; object-fit: contain; background: #eeeee8; }
.talk-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.talk-content p { font-size: 17px; }
.talk-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 16px; }
.resume-header { display: flex; align-items: start; gap: 32px; padding: 40px; background: #f0f0e9; }
.resume-photo { width: 144px; height: 144px; flex-shrink: 0; border-radius: 50%; object-fit: cover; object-position: center 10%; background: #e7ecec; }
.resume-header h1 { font-size: 34px; margin-bottom: 16px; }
.resume-title { font-size: 18px; line-height: 1.5; }
.resume-contact { list-style: none; padding: 0; font-size: 15px; margin: 0; }
.resume-body, .legal-content { padding: 40px; font-size: 17px; line-height: 1.7; }
.resume-section { margin-bottom: 40px; }
.resume-section:last-child { margin-bottom: 0; }
.resume-section-title { font-size: 23px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; }
.timeline { border-left: 2px solid var(--line); padding-left: 24px; }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item::before { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); left: -29px; top: 10px; }
.timeline-header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.timeline-title { font-size: 19px; margin: 0 0 8px; }
.timeline-company, .timeline-date { font-size: 14px; color: var(--muted); }
.timeline-date { margin-bottom: 12px; }
.legal-content h2 { margin-top: 32px; font-size: 23px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p:last-child { margin-bottom: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mb-2 { margin-bottom: 32px; }
.text-center { text-align: center; }
.placeholder-page { min-height: 100vh; display: flex; flex-direction: column; }
.placeholder-page main { flex: 1; display: grid; align-content: center; padding-block: 64px; }
.placeholder-page main p { max-width: 30ch; color: var(--navy); font-size: clamp(24px, 4vw, 36px); line-height: 1.5; }
@media (max-width: 760px) {
    .page-header { padding-top: 40px; }
    .page-header h1 { text-align: left; }
    .talk-card { grid-template-columns: minmax(0, 1fr); }
    .talk-image { height: auto; max-height: 280px; }
    .card-body, .talk-content, .resume-body, .legal-content { padding: 24px; }
    .resume-header { flex-direction: column; padding: 24px; gap: 24px; }
    .resume-header h1 { text-align: left; font-size: 30px; }
}

@media print {
    .header, .contact-section { display: none; }
    body { font-size: 12pt; background: #fff; }
    .resume-wrapper { box-shadow: none; }
}
