/* Ordinary anchor navigation remains available without JavaScript. */
.is-booting{overflow:hidden}
/* The boot handoff focuses this non-interactive heading for assistive technology. */
.boot-focus-target:focus{outline:none}
/* Fixed circuit gutters: 48px to the content, plus 12px to the viewport edge. */
@media screen{.wrap{width:min(1280px,calc(100% - 120px))}}
.hero-copy,.hero-art{min-width:0}
.hero .eyebrow{align-items:flex-start}
.hero .status-dot{flex:0 0 7px;margin-top:.45em}
.hero-role{min-width:0;white-space:normal;overflow-wrap:anywhere}
.hero h1{overflow-wrap:anywhere}
.hero-actions{flex-wrap:wrap}
.hero-actions .primary{border-radius:999px}
@media(prefers-reduced-motion:no-preference){
  .intro-arriving .site-header,.intro-arriving .hero-copy,.intro-arriving .hero-art,.intro-arriving .hero-bottom{animation:intro-arrive .95s cubic-bezier(.22,1,.36,1) backwards}
  .intro-arriving .hero-copy{animation-delay:.12s}
  .intro-arriving .hero-art{animation-delay:.24s}
  .intro-arriving .hero-bottom{animation-delay:.32s}
}
@keyframes intro-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.boot-screen{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:#0c0c0c;opacity:1;transition:opacity .18s ease}
.boot-screen.boot-finished{opacity:0;pointer-events:none}
.boot-background{position:absolute;inset:0;overflow:hidden;pointer-events:none;user-select:none}
.boot-decoration{position:absolute;margin:0;color:#b9ceca;opacity:.09;font:12px/1.9 var(--mono);letter-spacing:.4px}
.boot-assembly{left:12%;top:18%}
.boot-formulas{right:14%;top:20%;font-size:16px}
.boot-source{right:11%;bottom:15%}
.boot-mechanics{left:15%;bottom:18%;font-size:16px}
.boot-schematic{left:8%;top:47%;width:150px;fill:none;stroke:currentColor;stroke-width:1.2}
.boot-processor{right:10%;top:48%;width:65px;fill:none;stroke:currentColor;stroke-width:1}
.boot-screen .boot-terminal{position:relative;z-index:1}
@media(max-width:700px){.boot-schematic,.boot-processor,.boot-mechanics{display:none}.boot-assembly{left:8%;top:8%}.boot-formulas{right:8%;top:auto;bottom:8%;font-size:13px}.boot-source{left:8%;right:auto;bottom:8%;font-size:10px}}
@media(max-height:500px){.boot-background{display:none}}
.boot-terminal{width:min(100%,440px);font-family:'DejaVu Sans Mono','Liberation Mono',Consolas,monospace;padding:20px;border:1px solid #33333380;background-color:#101010;background-image:radial-gradient(ellipse at center,#101010a8 10%,#10101022 90%),repeating-linear-gradient(45deg,#ffffff08 0 2px,transparent 2px 7px),repeating-linear-gradient(-45deg,#00000066 0 3px,transparent 3px 7px);background-size:100% 100%,10px 10px,10px 10px}
.boot-heading{margin-bottom:10px;color:#b8b8b8;font-size:13px;line-height:1.5;letter-spacing:0}
.boot-user,.boot-pass{color:#87c879}
.boot-path{color:#83a9cf}
#boot-output{height:137px;max-height:50vh;overflow:auto;margin:0;font:13px/1.5 'DejaVu Sans Mono','Liberation Mono',Consolas,monospace;color:#bebebe;white-space:pre-wrap}
.boot-line{display:block;min-height:1.5em}
.boot-muted{color:#858585}
.boot-info{color:#d0d0d0}
.boot-fail{color:#dc8080}
.boot-route{color:#bebebe}
#boot-output .boot-line:last-child::after{content:'';display:inline-block;width:.55em;height:1em;margin-left:.5em;background:#87c879;vertical-align:-.12em}
@media(max-width:480px){.boot-heading{font-size:12px}#boot-output{font-size:12px;height:126px}}
@media print{.boot-screen{display:none!important}}
body{position:relative;isolation:isolate}
.ambient-field{position:absolute;inset:0;z-index:-1;pointer-events:none;user-select:none;overflow:hidden;background:transparent}
.ambient-code{position:absolute;margin:0;font:11px/2 var(--mono);letter-spacing:.5px;color:#d4e2e2;opacity:.10}
.ambient-code-right{right:1.1%;bottom:13%;writing-mode:vertical-rl;font-size:10px}
.ambient-symbol{position:absolute;font:40px var(--mono);color:#ccd9d9;opacity:.08}
.ambient-symbol-left{left:1.2%;top:43%;transform:rotate(-12deg)}
.ambient-chip{position:absolute;right:1.3%;top:20%;width:48px;height:48px;fill:none;stroke:#c6d6d6;stroke-width:1;opacity:.095;transform:rotate(12deg)}
@media(max-width:900px){.ambient-code,.ambient-symbol,.ambient-chip{display:none}}
@media print{.ambient-field{display:none}}
.curiosity-art{display:flex;align-items:center;justify-content:center;background-color:#101010;background-image:radial-gradient(ellipse at center,#101010a8 10%,#10101022 90%),repeating-linear-gradient(45deg,#ffffff08 0 2px,transparent 2px 7px),repeating-linear-gradient(-45deg,#00000066 0 3px,transparent 3px 7px);background-size:100% 100%,10px 10px,10px 10px}
#curiosity-phase{color:#df6262;font-size:16px;font-family:var(--mono);letter-spacing:0;text-transform:none}
#curiosity-phase::after{content:'_';margin-left:4px;animation:console-cursor 1s steps(1,end) infinite}
@keyframes console-cursor{0%,49%{opacity:1}50%,100%{opacity:0}}
@media(prefers-reduced-motion:reduce){#curiosity-phase::after{animation:none}}
#curiosity-canvas{display:block;width:100%;height:360px;max-height:calc(100% - 90px);margin-block:45px}
.curiosity-art .art-top,.curiosity-art .art-bottom{font-size:14px;letter-spacing:.5px}
.curiosity-art .art-bottom{gap:8px;flex-wrap:wrap}
#curiosity-phase{white-space:nowrap;margin-left:auto}
@media(max-width:400px){.curiosity-art .art-top,.curiosity-art .art-bottom{left:12px;right:12px;font-size:13px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.chapter-readout{text-align:right;font:10px var(--mono);letter-spacing:1.3px;color:var(--muted)}
.chapter-readout strong{display:block;margin-top:10px;color:var(--text);font-size:12px;font-weight:400}
/* The portfolio uses ordinary vertical document scrolling. */
#main{position:relative;isolation:isolate}
#main>section{position:relative;z-index:1}
#scroll-circuit{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:0}
#scroll-circuit path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.circuit-track{stroke:#3298ab;stroke-width:1;opacity:.08}
.circuit-light{stroke:#04d9ff;stroke-width:1.25;opacity:.65}
.circuit-glow{stroke:#04d9ff;stroke-width:6;opacity:.07}
.circuit-tip{fill:#c2f6ff;opacity:.8}
.circuit-halo{fill:#04d9ff;opacity:.09}
.circuit-branch-track{stroke:#3298ab;stroke-width:1;opacity:.08}
.circuit-branch-light{stroke:#04d9ff;stroke-width:1;opacity:.6}
.circuit-branch-glow{stroke:#04d9ff;stroke-width:4;opacity:.055}
.circuit-branch-junction{fill:#8feeff;opacity:.75}
.circuit-main-switch .circuit-branch-track{stroke-width:2.5;opacity:.3}
.circuit-main-switch .circuit-branch-light{stroke-width:2.5;opacity:.9}
.circuit-component-label{fill:#97cbd4;font:10px Consolas,monospace;letter-spacing:.5px;opacity:.8}
.circuit-mcu-binary{fill:#c2f6ff;font:9px Consolas,monospace;letter-spacing:.3px;opacity:.8}
.circuit-ready #contact> *{opacity:0;transition:opacity .65s ease}
.circuit-ready #contact.is-connected> *,.circuit-ready #contact:focus-within> *{opacity:1}
.circuit-ready #contact.is-connected> *{animation:connection-arrives 1.3s ease-out both}
.circuit-ready #contact.is-connected #contact-title .accent{color:inherit}
@keyframes connection-arrives{0%{color:#c2f6ff;text-shadow:0 0 14px #04d9ff88}45%{color:#e8fbff;text-shadow:0 0 7px #04d9ff44}100%{text-shadow:0 0 0 transparent}}
.circuit-section-label{display:flex;align-items:baseline;gap:9px}
.section-number{color:#747474;transition:color .25s ease,text-shadow .25s ease}
.is-powered .section-number{color:#8feeff;text-shadow:0 0 8px #04d9ff66}
.section-caption{display:inline-grid;color:var(--text)}
.section-caption-layout,.section-caption-typed{grid-area:1/1}
.section-caption-layout{visibility:hidden}
@media print{.section-caption-layout{visibility:visible}.section-caption-typed{display:none}.section-number{color:inherit!important;text-shadow:none!important}}
@media(prefers-reduced-motion:reduce){.circuit-ready #contact> *{opacity:1;transition:none}}
@media print{.circuit-ready #contact> *{opacity:1}}
@media(max-width:720px){.circuit-ready .section,.circuit-ready .contact{padding-top:72px}}
.circuit-ready .section,.circuit-ready .hero-bottom{border-bottom-color:transparent}
.circuit-ready #main>.section,.circuit-ready #main>.contact{margin-top:48px}
@media print{.circuit-ready #main>.section,.circuit-ready #main>.contact{margin-top:0}}
@media(prefers-reduced-motion:reduce){.circuit-glow,.circuit-halo,.circuit-branch-glow{display:none}}
@media print{#scroll-circuit{display:none!important}.circuit-ready .section{border-bottom-color:var(--line)}}
.site-header{grid-template-columns:auto minmax(40px,1fr) auto}
@media(max-width:720px){.site-header{grid-template-columns:1fr auto}.header-rule{display:none}.chapter-readout>span{display:none}}
@media print{.chapter-readout{display:none}}

/* Contact portrait: original features, with reversible CSS color and edge treatment. */
.contact{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.85fr);column-gap:clamp(48px,7vw,100px);align-items:start}
.contact>.eyebrow{grid-column:1;grid-row:1;align-self:end}
.contact>#contact-title{grid-column:1;grid-row:2;margin:0;align-self:start}
.contact>#contact-title .accent{margin-left:0}
.contact>.contact-bottom{grid-column:1;grid-row:3;display:block;margin-top:20px}
.contact-portrait{grid-column:2;grid-row:1/4;position:relative;margin:0;align-self:center;justify-self:center;width:100%;max-width:340px;padding:18px 20px 20px;border:1px solid #ffffff1c;border-radius:16px;background:radial-gradient(ellipse at 65% 45%,#04d9ff0a,transparent 65%),linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px),#111;background-size:auto,28px 28px,28px 28px,auto;box-shadow:0 16px 48px #0002}
.contact-portrait img{display:block;width:100%;height:auto;aspect-ratio:600/660;object-fit:cover;object-position:center 25%;filter:grayscale(1);-webkit-mask-image:linear-gradient(#000 70%,transparent 100%);mask-image:linear-gradient(#000 70%,transparent 100%)}
.portrait-topline{display:flex;justify-content:space-between;gap:12px;color:#8f9ca1;font:8px var(--mono);letter-spacing:1px}
.portrait-topline>span:last-child{color:#04d9ff;font-size:14px;line-height:.7}
.portrait-caption{position:relative;display:flex;justify-content:space-between;align-items:end;gap:12px;padding-top:16px;border-top:1px solid #ffffff18;font-size:15px;color:var(--text)}
.portrait-caption small{display:block;margin-top:4px;font:10px var(--mono);color:var(--muted)}
.portrait-location{font:8px var(--mono);letter-spacing:1px;color:#9bb8be}
.portrait-trace{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.portrait-trace path{fill:none;stroke:#04d9ff;stroke-width:1;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-dasharray:22 100;stroke-dashoffset:22;opacity:0}
@media(prefers-reduced-motion:no-preference){.contact-portrait.is-tracing .portrait-trace path{animation:portrait-border-pass 1.5s ease-in-out 1 both}}
@keyframes portrait-border-pass{0%{stroke-dashoffset:22;opacity:0}12%{opacity:.7}55%{opacity:.7}90%{opacity:0}100%{stroke-dashoffset:-100;opacity:0}}
.contact-bottom>p{max-width:430px;margin:0;line-height:1.8}
.contact-channels{display:grid;gap:12px;margin:26px 0 0;max-width:480px}
.contact-channel{display:flex;align-items:center;gap:16px;padding:17px 18px;border:1px solid #ffffff20;border-radius:10px;background:linear-gradient(120deg,#191919,#111);transition:border-color .2s,background .2s}
.contact-channel-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #ffffff20;border-radius:8px;font:bold 18px Arial;color:#c6d5d8}
.contact-channel-icon svg{width:21px;height:21px}
.contact-channel-copy{display:grid;gap:4px;min-width:0}
.contact-channel-copy strong{font-size:14px;font-weight:500;color:var(--text)}
.contact-channel-copy>span{font:11px/1.5 var(--mono);color:var(--muted);overflow-wrap:anywhere}
.contact-channel:hover,.contact-channel:focus-visible{border-color:#04d9ff70;background:#162025}
.contact-email-link{display:flex;align-items:center;gap:inherit;min-width:0;flex:1}
.copy-email{display:grid;justify-items:center;align-content:center;gap:3px;flex-shrink:0;width:54px;height:48px;padding:6px;border:1px solid #ffffff24;border-radius:7px;background:#ffffff06;color:#c6d5d8;font:10px var(--mono);cursor:pointer}
.copy-email svg{width:18px;height:18px}
.copy-email:hover,.copy-email:focus-visible,.copy-email.is-copied{border-color:#04d9ff70;color:#9bdde8;background:#04d9ff0b}
.contact-signoff{display:flex;align-items:center;gap:18px;max-width:480px;margin-top:26px;font:8px/1.6 var(--mono);letter-spacing:1px;color:#839095}
.contact-signoff svg{width:110px;min-width:36px;height:20px;stroke:#04d9ff55;flex-shrink:1}
@media(max-width:900px) and (min-width:721px){.contact{column-gap:40px;grid-template-columns:minmax(0,1fr) 260px}.contact-channel{padding:14px 12px;gap:10px}.contact-channel-icon{width:30px;height:30px}}
@media(max-width:720px){.contact{grid-template-columns:minmax(0,1fr);row-gap:0}.contact-portrait{grid-column:1;grid-row:4;width:min(100%,300px);margin:36px 0 0;justify-self:center}.contact>.contact-bottom{grid-row:3;margin-top:20px}.contact-channels,.contact-signoff{max-width:none}}
@media(prefers-reduced-motion:reduce){.contact-channel{transition:none}}

/* Typed code signature; fixed dimensions prevent the name shifting during typing. */
.identity-code{position:relative;display:block;flex-shrink:0;width:3.5ch;margin-top:1px;font:32px/1.1 var(--mono);color:var(--text)}
.identity-code-text{display:block;width:3ch}
.identity-slash{color:#df6262}
@media screen and (prefers-reduced-motion:no-preference){
  .intro-arriving .identity-code-letter{animation:identity-letter-type .18s ease-out calc(.2s + var(--letter-index)*.22s) backwards}
  .intro-arriving .identity-letter{animation:identity-letter-type .12s ease-out calc(var(--name-start) + var(--letter-index)*.075s) backwards}
  .intro-arriving .identity-last{animation:identity-highlight .12s ease-out 1.4s backwards}
}

/* Reserve the full name width while individual letters appear. */
.identity-name>.identity-first{margin-left:0;--name-start:.86s}
.identity-name>.identity-last{--name-start:1.4s;width:fit-content;margin-top:3px;padding:0 5px 1px;background:#f2f2f2;color:#0c0c0c}
.identity-last .identity-letter.is-scrambling::before{color:#555}
@keyframes identity-highlight{from{background-color:transparent}to{background-color:#f2f2f2}}
.identity-code-letter:nth-child(1),.identity-letter:nth-child(1){--letter-index:0}
.identity-code-letter:nth-child(2),.identity-letter:nth-child(2){--letter-index:1}
.identity-code-letter:nth-child(3),.identity-letter:nth-child(3){--letter-index:2}
.identity-letter:nth-child(4){--letter-index:3}
.identity-letter:nth-child(5){--letter-index:4}
.identity-letter:nth-child(6){--letter-index:5}
.identity-letter:nth-child(7){--letter-index:6}
@keyframes identity-letter-type{from{opacity:0}to{opacity:1}}

.identity-letter{position:relative;display:inline-block}
.identity-letter.is-scrambling{color:transparent}
.identity-letter.is-scrambling::before{content:attr(data-glyph);position:absolute;inset:0;text-align:center;color:#a3a3a3;font-family:var(--mono);font-size:.85em;line-height:1.25}
@media print,(prefers-reduced-motion:reduce){.identity-letter.is-scrambling{color:inherit}.identity-letter.is-scrambling::before{display:none}}

/* Animated signature on the left, with matching navigation aligned right. */
.site-header{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:22px;min-height:0;padding:30px 0 26px;border:0}
.site-header::after{content:'';position:absolute;right:0;bottom:0;width:100%;height:1px;background:linear-gradient(270deg,#04d9ff 0 24px,#333 24px 70%,transparent 100%)}
.site-header .identity{align-items:center;gap:20px}
.site-header .identity-code{margin-top:0}
.site-header .header-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 24px;margin:0 0 0 auto;padding:0}
.site-header .header-nav a,.site-header .header-nav a:last-child{position:relative;display:inline-flex;align-items:center;min-height:36px;padding:8px 0;border:0;background:none;color:var(--muted);font:14px/1.4 var(--mono);white-space:nowrap;transition:color .2s ease}
.site-header .header-nav a::after{content:'';position:absolute;left:0;right:0;bottom:2px;height:1px;background:#04d9ff;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
.site-header .header-nav a:hover,.site-header .header-nav a:focus-visible{color:var(--text)}
.site-header .header-nav a:hover::after,.site-header .header-nav a:focus-visible::after{transform:scaleX(1)}
.site-header .header-nav .header-contact{color:var(--text);margin-left:4px}
@media(max-width:720px){.site-header{padding:26px 0 22px;gap:18px}.identity-code{font-size:29px}.site-header .identity{gap:14px}.site-header .header-nav{flex-basis:100%;padding-left:0;gap:4px 20px}.site-header .header-nav a,.site-header .header-nav a:last-child{font-size:13px;min-height:40px}.site-header .header-nav .header-contact{margin-left:0}}
@media(max-width:380px){.site-header .identity{gap:10px}.site-header .header-nav{column-gap:16px}}
@media print{.site-header{display:block;min-height:0;padding:0 0 16px}.site-header::after,.site-header .header-nav{display:none!important}}

@media screen and (max-width:480px){.hero-actions .button{gap:14px;padding-inline:14px;max-width:100%}.hero-actions .text-link{overflow-wrap:anywhere}}

/* Quiet job illustrations beneath the experience dates. */
.experience-date-panel{min-width:0}
.experience-date-panel .timeline-date{display:block;line-height:1.6}
.job-animation{display:block;width:170px;max-width:100%;height:auto;margin-top:18px;color:#b8b8b8;opacity:.58;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.job-faint{opacity:.35}
@media(prefers-reduced-motion:no-preference){
  .job-bottles{animation:job-convey 2.8s linear infinite}
  .job-laser{transform-origin:142px 45px;animation:job-scan 3.6s ease-in-out infinite}
  .job-signal{animation:job-monitor 3.6s ease-in-out infinite}
  .job-animation:not(.is-running) *{animation-play-state:paused}
}
@keyframes job-convey{to{transform:translateX(36px)}}
@keyframes job-scan{0%,100%{transform:rotate(-9deg);opacity:.5}50%{transform:rotate(9deg);opacity:1}}
@keyframes job-monitor{0%,100%{opacity:.45}50%{opacity:1}}
@media(max-width:720px){#experience .job-animation{width:120px;margin-top:8px}}
@media print{.job-animation{display:none}}

.experience-tasks{max-width:620px;margin:18px 0 0;padding-left:18px;color:var(--muted)}
.experience-tasks li{padding-left:4px;margin-bottom:10px}
.experience-tasks li:last-child{margin-bottom:0}
.experience-tasks li::marker{color:#777}

.job-terminal text{fill:currentColor;stroke:none;font:10px var(--mono);letter-spacing:-.25px}
.job-dialysis{width:170px}
.job-fluid{stroke:#eee;stroke-dasharray:3 15;stroke-width:1.7}
@media(prefers-reduced-motion:no-preference){
  .job-code{animation:job-code-run 6s ease-in-out infinite}
  .job-check-first{animation:job-check-one 6s steps(1,end) infinite}
  .job-check-second{animation:job-check-two 6s steps(1,end) infinite}
  .job-pump{animation:job-pump-turn 4s linear infinite}
  .job-fluid{animation:job-fluid-flow 2.4s linear infinite}
}
@keyframes job-code-run{0%,100%{opacity:.25}12%,85%{opacity:1}}
@keyframes job-check-one{0%,95%{opacity:0}30%{opacity:1}}
@keyframes job-check-two{0%,95%{opacity:0}55%{opacity:1}}
@keyframes job-pump-turn{to{transform:rotate(360deg)}}
@keyframes job-fluid-flow{to{stroke-dashoffset:-36}}

/* Experience labels echo the surname highlight. */
#experience .timeline-type{align-self:start;justify-self:end;background:#f2f2f2;color:#0c0c0c;padding:3px 6px;line-height:1.4;font-weight:700;white-space:nowrap}

#about .skills-label{display:table;background:#f2f2f2;color:#0c0c0c;padding:3px 6px;font-weight:700}

#about .journey-map{align-self:start}

footer.wrap{flex-wrap:wrap;gap:12px 24px}
.footer-rights{text-decoration:underline;text-underline-offset:4px}

/* Floating return control, independent of the footer. */
.back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(22px + env(safe-area-inset-bottom));z-index:40;display:grid;place-items:center;width:46px;height:46px;border:1px solid #383838;border-radius:50%;background:#141414;color:#df6262;box-shadow:0 4px 18px #0006;font:700 30px/1 var(--mono);transition:opacity .2s,transform .2s,border-color .2s}
.back-to-top span{transform:translateY(4px)}
.back-to-top:hover{border-color:#df6262;transform:translateY(-3px);color:#df6262}
.back-to-top:focus-visible{outline-color:#df6262}
.back-top-ready .back-to-top:not(.is-visible),.is-booting .back-to-top{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px)}
@media print{.back-to-top{display:none!important}}

/* Floating glass navigation: opaque fallback, blur only on supporting browsers. */
.section-dock{position:fixed;z-index:45;left:50%;bottom:calc(20px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;gap:4px;width:max-content;max-width:calc(100% - 24px);margin:0;padding:6px;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #04d9ff40;border-radius:999px;background:#242424;box-shadow:inset 0 1px 0 #ffffff20,0 8px 30px #0005;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.section-dock::-webkit-scrollbar{display:none}
.section-dock a,.section-dock a:last-child{flex:0 0 auto;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;margin:0;border:1px solid transparent;border-radius:999px;color:#d0d0d0;font:13px/1.3 var(--mono);white-space:nowrap;transition:background-color .2s,color .2s,border-color .2s}
.section-dock a:hover{background:#ffffff12;color:#fff}
.section-dock a[aria-current="location"]{background:#ffffff25;border-color:#ffffff35;color:#fff;box-shadow:inset 0 1px 0 #ffffff20}
.section-dock a:focus-visible{outline:2px solid #04d9ff;outline-offset:-3px}
.section-dock.has-sliding-pill a{position:relative;z-index:1}
.section-dock.has-sliding-pill a[aria-current="location"]{background:transparent;border-color:transparent;box-shadow:none}
.section-dock-pill{position:absolute;left:0;pointer-events:none;border:1px solid #ffffff35;border-radius:999px;background:linear-gradient(135deg,#ffffff28,#ffffff14);box-shadow:inset 0 1px 0 #ffffff25;opacity:0;transition:transform .55s cubic-bezier(.22,1,.36,1),width .55s cubic-bezier(.22,1,.36,1),opacity .2s}
.section-dock-pill.is-visible{opacity:1}
.is-booting .section-dock{visibility:hidden}
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){.section-dock{background:linear-gradient(135deg,#343434b8,#161616cf);-webkit-backdrop-filter:blur(16px) saturate(130%);backdrop-filter:blur(16px) saturate(130%)}}
@media screen{footer.wrap{padding-bottom:110px}}
@media(max-width:900px){.back-to-top{bottom:calc(94px + env(safe-area-inset-bottom))}}
@media(max-width:600px){.section-dock{gap:2px;padding:5px;bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100% - 16px)}.section-dock a,.section-dock a:last-child{font-size:11px;padding:0 10px}}
@media(max-width:359px){.section-dock a,.section-dock a:last-child{font-size:10px;padding:0 7px}}
@media(prefers-reduced-motion:reduce){.section-dock a,.section-dock-pill{transition:none}}
@media print{.section-dock{display:none!important}}

/* Single-line signature with a quiet, chamfered circuit divider. */
@media screen{
  .site-header{justify-content:flex-start;padding:32px 0 44px}
  .site-header::after{display:none}
  .site-header .identity{gap:22px;max-width:100%}
  .site-header .identity-code{font-size:38px;width:3ch;flex-shrink:0}
  .site-header .identity-name{display:flex;align-items:center;gap:10px;font-size:34px;line-height:1.08;white-space:nowrap;letter-spacing:-1px}
  .site-header .identity-name>span{display:block;margin:0}
  .site-header .identity-name>.identity-last{padding:1px 6px 2px}
}
.header-trace{position:absolute;left:0;bottom:0;width:100%;height:26px;overflow:visible;pointer-events:none;fill:none}
.header-trace path{vector-effect:non-scaling-stroke;stroke-width:1}
.header-trace-main{stroke:url(#header-trace-fade)}
.header-trace-echo{stroke:#04d9ff;opacity:.14}
.header-trace-terminal{stroke:#04d9ff;opacity:.45}
@media screen and (max-width:600px){
  .site-header.wrap{width:calc(100% - 48px);padding:28px 0 38px}
  .site-header .identity{gap:12px}
  .site-header .identity-code{font-size:clamp(22px,6vw,32px)}
  .site-header .identity-name{font-size:clamp(17px,4.8vw,28px);gap:7px;letter-spacing:-.5px}
  .site-header .identity-name>.identity-last{padding-inline:4px}
}
@media screen and (max-width:320px){.site-header.wrap{width:calc(100% - 32px)}.site-header .identity{gap:8px}.site-header .identity-name{font-size:clamp(13px,5.2vw,17px);gap:5px}.site-header .identity-code{font-size:20px}}
@media print{.header-trace{display:none}}

/* Intro action: understated instrument-panel styling with a single hover sweep. */
.button.project-cta{position:relative;isolation:isolate;overflow:hidden;min-height:54px;padding:9px 10px 9px 20px;gap:28px;border:1px solid #ffffff30;border-radius:12px;background:linear-gradient(135deg,#202020,#111);color:#f2f2f2;font-weight:500;box-shadow:inset 0 1px 0 #ffffff0a;transition:border-color .25s,box-shadow .25s,transform .25s}
.project-cta-label{position:relative;z-index:1}
.button.project-cta .project-cta-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:8px;background:#ffffff08;border:1px solid #ffffff16;color:#04d9ff;font-size:19px;transition:transform .25s,background-color .25s,border-color .25s}
.button.project-cta::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 25%,#04d9ff10 50%,transparent 75%);transform:translateX(-110%);pointer-events:none}
.button.project-cta::after{content:'';position:absolute;left:20px;right:20px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#04d9ff99,transparent);transform:scaleX(.25);opacity:.5;transition:transform .35s,opacity .35s}
.button.project-cta:focus-visible{outline:2px solid #04d9ff;outline-offset:4px;border-color:#04d9ff80}
.button.project-cta:focus-visible::after{transform:scaleX(1);opacity:1}
@media(hover:hover) and (pointer:fine){
  .button.project-cta:hover{background:linear-gradient(135deg,#242424,#141414);border-color:#04d9ff70;box-shadow:inset 0 1px 0 #ffffff10,0 6px 20px #0003;transform:translateY(-2px)}
  .button.project-cta:hover .project-cta-icon{background:#04d9ff10;border-color:#04d9ff40}
  .button.project-cta:hover::after{transform:scaleX(1);opacity:1}
  .button.project-cta:hover::before{animation:project-cta-sweep .7s ease-out both}
}
.button.project-cta:active{transform:translateY(0) scale(.98)}
@keyframes project-cta-sweep{to{transform:translateX(110%)}}
@media(max-width:480px){.button.project-cta{padding:8px 8px 8px 14px;gap:18px;min-height:50px}}
@media(prefers-reduced-motion:reduce){.button.project-cta,.button.project-cta .project-cta-icon,.button.project-cta::after{transition:none}.button.project-cta:hover::before{animation:none}.button.project-cta:hover,.button.project-cta:active,.button.project-cta:hover .project-cta-icon{transform:none}}

.project-cta-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2}
.project-cta-icon rect{transition:fill .25s}
@media(hover:hover) and (pointer:fine){.project-cta:hover .project-cta-icon rect{fill:#04d9ff20}}

/* Both intro actions share the same panel, accent, and hover treatment. */
@media(hover:hover) and (pointer:fine){.resume-cta:hover .project-cta-icon svg{fill:#04d9ff20}}

/* Vertical project cards with an illustration-first reveal. */
#projects .projects{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;position:relative;isolation:isolate}
#projects .project{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.3fr);min-width:0;position:relative;transform-origin:top center;background:#111;border-radius:12px;overflow:hidden}
#projects .project:nth-child(1){z-index:3}
#projects .project:nth-child(2){z-index:2}
#projects .project:nth-child(3){z-index:1}
#projects .project-visual{height:auto;min-height:300px;border-bottom:0;border-right:1px solid var(--line)}
#projects .project-content{padding:28px 30px 0;min-width:0}
#projects .project-content>p:not(.eyebrow){min-height:0}
#projects .project details{margin-top:auto}
#projects .stack{top:70px;bottom:auto;height:160px}
#projects .rings{top:76px;bottom:auto;height:140px}
.quad-visual{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#202020,#111 72%)}
.quadcopter{display:block;width:min(100%,340px);height:292px;margin:38px 12px;fill:none;stroke:#ababab;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.quad-guide{stroke:#777;opacity:.2;stroke-dasharray:3 7}
.quad-arms{stroke:#8a8a8a;stroke-width:2}
.quad-guard{stroke:#777;opacity:.45}
.quad-motor{fill:#1a1a1a;stroke:#ccc}
.quad-propeller{fill:#aaa;fill-opacity:.25;stroke:#aaa}
.quad-body{fill:#191919;stroke:#c4c4c4}
.quad-board{fill:#242424;stroke:#999}
.quad-circuit{stroke:#aaa;stroke-width:1}
.quad-camera{fill:#151515}
.quad-lens,.quad-antenna{stroke:#04d9ff;opacity:.65}
.quad-signal{stroke:#04d9ff;opacity:0;transform-box:fill-box;transform-origin:center}
@media(prefers-reduced-motion:no-preference){
 .quad-airframe{animation:quad-hover 5s ease-in-out infinite}
 .quad-propeller{animation:quad-spin 1.8s linear infinite}
 .quad-signal{animation:quad-transmit 3s ease-out infinite}
 .quad-signal-second{animation-delay:1.5s}
 .quadcopter:not(.is-running) *{animation-play-state:paused}
}
@keyframes quad-hover{0%,100%{transform:translateY(3px)}50%{transform:translateY(-3px)}}
@keyframes quad-spin{to{transform:rotate(360deg)}}
@keyframes quad-transmit{0%{transform:scale(.4);opacity:0}20%{opacity:.5}100%{transform:scale(2.2);opacity:0}}
@media(max-width:720px){#projects .project{grid-template-columns:minmax(0,1fr)}#projects .project-visual{min-height:240px;border-right:0;border-bottom:1px solid var(--line)}#projects .project-content{padding:24px 20px 0}.quadcopter{height:230px;margin:32px 8px}#projects .stack{top:55px}#projects .rings{top:52px}}

#projects .project{transition:border-color .25s,box-shadow .25s}
#projects .project:focus-within{border-color:#04d9ff99;box-shadow:0 0 0 1px #04d9ff12}
@media(hover:hover) and (pointer:fine){#projects .project:hover{border-color:#04d9ff99;box-shadow:0 0 0 1px #04d9ff12,0 8px 24px #0003}}
@media(prefers-reduced-motion:no-preference){
 #projects .project-reveal-ready{opacity:0}
 #projects .project-reveal-ready .project-content{opacity:0;transform:translateX(-16px)}
 #projects .project-reveal-ready.is-revealed{animation:project-figure-in .35s ease-out both}
 #projects .project-reveal-ready.is-revealed .project-content{animation:project-copy-in .6s ease-out .5s both}
}
@keyframes project-figure-in{from{opacity:0}to{opacity:1}}

@keyframes project-copy-in{to{opacity:1;transform:translateX(0)}}
@media(max-width:720px) and (prefers-reduced-motion:no-preference){

 #projects .project-reveal-ready .project-content{transform:translateY(-12px)}
 #projects .project-reveal-ready.is-revealed .project-content{animation-name:project-copy-down}
}
@keyframes project-copy-down{to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#projects .project{transition:none}.quad-signal{opacity:.2}}

/* Equal square illustration panels and consistent project-card rows. */
#projects .projects{grid-auto-rows:1fr}
#projects .project{align-items:start}
#projects .project-visual{width:100%;aspect-ratio:1;height:auto;min-height:0;align-self:start}
#projects .quadcopter{position:absolute;inset:12% 8%;width:84%;height:76%;margin:0}
#projects .stack{inset:50% auto auto 50%;width:160px;height:160px;transform:translate(-50%,-50%)}
#projects .rings{inset:50% auto auto 50%;width:160px;height:130px;transform:translate(-50%,-50%)}
@media(max-width:720px){#projects .project{align-content:start}#projects .project-visual{aspect-ratio:1;min-height:0}}

/* Compact, equally sized project illustrations. */
#projects .project{grid-template-columns:240px minmax(0,1fr)}
#projects .project-content{padding:22px 26px 0}
#projects .project-content>p:not(.eyebrow){margin-bottom:16px}
#projects .project .tags{margin-bottom:16px}
@media(max-width:900px) and (min-width:721px){#projects .project{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:720px){
 #projects .project{grid-template-columns:minmax(0,1fr)}
 #projects .project-visual{width:min(100%,220px);justify-self:center}
 #projects .project-content{padding:20px 20px 0}
}

/* All copy stays visible in the layout; no click-to-expand card sizing. */
#projects .project-content{padding-bottom:22px;overflow-wrap:anywhere}
#projects .project-build-note{border-top:1px solid var(--line);padding-top:15px;font-size:14px;color:var(--muted)}
.smart-room{position:absolute;inset:12% 8%;width:84%;height:76%;fill:none;stroke:#a3a3a3;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.room-frame{stroke:#777;opacity:.65}
.room-light{fill:#04d9ff;fill-opacity:.07;stroke:#04d9ff;stroke-opacity:.15}
.room-data{stroke:#04d9ff;stroke-dasharray:3 7;opacity:.6}
.room-chart{stroke:#04d9ff;opacity:.8;stroke-dasharray:50;stroke-dashoffset:0}
.room-screen-detail{opacity:.45}
@media(prefers-reduced-motion:no-preference){
 .room-light{animation:room-light-breathe 4s ease-in-out infinite}
 .room-data{animation:room-data-flow 3s linear infinite}
 .room-data-two{animation-delay:1s}
 .room-chart{animation:room-chart-draw 5s ease-in-out infinite}
 .smart-room:not(.is-running) *{animation-play-state:paused}
}
@keyframes room-light-breathe{0%,100%{opacity:.4}50%{opacity:1}}
@keyframes room-data-flow{to{stroke-dashoffset:-30}}
@keyframes room-chart-draw{0%{stroke-dashoffset:50;opacity:.3}50%,85%{stroke-dashoffset:0;opacity:.8}100%{stroke-dashoffset:0;opacity:.3}}

html.section-travelling{scroll-behavior:auto!important}

/* A moving car lift and a deliberately abstract preview of the next project. */
.parking-visual{background:radial-gradient(ellipse at 60% 35%,#182329,#121212 75%)}
.parking-system{position:absolute;inset:10% 8%;width:84%;height:80%;fill:none;stroke:#a3a3a3;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.parking-frame{stroke:#777}
.parking-rails{stroke:#555;stroke-dasharray:2 5}
.parking-empty{fill:#04d9ff0c;stroke:#04d9ff66;stroke-dasharray:3 3}
.parking-target,.parking-platform,.parking-entry{stroke:#04d9ff}
.parking-car{fill:#182329;stroke:#e3e3e3}
.parking-parked{stroke:#888;fill:#191919}
#projects .project-stealth{background:linear-gradient(115deg,#13191c,#111 65%);border-color:#33454c}
.stealth-visual{background:radial-gradient(circle at 50% 48%,#04d9ff14,transparent 60%),linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:auto,24px 24px,24px 24px}
.stealth-art{position:absolute;inset:20% 14% 22%;display:grid;place-items:center}
.stealth-orbit{position:absolute;width:144px;height:144px;border:1px solid #04d9ff35;border-radius:50%;transform:rotate(-30deg)}
.stealth-orbit::after{content:'';position:absolute;top:-.5px;left:50%;transform:translate(-50%,-50%);width:5px;height:5px;border-radius:50%;background:#04d9ff;box-shadow:0 0 12px #04d9ff88}
.stealth-orbit-inner{width:110px;height:110px;border-color:#ffffff25;border-style:dashed;transform:rotate(30deg)}
.stealth-core{display:grid;place-items:center;width:68px;height:68px;border:1px solid #04d9ff60;border-radius:15px;background:linear-gradient(135deg,#203037,#13191c);box-shadow:0 0 28px #04d9ff12,inset 0 0 20px #04d9ff08;transform:rotate(-12deg)}
.stealth-core span{font:64px var(--mono);color:#bdeef7;line-height:1;transform:translateY(12px) rotate(12deg)}
.stealth-coordinate{position:absolute;bottom:-15px;font:8px var(--mono);letter-spacing:1px;color:#8fa6ac;white-space:nowrap}
.stealth-status{display:flex;align-items:center;gap:8px;color:#9cdae5!important}
.stealth-status>span{width:6px;height:6px;background:#04d9ff;border-radius:50%;box-shadow:0 0 9px #04d9ff55}
#projects .stealth-title{font-family:var(--mono);font-size:clamp(26px,4vw,34px);letter-spacing:1px;line-height:1.2}
.stealth-mask{color:#6da4b0;text-shadow:0 0 18px #04d9ff35}
@media(prefers-reduced-motion:no-preference){
 .parking-lift{animation:parking-elevate 8s ease-in-out infinite}
 .parking-empty,.parking-target{animation:parking-space-glow 8s ease-in-out infinite}
 .parking-system:not(.is-running) *{animation-play-state:paused}
 .stealth-orbit{animation:stealth-orbit-turn 24s linear infinite}
 .stealth-orbit-inner{animation-direction:reverse;animation-duration:18s}
 .stealth-core{animation:stealth-core-glow 5s ease-in-out infinite}
 .stealth-visual:not(.is-running) *{animation-play-state:paused}
}
@keyframes parking-elevate{0%,15%,100%{transform:translateY(100px)}50%,70%{transform:translateY(0)}}
@keyframes parking-space-glow{0%,20%,100%{opacity:.35}50%,75%{opacity:1}}
@keyframes stealth-orbit-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes stealth-core-glow{0%,100%{box-shadow:0 0 20px #04d9ff12}50%{box-shadow:0 0 38px #04d9ff30}}

/* Shared button treatment and a transparent room illustration panel. */
#print-cv{padding:14px 22px}
#projects .visual-two{background:transparent}
