/* DESIGN SETTINGS — content is editable through the private /admin panel. */
:root {
  color-scheme: dark;
  --accent: #8ce8e2;
  --accent-soft: #152c30;
  --ink: #f1f0ed;
  --muted: #a5afb8;
  --line: #29343b;
  --paper: #0b1014;
  --soft: #121a20;
  --width: 1180px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 106px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; }
a { color: inherit; text-decoration: none; transition: color .18s, background .18s, border-color .18s; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
::selection { color: #0b1014; background: var(--accent); }
.custom-section p,.custom-project p,.custom-certificate p { color: var(--muted); margin-top: 14px; }
.custom-section h2 { font-size: 27px; }
.custom-certificate { padding: 26px 0; border-bottom: 1px solid var(--line); }
.custom-link { display: inline-block; color: var(--accent); margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
.portfolio-image { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 6px; margin: 24px 0; }
figure.portfolio-image { padding: 16px 0; }
.portfolio-image figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }
.custom-project .portfolio-image { margin-top: 0; }
.project-media { margin: 0; background: #0e181e; border-bottom: 1px solid var(--line); }
.project-media > a,.portfolio-photo > a { display: block; position: relative; }
.project-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: top; }
.project-media figcaption,.portfolio-photo figcaption { color: #b2c8ce; font: 11px/1.6 var(--sans); padding: 11px 18px; }
.media-zoom { position: absolute; right: 12px; bottom: 12px; border: 1px solid #6d9698; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; background: #0b1014d9; color: var(--accent); }
.project-media a:hover .media-zoom { background: var(--accent); color: #0b1014; }
.portfolio-photo { margin: 24px 0; max-width: 720px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.portfolio-photo img { display: block; width: 100%; height: auto; }
.infrastructure-intro { max-width: 720px; color: #b5c8ce; font-size: 16px; line-height: 1.8; }
.infrastructure-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 28px 0; }
.infrastructure-grid article { padding: 22px; border: 1px solid #344b57; border-radius: 5px; background: #121b21; }
.infrastructure-grid h3 { font-size: 16px; margin-bottom: 10px; }
.infrastructure-grid p,.infrastructure-example p { color: #b0c3cc; font-size: 14px; line-height: 1.8; }
.infrastructure-example { border-left: 2px solid var(--accent); padding: 5px 0 5px 22px; max-width: 820px; }
.infrastructure-example h3 { font-size: 18px; margin-bottom: 10px; }
@media(max-width:700px) { .infrastructure-grid { grid-template-columns:1fr; gap:12px; } .infrastructure-intro { font-size:15px; } }
@media print { .project-media,.portfolio-photo { display:none; } .infrastructure-grid { grid-template-columns:repeat(3,1fr); } .infrastructure-grid p,.infrastructure-example p { color:#4e5867; font-size:10px; } }
svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: #0b1014ed; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-shell { max-width: 1340px; min-height: 88px; margin: auto; padding: 0 40px; display: flex; align-items: center; gap: 30px; }
.wordmark { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-symbol { position: relative; font: 800 38px/1 var(--sans); letter-spacing: -3px; width: 35px; }
.brand-symbol > span { position: absolute; top: -3px; right: -4px; color: var(--accent); font-size: 24px; font-weight: 400; }
.brand-name { font-size: 10px; font-weight: 650; line-height: 1.5; letter-spacing: 1.1px; }
.brand-name > span { display: block; color: var(--muted); font: 7px/1.6 var(--mono); letter-spacing: .4px; margin-top: 4px; }
nav { margin-left: auto; display: flex; align-items: center; gap: 25px; font-size: 11px; color: #b2b2bc; }
nav a { position: relative; padding: 32px 0; }
nav a[aria-current="location"] { color: var(--ink); }
nav a[aria-current="location"]:after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); position: absolute; left: calc(50% - 2px); bottom: 20px; }
.nav-contact { border: 1px solid #45454e; border-radius: 6px; padding: 9px 15px; white-space: nowrap; font-size: 11px; }
.nav-contact > span { margin-left: 16px; color: var(--accent); }

/* HERO — typography and an original, lightweight SVG illustration. */
.hero { padding-top: 35px; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; }
.availability { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #375457; border-radius: 30px; background: #8ce8e20a; padding: 5px 11px; color: #b1eee5; font: 10px/1.5 var(--mono); white-space: nowrap; }
.availability > span, .tiny-dot { display: inline-block; width: 5px; height: 5px; background: var(--accent); box-shadow: 0 0 9px #8ce8e255; border-radius: 50%; }
.location { font: 9px/1.5 var(--mono); letter-spacing: 1.3px; color: var(--muted); }
.location > span { margin-left: 12px; color: var(--accent); }
.hero-layout { display: grid; grid-template-columns: 1.06fr 1fr; gap: 35px; align-items: center; min-height: 568px; }
.hero-copy { padding: 38px 0 36px; }
.eyebrow { font: 9px/1.7 var(--mono); letter-spacing: 1px; color: #a8bac4; margin-bottom: 21px; }
.eyebrow > span { color: var(--accent); }
h1 { font-size: clamp(72px, 8.9vw, 126px); font-weight: 650; letter-spacing: -.07em; line-height: .91; }
.surname { display: block; }
.name-period { color: var(--accent); }
.role { display: flex; align-items: center; gap: 12px; color: #d0dfe4; font-size: 14px; margin-top: 25px; }
.role-line { width: 23px; height: 1px; background: var(--accent); }
.hero-pitch { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 490px; margin-top: 18px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; max-width: 470px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 5px; min-height: 47px; padding: 10px 15px; font-size: 11px; font-weight: 650; }
.button-primary { background: var(--accent); border: 1px solid var(--accent); color: #092123; }
.button-primary:hover { background: #b5fff7; border-color: #b5fff7; color: #092123; }

.button-secondary { background: #15232c; border: 1px solid #3c5563; gap: 22px; }
.button-secondary:hover { border-color: var(--accent); background: var(--accent-soft); }
.social-placeholder { font-size: 10px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.coming-soon { font: 7px/1.4 var(--mono); border: 1px solid #39525d; padding: 1px 3px; border-radius: 2px; }
.hero-art { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero-art:before { content: ""; position: absolute; inset: 45px -15px 35px; z-index: -1; background: radial-gradient(ellipse at 55% 48%, #366f7716, transparent 67%); }
.hero-art img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.art-topline, .art-bottomline { display: flex; align-items: center; justify-content: space-between; font: 8px/1.5 var(--mono); letter-spacing: 1px; color: #92a8b4; }
.art-topline { padding: 0 10px 10px; border-bottom: 1px solid #293b44; margin-top: 30px; }
.art-topline > span:last-child { color: var(--accent); font-size: 15px; }
.art-bottomline { justify-content: center; gap: 23px; padding-bottom: 30px; }
.art-bottomline span + span:before { content: "/"; margin-right: 23px; color: #46606b; }
.hero-bottom { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 19px 0; font: 9px/1.5 var(--mono); color: #8fa0aa; letter-spacing: .8px; }
.hero-bottom a { color: #d9e7ec; font-size: 10px; letter-spacing: 0; }
.hero-bottom a > span { margin-left: 13px; color: var(--accent); }

/* Proof points. */
.quick-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 19px; background: linear-gradient(115deg,#172128,#121b21); border: 1px solid #30424c; border-radius: 9px; padding: 27px 0; }
.fact { border-right: 1px solid #30424c; padding: 0 29px; }
.fact:last-child { border: 0; }
.fact > strong { display: block; font-size: 41px; font-weight: 550; line-height: 1.25; letter-spacing: -1.5px; margin-bottom: 8px; }
.fact > strong > span:not(.tiny-dot) { color: var(--accent); font-size: 31px; }
.fact > strong.fact-word { display: flex; align-items: center; gap: 9px; font-size: 27px; min-height: 51px; letter-spacing: -.8px; }
.fact p { font-size: 11px; color: #a9b8c0; line-height: 1.7; }

/* Section rhythm. */
.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 13px; margin-bottom: 32px; }
.section-number { font: 10px/1.5 var(--mono); color: var(--accent); flex-shrink: 0; }
h2 { font-size: 30px; font-weight: 550; letter-spacing: -1.1px; line-height: 1.3; }
.section-caption { margin-left: auto; color: #a3b5bf; font: 9px/1.5 var(--mono); }
h3 { font-size: 15px; font-weight: 550; line-height: 1.5; }
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; }
.about-copy { color: #aab8c1; font-size: 13px; line-height: 1.95; }
.section-intro { font-size: 32px; color: #f1f0ed; font-weight: 500; line-height: 1.25; letter-spacing: -1px; margin-bottom: 23px; }
.section-intro > span { color: #829ba7; }
.targets { border: 1px solid #344b57; background: linear-gradient(135deg,#1b2c36,#111b21); border-radius: 8px; padding: 22px 25px; }
.panel-symbol { display: block; color: var(--accent); font-size: 29px; line-height: 1; margin-bottom: 25px; }
.targets h3 { font: 10px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 16px; color: #e2edf1; }
.targets ul { list-style: none; font-size: 12px; color: #b0c2cb; }
.targets li + li { margin-top: 11px; }
.targets li:before { content: "↗"; margin-right: 9px; color: var(--accent); }

/* Skills are text, not self-assessed percentages. */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.skill-group { position: relative; padding: 26px 27px; border: 1px solid var(--line); border-radius: 7px; background: #121b21; transition: border-color .2s, background .2s; }
.skill-group:hover { border-color: #527480; background: #192730; }
.skill-group h3 { font-size: 15px; margin-bottom: 18px; letter-spacing: -.2px; }
.skill-symbol { position: absolute; right: 25px; top: 23px; color: var(--accent); font-size: 17px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { font-size: 10px; padding: 5px 9px; border: 1px solid #364b57; color: #bfccd3; border-radius: 4px; background: #1e2c35; line-height: 1.5; }
.mono-chips li { color: #b1eee5; font: 10px/1.5 var(--mono); }
.skill-note { color: #a2b4bf; font-size: 10px; margin-top: 12px; }
.lab-note { color: #8aa9b6; font: 16px/1.7 var(--mono); margin-top: 22px; letter-spacing: -.4px; }

/* Experience. */
.experience-list { border-left: 1px solid #3c515b; margin-left: 6px; padding-left: 33px; }
.experience-item { position: relative; }
.experience-item:before { content: ""; position: absolute; width: 7px; height: 7px; border: 5px solid var(--paper); box-sizing: content-box; background: var(--accent); left: -42px; top: 8px; border-radius: 50%; }
.experience-item + .experience-item { margin-top: 43px; }
.experience-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.experience-top h3 { font-size: 26px; font-weight: 500; letter-spacing: -.9px; }
.experience-top a > span[aria-hidden] { color: var(--accent); margin-left: 6px; font-size: 22px; }
.small-label { font: 8px/1.5 var(--mono); letter-spacing: .8px; color: #aabdc5; background: #1e2c35; border: 1px solid #364b57; padding: 5px 9px; border-radius: 3px; }
.job-role { color: #b8cbd5; font-size: 12px; margin: 5px 0 17px; }
.detail-list { color: var(--muted); font-size: 13px; padding-left: 17px; max-width: 850px; line-height: 1.9; }
.detail-list li + li { margin-top: 7px; }
.detail-list li::marker { color: #7eabb7; }

/* Project studies, with illustrative workflows instead of invented screenshots. */
.project-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { background: #121a20; border: 1px solid #30424c; border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.project-card:hover { transform: translateY(-4px); border-color: #77c8c7; }
.project-visual { position: relative; height: 216px; padding: 24px; border-bottom: 1px solid #30424c; background: radial-gradient(ellipse at 60% 40%,#498c9d26,transparent 70%),#14212a; overflow: hidden; }
.project-index { display: block; font: 8px/1.5 var(--mono); letter-spacing: .7px; color: #aec5d1; margin-bottom: 20px; }
.project-body { padding: 25px 23px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -.6px; }
.project-type { font: 9px/1.7 var(--mono); color: #a0dfdf; margin: 6px 0 15px; }
.project-body p:not(.project-type) { font-size: 12px; color: #a6b8c3; line-height: 1.85; margin-bottom: 22px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-top: auto; }
.project-tags li { font: 8px/1.5 var(--mono); color: #bbcdd6; padding: 4px 7px; border: 1px solid #35515d; border-radius: 3px; }
.message-line, .message-reply { font: 9px/1.5 var(--mono); display: flex; align-items: center; justify-content: space-between; border: 1px solid #4d7684; border-radius: 5px; padding: 11px 13px; max-width: 235px; color: #d0e2e8; background: #1d3440; }
.message-line { gap: 10px; justify-content: flex-start; }
.message-icon { font-size: 17px; color: var(--accent); }
.workflow-line { display: flex; align-items: center; justify-content: center; gap: 10px; font: 10px/1.5 var(--mono); color: #a4ece7; padding: 12px 0; }
.workflow-line span { height: 1px; width: 26px; background: #487884; }
.workflow-line strong { font-weight: 400; }
.message-reply { margin-left: 25px; background: #8ce8e2; color: #102b30; border-color: #8ce8e2; }
.terminal-bar { background: #21323c; display: flex; align-items: center; gap: 5px; border: 1px solid #3a5662; border-bottom: 0; border-radius: 5px 5px 0 0; padding: 9px 10px; }
.terminal-bar i { display: block; width: 4px; height: 4px; background: #7f9fab; border-radius: 50%; }
.terminal-bar > span { margin-left: auto; color: #a6c0cd; font: 7px/1.5 var(--mono); }
.terminal-content { padding: 12px; background: #0c171e; border: 1px solid #3a5662; border-radius: 0 0 5px 5px; }
.terminal-content p { font: 8px/1.9 var(--mono); color: #bdd5df; }
.terminal-content p > span { color: var(--accent); margin-right: 4px; }
.terminal-cursor { display: block; height: 11px; color: var(--accent); font: 10px/1 var(--mono); }
.visual-cloud svg { display: block; width: 100%; height: 150px; stroke: none; }

/* Qualifications and education. */
.certificate-list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 0 45px; }
.certificate-list li { display: flex; gap: 15px; align-items: flex-start; border-bottom: 1px solid #293a44; padding: 17px 0; font-size: 12px; }
.cert-icon { color: var(--accent); font-size: 21px; line-height: 1.3; }
.certificate-list strong { font-weight: 450; }
.certificate-list li div > span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.learning { background: #192c35; border: 1px solid #355663; border-radius: 5px; padding: 15px 18px; margin-top: 26px; color: #b5ced9; font-size: 11px; }
.learning-label { font: 9px/1.6 var(--mono); color: #b1eee5; margin-right: 15px; }
.education-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.education-item h3 { font-size: 22px; font-weight: 500; letter-spacing: -.5px; }
.education-item p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.student-label { font: 9px/1.6 var(--mono); padding: 6px 10px; border: 1px solid #35515d; background: #1a2b35; border-radius: 3px; color: #c4dce5; }
.languages { display: flex; gap: 75px; margin-top: 30px; }
.languages p { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.languages strong { font-weight: 500; }
.languages span { color: var(--muted); font-size: 11px; }
.additional { border-bottom: 1px solid var(--line); display: flex; gap: 25px; padding: 23px 0; font-size: 11px; color: var(--muted); }
.additional strong { color: #c8dce5; font-weight: 500; }

/* Contact — the final invitation. */
.contact { position: relative; padding: 65px 0; background: radial-gradient(ellipse at 85% 100%,#36758315,transparent 55%); }
.contact .section-heading > .availability { margin-left: auto; }
.contact > h3 { font-size: clamp(48px,6.7vw,88px); letter-spacing: -4px; font-weight: 500; line-height: 1.2; margin: 20px 0; }
.contact > p:not(.local-phone) { max-width: 500px; color: var(--muted); font-size: 13px; }
.contact-email { display: inline-flex; align-items: center; gap: 50px; font-size: 27px; letter-spacing: -.8px; color: #b7ede9; margin-top: 29px; }
.contact-email > span { background: var(--accent); color: #102b30; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; width: 39px; height: 39px; font-size: 23px; transition: transform .2s; }
.contact-email:hover > span { transform: rotate(45deg); }
.contact-details { display: flex; gap: 25px; margin-top: 21px; font: 11px/1.7 var(--mono); color: #b3c9d3; }
.contact-details > span { border-left: 1px solid #385560; padding-left: 25px; }
.local-phone { font-size: 10px; color: #91a9b5; margin-top: 6px; }
.site-footer { display: flex; align-items: center; gap: 35px; min-height: 100px; color: #99b0bc; font: 10px/1.5 var(--mono); }
.site-footer > a:first-of-type { margin-left: auto; }
.site-footer a > span { color: var(--accent); margin-left: 9px; }
.skip-link { position: fixed; top: -80px; left: 18px; background: var(--accent); color: #0b1014; padding: 10px 15px; border-radius: 5px; z-index: 100; }
.skip-link:focus { top: 12px; color: #0b1014; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .nav-shell { gap: 25px; padding-inline: 30px; }
  .brand-name { display: none; }
  .nav-contact { padding-inline: 11px; }
  nav { gap: 21px; }
  .hero-layout { gap: 10px; min-height: 540px; }
  h1 { font-size: 104px; }
  .hero-actions { max-width: 370px; }
  .hero-actions .social-placeholder { margin-top: 2px; }
  .fact { padding-inline: 23px; }
  .fact > strong.fact-word { font-size: 24px; }
  .about-grid { gap: 35px; }
  .project-visual { padding: 20px 17px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .nav-shell { padding-inline: 24px; gap: 23px; min-height: 82px; }
  .nav-contact { display: none; }
  nav { display: grid; grid-template-columns: repeat(3,auto); gap: 2px 20px; flex: 1; margin-left: 0; font-size: 10px; }
  nav a { padding: 5px 0; }
  nav a[aria-current="location"]:after { bottom: 2px; left: auto; right: 5px; width: 3px; height: 3px; }
  .hero { padding-top: 28px; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 40px 0 0; }
  h1 { font-size: clamp(85px,17vw,122px); }
  .eyebrow { font-size: 8px; letter-spacing: .6px; }
  .hero-pitch { font-size: 13px; max-width: 580px; }
  .hero-actions { max-width: 470px; }
  .hero-art { margin: 30px auto 0; width: min(100%,520px); }
  .hero-art img { max-height: 350px; }
  .art-topline { margin-top: 0; }
  .art-bottomline { padding-bottom: 20px; }
  .hero-bottom { font-size: 7px; letter-spacing: .5px; gap: 20px; }
  .hero-bottom a { font-size: 9px; white-space: nowrap; }
  .quick-facts { grid-template-columns: repeat(2,1fr); padding: 0; margin-top: 15px; }
  .fact { padding: 22px 25px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid #30424c; }
  .fact > strong { font-size: 36px; }
  .fact > strong.fact-word { font-size: 25px; min-height: 45px; }
  .section { padding: 48px 0; }
  .section-heading { margin-bottom: 26px; gap: 10px; }
  h2 { font-size: 27px; }
  .section-caption { font-size: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-intro { font-size: 31px; }
  .targets { padding: 23px; }
  .panel-symbol { margin-bottom: 17px; }
  .skills-grid { grid-template-columns: 1fr; gap: 12px; }
  .skill-group { padding: 23px; }
  .project-list { grid-template-columns: 1fr; gap: 20px; }
  .project-visual { height: 230px; padding: 24px; }
  .project-visual > :not(.project-index) { max-width: 330px; margin-inline: auto; }
  .message-line { margin-left: 0!important; }
  .message-reply { margin-right: 0!important; }
  .project-body { padding: 25px; }
  .project-body h3 { font-size: 24px; }
  .project-type { font-size: 10px; }
  .project-body p:not(.project-type) { font-size: 13px; }
  .project-tags li { font-size: 9px; }
  .certificate-list { grid-template-columns: 1fr; }
  .certificate-list li { padding: 15px 0; }
  .experience-top { flex-direction: column; align-items: flex-start; gap: 7px; }
  .experience-top h3 { font-size: 23px; }
  .experience-list { padding-left: 25px; }
  .experience-item:before { left: -34px; }
  .experience-top .small-label { font-size: 7px; }
  .education-item { flex-direction: column; gap: 15px; }
  .languages { gap: 20px; flex-direction: column; }
  .additional { flex-direction: column; gap: 4px; }
  .learning-label { display: block; margin-bottom: 4px; }
  .contact > h3 { font-size: 54px; letter-spacing: -2.8px; margin-top: 20px; }
  .contact-email { font-size: 23px; gap: 25px; }
  .site-footer { gap: 15px; font-size: 8px; min-height: 90px; }
  .back-top { display: none; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 36px); }
  .nav-shell { padding-inline: 18px; gap: 22px; }
  nav { gap: 2px 12px; font-size: 9px; }
  h1 { font-size: 88px; }
  .role { font-size: 11px; gap: 8px; }
  .eyebrow { font-size: 7px; letter-spacing: .2px; }
  .location { font-size: 8px; letter-spacing: .5px; }
  .hero-actions { gap: 10px; }
  .button { padding-inline: 12px; font-size: 10px; }
  .button-secondary { gap: 16px; }
  .hero-art img { max-height: 290px; }
  .hero-bottom > span { max-width: 145px; }
  .fact { padding: 20px; }
  .fact > strong.fact-word { font-size: 22px; }
  .fact p { font-size: 10px; }
  .section-caption { display: none; }
  .contact-email { font-size: 20px; gap: 15px; }
  .contact-email > span { width: 32px; height: 32px; font-size: 20px; }
  .contact-details { font-size: 9px; gap: 15px; }
  .contact-details > span { padding-left: 15px; }
  .contact .availability { font-size: 8px; }
}

/* Datacenter identity: clear actions, rack geometry, and work-first browsing. */
body { background-image: radial-gradient(ellipse at 80% 0,#21485122,transparent 35%); }
nav { font-size: 12px; gap: 22px; }
.hero-layout { grid-template-columns: 1fr 1.08fr; min-height: 555px; gap: 28px; }
.hero-pitch { font-size: 14px; }
.hero-art { isolation: isolate; }
.hero-art:before { inset: 55px 0 70px; background: linear-gradient(#8ce8e208 1px,transparent 1px),linear-gradient(90deg,#8ce8e208 1px,transparent 1px),radial-gradient(ellipse at 60% 55%,#326e7738,transparent 70%); background-size: 36px 36px,36px 36px,100% 100%; mask-image: radial-gradient(ellipse,black 30%,transparent 72%); }
.hero-art img { max-height: 475px; }
.art-topline { margin-top: 10px; padding-bottom: 14px; }
.art-topline > span.schematic-label { font-size: 8px; color: #9db7c2; letter-spacing: .5px; }
.art-bottomline { padding-bottom: 16px; }
.hero-actions { gap: 12px; max-width: none; }
.button { min-height: 52px; padding: 13px 20px; font-size: 13px; gap: 24px; line-height: 1.4; white-space: nowrap; flex: 0 0 auto; border-radius: 4px; }
.button-primary { box-shadow: 0 0 25px #8ce8e211; }
.button-primary > span { font-size: 21px; line-height: 1; }
.cv-button { background: transparent; border-color: #4a636f; color: #e5eef2; gap: 18px; }
.cv-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-socials { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 20px; font-size: 12px; color: #b0c4ce; }
.hero-socials .social-placeholder { font-size: 11px; }
.social-divider { height: 14px; width: 1px; background: #3c515b; }
.quick-facts { background: #132029; border-radius: 4px; }
.section-caption { font-size: 10px; }
.work-section { padding-top: 70px; }
.work-section .section-heading { margin-bottom: 24px; }
.work-section h2 { font-size: 44px; letter-spacing: -1.8px; }
.work-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; margin-bottom: 35px; }
.work-intro > p { font-size: 24px; line-height: 1.4; letter-spacing: -.6px; }
.work-intro > p > span { color: #8aa5b2; }
.work-intro > span { color: var(--muted); font-size: 14px; max-width: 360px; }
.project-card { border-radius: 5px; }
.project-card:hover { transform: translateY(-3px); }
.project-visual { height: 275px; padding: 22px 26px; background: radial-gradient(ellipse at 60% 10%,#28505e55,transparent 80%),#12212a; }
.project-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.project-index { margin: 0; font-size: 10px; letter-spacing: .6px; }
.work-status, .visual-caption { font: 9px/1.5 var(--mono); letter-spacing: .5px; color: #a8c4d0; }
.work-status { display: flex; gap: 6px; align-items: center; }
.work-status:before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #8ce8e2; }
.project-body { padding: 28px; }
.project-body h3 { font-size: 28px; }
.project-type { font: 14px/1.6 var(--sans); color: #c4e9ec; margin: 5px 0 14px; }
.project-body p:not(.project-type) { font-size: 14px; line-height: 1.8; margin-bottom: 22px; }
.project-tags li { font-size: 10px; padding: 5px 8px; }
.project-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.project-action > span { color: #9db4c0; font-size: 11px; }
.project-action > a { font-size: 13px; color: #c9f8f1; white-space: nowrap; }
.project-action > a > span { margin-left: 7px; }
.project-action > a:hover { color: white; }
.cloud-diagram { max-width: 400px; margin: 0 auto; }
.provider-row { display: flex; justify-content: space-between; gap: 16px; }
.provider-row > span { border: 1px solid #4b707f; background: #1e3541; border-radius: 4px; padding: 11px 8px; font: 9px/1.5 var(--mono); color: #bed7e1; text-align: center; flex: 1; }
.cloud-connections { height: 32px; width: 73%; margin: auto; border: 1px solid #5a8a94; border-top: 0; position: relative; }
.cloud-connections:before { content: ''; position: absolute; height: 32px; border-left: 1px solid #5a8a94; left: 50%; }
.cloud-connections:after { content: ''; position: absolute; height: 13px; border-left: 1px solid #8ce8e2; left: 50%; bottom: -13px; }
.cloud-platform { display: flex; gap: 10px; justify-content: center; align-items: center; width: max-content; margin: 12px auto 0; border: 1px solid #79b9bc; background: #284c55; color: #e1fffa; padding: 12px 22px; border-radius: 5px; font-size: 20px; box-shadow: 0 0 40px #8ce8e212; position: relative; }
.cloud-platform > span:first-child { font-size: 27px; color: var(--accent); }
.platform-sub { font: 8px/1.5 var(--mono); border-left: 1px solid #60858e; padding-left: 14px; margin-left: 4px; max-width: 65px; }
.cloud-endpoints { display: flex; justify-content: center; gap: 16px; margin-top: 18px; font: 9px/1.5 var(--mono); color: #9cbac7; }
.saya-flow { max-width: 370px; padding-top: 8px; margin: auto; }
.message-line,.message-reply { max-width: none; font-size: 11px; padding: 14px 16px; }
.message-line { width: 90%; }
.message-reply { width: 83%; margin-left: auto; }
.workflow-line { font-size: 10px; padding: 19px 0; gap: 14px; }
.nf-terminal { max-width: 390px; margin: auto; }
.terminal-bar { padding: 11px 14px; }
.terminal-bar > span { font-size: 9px; }
.terminal-bar i { width: 5px; height: 5px; }
.terminal-content { padding: 16px 20px; }
.terminal-content p { font-size: 11px; line-height: 2; }
.terminal-content p > span { margin-right: 13px; color: #8ac4cf; }
.terminal-cursor { margin-top: 3px; }
.visual-store { background: #1a252d; }
.store-preview { max-width: 400px; margin: auto; background: #d9d9ce; color: #27302e; border-radius: 4px; overflow: hidden; }
.store-header { display: flex; align-items: center; gap: 16px; padding: 10px 15px; border-bottom: 1px solid #a5afa3; }
.store-header > strong { font-size: 11px; letter-spacing: 1.3px; }
.store-header > span { font: 6px/1.5 var(--mono); }
.store-header > span:last-child { margin-left: auto; font-size: 14px; }
.store-display { display: flex; justify-content: space-between; padding: 14px 22px 10px; height: 127px; }
.store-title { font-family: Georgia,serif; font-size: 29px; line-height: 1.05; letter-spacing: -1px; }
.store-title > span { display: block; font: 7px/1.5 var(--mono); margin-top: 12px; letter-spacing: .4px; }
.store-garment { width: 120px; background: #c0caba; display: grid; place-items: center; border-radius: 55% 55% 0 0; }
.store-garment svg { width: 100px; height: 100px; fill: #73887b; stroke: #486052; stroke-width: 1; }
.store-foot { display: flex; gap: 22px; padding: 8px 15px; font: 7px/1.5 var(--mono); border-top: 1px solid #a5afa3; }
.chips li { font-size: 11px; }
.about-copy,.detail-list { font-size: 14px; }
@media (max-width: 1100px) and (min-width: 801px) {
  nav { gap: 18px; font-size: 11px; }
  .hero-layout { gap: 18px; }
  .button { padding-inline: 16px; gap: 14px; }
  .hero-actions { max-width: none; }
  .project-visual { padding-inline: 20px; }
  .project-action { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 800px) {
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  nav { grid-template-columns: repeat(4,auto); font-size: 11px; gap: 0 16px; }
  .nav-shell { gap: 24px; }
  .hero-copy { padding-bottom: 0; }
  .hero-pitch { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 390px; }
  .button { min-height: 52px; font-size: 12px; padding-inline: 12px; gap: 10px; }
  .button-primary > span { font-size: 18px; }
  .hero-art { margin-top: 42px; }
  .hero-art img { max-height: 400px; }
  .hero-socials { gap: 13px; }
  .hero-socials .social-placeholder { font-size: 10px; }
  .work-section h2 { font-size: 35px; }
  .work-section .section-caption { display: none; }
  .work-intro { display: block; margin-bottom: 28px; }
  .work-intro > p { font-size: 23px; margin-bottom: 16px; }
  .work-intro > span { display: block; max-width: 500px; }
  .project-list { grid-template-columns: 1fr; }
  .project-visual { height: 265px; padding: 22px; }
  .project-visual > :not(.project-index) { max-width: none; }
  .project-visual .project-visual-top { max-width: none; margin-bottom: 24px; }
  .project-visual > .cloud-diagram { max-width: 400px; }
  .project-visual > .saya-flow { max-width: 370px; }
  .project-visual > .nf-terminal { max-width: 390px; }
  .project-visual > .store-preview { max-width: 400px; }
  .project-visual .message-reply { margin-left: auto!important; }
  .project-body { padding: 25px; }
  .project-body h3 { font-size: 27px; }
  .project-type { font-size: 14px; }
  .project-body p:not(.project-type) { font-size: 14px; }
  .project-action { flex-wrap: wrap; gap: 12px; }
  .project-action > span { flex-basis: 100%; }
  .section-caption { font-size: 9px; }
}
@media (max-width: 380px) {
  .nav-shell { gap: 20px; }
  nav { font-size: 9px; gap: 0 10px; }
  .role { font-size: 11px; }
  .button { padding-inline: 10px; font-size: 12px; gap: 8px; }
  .hero-actions { gap: 10px; }
  .hero-socials { gap: 10px; font-size: 11px; }
  .hero-socials .social-placeholder { font-size: 9px; }
  .project-visual { padding: 20px 16px; height: 255px; }
  .project-index { font-size: 8px; }
  .work-status,.visual-caption { font-size: 7px; }
  .provider-row { gap: 7px; }
  .provider-row > span { font-size: 7px; }
  .cloud-platform { padding-inline: 12px; font-size: 19px; }
  .cloud-endpoints { gap: 10px; font-size: 8px; }
  .message-line,.message-reply { font-size: 9px; }
  .workflow-line { font-size: 8px; gap: 5px; }
  .terminal-content p { font-size: 9px; }
  .terminal-bar > span { font-size: 7px; }
  .store-header { gap: 10px; padding-inline: 10px; }
  .store-header > strong { font-size: 9px; }
  .store-header > span { font-size: 5px; }
  .store-display { padding-inline: 14px; }
  .store-title { font-size: 25px; }
  .store-garment { width: 90px; }
  .store-foot { font-size: 6px; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; }
}

/* PRINT — light, compact and free of decorative artwork. */
@media print {
  @page { size: A4; margin: 14mm; }
  :root { color-scheme: light; --ink: #17202d; --muted: #4e5867; --paper: #fff; --line: #d8dce3; --accent: #245dd8; }
  body { background: white; color: #17202d; font-size: 10px; line-height: 1.5; }
  .container { width: 100%; }
  .site-header, .hero-art, .hero-bottom, .hero-actions, .hero-socials, .work-intro, .project-visual, .panel-symbol, .skill-symbol, .skip-link, .site-footer a, .section-intro, .lab-note { display: none !important; }
  .hero { padding: 0 0 15px; }
  .hero-meta { margin-bottom: 12px; }
  .hero-layout { display: block; min-height: 0; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 7px; font-size: 8px; color: #4e5867; }
  h1 { font-size: 38px; letter-spacing: -2px; line-height: 1.2; }
  .surname { display: inline; }
  .role { font-size: 13px; margin-top: 4px; color: #17202d; }
  .role-line { display: none; }
  .hero-pitch { font-size: 10px; margin-top: 10px; max-width: none; }
  .availability { color: #17202d; background: none; border-color: #999; padding: 3px 7px; font-size: 8px; }
  .location { color: #4e5867; font-size: 8px; }
  .quick-facts { grid-template-columns: repeat(4,1fr); background: none; padding: 12px 0; margin: 0; border-color: #d8dce3; }
  .fact { padding: 0 12px; border-color: #d8dce3; }
  .fact:nth-child(-n+2) { border-bottom: 0; }
  .fact > strong { font-size: 25px; margin-bottom: 5px; }
  .fact > strong.fact-word { min-height: 31px; font-size: 18px; }
  .fact p { font-size: 8px; color: #4e5867; }
  .section { padding: 18px 0; }
  .section-heading { margin-bottom: 12px; break-after: avoid; }
  h2 { font-size: 16px; letter-spacing: -.5px; }
  .section-caption { display: none; }
  .section-number { font-size: 8px; }
  .about-grid { display: block; }
  .about-copy { font-size: 10px; line-height: 1.6; color: #4e5867; }
  .targets { padding: 10px 12px; margin-top: 12px; background: none; border-color: #d8dce3; }
  .targets h3 { font-size: 9px; margin-bottom: 7px; color: #17202d; }
  .targets ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: 9px; color: #4e5867; }
  .targets li + li { margin-top: 0; }
  .skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .skill-group { background: none; border-color: #d8dce3; padding: 10px; break-inside: avoid; }
  .skill-group h3 { font-size: 10px; margin-bottom: 6px; }
  .chips { gap: 4px; }
  .chips li, .mono-chips li { background: none; border-color: #d8dce3; color: #4e5867; font-size: 8px; padding: 2px 5px; }
  .skill-note { font-size: 8px; color: #4e5867; margin-top: 6px; }
  .experience-item, .project-card, .certificate-list li { break-inside: avoid; }
  .experience-list { border-color: #d8dce3; }
  .experience-top { flex-direction: row; }
  .experience-top h3 { font-size: 14px; letter-spacing: -.3px; }
  .small-label { color: #4e5867; background: none; border-color: #d8dce3; font-size: 7px; }
  .job-role { font-size: 10px; color: #4e5867; margin: 4px 0 7px; }
  .detail-list { font-size: 10px; line-height: 1.6; }
  .detail-list li + li { margin-top: 4px; }
  .experience-item + .experience-item { margin-top: 18px; }
  .project-list { grid-template-columns: 1fr; gap: 9px; }
  .project-card { background: none; border-color: #d8dce3; }
  .project-body { padding: 12px; }
  .project-body h3 { font-size: 13px; }
  .work-section h2 { font-size: 16px; }
  .project-action { margin-top: 8px; padding-top: 8px; }
  .project-action > span,.project-action > a { font-size: 8px; }
  .project-type { font-size: 9px; color: #245dd8; margin: 3px 0 5px; }
  .project-body p:not(.project-type) { font-size: 10px; line-height: 1.6; margin-bottom: 8px; color: #4e5867; }
  .project-tags li { font-size: 8px; color: #4e5867; border-color: #d8dce3; }
  .certificate-list { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .certificate-list li { font-size: 10px; padding: 7px 0; border-color: #d8dce3; }
  .certificate-list li div > span { font-size: 9px; }
  .learning { background: none; border-color: #d8dce3; padding: 8px 10px; font-size: 9px; color: #4e5867; margin-top: 12px; }
  .learning-label { display: inline; color: #245dd8; font-size: 8px; }
  .education-item { flex-direction: row; }
  .education-item h3 { font-size: 13px; }
  .education-item p { font-size: 10px; }
  .student-label { color: #4e5867; border-color: #d8dce3; background: none; font-size: 8px; }
  .languages { margin-top: 14px; flex-direction: row; gap: 30px; }
  .languages p, .languages span { font-size: 9px; }
  .additional { font-size: 9px; padding: 12px 0; flex-direction: row; }
  .additional strong { color: #17202d; }
  .contact { background: none; break-inside: avoid; }
  .contact > h3 { display: none; }
  .contact > p:not(.local-phone) { font-size: 10px; }
  .contact-email { font-size: 15px; margin-top: 7px; color: #17202d; }
  .contact-email > span { display: none; }
  .contact-details { font-size: 9px; color: #4e5867; margin-top: 5px; }
  .local-phone { font-size: 8px; color: #4e5867; }
  .site-footer { min-height: 35px; font-size: 8px; color: #4e5867; }
  a { color: inherit !important; }
}

/* Multipage navigation and the optional CV at the bottom of every page. */
.site-header nav a[aria-current="page"] { color: var(--ink); }
.site-header nav a[aria-current="page"]:after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); position: absolute; left: calc(50% - 2px); bottom: 20px; }
.page-heading { padding-bottom: 40px; }
.page-heading h1 { font-size: clamp(48px,6vw,76px); line-height: 1.08; letter-spacing: -.055em; max-width: 1000px; }
.page-heading .eyebrow { margin-bottom: 20px; }
.page-subtitle { color: #a5b9c5; font-size: 16px; margin-top: 20px; max-width: 600px; }
.page-section { padding-top: 64px; }
.work-section .work-intro { margin-top: 4px; }
.background-heading { padding-top: 64px; padding-bottom: 0; }
.page-jump-links { display: flex; gap: 12px; margin: 28px 0 0; flex-wrap: wrap; }
.page-jump-links a { border: 1px solid #3c5563; padding: 9px 14px; border-radius: 4px; font-size: 12px; color: #d1e5ed; }
.page-next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.page-next .eyebrow { margin-bottom: 8px; display: block; }
.page-next h2 { font-size: 28px; }
.resume-panel { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 40px; padding: 28px 30px; border: 1px solid #34505d; border-radius: 5px; background: #14212a; }
.resume-panel .eyebrow { margin-bottom: 8px; }
.resume-panel h2 { font-size: 24px; letter-spacing: -.7px; }
.resume-panel p:not(.eyebrow) { color: var(--muted); font-size: 13px; margin-top: 9px; }
.resume-panel .cv-button { flex-shrink: 0; }
.hero .role { line-height: 1.6; }
@media (max-width:800px) {
  .site-header nav { display: flex; gap: 5px 18px; flex-wrap: wrap; font-size: 11px; }
  .site-header nav a[aria-current="page"]:after { bottom: 1px; }
  .page-heading { padding-bottom: 30px; }
  .page-heading h1 { font-size: clamp(44px,9vw,64px); }
  .page-subtitle { font-size: 14px; }
  .page-section,.background-heading { padding-top: 42px; }
  .page-next { align-items: flex-start; flex-direction: column; padding: 34px 0; }
  .page-next h2 { font-size: 25px; }
  .resume-panel { flex-direction: column; align-items: flex-start; padding: 24px; margin-top: 30px; gap: 22px; }
  .resume-panel h2 { font-size: 23px; }
  .hero .role { font-size: 13px; }
}
@media (max-width:380px) {
  .site-header nav { font-size: 10px; gap: 2px 13px; }
  .hero .role { font-size: 11px; }
  .resume-panel { padding: 20px; }
  .page-heading h1 { font-size: 44px; }
  .page-jump-links { gap: 8px; }
  .page-jump-links a { font-size: 11px; padding-inline: 10px; }
}
@media print {
  .resume-panel,.page-jump-links,.page-next { display: none!important; }
  .page-heading h1 { font-size: 30px; }
  .page-heading { padding: 0 0 15px; }
  .background-heading { padding-top: 0; }
  .page-subtitle { font-size: 10px; margin-top: 6px; }
}

/* Personal introduction: name in the header, readable prose, and actual work. */
.site-header .nav-shell { max-width: var(--width); width: calc(100% - 80px); min-height: 86px; padding: 0; gap: 32px; }
.personal-wordmark { font: 600 25px/1.2 var(--sans); letter-spacing: -.9px; gap: 0; color: var(--ink); white-space: nowrap; }
.personal-wordmark > span { color: var(--accent); }
.site-header nav { font-size: 14px; gap: 25px; }
.site-header nav a { padding: 12px 0; }
.site-header nav a[aria-current]:after { display: none; }
.site-header nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; text-decoration-thickness: 1px; }
.site-header .nav-contact { padding: 10px 0 10px 24px; border: 0; border-left: 1px solid var(--line); border-radius: 0; font-size: 14px; }
.homepage { background-image: none; }
.home-intro { padding: 78px 0 72px; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 88px; align-items: center; }
.intro-role { color: #acd4d5; font-size: 16px; margin-bottom: 24px; }
.intro-copy h1 { font-size: clamp(44px,4.3vw,62px); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; max-width: 760px; }
.intro-description { color: #b4c0c7; font-size: 18px; line-height: 1.8; margin-top: 26px; max-width: 660px; }
.intro-location { color: #a2b3bc; font-size: 15px; margin-top: 16px; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.intro-actions .button { font-size: 14px; padding: 14px 22px; box-shadow: none; gap: 22px; }
.intro-text-link { font-size: 15px; color: #e1eeee; text-decoration: underline; text-decoration-color: #536f78; text-underline-offset: 6px; }
.intro-text-link:hover { text-decoration-color: var(--accent); }
.intro-text-link > span { margin-left: 6px; }
.current-work { padding-left: 30px; border-left: 1px solid #38515d; }
.current-work h2 { color: #a9bac4; font: 400 16px/1.5 var(--sans); letter-spacing: 0; margin-bottom: 25px; }
.current-work-name { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 30px; font-weight: 500; letter-spacing: -.8px; margin-bottom: 14px; }
.current-work-name > span { font-size: 24px; color: var(--accent); }
.current-work > p { font-size: 16px; line-height: 1.8; color: #adbdc7; }
.current-work > .current-work-role { font-size: 14px; color: #a6d4d4; margin-top: 13px; }
.operating-facts { border-top: 1px solid var(--line); padding-top: 18px; margin: 23px 0 26px; }
.operating-facts p { font-size: 15px; color: #aebfc8; line-height: 1.7; }
.operating-facts p + p { margin-top: 8px; }
.operating-facts strong { color: #e7efee; font-weight: 600; }
.homepage .section { padding: 58px 0; }
.homepage .section-heading { margin-bottom: 30px; }
.homepage .section-heading h2 { font-size: 32px; letter-spacing: -1px; }
.homepage .skill-group { padding: 28px; background: #101a21; border-color: #2d3c46; border-radius: 4px; }
.homepage .skill-group h3 { font-size: 18px; margin-bottom: 18px; }
.homepage .chips li { font-size: 13px; line-height: 1.5; padding: 6px 10px; }
.homepage .skill-note { font-size: 13px; line-height: 1.8; margin-top: 16px; }
.homepage .lab-note { font: 15px/1.8 var(--sans); color: #aabfc9; margin-top: 22px; letter-spacing: 0; }
.homepage .section-intro { font-size: 25px; line-height: 1.4; letter-spacing: -.6px; }
.homepage .about-copy { font-size: 16px; line-height: 1.9; }
.homepage .targets { background: transparent; padding: 27px; border-color: #344650; border-radius: 4px; }
.homepage .targets h3 { font: 500 18px/1.5 var(--sans); letter-spacing: 0; text-transform: none; }
.homepage .targets ul { font-size: 15px; line-height: 1.8; }
.homepage .targets li:before { content: '–'; color: #a6bac3; }
.homepage .contact { background: none; }
.homepage .contact > p:not(.local-phone) { font-size: 16px; line-height: 1.8; }
.homepage .contact .availability { border: 0; background: none; font: 14px/1.5 var(--sans); padding: 0; color: #b3d9d4; }
.homepage .contact-email { font-size: 28px; text-decoration: underline; text-decoration-color: #4a747a; text-underline-offset: 8px; }
.homepage .contact-details { font: 14px/1.8 var(--sans); }
.homepage .local-phone { font-size: 13px; }
.homepage .resume-panel p { font-size: 15px; max-width: 620px; }
.homepage .site-footer { font: 13px/1.6 var(--sans); }
@media (max-width:1100px) {
  .site-header .nav-shell { gap: 24px; }
  .site-header nav { gap: 18px; font-size: 13px; }
  .site-header .nav-contact { font-size: 13px; padding-left: 18px; }
  .intro-grid { grid-template-columns: 1.65fr 1fr; gap: 45px; }
  .intro-copy h1 { font-size: 52px; }
  .current-work { padding-left: 24px; }
}
@media (max-width:800px) {
  html { scroll-padding-top: 125px; }
  .site-header .nav-shell { width: calc(100% - 48px); display: block; padding: 18px 0 14px; min-height: 0; }
  .personal-wordmark { font-size: 23px; width: max-content; }
  .site-header nav { margin: 14px 0 0; gap: 10px 22px; display: flex; flex-wrap: wrap; font-size: 13px; }
  .site-header nav a { padding: 4px 0; }
  .site-header .nav-contact { display: none; }
  .home-intro { padding: 44px 0 42px; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-role { font-size: 15px; margin-bottom: 20px; }
  .intro-copy h1 { font-size: clamp(39px,7vw,54px); line-height: 1.13; }
  .intro-description { font-size: 17px; margin-top: 24px; }
  .intro-location { font-size: 14px; line-height: 1.8; }
  .intro-actions { gap: 24px; margin-top: 26px; }
  .intro-actions .button { font-size: 13px; padding-inline: 18px; }
  .current-work { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .current-work h2 { margin-bottom: 16px; }
  .current-work-name { max-width: 420px; font-size: 28px; }
  .current-work > p { max-width: 520px; }
  .operating-facts { max-width: 520px; }
  .homepage .section { padding: 42px 0; }
  .homepage .skill-group { padding: 23px; }
  .homepage .chips li { font-size: 12px; }
  .homepage .contact-email { font-size: 24px; }
  .homepage .contact-details { flex-wrap: wrap; gap: 16px; font-size: 13px; }
  .homepage .contact-details > span { padding-left: 16px; }
  .homepage .site-footer { font-size: 12px; }
}
@media (max-width:380px) {
  .site-header .nav-shell { width: calc(100% - 36px); }
  .site-header nav { gap: 8px 16px; font-size: 12px; }
  .intro-copy h1 { font-size: 38px; }
  .intro-role { font-size: 14px; }
  .intro-actions { gap: 20px; }
  .intro-actions .button { padding-inline: 14px; gap: 14px; }
  .intro-text-link { font-size: 14px; }
  .homepage .chips li { font-size: 12px; }
  .homepage .contact-email { font-size: 22px; }
  .homepage .contact-details { font-size: 12px; gap: 12px; }
  .homepage .contact-details > span { padding-left: 12px; }
}
@media print {
  .home-intro { padding: 0 0 18px; }
  .intro-grid { display: block; }
  .intro-role { font-size: 11px; margin-bottom: 8px; color: #4e5867; }
  .intro-copy h1 { font-size: 30px; color: #17202d; }
  .intro-description,.intro-location { font-size: 10px; color: #4e5867; margin-top: 9px; }
  .intro-actions,.current-work { display: none; }
  .homepage .section { padding: 18px 0; }
  .homepage .section-heading h2 { font-size: 16px; }
  .homepage .skill-group { padding: 10px; background: none; border-color: #d8dce3; }
  .homepage .skill-group h3 { font-size: 10px; margin-bottom: 6px; }
  .homepage .chips li { font-size: 8px; }
  .homepage .skill-note,.homepage .lab-note,.homepage .about-copy { font-size: 10px; color: #4e5867; }
  .homepage .targets h3 { font-size: 10px; }
  .homepage .targets ul { font-size: 9px; color: #4e5867; }
  .homepage .contact > p:not(.local-phone) { font-size: 10px; }
  .homepage .contact-email { font-size: 15px; }
  .homepage .contact-details,.homepage .local-phone,.homepage .site-footer { font-size: 9px; }
}

/* Simple profile: one name, a short bio, and ordinary links. */
.site-header { background: var(--paper); backdrop-filter: none; }
.site-header .nav-shell { min-height: 72px; }
.personal-wordmark { font-size: 23px; font-weight: 500; letter-spacing: -.6px; }
.personal-wordmark h1 { font: inherit; letter-spacing: inherit; line-height: inherit; }
.site-name { font: 500 23px/1.2 var(--sans); letter-spacing: -.6px; flex-shrink: 0; }
.homepage { --width: 1000px; }
.profile-intro { padding: 28px 0 36px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; justify-items: center; gap: 24px; }
.profile-copy { width: min(100%,640px); text-align: center; }
.profile-copy > p { color: #a5b4bc; font-size: 14px; line-height: 1.8; }
.profile-copy > p + p { margin-top: 10px; }
.intro-network { min-width: 0; width: min(100%,360px); }
.network-heading { display: flex; align-items: center; justify-content: space-between; color: #a5b8bf; font-size: 12px; padding: 0 10px; }
.motion-toggle { width: 32px; height: 32px; padding: 0; border: 1px solid #30414a; border-radius: 50%; color: #b7c8cd; background: transparent; cursor: pointer; font: 13px var(--sans); }
.motion-toggle:hover { color: var(--accent); border-color: #6b999b; }
.motion-toggle[hidden] { display: none; }
.network-map { position: relative; aspect-ratio: 360/300; background: radial-gradient(ellipse at 50% 44%,#8ce8e20c,transparent 65%); margin: 26px 0 14px; }
.network-wires { width: 100%; height: 100%; display: block; overflow: visible; }
.network-wires .wire { stroke: #30464f; stroke-width: 1; }
.network-wires .packet { stroke: #69999d; stroke-width: 2.5; stroke-dasharray: 3 65; stroke-linecap: round; animation: packet-flow 5s linear infinite; opacity: .35; }
.network-wires .packet.active { stroke: #a1fff3; opacity: 1; filter: drop-shadow(0 0 4px #8ce8e270); }
.network-wires .network-core { fill: #172d32; stroke: #639194; stroke-width: 1; }
.network-wires .network-halo { fill: none; stroke: #8ce8e225; stroke-width: 1; transform-origin: 180px 132px; animation: network-breathe 5s ease-in-out infinite; }
.network-wires .network-initials { fill: #d2f6ef; stroke: none; font: 500 15px var(--sans); letter-spacing: -.5px; }
.network-node { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; padding: 8px 4px; background: var(--paper); color: #9eafb8; font: 12px/1.4 var(--sans); cursor: pointer; transition: color .2s; min-width: 64px; }
.network-node svg { width: 37px; height: 37px; padding: 8px; border: 1px solid #3d515c; border-radius: 11px; background: #111d24; transition: border-color .2s, background .2s, box-shadow .2s; }
.network-node[aria-pressed="true"],.network-node:hover { color: #c9fff4; }
.network-node[aria-pressed="true"] svg,.network-node:hover svg { border-color: #87c7c4; background: #1a3337; box-shadow: 0 0 20px #8ce8e214; }
.node-linux { left: 25%; top: 10%; }
.node-network { left: 75%; top: 10%; }
.node-automation { left: 85%; top: 44%; }
.node-datacenter { left: 75%; top: 80%; }
.node-store { left: 15%; top: 44%; }
.node-chemistry { left: 25%; top: 80%; }
.network-detail { min-height: 64px; text-align: center; }
.network-detail p { font-size: 14px; color: #becdd1; line-height: 1.6; max-width: 300px; margin: auto; }
.network-detail a { display: inline-block; font-size: 13px; color: var(--accent); margin-top: 9px; }
.network-detail a span { margin-left: 6px; }
.network-hint { font-size: 11px; color: #83949e; text-align: center; margin-top: 12px; }
.network-node:focus-visible,.motion-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.motion-paused .packet,.motion-paused .network-halo { animation-play-state: paused; }
@keyframes packet-flow { to { stroke-dashoffset: -136; } }
@keyframes network-breathe { 50% { transform: scale(1.13); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .network-wires .packet,.network-wires .network-halo { animation: none; } }
.profile-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 16px; }
.profile-links a { font-size: 13px; color: #d8e8e8; text-decoration: underline; text-decoration-color: #637b80; text-underline-offset: 5px; }
.profile-links a:hover { color: var(--accent); }
.homepage .section { padding: 40px 0; }
.homepage .section-heading { margin-bottom: 22px; }
.homepage .section-heading h2 { font-size: 27px; }
@media (max-width:800px) {
  .site-header .nav-shell { padding: 18px 0 14px; min-height: 0; }
  .personal-wordmark { font-size: 23px; }
  .profile-intro { padding: 24px 0 30px; gap: 24px; }
  .intro-network { width: min(100%,350px); justify-self: center; }
  .profile-links { gap: 12px 20px; }
  .homepage .section { padding: 32px 0; }
}
@media print {
  .homepage .site-header { display: block!important; border: 0; position: static; }
  .homepage .site-header .nav-shell { min-height: 0; width: 100%; padding: 0; }
  .homepage .personal-wordmark { font-size: 28px; }
  .homepage .site-header nav,.profile-links { display: none; }
  .profile-intro { padding: 12px 0; }
  .profile-intro { display: block; }
  .intro-network { display: none; }
  .profile-copy { width: 100%; text-align: left; }
  .profile-copy > p { font-size: 10px; color: #4e5867; }
  .homepage .section { padding: 18px 0; }
  .homepage .section-heading h2 { font-size: 16px; }
}
