@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #101820;
  --surface: #16212b;
  --text: #edf2f4;
  --muted: #a5b3be;
  --accent: #85e5ca;
  --line: #2c3a45;
  --font: "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--bg); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); letter-spacing: -1.5px; }
h3 { font-size: 1.3rem; letter-spacing: -.4px; }
ul { padding-left: 1.2rem; }
.container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.accent { color: var(--accent); }
.mono, .eyebrow { font-family: var(--mono); }
.eyebrow { font-size: .69rem; font-weight: 500; letter-spacing: 1.6px; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.section-index { margin-bottom: 22px; }
.section { padding-block: 104px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 46px; }
.section-heading > p { max-width: 255px; font-size: .92rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 20px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation: visible without JavaScript, collapsible when enhanced. */
.site-header { position: sticky; top: 0; background: rgba(16, 24, 32, .97); border-bottom: 1px solid var(--line); z-index: 20; }
.nav-shell { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; font-size: 2.2rem; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.wordmark-caption { margin-left: 19px; max-width: 84px; color: var(--muted); font-family: var(--mono); font-size: .56rem; line-height: 1.65; letter-spacing: 1.5px; }
.navigation { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.navigation a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .82rem; }
.navigation a:hover, .navigation a[aria-current], .text-link:hover, .hero-links a:hover { color: var(--accent); }
.navigation a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.header-contact { order: 3; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 9px 16px; border-radius: 4px; background: var(--accent); color: #112b25; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.header-contact:hover { background: #acf5e0; }
.language-switch { display: flex; align-items: center; gap: 2px; border-left: 1px solid var(--line); padding-left: 18px; font-family: var(--mono); font-size: .72rem; }
.language-switch button { background: none; border: none; min-width: 36px; min-height: 44px; padding: 0 5px; color: var(--muted); }
.language-switch > span { color: var(--muted); }
.language-switch button[aria-pressed="true"] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { background: none; border: 1px solid var(--line); padding: 8px 12px; align-items: center; gap: 12px; min-height: 44px; font-size: .8rem; }
.menu-icon { width: 16px; height: 8px; border-block: 1px solid currentColor; }

/* A full-width introduction with contact available from the first screen. */
.hero { padding-top: 70px; }
.hero-copy { padding: 12px 0 20px; min-width: 0; }
.hero h1 { font-size: clamp(3.5rem, 6.8vw, 6rem); letter-spacing: -4px; line-height: 1.06; margin: 28px 0 26px; }
.hero h1 > span { color: #c9d4dc; }
.hero-role { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 500; letter-spacing: -.3px; }
.hero-role > span { color: var(--accent); margin-inline: 5px; }
.hero-description { max-width: 770px; color: var(--muted); margin: 24px 0 29px; font-size: 1.08rem; line-height: 1.8; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; gap: 24px; justify-content: center; align-items: center; min-height: 49px; padding: 12px 20px; font-size: .85rem; font-weight: 600; border-radius: 5px; border: 1px solid transparent; transition: background-color .15s, border-color .15s; }
.button-primary { background: var(--accent); color: #112b25; }
.button-primary:hover { background: #acf5e0; }
.button-secondary { border-color: #4a5b68; }
.button-secondary:hover { background: #1b2833; border-color: var(--accent); }
.button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; font-size: .85rem; margin-top: 24px; }
.hero-links a { min-height: 36px; display: inline-flex; align-items: center; gap: 8px; }
.hero-links .hero-email { color: var(--accent); overflow-wrap: anywhere; }
.hero-location { color: var(--muted); font-size: .72rem; }
.hero-location > span[aria-hidden] { color: var(--accent); font-size: 1.1rem; margin-right: 5px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 38px; padding-block: 20px; color: var(--muted); font-size: .6rem; letter-spacing: 1px; }
.hero-bottom a { display: flex; gap: 18px; align-items: center; }
.hero-bottom a > span:last-child { color: var(--accent); font-size: 1rem; }

/* Profile, experience and categorized skills. */
.about { display: grid; grid-template-columns: .9fr 1.3fr; gap: 100px; padding-bottom: 96px; border-bottom: 1px solid var(--line); }
.about-content .lead { font-size: 1.25rem; line-height: 1.7; letter-spacing: -.3px; margin-bottom: 19px; }
.about-content > p:not(.lead) { color: var(--muted); font-size: .93rem; }
.about-principles { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-top: 26px; font-size: .71rem; }
.about-principles > span::before { content: "+"; color: var(--accent); margin-right: 8px; }
.experience-list { border-top: 1px solid var(--line); }
.experience-item { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.experience-date { font-size: .8rem; }
.experience-date > span:last-child { color: var(--muted); font-size: .74rem; }
.current-badge { display: inline-block; color: var(--accent); font-family: var(--mono); font-size: .56rem; letter-spacing: 1px; border: 1px solid #365b52; border-radius: 3px; padding: 2px 8px; margin-bottom: 12px; }
.experience-content h3 { font-size: 1.45rem; margin-bottom: 7px; }
.experience-role { color: var(--accent); font-size: .84rem; }
.experience-institute { font-size: .86rem; margin-bottom: 5px; color: var(--muted); }
.experience-content > ul:not(.tags) { color: var(--muted); font-size: .87rem; margin-block: 19px 23px; }
.experience-content > ul:not(.tags) li { padding-left: 6px; margin-block: 7px; }
.experience-content > ul:not(.tags) li::marker { color: #709a90; font-size: .7em; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid #344550; background: #192630; padding: 4px 9px; border-radius: 4px; font-size: .69rem; line-height: 1.6; color: #c2cdd5; }
.stack-section { background: #131e27; border-block: 1px solid var(--line); }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack-card { border: 1px solid var(--line); border-radius: 6px; padding: 25px; background: var(--bg); min-width: 0; }
.stack-card-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.stack-card h3 { font-size: 1rem; }
.stack-card-heading > span { width: 25px; font-size: 1.15rem; }
.stack-card .tags { gap: 8px 6px; }

/* Project covers are illustrative diagrams, not product screenshots. */
.text-link { font-size: .83rem; display: inline-flex; gap: 16px; align-items: center; min-height: 44px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { border: 1px solid #33434f; border-radius: 7px; overflow: hidden; background: #141f29; display: flex; flex-direction: column; min-width: 0; }
.project-visual { height: 206px; padding: 21px 26px 17px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; border-bottom: 1px solid #33434f; }
.visual-category { align-self: flex-start; font-size: .55rem; letter-spacing: 1.4px; color: #b4c7cf; }
.visual-caption { font-size: .62rem; letter-spacing: .3px; color: #b4c7cf; }
.visual-api { background: #1b3339; }
.visual-grpc { background: #232c42; }
.visual-sacds { background: #293237; }
.visual-sales { background: #243a34; }
.api-flow, .grpc-flow { display: flex; align-items: center; gap: 24px; font-family: var(--mono); font-size: .7rem; letter-spacing: 1px; }
.flow-line { color: #94acb7; font-size: 1.5rem; font-weight: 300; }
.api-node { border: 1px solid #72b5a8; background: #264d4c; padding: 24px 18px; border-radius: 50%; color: #adf9e7; font-size: 1.1rem; }
.file-symbol { font-size: 1.2rem; border: 1px solid #7e90b5; border-radius: 4px; padding: 8px 12px; color: #b3c4ef; }
.grpc-node { color: #c0cff3; font-size: 1.4rem; letter-spacing: -1px; }
.cloud-node { padding: 14px 16px; border: 1px solid #8ca0c5; border-radius: 20px; font-size: 1.1rem; color: #c3d2f3; }
.schedule-visual { display: flex; align-items: center; gap: 34px; }
.schedule-mark { font-size: 2.2rem; font-weight: 300; color: #b6d9cc; }
.calendar-grid { display: grid; grid-template-columns: repeat(4, 16px); gap: 6px; border: 1px solid #748d86; border-radius: 4px; padding: 12px; }
.calendar-grid i { height: 16px; background: #42564f; border-radius: 2px; }
.calendar-grid .selected { background: var(--accent); font-size: .72rem; font-style: normal; line-height: 16px; text-align: center; color: #102c22; }
.schedule-visual > .mono { font-size: .8rem; color: #c3d9d1; }
.sales-visual { display: flex; align-items: center; gap: 24px; }
.sales-bracket { color: #9dd5bd; font-family: var(--mono); font-size: 3rem; font-weight: 300; }
.sales-visual > div { display: flex; flex-direction: column; gap: 6px; }
.sales-visual .mono { color: #b6e8d5; }
.sales-line { width: 75px; height: 4px; background: #517567; border-radius: 2px; }
.sales-line.short { width: 48px; }
.shield-symbol { color: #b6e8d5; padding: 8px 14px; border: 1px solid #7ab49b; border-radius: 5px 5px 18px 18px; }
.project-content { padding: 27px 28px 20px; flex: 1; display: flex; flex-direction: column; }
.project-kicker { color: var(--accent); font-size: .57rem; letter-spacing: 1.1px; margin-bottom: 12px; }
.project-content h3 { font-size: 1.3rem; margin-bottom: 14px; }
.project-content > p:not(.project-kicker) { color: var(--muted); font-size: .87rem; margin-bottom: 22px; }
.project-content .tags { margin-top: auto; margin-bottom: 25px; }
.project-link { border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: .79rem; min-height: 45px; }
.project-link:hover { color: var(--accent); }
.project-link > span:last-child { color: var(--accent); font-size: 1.1rem; }
.other-projects { margin-top: 32px; border-block: 1px solid var(--line); }
.other-projects summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; list-style: none; padding: 23px 0; font-size: .89rem; }
.other-projects summary::-webkit-details-marker { display: none; }
.other-projects summary .accent { display: inline-block; margin-right: 15px; font-size: 1.1rem; }
.other-projects[open] summary .accent { transform: rotate(45deg); }
.projects-count { color: var(--muted); font-size: .7rem; }
.other-projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 48px; padding: 12px 0 35px; }
.other-projects h3 { font-size: 1rem; }
.other-projects p { color: var(--muted); font-size: .83rem; margin: 12px 0 8px; }
.other-projects a { color: var(--accent); }
.confidential { color: var(--muted); font-size: .73rem; font-style: italic; }

/* Education and direct contact. */
.education { padding-top: 20px; }
.education-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; margin-top: 38px; border-block: 1px solid var(--line); padding: 32px 0; }
.education-card > .mono { font-size: .74rem; }
.education-card h3 { font-size: 1.25rem; margin-block: 12px 8px; }
.education-card > p { font-size: .9rem; color: var(--muted); }
.education-location { display: block; font-size: .75rem; color: var(--muted); margin-top: 8px; }
.languages-card { padding-left: 40px; border-left: 1px solid var(--line); }
.languages-card h3 { font-size: .94rem; }
.languages-card dl { margin: 18px 0 0; }
.languages-card dl > div { display: flex; justify-content: space-between; gap: 22px; padding: 8px 0; font-size: .87rem; }
.languages-card dd { margin: 0; color: var(--muted); }
.contact-section { background: #192b2c; border-block: 1px solid #344a47; padding-block: 78px; }
.contact-inner { display: grid; grid-template-columns: 1.7fr 1fr; gap: 100px; align-items: center; }
.contact-section h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.contact-section p:not(.eyebrow) { font-size: .9rem; color: #b4c7c5; max-width: 500px; margin: 23px 0; }
.contact-email { display: inline-flex; align-items: center; gap: 24px; color: #a2efd9; font-size: clamp(.94rem, 1.6vw, 1.2rem); border-bottom: 1px solid #628e81; padding-block: 8px; overflow-wrap: anywhere; }
.contact-email:hover { color: #d5fff2; }
.contact-links { padding-top: 20px; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #3e5651; padding-block: 13px; font-size: .87rem; }
.contact-links a > span:last-child { color: var(--accent); }
.contact-links a:hover { color: var(--accent); }
.contact-links .phone-link { font-size: .78rem; color: #b4c7c5; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 100px; padding-block: 25px; }
.site-footer .wordmark { font-size: 1.7rem; }
.site-footer p { color: var(--muted); font-size: .7rem; }
.back-top { font-size: .71rem; color: var(--muted); display: flex; align-items: center; gap: 14px; min-height: 44px; }
.back-top:hover { color: var(--accent); }

@media (min-width: 821px) { .menu-toggle { display: none; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { padding-top: 55px; }
  .hero h1 { font-size: clamp(3.5rem, 6.8vw, 5rem); letter-spacing: -3px; }
  .wordmark-caption { display: none; }
  .about { gap: 56px; }
  .experience-item { grid-template-columns: 225px 1fr; gap: 35px; }
  .contact-inner { gap: 60px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 48px); }
  .section { padding-block: 75px; }
  .nav-shell { min-height: 74px; flex-wrap: wrap; gap: 0; }
  .nav-actions { margin-left: auto; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .navigation { order: 3; width: 100%; flex-wrap: wrap; justify-content: flex-start; padding: 10px 0 18px; gap: 10px 25px; }
  .js-enabled .navigation:not(.is-open) { display: none; }
  .navigation a { font-size: .9rem; }
  .hero { padding-top: 42px; }
  .hero-copy { padding-bottom: 22px; }
  .hero h1 { font-size: clamp(2.75rem, 7.5vw, 4.5rem); letter-spacing: -2.5px; }
  .hero-role { font-size: 1.15rem; }
  .hero-description { max-width: 650px; font-size: 1rem; }
  .hero-bottom { margin-top: 26px; }
  .about { grid-template-columns: 1fr; gap: 30px; }
  .section-heading { align-items: flex-start; gap: 20px; flex-direction: column; margin-bottom: 35px; }
  .section-heading > p { max-width: 100%; }
  .experience-item { grid-template-columns: 175px 1fr; gap: 26px; }
  .experience-date { font-size: .73rem; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .project-visual { height: 180px; padding: 18px; }
  .project-content { padding: 23px 20px 18px; }
  .project-content h3 { font-size: 1.1rem; }
  .api-flow, .grpc-flow { gap: 12px; }
  .api-node { padding: 18px 12px; }
  .schedule-visual { gap: 15px; }
  .sales-visual { gap: 17px; }
  .visual-caption { font-size: .5rem; }
  .education { padding-top: 0; }
  .education-grid { gap: 30px; }
  .languages-card { padding-left: 25px; }
  .contact-inner { grid-template-columns: 1.4fr 1fr; gap: 30px; }
  .contact-email { font-size: .84rem; gap: 10px; }
  .contact-section h2 { font-size: 2rem; }
  .site-footer { flex-wrap: wrap; gap: 12px 24px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  h2 { letter-spacing: -1px; }
  .section { padding-block: 58px; }
  .wordmark { font-size: 1.65rem; letter-spacing: -1.25px; }
  .language-switch { padding-left: 0; border: 0; }
  .nav-actions { gap: 8px; }
  .navigation { gap: 4px 22px; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(1.95rem, 8.5vw, 3rem); letter-spacing: -1.5px; margin-top: 23px; }
  .hero-role { max-width: 100%; font-size: 1rem; }
  .hero-description { font-size: .96rem; }
  .hero-buttons { gap: 10px; }
  .button { padding: 11px 16px; gap: 16px; font-size: .8rem; }
  .hero-links { gap: 8px 24px; margin-top: 20px; font-size: .8rem; }
  .hero-links .hero-email { flex-basis: 100%; font-size: .78rem; }
  .header-contact { order: 0; padding-inline: 11px; font-size: .73rem; }
  .header-contact > span[aria-hidden] { display: none; }
  .language-switch button { min-width: 28px; }
  .menu-toggle { width: 44px; justify-content: center; padding: 10px; }
  .menu-toggle > [data-i18n] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero-location { flex-basis: 100%; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: .54rem; }
  .eyebrow { font-size: .6rem; letter-spacing: 1.2px; }
  .about-content .lead { font-size: 1.1rem; }
  .about-principles { flex-direction: column; gap: 9px; }
  .experience-item { grid-template-columns: 1fr; gap: 18px; padding-block: 30px; }
  .experience-date p { display: inline-block; margin-right: 8px; }
  .experience-date > span:last-child { display: block; margin-top: 2px; }
  .current-badge { display: block; width: fit-content; }
  .experience-content h3 { font-size: 1.3rem; }
  .stack-grid { grid-template-columns: 1fr; gap: 12px; }
  .stack-card { padding: 22px; }
  .stack-card-heading { margin-bottom: 15px; }
  .projects-grid { grid-template-columns: 1fr; gap: 22px; }
  .project-visual { height: 195px; padding: 19px 23px; }
  .api-flow, .grpc-flow { gap: 24px; }
  .api-node { padding: 24px 18px; }
  .visual-caption { font-size: .58rem; }
  .schedule-visual { gap: 30px; }
  .project-content { padding: 25px 23px 20px; }
  .project-content h3 { font-size: 1.2rem; }
  .other-projects-grid { grid-template-columns: 1fr; gap: 25px; }
  .other-projects summary { font-size: .79rem; }
  .other-projects summary .accent { margin-right: 5px; }
  .education { padding-top: 0; }
  .education-grid { grid-template-columns: 1fr; gap: 30px; }
  .languages-card { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .contact-section { padding-block: 56px; }
  .contact-inner { grid-template-columns: 1fr; gap: 25px; }
  .contact-section h2 { font-size: 2rem; }
  .contact-email { font-size: clamp(.8rem, 3.6vw, 1rem); }
  .contact-links { padding-top: 0; }
  .site-footer { padding-block: 22px; }
  .site-footer p { order: 3; width: 100%; font-size: .65rem; }
  .back-top { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
