/* Shared visual identity; website presentation only. PDF builders are independent. */
:root { --ink:#172b3b; --muted:#536674; --teal:#176b78; --line:#d9e2e7; --nav-offset:120px; }
* { box-sizing:border-box; }
body { margin:0; font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--ink); background:#f4f7f8; }
h1,h2,h3,h4,h5,p { margin:0; }
a { color:var(--teal); text-underline-offset:4px; }
a:hover { color:#104b55; }
a:focus-visible,button:focus-visible,[tabindex="-1"]:focus-visible { outline:3px solid #c87818; outline-offset:4px; }
.wrap { max-width:1100px; padding:0 32px; margin:auto; }
.skip-link { position:fixed; top:8px; left:16px; padding:10px 16px; background:#fff; border:2px solid var(--teal); z-index:30; transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
.download-bar { position:sticky; top:0; z-index:20; background:#f4f7f8; border-bottom:1px solid var(--line); }
.masthead { padding:14px 0; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.wordmark { font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.section-links { display:flex; gap:20px; margin-top:5px; }
.section-links a { display:inline-flex; align-items:center; min-height:32px; font-size:13px; font-weight:500; text-decoration:none; }
.section-links a:hover { text-decoration:underline; }
.download-options { display:flex; gap:14px; }
.download-choice { text-align:center; min-width:0; }
.download { background:var(--teal); color:#fff; border:1px solid var(--teal); border-radius:6px; padding:10px 18px; font-size:14px; font-weight:600; text-decoration:none; display:flex; align-items:center; justify-content:center; min-height:44px; white-space:nowrap; }
.download:hover { background:#104b55; color:white; text-decoration:none; }
.download-secondary { background:#fff; color:var(--teal); }
.download-secondary:hover { background:#eaf2f3; color:#104b55; }
.download-hint { color:var(--muted); font-size:12px; line-height:1.4; margin-top:6px; }
.hero { background:var(--ink); color:#fff; padding:44px 0 36px; }
.hero-inner { display:grid; grid-template-columns:minmax(0,1fr) 136px; gap:36px; align-items:center; margin-bottom:24px; }
.eyebrow { color:#9dd4d7; letter-spacing:.14em; font-size:12px; font-weight:700; text-transform:uppercase; margin-bottom:12px; }
h1 { font-size:clamp(30px,4vw,42px); line-height:1.18; letter-spacing:-.035em; font-weight:700; margin-bottom:10px; }
.title { font-size:21px; font-weight:600; line-height:1.4; color:#fff; }
.specialization { color:#b9dbdf; font-size:15px; line-height:1.6; margin-top:6px; }
.summary { color:#e1e8ec; max-width:76ch; font-size:16px; line-height:1.75; }
.profile-image { display:block; width:136px; height:auto; aspect-ratio:1; object-fit:contain; border-radius:12px; border:1px solid #6b7c87; }
.hero-highlights { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:20px 0 0; }
.hero-highlights li { color:#cde8e9; border:1px solid #45616d; border-radius:4px; font-size:12px; padding:4px 10px; }
.contacts { display:flex; flex-wrap:wrap; gap:4px 24px; padding:6px 0 0; margin:0; list-style:none; font-size:14px; }
.contacts li { min-width:0; }
.contacts a { display:inline-flex; align-items:center; min-height:36px; color:#fff; overflow-wrap:anywhere; }
.location { color:#bfcfd8; margin-top:22px; font-size:14px; }
main.wrap { padding-top:38px; padding-bottom:8px; }
section { margin-bottom:40px; scroll-margin-top:var(--nav-offset); }
.section-heading { display:flex; gap:14px; align-items:baseline; margin-bottom:18px; }
.section-number { color:var(--teal); font-size:12px; font-weight:700; }
h2 { font-size:23px; line-height:1.35; font-weight:700; letter-spacing:-.02em; }
.highlights-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.highlight-card { display:flex; flex-direction:column; padding:22px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.highlight-card:hover { border-color:#8db4bd; }
.highlight-card h3 { font-size:16px; line-height:1.4; margin-bottom:10px; }
.highlight-card p { font-size:14px; line-height:1.7; }
.highlight-card .highlight-technologies { color:var(--teal); font-size:12px; font-weight:500; margin-top:auto; padding-top:18px; }
.company { padding:28px 30px; border:1px solid var(--line); border-radius:10px; background:#fff; margin-bottom:18px; }
.company-head { display:flex; gap:14px; align-items:center; margin-bottom:14px; }
.company-logo { flex-shrink:0; display:block; width:44px; height:44px; object-fit:contain; border-radius:7px; }
.company h3 { font-size:21px; line-height:1.4; font-weight:700; margin-bottom:3px; }
.dates { font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums; }
.company-summary { color:var(--muted); font-size:15px; max-width:78ch; margin-bottom:20px; }
.role { border-left:2px solid #c6dbdf; padding-left:20px; margin-top:24px; }
.role-heading { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 20px; align-items:baseline; }
h4 { font-size:17px; line-height:1.5; font-weight:700; }
.role-heading .dates { white-space:nowrap; }
.role ul { max-width:86ch; margin:10px 0 0; padding-left:20px; }
.role li { padding-left:3px; margin-bottom:7px; }
.role li::marker { color:var(--teal); }
.product-group { margin-top:18px; padding-top:16px; border-top:1px solid #e9eef1; }
.product-group h5 { font-size:15px; line-height:1.5; font-weight:600; color:var(--teal); }
.product-group ul { margin-top:8px; }
.skills-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.skill-group { padding:22px 24px; background:#fff; border:1px solid var(--line); border-radius:8px; }
.skill-group h3 { font-size:14px; line-height:1.5; font-weight:700; margin-bottom:14px; }
.skill-list { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.skill-list li { color:#244d59; background:#edf3f4; border:1px solid transparent; border-radius:4px; padding:4px 9px; font-size:13px; line-height:1.6; }
.skill-list .skill-emphasis { color:#145460; border-color:#bcd3d8; background:#e4eff1; font-weight:600; }
.education { padding:22px 30px; }
.education .company-head { margin-bottom:8px; }
.education h3 { font-size:18px; }
.education p { margin-top:3px; }
.edu-degree { font-size:15px; font-weight:500; }
footer { padding:22px 0 28px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
@media (min-width:641px) and (max-width:900px) {
    .masthead { gap:18px; }
    .download { padding:10px 12px; font-size:13px; }
    .download-hint { font-size:11px; }
    .section-links { gap:14px; }
    .highlights-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .highlight-card:last-child { grid-column:1 / -1; }
}
@media (max-width:640px) {
    :root { --nav-offset:156px; }
    .wrap { padding:0 20px; }
    .masthead { padding:10px 0; display:block; }
    .navigation { display:flex; justify-content:space-between; align-items:center; gap:10px; }
    .wordmark { font-size:10px; letter-spacing:.07em; }
    .section-links { gap:12px; margin:0; }
    .section-links a { font-size:11px; min-height:32px; }
    .download-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:6px; }
    .download { font-size:12px; padding:10px 7px; white-space:normal; line-height:1.35; }
    .download-hint { font-size:11px; margin-top:5px; }
    .hero { padding:28px 0; }
    .hero-inner { grid-template-columns:minmax(0,1fr) 88px; gap:16px; margin-bottom:20px; }
    .profile-image { width:88px; }
    h1 { font-size:30px; }
    .eyebrow { font-size:10px; letter-spacing:.1em; }
    .title { font-size:18px; }
    .specialization { font-size:13px; }
    .summary { font-size:15px; line-height:1.75; }
    .contacts { gap:2px 18px; }
    main.wrap { padding-top:28px; }
    section { margin-bottom:32px; }
    h2 { font-size:21px; }
    .highlights-grid,.skills-grid { grid-template-columns:minmax(0,1fr); }
    .highlight-card { padding:20px; }
    .company { padding:22px 20px; }
    .company h3 { font-size:20px; }
    .role { padding-left:14px; margin-top:22px; }
    .role-heading { display:block; }
    .role-heading .dates { margin-top:4px; }
    .role ul { padding-left:17px; }
    .role li { font-size:15px; }
    .skill-group { padding:20px; }
    .education h3 { font-size:17px; }
}
@media (prefers-reduced-motion:no-preference) {
    html { scroll-behavior:smooth; }
    .highlight-card { transition:border-color .15s ease; }
}
@media print {
    body { background:white; font-size:10pt; }
    .wrap { max-width:none; padding:0; }
    .download-bar,.skip-link,.profile-image,.hero-highlights,.engineering-highlights,footer { display:none!important; }
    .hero { padding:0 0 20px; background:white; color:var(--ink); }
    .hero-inner { display:block; }
    .hero .title,.hero .specialization,.hero .summary,.contacts a,.location { color:var(--ink); }
    .eyebrow { display:none; }
    h1 { font-size:24pt; }
    main.wrap { padding-top:20px; }
    .company,.skill-group { border:0; padding:0; }
    .role { break-inside:avoid; }
    .skill-list li { background:none; padding:0 8px 0 0; }
    h2,h3,h4 { break-after:avoid; }
}
