:root {
  color-scheme: dark;
  --bg: #091521;
  --paper: #102439;
  --ink: #edf4f9;
  --muted: #a9bdcb;
  --blue: #93c9e8;
  --blue-dark: #b1d9ef;
  --blue-light: #183a55;
  --line: #284054;
  --section: #0e1f30;
}

body { background: var(--bg); color: var(--ink); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.social-icon { width: 19px; height: 19px; flex: none; color: #9dcfe9; }
::selection { background: #467ca1; color: #fff; }
.skip-link { background: #9dd0eb; color: #071521; }
.site-header { background: rgba(9, 21, 33, .94); border-color: var(--line); }
.brand-dot, .footer-brand span { color: var(--blue); }
.primary-nav a { color: #b3c3ce; }
.primary-nav a:hover { color: var(--blue); }
.language-switch { color: #7890a1; }
.language-switch button { color: #7c93a4; }
.language-switch button.active { color: #eef7fc; }
.header-cv { border-color: #45647a; color: #d3e6f1; }
.header-cv:hover { background: #8fc5e3; border-color: #8fc5e3; color: #081521; }
.menu-toggle span { background: var(--ink); }

.hero::before {
  background-image: linear-gradient(rgba(129, 187, 221, .085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 187, 221, .085) 1px, transparent 1px);
}
.hero .eyebrow-line { background: #80bcdf; box-shadow: 0 0 0 5px #19344b; }
.hero h1 em { color: #91c6e5; }
.hero h1 em span { color: #c1e1f2; }
.hero-role { color: #c3d5e1; }
.hero-specialties { color: #9cb5c6; }
.hero-specialties span { color: #5d95ba; }
.button-primary { background: #81b9db; color: #081725; box-shadow: 0 14px 32px rgba(0, 0, 0, .24); }
.button-primary:hover { background: #abd9f0; }
.button-text { border-color: #527b96; color: #dfedf5; }
.hero-socials a { color: #a7c0d1; border-color: #36556b; }
.hero-socials a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }
.hero-socials a:hover { color: #b9e0f3; border-color: #8dc6e6; }
.hero-socials a:hover .social-icon, .contact-section a:hover .social-icon { color: #d5effb; }
.hero-socials span { color: var(--blue); }
.ticker { padding: 17px 0; border-color: #28465d; background: #10283c; }
.ticker-track { display: flex; width: max-content; min-width: 0; animation: marquee 38s linear infinite; }
.ticker-group { display: flex; flex: none; align-items: center; white-space: nowrap; }
.ticker-group span { padding: 0 24px; color: #c1d8e7; font: 600 12px var(--mono); letter-spacing: .08em; }
.ticker-group b { color: #76b2d3; font-size: 13px; font-weight: 400; }

.section-label span:first-child { border-color: #41647c; }
.section-heading span { color: #99cce9; }
.about-grid { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 8%; }
.about-photo {
  width: 100%; max-width: 265px; margin-inline: auto;
  background: #17324a; border: 1px solid #33536a;
  box-shadow: 13px 13px 0 #18364d, 0 23px 50px rgba(0, 0, 0, .23);
}
.about-content p { color: #adbfcd; }
.about-content p:first-of-type { color: #e0edf5; }

.experience-section, .skills-section { background: var(--section); border-color: #20394d; }
.timeline, .timeline-item, .certifications { border-color: #2b4356; }
.timeline-date span:first-child { color: #6f91a8; }
.timeline-type { color: #98b4c7; }
.timeline-main p { color: #aec1cf; }
.timeline-place small { color: #8da6b7; }
.tags span { color: #bfdaea; border-color: #35556d; background: #162d40; }
.education-band { background: #172f45; }
.education-icon { background: #254e6b; color: #b6def0; }
.education-band p { color: #a8becd; }

.project-card { background: #11263a; border-color: #304a60; }
.project-card:hover { box-shadow: 0 18px 35px rgba(0, 0, 0, .24); }
.project-art, .featured-project .project-art { background: #15334b; }
.art-grid {
  background-image: linear-gradient(rgba(153, 202, 229, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 202, 229, .09) 1px, transparent 1px);
}
.roadmap-node { background: #21445f; border-color: #5d91b2; color: #d1ebf7; }
.roadmap-node.n2 { background: #82b9d8; border-color: #82b9d8; color: #0b2234; }
.roadmap-path { background: repeating-linear-gradient(90deg, #72aacd 0 6px, transparent 6px 12px); }
.art-face { background: #17334a; }
.scan-corner { border-color: #8bc5e5; }
.scan-circle { background: #4e7c9b; box-shadow: 0 55px 0 13px #4e7c9b; }
.scan-line { background: #a0daf2; box-shadow: 0 0 12px #72b6dc; }
.art-flight { background: #172d42; }
.chart-visual { border-color: #6495b5; }
.chart-visual span { background: linear-gradient(#86c1e1, #356180); }
.chart-line { color: #84bad8; }
.art-hr { background: #18354c; }
.hr-visual { background: #21445f; border-color: #6b9dbd; box-shadow: 12px 15px 0 #2c5572; }
.hr-avatar { background: #79abc9; }
.hr-row { background: #78a8c4; }
.hr-row.short { background: #537d9a; }
.project-meta { color: #95b4c8; }
.project-info p { color: #b1c4d0; }
.project-footer a { background: #1d3a51; border-color: #436782; color: #b5ddf1; }
.project-footer a:hover { background: #93c9e8; color: #091521; }
.all-projects { border-color: #6096b8; color: #a7d4ec; }

.skill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-color: #2d475a; }
.skill-group { min-height: 225px; padding: 27px 25px 29px; border-color: #2d475a; transition: background .2s; }
.skill-group:hover { background: #152d42; }
.skill-group h3 { color: #e8f3f8; margin-bottom: 18px; }
.skill-tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; }
.skill-tags span {
  display: inline-block; padding: 6px 8px; border: 1px solid #36576f;
  border-radius: 3px; background: #162f43; color: #bed8e7;
  font: 500 10px/1.25 var(--mono);
}
.certifications li { border-color: #2d475a; color: #cfdfeb; }
.certifications li { font-size: 14px; line-height: 1.6; padding: 13px 0; }
.certifications li a:hover, .certifications a:hover li { color: #a8d8ee; }

.contact-section { background: #07131e; border-top: 1px solid #254055; color: #f0f7fb; }
.contact-section h2 em { color: #a8d8ee; }
.contact-email { border-color: #6794af; }
.contact-email .social-icon { width: 23px; height: 23px; align-self: center; }
.contact-email span, .contact-side a span:last-child { color: #a8d8ee; }
.contact-side a { border-color: #355064; }
.contact-side a { font-size: 14px; }
.contact-social-label { display: inline-flex; align-items: center; gap: 11px; }
.site-footer { background: #050f19; color: #97b1c2; }
.footer-inner > a:last-child { color: #c3d9e6; }

@media (max-width: 1050px) {
  .skill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ticker { padding: 14px 0; }
  .ticker-group span { padding: 0 18px; font-size: 11px; }
  .primary-nav { background: #0c1d2d; border-color: #2d475a; box-shadow: 0 20px 35px rgba(0, 0, 0, .3); }
  .primary-nav a { border-color: #2d475a; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 225px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-group { min-height: 0; }
}
@media (max-width: 440px) {
  .about-photo { max-width: 190px; }
}
