:root {
    --navy: #102632;
    --navy-deep: #071015;
    --blue: #69c8df;
    --aqua: #8de0d2;
    --paper: #0b151c;
    --white: #13242e;
    --text: #f1f5f6;
    --muted: #a8b6bc;
    --line: #2b3d46;
    --max: 1180px;
    --header: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font-family: "Inter", Arial, sans-serif; font-size: 16px; line-height: 1.65; letter-spacing: 0; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 16px; padding: 10px 14px; color: var(--navy-deep); background: var(--aqua); font-weight: 700; }
.skip-link:focus { top: 12px; }

.topbar { position: fixed; inset: 0 0 auto; height: var(--header); z-index: 100; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .2s ease, color .2s ease; }
.topbar.scrolled { color: var(--text); background: rgba(11,21,28,.97); border-color: var(--line); }
.topbar-inner { width: min(calc(100% - 40px), var(--max)); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 26px; }
.identity { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; font-size: 13px; }
.identity span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; font: 600 11px "IBM Plex Mono", monospace; }
.topbar nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; }
.topbar nav a { opacity: .76; }
.topbar nav a:hover { opacity: 1; }
.print-button, .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 4px; color: inherit; background: transparent; cursor: pointer; }
.print-button svg, .nav-toggle svg { width: 18px; }
.nav-toggle { display: none; }

.career-hero { position: relative; min-height: min(840px, 92dvh); overflow: hidden; color: #fff; background: var(--navy-deep); }
.career-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.career-hero-shade { position: absolute; inset: 0; background: rgba(7,25,35,.83); }
.career-hero-content { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); min-height: min(840px, 92dvh); margin: 0 auto; padding: calc(var(--header) + 74px) 0 54px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.status { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--aqua); font: 600 11px "IBM Plex Mono", monospace; text-transform: uppercase; }
.status span { width: 8px; height: 8px; background: var(--aqua); border-radius: 50%; }
.career-hero h1 { margin: 0; font-size: clamp(62px, 9vw, 132px); line-height: .88; font-weight: 800; }
.role-title { margin: 30px 0 0; color: var(--aqua); font: 600 clamp(17px, 2vw, 24px) "IBM Plex Mono", monospace; }
.hero-summary { max-width: 720px; margin: 22px 0 0; color: rgba(255,255,255,.78); font-size: clamp(17px, 1.8vw, 22px); }
.hero-contact { width: 100%; display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.75); font-size: 13px; }
.hero-contact a, .hero-contact span { display: inline-flex; align-items: center; gap: 8px; }
.hero-contact svg { width: 16px; }

.career-section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 100px 0; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 60px; border-bottom: 1px solid var(--line); }
.section-label { align-self: start; position: sticky; top: calc(var(--header) + 26px); }
.section-label span { color: var(--blue); font: 600 12px "IBM Plex Mono", monospace; }
.section-label p { margin: 8px 0 0; color: var(--muted); font: 600 11px "IBM Plex Mono", monospace; text-transform: uppercase; }
.section-content h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.06; }
.profile-content { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; }
.profile-lead { margin: 26px 0 0; font-size: 20px; color: var(--muted); }
.profile-details > p { margin: 0; color: var(--muted); }
.profile-details dl { margin: 36px 0 0; border-top: 1px solid var(--line); }
.profile-details dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile-details dt { color: var(--muted); font-size: 13px; }
.profile-details dd { margin: 0; font-weight: 700; }

.role-list { margin-top: 44px; border-top: 1px solid var(--navy); }
.role-row { display: grid; grid-template-columns: 125px 250px minmax(0, 1fr); gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.role-row time { font: 600 12px "IBM Plex Mono", monospace; }
.role-heading h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.role-heading p { margin: 7px 0 2px; color: var(--blue); font-weight: 700; font-size: 13px; }
.role-heading span { color: var(--muted); font-size: 12px; }
.role-row ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.role-row li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.role-row li::before { content: ""; position: absolute; top: 10px; left: 0; width: 7px; height: 2px; background: var(--blue); }

.skill-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); }
.skill-matrix article { padding: 26px; background: var(--white); }
.skill-matrix svg { width: 24px; height: 24px; color: var(--blue); }
.skill-matrix h3 { margin: 28px 0 9px; font-size: 17px; }
.skill-matrix p { margin: 0; color: var(--muted); font-size: 13px; }
.tools-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tools-row span { padding: 7px 10px; border: 1px solid var(--line); background: var(--white); font: 500 11px "IBM Plex Mono", monospace; }

.projects-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 40px; align-items: end; }
.projects-heading > p { margin: 0; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.case-card { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.case-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #172a34; }
.case-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .3s ease; }
.case-card:hover img { transform: scale(1.02); }
.case-image span { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--navy); border-radius: 50%; }
.case-image svg { width: 18px; }
.case-copy { padding: 24px; }
.case-copy > p:first-child { margin: 0; color: var(--blue); font: 600 10px "IBM Plex Mono", monospace; text-transform: uppercase; }
.case-copy h3 { margin: 15px 0 9px; font-size: 23px; line-height: 1.2; }
.case-copy > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }

.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.education-grid article { padding: 26px; border-top: 3px solid var(--blue); background: var(--white); }
.education-grid time { color: var(--blue); font: 600 11px "IBM Plex Mono", monospace; }
.education-grid h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.25; }
.education-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.education-grid strong { display: block; margin-top: 14px; font-size: 12px; }

.career-contact { padding: 100px max(20px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; color: #fff; background: var(--navy); }
.career-contact > div > p:first-child { color: var(--aqua); font: 600 11px "IBM Plex Mono", monospace; text-transform: uppercase; }
.career-contact h2 { max-width: 760px; margin: 18px 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; }
.career-contact h2 + p { max-width: 620px; color: rgba(255,255,255,.7); }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-actions a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; font-weight: 700; font-size: 13px; }
.contact-actions .primary-action { color: var(--navy-deep); border-color: var(--aqua); background: var(--aqua); }
.contact-actions svg { width: 17px; }
.career-footer { padding: 22px max(20px, calc((100% - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.58); background: var(--navy-deep); font-size: 11px; }

[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .nav-toggle { display: grid; }
    .print-button { display: none; }
    .topbar nav { position: fixed; inset: var(--header) 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 24px 20px; color: var(--text); background: var(--paper); }
    .topbar nav.open { display: flex; }
    .topbar nav a { min-height: 54px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 18px; opacity: 1; }
    .career-section { grid-template-columns: 1fr; gap: 28px; }
    .section-label { position: static; }
    .profile-content { grid-template-columns: 1fr; gap: 32px; }
    .role-row { grid-template-columns: 110px 1fr; }
    .role-row ul { grid-column: 2; }
    .skill-matrix { grid-template-columns: repeat(2, 1fr); }
    .projects-heading { grid-template-columns: 1fr; }
    .education-grid { grid-template-columns: 1fr; }
    .career-contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
    :root { --header: 62px; }
    .topbar-inner, .career-hero-content, .career-section { width: min(calc(100% - 28px), var(--max)); }
    .identity strong { display: none; }
    .career-hero { min-height: 760px; }
    .career-hero-content { min-height: 760px; padding-top: calc(var(--header) + 46px); }
    .career-hero h1 { font-size: clamp(56px, 18vw, 84px); }
    .role-title { font-size: 16px; }
    .hero-summary { font-size: 17px; }
    .hero-contact { flex-direction: column; gap: 9px; }
    .career-section { padding: 76px 0; }
    .section-content h2 { font-size: 38px; }
    .role-row { grid-template-columns: 1fr; gap: 10px; }
    .role-row ul { grid-column: 1; margin-top: 10px; }
    .skill-matrix, .case-grid { grid-template-columns: 1fr; }
    .career-contact { padding: 76px 14px; }
    .career-footer { flex-direction: column; }
}

@media print {
    .topbar, .career-hero img, .career-hero-shade, .case-image, .career-contact, .career-footer { display: none !important; }
    :root { --paper: #fff; --white: #fff; --text: #000; --muted: #333; --line: #bbb; --blue: #174e63; }
    body { color: #000; background: #fff; font-size: 10pt; }
    .career-hero { min-height: auto; color: #000; background: #fff; }
    .career-hero-content { min-height: auto; padding: 20px 0 30px; }
    .career-hero h1 { font-size: 42pt; }
    .role-title, .status { color: #174e63; }
    .hero-summary, .hero-contact { color: #333; }
    .career-section { width: 100%; padding: 28px 0; display: block; break-inside: avoid; }
    .section-label { margin-bottom: 14px; }
    .section-content h2 { font-size: 24pt; }
    .role-row { grid-template-columns: 90px 180px 1fr; padding: 16px 0; break-inside: avoid; }
    .skill-matrix { grid-template-columns: repeat(3, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .case-copy { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
