:root {
  color-scheme: dark;
  --ink: #101411;
  --ink-soft: #161c18;
  --ink-card: #1c231e;
  --paper: #f0f2ea;
  --muted: #a7afa6;
  --muted-dark: #69726a;
  --line: rgba(232, 239, 228, .13);
  --line-dark: rgba(232, 239, 228, .08);
  --accent: #00AFEF;
  --accent-dim: #00759F;
  --blue: #8ac9db;
  --warm: #F79733;
  --warm-dim: #A24A00;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: "Segoe UI", Arial, sans-serif;
  --display: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; transform: translateY(-160%); padding: 10px 14px; border-radius: 4px; background: var(--accent); color: var(--ink); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid var(--line-dark); background: rgba(16, 20, 17, .92); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1280px, calc(100% - 64px)); min-height: 72px; margin: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font: 600 14px var(--display); letter-spacing: -.02em; }
.wordmark-logo { display: block; width: 36px; height: 36px; flex: 0 0 auto; object-fit: contain; }
.main-nav { width: 100%; align-items: stretch; justify-content: center; }
.main-nav a, .print-button { color: var(--muted); font-size: 12px; transition: color .2s ease; }
.main-nav .nav-link { padding: 8px 14px; }
.navbar-toggler { border-color: var(--line); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(0, 175, 239, .25); }
.main-nav a:hover, .hero-socials a:hover, .text-link:hover { color: var(--accent); }
.print-button { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--paper); cursor: pointer; }
.print-button span { color: var(--accent); font-size: 16px; }
.print-button:hover { border-color: var(--accent); }
.hero { align-items: center; min-height: 630px; padding-block: 92px 86px; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font: 500 10px/1.4 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px rgba(247, 151, 51, .17); }
h1, h2, h3, h4, p { margin-top: 0; }
.hero h1 { margin: 0; font: 600 clamp(64px, 8.3vw, 112px)/.91 var(--display); letter-spacing: -.09em; }
.hero h1 span { color: var(--accent); }
.hero-role { margin: 24px 0 12px; color: #c8cec5; font: 500 clamp(17px, 2vw, 23px)/1.3 var(--display); letter-spacing: -.035em; }
.hero-role span { color: var(--warm); }
.hero-intro { max-width: 460px; margin-bottom: 28px; color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 0 17px; border-radius: 4px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--warm); color: var(--ink); }
.button-primary:hover { background: #ffb85f; }
.button-primary:focus-visible { outline-color: var(--accent); }
.text-link { color: var(--paper); font-size: 12px; font-weight: 600; transition: color .2s ease; }
.text-link span { margin-left: 5px; color: var(--accent); }
.hero-socials { display: flex; gap: 24px; margin-top: 44px; }
.hero-socials a { color: var(--muted); font: 10px var(--mono); transition: color .2s ease; }
.hero-socials a span { color: var(--accent); }
.hero-card { position: relative; padding: 21px 22px 17px; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(ellipse at 90% 5%, rgba(0, 175, 239, .09), transparent 39%), radial-gradient(ellipse at 8% 100%, rgba(247, 151, 51, .055), transparent 36%), var(--ink-soft); box-shadow: 0 25px 90px rgba(0, 0, 0, .18); }
.card-topline, .card-bottomline { display: flex; justify-content: space-between; color: var(--muted-dark); font: 9px var(--mono); letter-spacing: .08em; }
.card-index { color: var(--accent); }
.code-window { margin: 23px 0 22px; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 5px; background: rgba(8, 12, 9, .5); }
.window-controls { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); font: 8px var(--mono); }
.window-controls i { width: 6px; height: 6px; border-radius: 50%; background: #5c665d; }
.window-controls i:first-child { background: #d27d70; }
.window-controls i:nth-child(2) { background: var(--warm); }
.window-controls i:nth-child(3) { background: var(--accent); }
.window-controls span { margin-left: 7px; }
.code-window pre { margin: 0; padding: 20px 18px; color: #d6ddd2; font: 11px/1.75 var(--mono); white-space: pre-wrap; }
.code-muted { color: #89998a; }
.code-blue { color: var(--accent); }
.code-warm { color: var(--warm); }
.code-number { color: var(--blue); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 21px; }
.hero-stats div { display: flex; flex-direction: column; gap: 0; padding-left: 13px; border-left: 1px solid var(--line); }
.hero-stats strong { color: var(--paper); font: 600 23px/1.2 var(--display); letter-spacing: -.06em; }
.hero-stats strong span { color: var(--warm); }
.hero-stats div > span { color: var(--muted-dark); font-size: 9px; }
.card-bottomline { padding-top: 12px; border-top: 1px solid var(--line-dark); font-size: 8px; letter-spacing: 0; }
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-soft); }
.ticker-track { display: flex; align-items: center; justify-content: space-around; gap: 34px; min-width: max-content; padding: 14px 0; animation: ticker 34s linear infinite; }
.ticker span { color: #aeb6ab; font: 9px var(--mono); letter-spacing: .16em; }
.ticker b { color: var(--warm); font-size: 12px; font-weight: 400; }
@keyframes ticker { to { transform: translateX(-25%); } }
.about-section { align-items: start; padding-block: 130px 138px; }
.section-heading .eyebrow { margin-bottom: 20px; }
h2 { margin-bottom: 0; font: 500 clamp(36px, 5vw, 57px)/1.04 var(--display); letter-spacing: -.065em; }
h2 span { color: var(--accent); }
.about-copy { max-width: 600px; padding-top: 28px; }
.about-copy p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.about-copy .lead { margin-bottom: 17px; color: var(--paper); font: 500 19px/1.5 var(--display); letter-spacing: -.025em; }
.principles { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.principles span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 3px; color: #c2cbc0; font: 9px var(--mono); }
.skills-section { padding-block: 100px 108px; background: var(--paper); color: var(--ink); }
.skills-section .eyebrow, .experience-section .eyebrow, .credentials-section .eyebrow { color: var(--accent-dim); }
.skills-section h2 span { color: var(--warm-dim); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-aside { max-width: 270px; margin-bottom: 6px; color: #626b61; font-size: 12px; }
.skills-grid { margin-top: 49px; }
.skill-card { min-height: 205px; padding: 22px 20px 20px; border: 1px solid rgba(16, 20, 17, .14); border-radius: 5px; transition: transform .2s ease, background .2s ease; }
.skill-card:hover { transform: translateY(-3px); background: #e5f5fb; }
.skill-number { color: var(--accent-dim); font: 10px var(--mono); }
.skill-card:nth-child(even) .skill-number { color: var(--warm-dim); }
.skill-card h3 { margin: 27px 0 10px; font: 600 16px var(--display); letter-spacing: -.03em; }
.skill-card p { margin: 0; color: #606b60; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; }
.domain-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 19px 0 0; padding-top: 15px; border-top: 1px solid rgba(16, 20, 17, .14); color: #4e594f; font-size: 11px; }
.domain-strip span { color: var(--accent-dim); font: 9px var(--mono); letter-spacing: .08em; }
.domain-strip b { color: var(--warm-dim); font-weight: 400; }
.experience-section { padding-block: 125px 127px; }
.experience-count { padding-bottom: 6px; color: var(--muted-dark); font: 10px var(--mono); }
.timeline { position: relative; margin-top: 62px; }
.timeline::before { position: absolute; top: 4px; bottom: 29px; left: 9px; width: 1px; background: var(--line); content: ""; }
.experience-item { position: relative; padding: 0 0 47px 34px; }
.experience-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; top: 4px; left: 4px; width: 11px; height: 11px; border: 2px solid #7a8477; border-radius: 50%; background: var(--ink); }
.experience-item.current .timeline-marker { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(0, 175, 239, .15); }
.experience-date { padding-top: 2px; color: var(--muted-dark); font: 9px var(--mono); letter-spacing: .025em; }
.experience-date span { color: var(--accent); }
.experience-content h3 { margin: 0 0 2px; font: 600 20px/1.35 var(--display); letter-spacing: -.045em; }
.experience-title-row { display: flex; align-items: center; gap: 12px; }
.experience-title-row h3 { margin: 0; }
.current-badge { padding: 3px 7px; border: 1px solid rgba(0, 175, 239, .45); border-radius: 3px; color: var(--accent); font: 8px var(--mono); text-transform: uppercase; }
.company { margin: 5px 0 12px; color: var(--accent); font-size: 12px; font-weight: 600; }
.company span { color: var(--muted); font-weight: 400; }
.experience-description { max-width: 660px; margin-bottom: 13px; color: var(--muted); font-size: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { padding: 4px 7px; border: 1px solid var(--line-dark); border-radius: 3px; color: #aeb7ac; font: 8px var(--mono); }
.projects-section { padding-block: 105px 110px; background: var(--ink-soft); }
.projects-section h2 span { color: var(--warm); }
.project-all { margin-bottom: 7px; }
.projects-grid { margin-top: 48px; }
.project-card { display: flex; flex-direction: column; min-height: 242px; padding: 20px 19px 17px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255, 255, 255, .015); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(0, 175, 239, .5); background: rgba(0, 175, 239, .035); }
.project-card-top { display: flex; align-items: center; justify-content: space-between; }
.project-icon { display: grid; min-width: 35px; height: 35px; padding: 0 6px; place-items: center; border: 1px solid rgba(0, 175, 239, .3); border-radius: 5px; color: var(--accent); font: 11px var(--mono); }
.project-card:nth-child(even) .project-icon { border-color: rgba(247, 151, 51, .38); color: var(--warm); }
.project-card:nth-child(even) .project-type { color: var(--warm); }
.project-card:nth-child(even):hover { border-color: rgba(247, 151, 51, .5); background: rgba(247, 151, 51, .035); }
.project-arrow { color: var(--muted-dark); font-size: 15px; transition: color .2s ease, transform .2s ease; }
.project-card:hover .project-arrow { transform: translate(2px, -2px); color: var(--accent); }
.project-type { margin: 20px 0 5px; color: var(--accent); font: 8px var(--mono); letter-spacing: .12em; }
.project-card h3 { margin: 0 0 8px; font: 600 15px/1.35 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-card > p:not(.project-type) { margin-bottom: 17px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.project-language { display: flex; align-items: center; gap: 6px; margin-top: auto; color: #a6afa4; font: 9px var(--mono); }
.project-language i { width: 7px; height: 7px; border-radius: 50%; background: #b07251; }
.project-language i.language-blue { background: #3178c6; }
.projects-note { margin: 15px 0 0; color: var(--muted-dark); font-size: 9px; }
.credentials-section { padding-block: 125px 110px; }
.credentials-grid { margin-top: 52px; }
.subsection-title { margin: 0 0 24px; color: var(--paper); font: 600 14px var(--display); letter-spacing: -.025em; }
.education-item { position: relative; display: flex; gap: 15px; padding: 0 0 21px; }
.education-marker { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--accent); }
.education-item h4 { margin: 0 0 4px; color: #e2e8dd; font: 500 12px/1.5 var(--display); }
.education-item p { margin: 0; color: var(--muted-dark); font-size: 10px; }
.certification-list { display: flex; flex-direction: column; }
.certification-list > div { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); color: #dce2d8; font-size: 10px; }
.certification-list > div:first-child { padding-top: 0; }
.certification-list b { color: var(--muted-dark); font: 9px var(--mono); }
.cert-icon { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: rgba(0, 175, 239, .14); color: var(--accent); font-size: 10px; }
.language-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2px; margin-top: 23px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 4px; }
.language-label { grid-column: 1 / -1; color: var(--muted-dark); font: 8px var(--mono); letter-spacing: .1em; }
.language-card strong { font: 600 15px var(--display); }
.language-card > span:last-child { justify-self: end; color: var(--muted); font-size: 10px; }
.courses-block { margin-top: 55px; padding-top: 29px; border-top: 1px solid var(--line); }
.courses-heading { display: flex; align-items: baseline; justify-content: space-between; }
.courses-heading .subsection-title { margin-bottom: 18px; }
.courses-heading > span { color: var(--muted-dark); font: 9px var(--mono); }
.course-list { display: flex; flex-wrap: wrap; gap: 7px; }
.course-list span { padding: 7px 9px; border: 1px solid var(--line-dark); border-radius: 3px; color: #b5beb2; font-size: 9px; }
.contact-section { padding-block: 94px 100px; border-top: 1px solid rgba(0, 175, 239, .23); background: radial-gradient(ellipse at 8% 90%, rgba(247, 151, 51, .075), transparent 43%), var(--ink-soft); color: var(--paper); }
.contact-inner { align-items: center; }
.contact-section .eyebrow { color: var(--warm); }
.contact-section h2 { font-size: clamp(44px, 6vw, 68px); }
.contact-section h2 span { color: var(--accent); }
.contact-inner > div:first-child > p:last-child { max-width: 390px; margin: 20px 0 0; color: var(--muted); font-size: 12px; }
.contact-links { border-top: 1px solid var(--line); }
.contact-links a { position: relative; display: grid; grid-template-columns: 91px 1fr 20px; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-links a > span { color: var(--warm); font: 8px var(--mono); letter-spacing: .08em; }
.contact-links strong { overflow-wrap: anywhere; font: 600 11px var(--display); }
.contact-links i { justify-self: end; color: var(--accent); font-style: normal; transition: transform .2s ease; }
.contact-links a:hover i { transform: translate(2px, -2px); }
.site-footer { padding-block: 20px; background: #0c100d; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner .wordmark { font-size: 11px; }
.footer-inner .wordmark-logo { width: 30px; height: 30px; }
.footer-inner p, .copyright, .back-top { margin: 0; color: var(--muted-dark); font-size: 9px; }
.back-top:hover { color: var(--accent); }

@media (min-width: 1500px) { .hero { min-height: 720px; } }
@media (min-width: 992px) { .main-nav { width: auto; } }
@media (min-width: 992px) { .main-nav .navbar-nav { width: auto; } }
@media (max-width: 980px) {
  .header-inner { width: calc(100% - 48px); gap: 14px; }
  .hero h1 { font-size: clamp(64px, 9vw, 90px); }
  .hero-card { padding: 18px 16px 15px; }
  .code-window pre { padding: 17px 12px; font-size: 9px; }
  .skill-card { min-height: 175px; }
  .project-card { min-height: 218px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .section-shell { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; width: calc(100% - 32px); min-height: 61px; gap: 0 12px; padding: 8px 0; }
  .wordmark { font-size: 12px; }
  .wordmark-logo { width: 32px; height: 32px; }
  .hero h1 { font-size: clamp(68px, 16vw, 96px); }
  .hero-role { margin-top: 17px; }
  .hero-intro { max-width: 390px; font-size: 13px; }
  .hero-socials { margin-top: 30px; }
  .hero-card { max-width: 470px; }
  .code-window pre { font-size: 10px; }
  .ticker-track { gap: 23px; }
  .about-copy { padding-top: 0; }
  h2 { font-size: clamp(36px, 10vw, 48px); }
  .about-copy .lead { font-size: 17px; }
  .skills-section, .projects-section { padding-block: 76px 82px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 16px; }
  .section-aside { max-width: 350px; margin-bottom: 0; }
  .skills-grid { margin-top: 34px; }
  .skill-card { min-height: 182px; padding: 16px 13px; }
  .skill-card h3 { margin-top: 23px; font-size: 14px; }
  .skill-card p { font-size: 10px; }
  .domain-strip { font-size: 10px; }
  .experience-section, .credentials-section { padding-block: 82px; }
  .experience-count { padding: 0; }
  .timeline { margin-top: 42px; }
  .experience-item { padding: 0 0 34px 28px; }
  .experience-date { font-size: 8px; }
  .experience-content h3 { font-size: 18px; }
  .company { font-size: 11px; }
  .experience-description { font-size: 11px; }
  .tag-list span { font-size: 7px; }
  .project-all { margin: 0; }
  .projects-grid { margin-top: 32px; }
  .project-card { min-height: 232px; padding: 15px 12px 13px; }
  .project-card h3 { font-size: 13px; }
  .project-card > p:not(.project-type) { font-size: 9px; }
  .project-type { font-size: 7px; }
  .credentials-grid { margin-top: 36px; }
  .education-item { padding-bottom: 17px; }
  .courses-block { margin-top: 32px; }
  .contact-section { padding-block: 74px 78px; }
  .contact-section h2 { font-size: clamp(44px, 12vw, 58px); }
  .contact-links a { grid-template-columns: 72px 1fr 16px; gap: 6px; }
  .contact-links strong { font-size: 10px; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (max-width: 380px) {
  .section-shell { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 24px); }
  .wordmark { font-size: 10px; }
  .hero-socials { gap: 16px; }
  .hero-stats div { padding-left: 8px; }
  .hero-stats strong { font-size: 20px; }
  .skill-card { min-height: 195px; }
  .project-card { min-height: 248px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Refined visual system: accessible type, calmer surfaces, and consistent accents. */
:root {
  color-scheme: dark;
  --ink: #0d1117;
  --ink-soft: #141b24;
  --ink-card: #1b2531;
  --paper: #f3f6fa;
  --muted: #b5c0cd;
  --muted-dark: #94a3b8;
  --line: rgba(226, 235, 245, .16);
  --line-dark: rgba(226, 235, 245, .11);
  --accent: #68cef4;
  --accent-dim: #68cef4;
  --blue: #9bdcf5;
  --warm: #ffb76b;
  --warm-dim: #ffb76b;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --display: Inter, "Segoe UI", system-ui, sans-serif;
  --text-small: .875rem;
  --text-body: 1rem;
  --text-large: 1.25rem;
  --space-section: clamp(4.5rem, 9vw, 8rem);
}

html { scroll-padding-top: 96px; }
body { background: var(--ink); color: var(--paper); font-size: var(--text-body); line-height: 1.7; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { background: var(--accent); color: var(--ink); font-size: 1rem; }
.section-shell { width: min(1200px, calc(100% - 64px)); }
.site-header { border-color: var(--line-dark); background: rgba(13, 17, 23, .94); }
.header-inner { min-height: 76px; }
.wordmark { font-size: 1rem; }
.wordmark-logo { width: 40px; height: 40px; }
.main-nav a, .print-button { color: var(--muted); font-size: .875rem; }
.main-nav .nav-link { display: flex; min-height: 44px; align-items: center; padding-inline: .875rem; }
.main-nav a:hover, .hero-socials a:hover, .text-link:hover { color: var(--accent); }
.navbar-toggler { min-width: 44px; min-height: 44px; border-color: var(--line); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(104, 206, 244, .32); }
.print-button { min-height: 44px; padding-inline: 1rem; }
.print-button span { color: var(--accent); }
.hero { min-height: 650px; padding-block: 6rem 5.5rem; }
.eyebrow { margin-bottom: 1.25rem; color: var(--accent); font-size: .75rem; letter-spacing: .13em; }
.status-dot { background: var(--warm); box-shadow: 0 0 0 4px rgba(255, 183, 107, .18); }
.hero h1 { font-size: clamp(4rem, 8.5vw, 7.5rem); letter-spacing: -.075em; }
.hero h1 span { color: var(--accent); }
.hero-role { margin-top: 1.5rem; color: #d6dee8; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.hero-role span { color: var(--warm); }
.hero-intro { max-width: 34rem; margin-bottom: 1.75rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.hero-actions { gap: 1.25rem; }
.button { min-height: 48px; padding-inline: 1.125rem; border-radius: 6px; font-size: .9375rem; }
.button-primary { background: var(--warm); color: #1b140e; }
.button-primary:hover { background: #ffca91; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: .9375rem; }
.text-link span, .hero-socials a span { color: var(--accent); }
.hero-socials { gap: 1.5rem; margin-top: 2.5rem; }
.hero-socials a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: .8125rem; }
.hero-card { padding: 1.5rem; border-color: var(--line); border-radius: 12px; background: radial-gradient(ellipse at 90% 5%, rgba(104, 206, 244, .1), transparent 40%), radial-gradient(ellipse at 8% 100%, rgba(255, 183, 107, .065), transparent 38%), var(--ink-soft); box-shadow: 0 24px 64px rgba(0, 0, 0, .25); }
.card-topline, .card-bottomline { color: var(--muted-dark); font-size: .75rem; letter-spacing: .06em; }
.card-index { color: var(--accent); }
.code-window { border-color: var(--line-dark); border-radius: 8px; background: rgba(8, 12, 17, .7); }
.window-controls { height: 36px; color: var(--muted-dark); font-size: .75rem; }
.window-controls i { width: 8px; height: 8px; }
.code-window pre { padding: 1.25rem; color: #e0e8f0; font-size: .8125rem; line-height: 1.8; }
.code-muted { color: #a9bacb; }
.code-blue { color: var(--accent); }
.code-warm { color: var(--warm); }
.code-number { color: var(--blue); }
.hero-stats { margin-bottom: 1.25rem; }
.hero-stats div { padding-left: .875rem; }
.hero-stats strong { font-size: 1.625rem; }
.hero-stats strong span { color: var(--warm); }
.hero-stats div > span { color: var(--muted); font-size: .75rem; }
.card-bottomline { padding-top: .875rem; font-size: .75rem; }
.ticker { border-color: var(--line); background: #111821; }
.ticker-track { gap: 2.25rem; padding-block: 1rem; }
.ticker span { color: #c0cbd7; font-size: .75rem; letter-spacing: .12em; }
.ticker b { color: var(--warm); font-size: .875rem; }
.about-section { padding-block: var(--space-section); }
.section-heading .eyebrow { margin-bottom: 1.25rem; }
h2 { font-size: clamp(2.25rem, 4.7vw, 3.625rem); line-height: 1.08; letter-spacing: -.055em; }
h2 span { color: var(--accent); }
.about-copy { max-width: 40rem; padding-top: 1.5rem; }
.about-copy p { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.about-copy .lead { margin-bottom: 1.125rem; color: var(--paper); font-size: var(--text-large); line-height: 1.55; }
.principles { gap: .5rem; margin-top: 1.5rem; }
.principles span { padding: .4rem .65rem; border-color: var(--line); border-radius: 5px; color: #d3dde7; font-size: .75rem; }
.skills-section { padding-block: 6.5rem 7rem; background: var(--ink-soft); color: var(--paper); }
.skills-section .eyebrow, .experience-section .eyebrow, .credentials-section .eyebrow { color: var(--accent); }
.skills-section h2 span { color: var(--warm); }
.section-heading-row { gap: 2rem; }
.section-aside { max-width: 19rem; color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.skills-grid { margin-top: 3rem; }
.skill-card { min-height: 230px; padding: 1.5rem; border-color: var(--line); border-radius: 10px; background: var(--ink-card); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.skill-card:hover { transform: translateY(-3px); border-color: rgba(104, 206, 244, .55); background: #202d3b; }
.skill-number { color: var(--accent); font-size: .75rem; }
.skill-card:nth-child(even) .skill-number { color: var(--warm); }
.skill-card h3 { margin: 1.5rem 0 .75rem; font-size: 1.125rem; letter-spacing: -.025em; }
.skill-card p { margin: 0; color: var(--muted); font-size: var(--text-small); line-height: 1.75; overflow-wrap: anywhere; }
.domain-strip { gap: .625rem; margin-top: 1.25rem; padding-top: 1rem; border-color: var(--line); color: var(--muted); font-size: .875rem; }
.domain-strip span { color: var(--accent); font-size: .75rem; }
.domain-strip b { color: var(--warm); }
.experience-section { padding-block: var(--space-section); }
.experience-count { color: var(--muted-dark); font-size: .75rem; }
.timeline { margin-top: 3.5rem; }
.timeline::before { background: var(--line); }
.experience-item { padding-bottom: 3rem; }
.timeline-marker { border-color: #8b9aaa; }
.experience-item.current .timeline-marker { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(104, 206, 244, .17); }
.experience-date { color: var(--muted-dark); font-size: .75rem; }
.experience-date span { color: var(--accent); }
.experience-content h3 { font-size: 1.375rem; line-height: 1.35; letter-spacing: -.035em; }
.current-badge { padding: .25rem .5rem; border-color: rgba(104, 206, 244, .5); border-radius: 4px; color: var(--accent); font-size: .75rem; }
.company { margin: .4rem 0 .75rem; color: var(--accent); font-size: .9375rem; }
.company span { color: var(--muted); }
.experience-description { max-width: 42rem; margin-bottom: .875rem; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.tag-list { gap: .5rem; }
.tag-list span { padding: .3rem .55rem; border-color: var(--line); border-radius: 5px; color: #c8d3de; font-size: .75rem; }
.projects-section { padding-block: 6.5rem 7rem; background: #111821; }
.projects-section h2 span { color: var(--warm); }
.project-all { margin-bottom: .35rem; }
.projects-grid { margin-top: 3rem; }
.project-card { min-height: 270px; padding: 1.375rem; border-color: var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(104, 206, 244, .55); background: rgba(104, 206, 244, .07); }
.project-icon { min-width: 40px; height: 40px; border-color: rgba(104, 206, 244, .4); border-radius: 7px; color: var(--accent); font-size: .8125rem; }
.project-card:nth-child(even) .project-icon { border-color: rgba(255, 183, 107, .45); color: var(--warm); }
.project-card:nth-child(even) .project-type { color: var(--warm); }
.project-card:nth-child(even):hover { border-color: rgba(255, 183, 107, .55); background: rgba(255, 183, 107, .07); }
.project-arrow { color: var(--muted); font-size: 1rem; }
.project-type { margin: 1.25rem 0 .5rem; color: var(--accent); font-size: .75rem; letter-spacing: .1em; }
.project-card h3 { margin-bottom: .625rem; font-size: 1.0625rem; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.project-card > p:not(.project-type) { margin-bottom: 1.125rem; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.project-language { gap: .5rem; color: var(--muted); font-size: .75rem; }
.project-language i { width: 8px; height: 8px; }
.projects-note { margin-top: 1rem; color: var(--muted-dark); font-size: .75rem; }
.credentials-section { padding-block: var(--space-section) 7rem; }
.credentials-grid { margin-top: 3.25rem; }
.subsection-title { margin-bottom: 1.5rem; color: var(--paper); font-size: 1.0625rem; letter-spacing: -.02em; }
.education-item { gap: 1rem; padding-bottom: 1.25rem; }
.education-marker { flex-basis: 8px; width: 8px; height: 8px; margin-top: .55rem; background: var(--accent); }
.education-item h4 { margin-bottom: .3rem; color: #e5ebf2; font-size: .9375rem; line-height: 1.55; }
.education-item p { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.certification-list > div { grid-template-columns: 24px 1fr auto; gap: .625rem; padding: .75rem 0; border-color: var(--line); color: #e0e7ef; font-size: .875rem; line-height: 1.5; }
.certification-list b { color: var(--muted); font-size: .75rem; }
.cert-icon { width: 20px; height: 20px; background: rgba(104, 206, 244, .16); color: var(--accent); font-size: .75rem; }
.language-card { gap: .25rem; margin-top: 1.5rem; padding: 1rem; border-color: var(--line); border-radius: 7px; }
.language-label { color: var(--muted); font-size: .75rem; }
.language-card strong { font-size: 1.0625rem; }
.language-card > span:last-child { color: var(--muted); font-size: .875rem; }
.courses-block { margin-top: 3.5rem; padding-top: 2rem; border-color: var(--line); }
.courses-heading .subsection-title { margin-bottom: 1.125rem; }
.courses-heading > span { color: var(--muted); font-size: .75rem; }
.course-list { gap: .5rem; }
.course-list span { padding: .5rem .7rem; border-color: var(--line); border-radius: 5px; color: #cbd5df; font-size: .875rem; line-height: 1.45; }
.contact-section { padding-block: 6.5rem 7rem; border-color: rgba(104, 206, 244, .3); background: radial-gradient(ellipse at 8% 90%, rgba(255, 183, 107, .08), transparent 43%), var(--ink-soft); }
.contact-section .eyebrow { color: var(--warm); }
.contact-section h2 { font-size: clamp(2.75rem, 5.5vw, 4.25rem); }
.contact-section h2 span { color: var(--accent); }
.contact-inner > div:first-child > p:last-child { max-width: 25rem; margin-top: 1.25rem; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.contact-links { border-color: var(--line); }
.contact-links a { grid-template-columns: 6rem minmax(0, 1fr) 1.25rem; gap: .75rem; min-height: 56px; padding: .875rem 0; border-color: var(--line); }
.contact-links a > span { color: var(--warm); font-size: .75rem; }
.contact-links strong { color: var(--paper); font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-links i { color: var(--accent); font-size: 1rem; }
.site-footer { padding-block: 1.25rem; background: #090d12; }
.footer-inner .wordmark { font-size: .875rem; }
.footer-inner .wordmark-logo { width: 34px; height: 34px; }
.footer-inner p, .copyright, .back-top { color: var(--muted); font-size: .75rem; }
.back-top { min-height: 44px; display: inline-flex; align-items: center; }
.back-top:hover { color: var(--accent); }

@media (max-width: 980px) {
  .header-inner { width: calc(100% - 48px); }
  .hero-card { padding: 1.25rem; }
  .code-window pre { padding: 1rem; font-size: .75rem; }
  .skill-card { min-height: 220px; }
  .project-card { min-height: 250px; }
}
@media (max-width: 680px) {
  .hero, .contact-inner { --bs-gutter-x: 1.5rem; }
  html { scroll-padding-top: 76px; }
  .section-shell { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 32px); min-height: 64px; }
  .wordmark { font-size: .875rem; }
  .wordmark-logo { width: 36px; height: 36px; }
  .hero { min-height: 0; padding-block: 4.5rem 4rem; }
  .hero h1 { font-size: clamp(3.75rem, 16vw, 6rem); }
  .hero-role { margin-top: 1.125rem; }
  .hero-intro { font-size: 1rem; }
  .hero-socials { flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 2rem; }
  .hero-card { max-width: 100%; padding: 1.125rem; }
  .card-topline, .card-bottomline { gap: .75rem; font-size: .75rem; }
  .code-window pre { padding: .875rem; font-size: .75rem; }
  .ticker-track { gap: 1.5rem; }
  .ticker span { font-size: .75rem; }
  .about-copy { padding-top: 0; }
  h2 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .about-copy .lead { font-size: 1.125rem; }
  .skills-section, .projects-section { padding-block: 4.75rem 5rem; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .section-aside { max-width: 23rem; margin-bottom: 0; }
  .skills-grid, .projects-grid { margin-top: 2rem; }
  .skills-grid > .skill-card, .projects-grid > .project-card { width: 100%; }
  .skill-card, .project-card { min-height: 0; padding: 1.25rem; }
  .skill-card h3 { margin-top: 1rem; font-size: 1.125rem; }
  .skill-card p, .project-card > p:not(.project-type) { font-size: .9375rem; }
  .domain-strip { align-items: baseline; font-size: .875rem; }
  .experience-section, .credentials-section { padding-block: 4.75rem; }
  .experience-count { padding: 0; }
  .timeline { margin-top: 2.5rem; }
  .experience-item { padding: 0 0 2.25rem 1.75rem; }
  .experience-date { margin-bottom: .25rem; font-size: .75rem; }
  .experience-content h3 { font-size: 1.25rem; }
  .company, .experience-description { font-size: .9375rem; }
  .tag-list span { font-size: .75rem; }
  .project-all { margin: 0; }
  .credentials-grid { margin-top: 2.25rem; }
  .education-item { padding-bottom: 1rem; }
  .courses-block { margin-top: 2.5rem; }
  .contact-section { padding-block: 4.75rem 5rem; }
  .contact-section h2 { font-size: clamp(2.75rem, 11vw, 3.625rem); }
  .contact-links a { grid-template-columns: 5rem minmax(0, 1fr) 1rem; gap: .5rem; }
  .contact-links strong { font-size: .875rem; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (max-width: 380px) {
  .section-shell { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 24px); }
  .hero-socials { gap: .875rem; }
  .hero-stats div { padding-left: .5rem; }
  .hero-stats strong { font-size: 1.375rem; }
  .contact-links a { grid-template-columns: 4.5rem minmax(0, 1fr) .875rem; gap: .375rem; }
}

@media print {
  :root { color-scheme: light; --ink: #fff; --ink-soft: #fff; --ink-card: #fff; --paper: #182019; --muted: #4e594f; --muted-dark: #657066; --line: rgba(16, 20, 17, .2); --line-dark: rgba(16, 20, 17, .12); --accent: #007CA8; --accent-dim: #00688F; --blue: #316b7d; --warm: #B35600; --warm-dim: #A24A00; }
  @page { size: A4; margin: 14mm 15mm; }
  body { background: #fff !important; color: #182019 !important; font-size: 10pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .site-header, .ticker, .hero-socials, .hero-actions, .project-all, .projects-note, .back-top, .skip-link { display: none !important; }
  .section-shell { width: 100%; }
  .hero { min-height: auto; padding-block: 0 22px; }
  .hero h1 { font-size: 44pt; }
  .hero-role { margin-top: 12px; font-size: 15pt; }
  .hero-intro { margin-bottom: 0; font-size: 9pt; }
  .hero-card { padding: 10px; background: #f6f8f2 !important; box-shadow: none; }
  .code-window { margin: 10px 0; background: #fff !important; }
  .code-window pre { padding: 8px; font-size: 7pt; }
  .hero-stats { margin-bottom: 8px; }
  .hero-stats strong { font-size: 15pt; }
  .hero-stats div > span { font-size: 7pt; }
  .card-topline, .card-bottomline { font-size: 6pt; }
  .about-section { padding-block: 20px; }
  h2 { font-size: 25pt; }
  .about-copy { padding-top: 12px; }
  .about-copy p { font-size: 8pt; line-height: 1.45; }
  .about-copy .lead { font-size: 11pt; }
  .principles { margin-top: 8px; }
  .principles span, .tag-list span, .course-list span { padding: 3px 5px; font-size: 6pt; }
  .skills-section, .projects-section, .contact-section { padding-block: 20px; background: #f4f6f0 !important; color: #182019 !important; }
  .section-aside { font-size: 8pt; }
  .skills-grid, .projects-grid { --bs-gutter-x: 7px; --bs-gutter-y: 7px; margin-top: 18px; }
  .skill-card { min-height: auto; padding: 9px; border-color: #c6cec0; break-inside: avoid; }
  .skill-card h3 { margin: 8px 0 4px; font-size: 10pt; }
  .skill-card p { font-size: 7pt; }
  .domain-strip { margin-top: 8px; padding-top: 6px; font-size: 7pt; }
  .domain-strip span { font-size: 6pt; }
  .experience-section, .credentials-section { padding-block: 22px; }
  .timeline { margin-top: 22px; }
  .experience-item { --bs-gutter-x: 12px; padding: 0 0 18px 25px; break-inside: avoid; }
  .experience-date, .tag-list span { font-size: 6pt; }
  .experience-content h3 { font-size: 12pt; }
  .company, .experience-description { margin-bottom: 5px; font-size: 8pt; }
  .credentials-grid { gap: 30px; margin-top: 22px; }
  .subsection-title { margin-bottom: 12px; font-size: 10pt; }
  .education-item { padding-bottom: 8px; }
  .education-item h4 { font-size: 8pt; }
  .education-item p, .certification-list > div { font-size: 7pt; }
  .certification-list > div { padding: 5px 0; }
  .language-card { margin-top: 12px; padding: 8px; }
  .courses-block { margin-top: 20px; padding-top: 15px; }
  .course-list { gap: 4px; }
  .project-card { min-height: 0; padding: 9px; border-color: #c6cec0; background: #fff !important; break-inside: avoid; }
  .project-card-top { display: none; }
  .project-type { margin: 0 0 4px; font-size: 6pt; }
  .project-card h3 { font-size: 9pt; }
  .project-card > p:not(.project-type) { margin-bottom: 7px; color: #4e594f; font-size: 7pt; }
  .project-language { font-size: 6pt; }
  .contact-inner { --bs-gutter-x: 20px; }
  .contact-section h2 { font-size: 26pt; }
  .contact-section h2 span { color: var(--accent-dim); }
  .contact-links a { grid-template-columns: 61px 1fr 10px; padding: 7px 0; }
  .contact-links strong { font-size: 8pt; }
  .site-footer { padding-block: 12px; background: #fff !important; }
  .footer-inner { justify-content: space-between; }
  .footer-inner p, .copyright { font-size: 7pt; }
  a { text-decoration: none !important; }
}
