/* Premium automation-system treatment: original inline SVG + lightweight CSS. */
.hero::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(17,17,16,.96) 0%,rgba(17,17,16,.88) 42%,rgba(17,17,16,.35) 72%,rgba(17,17,16,.72) 100%),radial-gradient(circle at 78% 42%,rgba(101,126,98,.12),transparent 34%)}
.hero>.eyebrow,.hero h1,.hero-foot{position:relative;z-index:2}
.hero-foot{bottom:auto;left:auto;right:auto;margin-top:clamp(54px,8vw,100px)}
.workflow-bg{position:absolute;inset:-2%;width:104%;height:104%;z-index:0;pointer-events:none;opacity:.88;mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 94%,transparent 100%)}
.workflow-lines path,.workflow-branches path,.workflow-traces path{fill:none;vector-effect:non-scaling-stroke}
.workflow-lines path{stroke:rgba(128,151,155,.17);stroke-width:1}
.workflow-lines path:nth-child(2n){stroke:rgba(182,160,99,.15)}
.workflow-branches path{stroke:rgba(138,153,119,.13);stroke-width:1;stroke-dasharray:2 7}
.workflow-traces path{stroke-width:2;stroke-linecap:round;stroke-dasharray:.014 .986;stroke-dashoffset:1;filter:drop-shadow(0 0 4px currentColor);animation:workflow-trace var(--trace-duration,12s) linear var(--trace-delay,0s) infinite}
.workflow-traces path:nth-child(1){color:#d6ab62;stroke:currentColor;--trace-duration:12s}
.workflow-traces path:nth-child(2){color:#8da995;stroke:currentColor;--trace-duration:15s;--trace-delay:-6s}
.workflow-traces path:nth-child(3){color:#c0ca70;stroke:currentColor;--trace-duration:17s;--trace-delay:-10s}
.workflow-nodes circle{fill:#171917;stroke:rgba(204,185,119,.62);stroke-width:1.5;opacity:.42;transform-box:fill-box;transform-origin:center;animation:node-current var(--node-duration,12s) ease-out var(--node-delay,0s) infinite}
@keyframes workflow-trace{to{stroke-dashoffset:0}}
@keyframes node-current{0%,100%{opacity:1;transform:scale(1.42);fill:#d9b66e;filter:drop-shadow(0 0 7px rgba(222,181,101,.82))}5%{opacity:.7;transform:scale(1.1);filter:drop-shadow(0 0 3px rgba(218,179,104,.42))}12%,94%{opacity:.42;transform:scale(1);fill:#171917;filter:none}}
.system-section{position:relative;overflow:hidden;isolation:isolate}
.system-section>*:not(.section-circuit){position:relative;z-index:1}
.section-circuit{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.42;background-image:linear-gradient(90deg,transparent 0 7%,rgba(134,154,143,.15) 7% 7.08%,transparent 7.08% 100%),linear-gradient(0deg,transparent 0 74%,rgba(188,165,98,.12) 74% 74.08%,transparent 74.08% 100%)}
.section-circuit::before,.section-circuit::after{content:"";position:absolute}
.section-circuit::before{right:5%;top:17%;width:32%;height:42%;border-top:1px solid rgba(166,179,119,.2);border-right:1px solid rgba(166,179,119,.2);clip-path:polygon(0 0,100% 0,100% 100%,82% 100%,82% 20%,0 20%)}
.section-circuit::after{width:5px;height:5px;border:1px solid rgba(218,179,104,.68);border-radius:50%;right:5%;top:58%;box-shadow:0 0 8px rgba(218,179,104,.5);animation:section-node 8s ease-in-out infinite}
.capabilities .section-circuit{opacity:.34}.experience .section-circuit{opacity:.18;transform:scaleX(-1)}.contact .section-circuit{opacity:.3}
@keyframes section-node{0%,78%,100%{opacity:.35;box-shadow:none}84%{opacity:1;box-shadow:0 0 10px rgba(218,179,104,.75)}}
.timeline::after{content:"";position:absolute;left:152px;top:13px;width:1px;height:var(--timeline-progress,0%);max-height:calc(100% - 48px);background:linear-gradient(#d2ad65,#9fad6d 55%,#7f9e95);box-shadow:0 0 9px rgba(198,181,99,.42);transition:height .8s cubic-bezier(.2,.7,.2,1)}
.timeline-item .timeline-dot{transition:background-color .45s ease,border-color .45s ease,box-shadow .45s ease,transform .45s ease}
.timeline-item.is-current .timeline-dot{background:#d2ad65;border-color:#e1c27e;box-shadow:0 0 12px rgba(210,173,101,.78);transform:scale(1.2)}
.timeline-item.is-passed .timeline-dot{background:#9fad6d;border-color:#b9c37d;box-shadow:0 0 6px rgba(159,173,109,.42)}
.timeline-item.active .timeline-dot{animation:none}
@media(max-height:950px) and (min-width:701px){.hero{padding-top:clamp(72px,10vh,100px)}.hero h1{margin-top:clamp(28px,4vh,42px)}}
@media(max-width:980px){.workflow-bg{width:132%;left:-22%;opacity:.76}.workflow-branches path:nth-child(n+4),.workflow-lines path:nth-child(n+5){display:none}.hero::before{background:linear-gradient(90deg,rgba(17,17,16,.97),rgba(17,17,16,.78) 68%,rgba(17,17,16,.82))}.section-circuit{opacity:.26}}
@media(max-width:700px){.workflow-bg{width:210%;left:-82%;opacity:.52}.workflow-lines path:nth-child(n+4),.workflow-branches path:nth-child(n+2),.workflow-traces path:nth-child(3),.workflow-nodes circle:nth-child(n+7){display:none}.hero::before{background:linear-gradient(90deg,rgba(17,17,16,.97),rgba(17,17,16,.87) 74%,rgba(17,17,16,.92))}.section-circuit{opacity:.18}.section-circuit::before{width:55%;right:-12%}.timeline::after{left:5px}}
@media(prefers-reduced-motion:reduce){.workflow-traces path,.workflow-nodes circle,.section-circuit::after{animation:none}.workflow-traces path{stroke-dasharray:none;opacity:.16;filter:none}.workflow-nodes circle{opacity:.5;transform:none;filter:none}.timeline::after,.timeline-item .timeline-dot{transition:none}.section-circuit::after{opacity:.45;box-shadow:0 0 5px rgba(218,179,104,.35)}}

/* Pass 2: stronger conversion, verified work, tools, and section hierarchy. */
:root{--ink:#080b0c;--paper:#f0eee7;--muted:#9ca7a4;--line:rgba(221,238,233,.14);--acid:#8be866;--cyan:#5bd6dc;--amber:#d6ab62;--surface:#0b1113;--surface-2:#0d1416;--ease:cubic-bezier(.2,.7,.2,1)}
body{background:var(--ink)}
.brand{display:inline-flex;align-items:center;min-width:44px;min-height:44px}
.site-header nav{gap:24px}
.hero::before{background:linear-gradient(90deg,rgba(8,11,12,.97) 0%,rgba(8,11,12,.88) 42%,rgba(8,11,12,.4) 72%,rgba(8,11,12,.76) 100%),radial-gradient(circle at 78% 42%,rgba(91,214,220,.1),transparent 34%)}
.workflow-traces path:nth-child(1){color:var(--acid)}.workflow-traces path:nth-child(2){color:var(--cyan)}.workflow-traces path:nth-child(3){color:var(--amber)}
.workflow-nodes circle{stroke:rgba(139,232,102,.6)}
@keyframes node-current{0%,100%{opacity:1;transform:scale(1.42);fill:var(--acid);filter:drop-shadow(0 0 7px rgba(139,232,102,.72))}5%{opacity:.7;transform:scale(1.1);filter:drop-shadow(0 0 3px rgba(91,214,220,.38))}12%,94%{opacity:.42;transform:scale(1);fill:#101718;filter:none}}
.hero-foot{align-items:flex-end}
.hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.cta{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:0 18px;border:1px solid var(--line);font-size:13px;font-weight:700;transition:color .25s ease,background-color .25s ease,border-color .25s ease,transform .25s var(--ease),box-shadow .25s ease}
.cta span{font-size:16px}.cta-primary{background:var(--acid);border-color:var(--acid);color:#081008}.cta-secondary{background:rgba(8,11,12,.7);color:var(--paper)}
.cta:hover{transform:translateY(-2px)}.cta-primary:hover{background:#a0f17f;box-shadow:0 8px 24px rgba(139,232,102,.16)}.cta-secondary:hover{border-color:var(--cyan);color:var(--cyan)}

.tool-stack{padding:120px 0 95px;background:var(--surface)}
.tool-stack .section-circuit{background-image:linear-gradient(90deg,transparent 0 7%,rgba(134,154,143,.15) 7% 7.08%,transparent 7.08% 100%)}
.tool-stack .section-circuit::before,.tool-stack .section-circuit::after{display:none}
.tool-stack-heading{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);gap:50px;align-items:end;margin-bottom:72px}
.tool-stack-heading h2{margin-top:28px}.tool-stack-heading>p{max-width:390px;color:#bac4c1;font-size:15px;line-height:1.75;margin:0}
.marquee-viewport{position:relative;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.marquee-track{display:flex;align-items:center;width:max-content;animation:tool-marquee 42s linear infinite;will-change:transform}
.marquee-viewport:hover .marquee-track{animation-play-state:paused}
.tool-item{display:flex;align-items:center;gap:13px;min-width:max-content;margin-right:clamp(42px,5vw,78px);color:#87918f;font:500 14px var(--sans);transition:color .25s ease,transform .25s var(--ease)}
.tool-item:hover{color:var(--cyan);transform:translateY(-2px)}
.tool-logo{display:block;width:29px;height:29px;flex:0 0 29px;object-fit:contain;opacity:1;filter:none;transition:opacity .25s ease,transform .25s var(--ease)}
.tool-item:hover .tool-logo{opacity:1;filter:none;transform:scale(1.04)}
.tool-logo.is-missing{visibility:hidden}
@keyframes tool-marquee{to{transform:translateX(-50%)}}

.selected-work{padding:145px 0;background:linear-gradient(180deg,#091012 0%,#0b1315 55%,#091011 100%);border-bottom:1px solid var(--line)}
.selected-work .section-circuit{opacity:.22}
.work-heading{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:48px;align-items:end;margin-bottom:72px}
.work-heading h2{margin-top:28px}.work-heading>p{margin:0;color:#b3bfbc;font-size:15px;line-height:1.75;max-width:410px}
.featured-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.project-feature{position:relative;border:1px solid var(--line);background:rgba(8,13,14,.74);overflow:hidden}
.project-verified{grid-column:1/-1;display:grid;grid-template-columns:1.12fr .88fr;min-height:590px}
.project-copy{padding:clamp(28px,4vw,58px);position:relative;z-index:1}
.project-kicker{display:flex;align-items:center;gap:12px;margin:0 0 42px;font:12px var(--mono);text-transform:uppercase;color:var(--muted);letter-spacing:.04em}
.project-kicker span{color:var(--acid)}
.project-feature h3{font-size:clamp(30px,4.4vw,62px);line-height:1;letter-spacing:-.055em;font-weight:500;max-width:800px;margin:0 0 25px}
.project-feature p:not(.project-kicker){max-width:650px;color:#bbc5c2;line-height:1.75}
.project-feature dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:42px 0 0}
.project-feature dl div{border-top:1px solid var(--line);padding-top:13px}.project-feature dt{font:11px var(--mono);color:var(--muted);text-transform:uppercase}.project-feature dd{margin:8px 0 0;font-size:13px;color:#d9dfdc}
.project-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin-top:45px;padding-bottom:5px;border-bottom:1px solid var(--acid);font:12px var(--mono);text-transform:uppercase;color:var(--paper)}
.project-link:hover{color:var(--acid)}
.project-placeholder{display:grid;place-items:center;min-height:100%;padding:35px;border-left:1px solid var(--line);background:linear-gradient(145deg,rgba(91,214,220,.08),rgba(139,232,102,.035)),repeating-linear-gradient(90deg,transparent 0 59px,rgba(139,232,102,.07) 60px),repeating-linear-gradient(0deg,transparent 0 59px,rgba(91,214,220,.06) 60px)}
.project-placeholder span{max-width:250px;text-align:center;font:12px/1.6 var(--mono);color:#9ba7a4}
.project-system{position:absolute;right:4%;top:30px;z-index:2;display:flex;align-items:center;color:#78918c;font:10px var(--mono);text-transform:uppercase}
.project-system span{border:1px solid rgba(91,214,220,.22);padding:7px 9px;background:#0b1214}.project-system i{width:26px;height:1px;background:linear-gradient(90deg,var(--cyan),rgba(91,214,220,.15));position:relative}.project-system i::after{content:"";position:absolute;right:-1px;top:-2px;width:5px;height:5px;border-radius:50%;background:var(--acid);box-shadow:0 0 7px rgba(139,232,102,.5)}
.project-slot{min-height:360px}.project-slot .project-copy{padding:38px 42px}.project-slot .project-kicker{margin-bottom:30px}.project-slot h3{font-size:clamp(26px,3vw,40px);max-width:530px;margin-bottom:18px}.project-slot dl{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px}.project-slot .project-status{margin-top:25px}
.project-status{display:inline-block;margin-top:35px;border:1px solid var(--line);padding:8px 10px;font:11px var(--mono);text-transform:uppercase;color:var(--muted)}

.capabilities{background:#080c0d}.capabilities .section-heading>div h2{margin-top:28px}.capability-grid article{transition:background-color .25s ease,border-color .25s ease}.capability-grid article:hover{background:rgba(139,232,102,.025);border-color:rgba(139,232,102,.2)}
.experience{background:var(--surface-2)}.experience .section-heading{align-items:end}.experience .section-note{max-width:340px;line-height:1.7}
.timeline::after{background:linear-gradient(var(--acid),var(--cyan) 58%,var(--amber));box-shadow:0 0 9px rgba(91,214,220,.32)}
.timeline-item.is-current .timeline-dot{background:var(--acid);border-color:#b2f49a;box-shadow:0 0 12px rgba(139,232,102,.68)}
.timeline-item.is-passed .timeline-dot{background:var(--cyan);border-color:#8ee3e7;box-shadow:0 0 6px rgba(91,214,220,.38)}
.automation-role>div:last-child{padding:26px 34px 32px;border:1px solid rgba(139,232,102,.13);background:rgba(7,11,12,.24)}
.automation-role h3{font-size:27px}.legacy-role{padding-bottom:42px}.legacy-role>div:last-child{opacity:.78;max-width:650px}.legacy-role h3{font-size:20px}.legacy-role .skill-tags span{color:#aeb8b5}
.story{background:var(--ink)}.education-panel{background:#e9ece6}.education-panel .portrait{background:linear-gradient(145deg,#7fd65d,#c9e6d7 52%,#5eaeb4)}.education-panel .portrait:after{background:#0a1112}
.contact{background:var(--ink)}.contact-mark{color:var(--acid);text-shadow:0 0 45px rgba(139,232,102,.12)}

.nav-toggle{width:44px;height:44px;align-items:center;justify-content:center}
.skill-tags span,.placeholder-note,.project-meta p,.role,.location,.time{font-size:12px}
.project-link:focus-visible,.cta:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}
.email-link,footer a{min-height:44px;display:inline-flex;align-items:center}

.work-page{background:var(--surface);min-height:100vh}.work-page-main{padding:100px 0 140px}.work-page-main h1{font-size:clamp(50px,8vw,112px);line-height:.95;letter-spacing:-.07em;font-weight:500;margin:28px 0 70px}.work-page-main h1 em{font-family:var(--serif);font-weight:500}.case-panel{border:1px solid var(--line);background:#080d0e;padding:clamp(30px,6vw,80px)}.case-panel h2{font-size:clamp(35px,5vw,68px);margin:16px 0 28px}.case-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}.case-panel section{border-top:1px solid var(--line);padding:25px 0}.case-panel h3{font-size:16px;margin:0 0 12px}.case-panel p{color:#b8c2bf;line-height:1.75}.case-placeholder{font-family:var(--mono);color:var(--acid)!important}.back-link{display:inline-flex;gap:8px;margin-top:35px;font:12px var(--mono);text-transform:uppercase;border-bottom:1px solid var(--acid);padding-bottom:5px}

@media(max-width:980px){
  .site-header nav{gap:16px}.tool-stack-heading,.work-heading{grid-template-columns:1fr;gap:28px}.tool-stack{padding:100px 0 80px}
  .project-verified{grid-template-columns:1fr}.project-placeholder{min-height:360px;border-left:0;border-top:1px solid var(--line)}
  .project-system{display:none}.project-feature dl{grid-template-columns:1fr 1fr}.case-panel-grid{grid-template-columns:1fr;gap:0}
}
@media(max-width:700px){
  .site-header nav{gap:0}.nav-toggle{padding:10px}.site-header nav a{width:100%;min-height:48px;display:flex;align-items:center}.site-header .nav-contact{width:auto;min-height:44px}
  .hero-foot{display:block}.hero-foot p{width:min(100%,270px)}.hero-actions{justify-content:flex-start;margin-top:32px}.cta{min-height:46px;padding:0 14px}.round-link{margin-left:auto}
  .tool-stack{padding:84px 0 70px}.tool-stack-heading{margin-bottom:45px}.tool-stack-heading>p,.work-heading>p{font-size:14px}.marquee-viewport{mask-image:none;padding:22px 0}
  .selected-work{padding:95px 0}.work-heading{margin-bottom:45px}.featured-projects{grid-template-columns:1fr}.project-verified{grid-column:auto}.project-copy,.project-slot .project-copy{padding:26px 22px 30px}.project-feature h3{font-size:32px}.project-kicker,.project-slot .project-kicker{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:30px}.project-feature dl,.project-slot dl{grid-template-columns:1fr;gap:16px;margin-top:32px}.project-placeholder{min-height:260px}.project-slot{min-height:auto}.project-slot .project-status{margin-top:25px}
  .capabilities .section-heading>div h2{margin-top:24px}.experience .section-heading{align-items:flex-start}.automation-role>div:last-child{padding:22px 18px 25px}.automation-role h3{font-size:23px}.legacy-role h3{font-size:19px}
  .contact h2{font-size:clamp(35px,10vw,49px)}.work-page-main{padding:75px 0 95px}.case-panel{padding:26px 20px}
}
@media(prefers-reduced-motion:reduce){
  .marquee-track{width:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;animation:none;transform:none;padding:0 32px}.tool-item{margin:0;min-width:0}.tool-item[aria-hidden="true"]{display:none}.tool-item:hover{transform:none}
  .cta:hover{transform:none}
}
@media(prefers-reduced-motion:reduce) and (max-width:700px){.marquee-track{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 20px}}

/* Pass 4: source-backed project index and reusable case-study system. */
.projects-index-link{display:flex;justify-content:flex-end;margin-top:34px}.projects-index-link .project-link{margin-top:0}
.portfolio-project-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);background:rgba(7,12,13,.82);overflow:hidden;transition:border-color .25s ease,transform .25s var(--ease)}
.portfolio-project-card:hover{border-color:rgba(91,214,220,.32);transform:translateY(-2px)}
.portfolio-project-card--primary{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);min-height:620px;border-color:rgba(139,232,102,.24)}
.portfolio-project-card__copy{padding:clamp(30px,4vw,58px);display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.portfolio-project-card h3{font-size:clamp(29px,3.7vw,54px);line-height:1;letter-spacing:-.055em;font-weight:500;margin:0 0 24px;max-width:760px}
.portfolio-project-card:not(.portfolio-project-card--primary) h3{font-size:clamp(27px,3vw,40px)}
.portfolio-project-card__copy>p:not(.project-kicker):not(.workflow-hint){color:#b8c3c0;line-height:1.7;margin:0;max-width:640px}
.workflow-hint{margin:30px 0 0!important;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;color:#d3dcda!important;font:12px/1.65 var(--mono)!important}
.project-tools{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:26px 0 0;padding:0}
.project-tools li{border:1px solid var(--line);border-radius:999px;padding:6px 9px;color:#b9c4c1;font:10px var(--mono);text-transform:uppercase}
.portfolio-project-card .project-link{margin-top:auto;padding-top:34px;min-height:44px}
.project-evidence{position:relative;min-width:0;min-height:300px;border-top:1px solid var(--line);background:linear-gradient(145deg,rgba(91,214,220,.07),rgba(139,232,102,.025)),#071011;overflow:hidden}
.portfolio-project-card--primary>.project-evidence{border-top:0;border-left:1px solid var(--line);min-height:100%}
.project-evidence--diagram{display:grid;align-items:center;padding:clamp(24px,4vw,50px)}
.workflow-image-link{display:grid;position:relative;width:100%;height:100%;min-height:300px;background:#070a0b;overflow:hidden}
.workflow-image-link img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .45s var(--ease)}
.workflow-image-link:hover img{transform:scale(1.018)}
.workflow-image-link span{position:absolute;right:14px;bottom:14px;min-height:40px;display:flex;align-items:center;padding:0 12px;background:rgba(7,11,12,.88);border:1px solid var(--line);color:#d9e2df;font:10px var(--mono);text-transform:uppercase}
.workflow-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;list-style:none;margin:34px 0 0;padding:0;counter-reset:workflow}
.workflow-map li{position:relative;min-height:96px;padding:17px 14px;border:1px solid rgba(91,214,220,.18);background:rgba(7,14,15,.78);color:#d7dfdc;font:12px/1.45 var(--mono)}
.workflow-map li span{display:block;margin-bottom:16px;color:var(--acid);font-size:10px}
.workflow-map li:not(:last-child)::after{content:"";position:absolute;right:-11px;top:50%;width:11px;height:1px;background:linear-gradient(90deg,var(--cyan),rgba(91,214,220,.18));z-index:2}
.workflow-map--compact{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.workflow-map--compact li{min-height:92px}.workflow-map--compact li:not(:last-child)::after{display:none}

.project-index-main{padding-bottom:150px;background:linear-gradient(180deg,#080c0d,#0a1113 48%,#080b0c)}
.project-index-hero{padding:110px 0 125px;border-bottom:1px solid var(--line)}
.project-index-hero h1{max-width:1100px;margin:34px 0 42px;font-size:clamp(54px,8vw,112px);line-height:.93;letter-spacing:-.07em;font-weight:500}
.project-index-hero h1 em,.project-index-heading h2 em,.case-study-hero h1 em{font-family:var(--serif);font-weight:500}
.project-index-hero>p:last-child{max-width:600px;color:#b8c3c0;font-size:17px;line-height:1.75}
.project-index-section{padding:125px 0 0}.project-index-section--supporting{padding-top:150px}
.project-index-heading{display:grid;grid-template-columns:minmax(180px,.4fr) minmax(0,1.6fr);gap:32px;align-items:start;margin-bottom:65px}
.project-index-heading h2{font-size:clamp(40px,5.5vw,76px);margin:0}
.project-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.project-index-grid .portfolio-project-card:not(.portfolio-project-card--primary) .project-evidence{min-height:330px}

.case-header-nav{display:flex;align-items:center;gap:24px;font-size:13px}.case-header-nav>a:not(.nav-contact){color:#cfd7d4}
.case-study-page main{background:linear-gradient(180deg,#080c0d 0%,#0b1214 54%,#080b0c 100%)}
.case-study-hero{width:min(100% - 64px,1280px);margin:auto;padding:110px 0 90px}
.case-study-hero h1{max-width:1120px;margin:32px 0 35px;font-size:clamp(52px,8vw,112px);line-height:.93;letter-spacing:-.07em;font-weight:500}
.case-study-summary{max-width:750px;color:#c1ccc9;font-size:clamp(20px,2.3vw,30px);line-height:1.45;letter-spacing:-.025em}
.case-study-hero .project-tools{margin-top:34px}
.case-study-visual{padding:100px max(32px,calc((100vw - 1280px)/2));border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#071011}
.case-section-heading{display:grid;grid-template-columns:minmax(180px,.4fr) minmax(0,1.6fr);gap:32px;align-items:start;margin-bottom:55px}
.case-section-heading h2{font-size:clamp(40px,5.5vw,76px)}
.case-study-visual>.project-evidence{border:1px solid var(--line);min-height:0}
.case-study-visual .project-evidence--gallery{display:grid;grid-template-columns:1fr;gap:16px;border:0;background:none;overflow:visible}
.case-study-visual .workflow-image-link{min-height:clamp(320px,58vw,720px);border:1px solid var(--line)}
.case-study-visual .workflow-map{margin:0}
.case-study-content{width:min(100% - 64px,1040px);margin:auto;padding:80px 0 135px}
.case-study-content>section{display:grid;grid-template-columns:190px minmax(0,1fr);gap:0 42px;padding:55px 0;border-top:1px solid var(--line)}
.case-section-number{grid-column:1;grid-row:1/span 20;margin:8px 0 0;color:var(--acid);font:11px var(--mono);text-transform:uppercase}
.case-study-content h2,.case-study-content>section>p:not(.case-section-number),.case-study-content>section>ul,.case-study-content>section>.workflow-map{grid-column:2}
.case-study-content h2{font-size:clamp(31px,4vw,50px);line-height:1.02;margin:0 0 28px}
.case-study-content>section>p:not(.case-section-number){max-width:720px;margin:0 0 18px;color:#bdc7c4;line-height:1.8}
.case-list{list-style:none;margin:8px 0 0;padding:0;max-width:720px}.case-list li{position:relative;padding:14px 0 14px 25px;border-bottom:1px solid var(--line);color:#d2dad8}.case-list li::before{content:"";position:absolute;left:0;top:22px;width:7px;height:7px;border-radius:50%;background:var(--acid);box-shadow:0 0 7px rgba(139,232,102,.35)}
.technical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:8px 0 0;padding:0}.technical-grid li{min-height:74px;display:flex;align-items:flex-end;padding:16px;border:1px solid var(--line);background:rgba(91,214,220,.025);color:#d4ddda;font:12px var(--mono);text-transform:uppercase}
.case-next{width:min(100% - 64px,1280px);margin:auto;padding:0 0 110px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.case-next a{min-height:128px;padding:24px;border:1px solid var(--line);display:flex;flex-direction:column;justify-content:space-between;transition:border-color .25s ease,background-color .25s ease}
.case-next a:hover{border-color:rgba(139,232,102,.35);background:rgba(139,232,102,.025)}
.case-next span{color:var(--muted);font:10px var(--mono);text-transform:uppercase}.case-next strong{max-width:430px;font-size:20px;font-weight:500;line-height:1.25}

@media(max-width:980px){
  .portfolio-project-card--primary{grid-template-columns:1fr;min-height:0}.portfolio-project-card--primary>.project-evidence{border-left:0;border-top:1px solid var(--line);min-height:420px}
  .project-index-heading,.case-section-heading{grid-template-columns:1fr;gap:24px}.case-study-visual .workflow-map{grid-template-columns:repeat(2,minmax(0,1fr))}.case-study-visual .workflow-map li:not(:last-child)::after{display:none}
}
@media(max-width:700px){
  .portfolio-project-card:hover{transform:none}.portfolio-project-card__copy{padding:28px 22px 32px}.portfolio-project-card h3,.portfolio-project-card:not(.portfolio-project-card--primary) h3{font-size:31px}.portfolio-project-card--primary>.project-evidence{min-height:340px}
  .project-index-grid{grid-template-columns:1fr}.project-index-hero{padding:75px 0 85px}.project-index-hero h1{font-size:clamp(48px,14vw,68px)}.project-index-hero>p:last-child{font-size:15px}.project-index-section{padding-top:85px}.project-index-section--supporting{padding-top:105px}.project-index-heading{margin-bottom:40px}
  .case-header-nav{gap:12px}.case-header-nav>a:not(.nav-contact){display:none}.case-study-hero{width:calc(100% - 40px);padding:75px 0 70px}.case-study-hero h1{font-size:clamp(45px,13vw,66px)}.case-study-summary{font-size:19px}.case-study-visual{padding:75px 20px}.case-study-visual .workflow-image-link{min-height:260px}.workflow-image-link span{right:8px;bottom:8px}
  .case-study-content{width:calc(100% - 40px);padding:55px 0 90px}.case-study-content>section{display:block;padding:44px 0}.case-section-number{margin-bottom:22px}.case-study-content h2{font-size:34px}.technical-grid{grid-template-columns:1fr}.workflow-map,.case-study-visual .workflow-map{grid-template-columns:1fr}.workflow-map li{min-height:76px}.workflow-map li:not(:last-child)::after{right:auto;left:22px;top:auto;bottom:-11px;width:1px;height:11px;background:linear-gradient(var(--cyan),rgba(91,214,220,.18))}.workflow-map--compact{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-map--compact li{min-height:86px}.workflow-map--compact li:not(:last-child)::after{display:none}
  .case-next{position:static;inset:auto;width:calc(100% - 40px);grid-template-columns:1fr;align-items:stretch;padding:0 0 80px;background:transparent;border-bottom:0}.project-evidence{min-height:260px}
}
@media(prefers-reduced-motion:reduce){.portfolio-project-card:hover{transform:none}.workflow-image-link:hover img{transform:none}}

/* Pass 5: one continuous site-wide circuit atmosphere. */
:root{--page-deep:#050a0b;--page-teal:#071214;--page-scrim:rgba(5,11,12,.7)}
html{background:var(--page-deep)}
body{position:relative;isolation:isolate;background:radial-gradient(circle at 12% 18%,rgba(31,92,86,.13),transparent 31%),radial-gradient(circle at 88% 72%,rgba(29,102,104,.11),transparent 34%),var(--page-deep)}
body>main,body>header,body>footer{position:relative;z-index:1}
.site-circuit-field{position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;opacity:.78;overflow:visible;mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.92) 18%,rgba(0,0,0,.48) 48%,rgba(0,0,0,.92) 82%,#000 100%)}
.global-circuit-lines path,.global-circuit-active path{fill:none;vector-effect:non-scaling-stroke}
.global-circuit-lines path{stroke:rgba(79,143,139,.18);stroke-width:1}
.global-circuit-lines path:nth-child(3n){stroke:rgba(117,151,125,.15)}
.global-circuit-lines path:nth-child(4n){stroke:rgba(70,150,158,.13);stroke-dasharray:2 8}
.global-circuit-dim-nodes circle{fill:#071011;stroke:rgba(91,181,171,.34);stroke-width:1.25;opacity:.58;vector-effect:non-scaling-stroke}
.global-circuit-active path{stroke-width:1.8;stroke-linecap:round;stroke-dasharray:.018 .982;stroke-dashoffset:1;filter:drop-shadow(0 0 4px currentColor);animation:global-circuit-signal var(--signal-duration) linear var(--signal-delay) infinite}
.global-circuit-active path:first-child{color:#8be866;stroke:currentColor;--signal-duration:19s;--signal-delay:-2s}
.global-circuit-active path:nth-child(2){color:#5bd6dc;stroke:currentColor;--signal-duration:23s;--signal-delay:-11s}
.global-circuit-nodes circle{fill:#071011;stroke:rgba(124,205,185,.5);stroke-width:1.35;opacity:.36;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:global-node-current var(--node-duration,19s) ease-out var(--node-delay,0s) infinite}
.global-circuit-nodes circle[data-path="0"]{--node-color:#8be866;--node-glow:rgba(139,232,102,.65)}
.global-circuit-nodes circle[data-path="1"]{--node-color:#5bd6dc;--node-glow:rgba(91,214,220,.58)}
@keyframes global-circuit-signal{to{stroke-dashoffset:0}}
@keyframes global-node-current{0%,100%{opacity:.92;transform:scale(1.34);fill:var(--node-color);filter:drop-shadow(0 0 6px var(--node-glow))}4%{opacity:.62;transform:scale(1.08);filter:drop-shadow(0 0 3px var(--node-glow))}11%,94%{opacity:.36;transform:scale(1);fill:#071011;filter:none}}

.site-header{background:linear-gradient(90deg,rgba(5,10,11,.88),rgba(7,17,18,.76),rgba(5,10,11,.88));backdrop-filter:blur(10px)}
.tool-stack{background:rgba(5,11,12,.68)}
.selected-work{background:linear-gradient(180deg,rgba(6,14,15,.7),rgba(8,19,20,.78) 55%,rgba(5,12,13,.72))}
.capabilities{background:rgba(5,12,13,.62)}
.experience{background:rgba(7,14,15,.76)}
.story{background:rgba(5,11,12,.58)}
.contact{background:rgba(5,11,12,.64)}
.about-panel.education-panel{color:var(--paper);background:linear-gradient(112deg,rgba(6,15,16,.9),rgba(8,24,24,.82) 58%,rgba(5,12,13,.9));border-top:1px solid rgba(91,214,220,.14);border-bottom:1px solid rgba(139,232,102,.11)}
.education-panel .section-number{color:var(--muted)}
.education-panel .about-grid>div>p{color:#b9c6c3}
.education-panel .education{border-color:var(--line);color:#d5dfdc}
.education-panel .portrait{border:1px solid rgba(91,214,220,.24);background:radial-gradient(circle at 78% 20%,rgba(139,232,102,.15),transparent 24%),linear-gradient(145deg,rgba(6,27,28,.96),rgba(8,44,43,.88) 54%,rgba(5,17,19,.98));box-shadow:inset 0 0 0 1px rgba(139,232,102,.04),0 24px 70px rgba(0,0,0,.22)}
.education-panel .portrait::before{content:"";position:absolute;inset:9%;opacity:.62;background-image:linear-gradient(90deg,transparent 0 12%,rgba(91,214,220,.3) 12% 12.4%,transparent 12.4% 38%,rgba(139,232,102,.24) 38% 38.4%,transparent 38.4% 71%,rgba(91,214,220,.22) 71% 71.4%,transparent 71.4%),linear-gradient(0deg,transparent 0 18%,rgba(91,214,220,.2) 18% 18.5%,transparent 18.5% 62%,rgba(139,232,102,.2) 62% 62.5%,transparent 62.5%);clip-path:polygon(0 8%,42% 8%,42% 0,100% 0,100% 53%,72% 53%,72% 100%,15% 100%,15% 76%,0 76%)}
.education-panel .portrait::after{width:2px;height:66%;bottom:0;border-radius:0;background:linear-gradient(transparent,var(--cyan) 34%,var(--acid) 76%,transparent);box-shadow:0 0 12px rgba(91,214,220,.32)}
.education-panel .portrait span{color:rgba(184,234,210,.56);text-shadow:0 0 28px rgba(91,214,220,.2)}

.section-circuit{opacity:.28;background-image:linear-gradient(90deg,transparent 0 7%,rgba(91,180,172,.13) 7% 7.08%,transparent 7.08% 100%),linear-gradient(0deg,transparent 0 74%,rgba(102,168,151,.1) 74% 74.08%,transparent 74.08% 100%)}
.section-circuit::before{border-color:rgba(91,176,169,.17)}
.section-circuit::after{animation:none;background:#071011;border-color:rgba(139,232,102,.5);box-shadow:0 0 6px rgba(91,214,220,.28)}
.tool-stack .section-circuit{background-image:linear-gradient(90deg,transparent 0 7%,rgba(91,180,172,.13) 7% 7.08%,transparent 7.08% 100%)}
.capabilities .section-circuit{opacity:.24}.experience .section-circuit{opacity:.16}.selected-work .section-circuit,.contact .section-circuit{opacity:.2}

.portfolio-project-card{background:rgba(5,12,13,.92);box-shadow:0 24px 70px rgba(0,0,0,.16)}
.project-evidence{background:linear-gradient(145deg,rgba(91,214,220,.05),rgba(139,232,102,.018)),#050a0b}
.workflow-image-link{background:#050809}
.project-index-main{background:linear-gradient(180deg,rgba(5,12,13,.72),rgba(7,18,19,.78) 48%,rgba(5,10,11,.74))}
.case-study-page main{background:linear-gradient(180deg,rgba(5,12,13,.66),rgba(7,17,19,.74) 54%,rgba(5,10,11,.7))}
.case-study-visual{background:rgba(4,10,11,.88)}
.case-study-content>section{background:linear-gradient(90deg,rgba(5,12,13,.48),transparent 82%)}
.case-next a{background:rgba(5,12,13,.76)}
footer{background:linear-gradient(90deg,rgba(5,10,11,.88),rgba(7,16,17,.74),rgba(5,10,11,.88))}

@media(max-width:1100px){
  .site-circuit-field{width:136%;left:-18%;opacity:.62}
  .global-circuit-lines path:nth-child(n+10),.global-circuit-dim-nodes circle:nth-child(n+17),.global-circuit-nodes circle:nth-child(n+10){display:none}
  .global-circuit-active path{stroke-width:1.5;filter:drop-shadow(0 0 3px currentColor)}
}
@media(max-width:700px){
  .site-circuit-field{width:188%;left:-44%;opacity:.46;mask-image:linear-gradient(90deg,#000,rgba(0,0,0,.78) 26%,rgba(0,0,0,.28) 50%,rgba(0,0,0,.78) 74%,#000)}
  .global-circuit-lines path:nth-child(n+6),.global-circuit-dim-nodes circle:nth-child(n+9),.global-circuit-active path:nth-child(2),.global-circuit-nodes circle[data-path="1"],.global-circuit-nodes circle:nth-child(n+6){display:none}
  .global-circuit-active path:first-child{stroke-width:1.35;filter:drop-shadow(0 0 2px currentColor)}
  .site-header{backdrop-filter:none;background:rgba(5,11,12,.92)}
  .site-header .case-header-nav{position:static;display:flex;width:auto;padding:0;background:none;border:0;flex-direction:row;align-items:center}
  .site-header .case-header-nav a{width:auto;min-height:44px}
  .about-panel.education-panel{background:rgba(6,15,16,.88)}
  .education-panel .portrait{min-height:300px}
  .case-study-content>section{background:rgba(5,12,13,.36)}
}
@media(prefers-reduced-motion:reduce){
  .global-circuit-active path,.global-circuit-nodes circle{animation:none}
  .global-circuit-active path{stroke-dasharray:none;stroke-dashoffset:0;opacity:.24;filter:none}
  .global-circuit-nodes circle{opacity:.45;transform:none;filter:none;fill:#071011}
}

/* Pass 6: original automation-operations console system. */
:root{
  --ink:#020806;
  --paper:#e9f5ed;
  --muted:#8ca99a;
  --line:rgba(70,245,115,.24);
  --acid:#46f573;
  --cyan:#39d7d9;
  --amber:#c9a960;
  --surface:#06100b;
  --surface-2:#07160e;
  --console-panel:rgba(4,18,10,.94);
  --console-panel-soft:rgba(5,23,14,.78);
  --console-border:rgba(70,245,115,.38);
  --console-border-strong:rgba(70,245,115,.68);
  --console-glow:0 0 24px rgba(70,245,115,.08);
  --console-cut:18px;
}
html{background:#020806}
body{background:
  linear-gradient(rgba(70,245,115,.018) 1px,transparent 1px),
  linear-gradient(90deg,rgba(70,245,115,.018) 1px,transparent 1px),
  radial-gradient(circle at 50% -12%,rgba(21,135,69,.22),transparent 38%),
  radial-gradient(circle at 90% 68%,rgba(21,126,118,.1),transparent 28%),#020806;
  background-size:64px 64px,64px 64px,auto,auto,auto;
}
body::after{content:"";position:fixed;inset:0;z-index:4;pointer-events:none;opacity:.045;background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(118,255,153,.13) 3px 4px);mask-image:linear-gradient(90deg,#000,transparent 42%,transparent 58%,#000)}
body>main,body>header,body>footer{z-index:1}
.site-circuit-field{opacity:.9;mix-blend-mode:screen;mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.82) 24%,rgba(0,0,0,.22) 50%,rgba(0,0,0,.82) 76%,#000 100%)}
.global-circuit-lines path{stroke:rgba(53,206,100,.22)}
.global-circuit-lines path:nth-child(3n){stroke:rgba(57,215,217,.17)}
.global-circuit-dim-nodes circle{fill:#020806;stroke:rgba(70,245,115,.44)}
.global-circuit-active path:first-child{color:var(--acid)}
.global-circuit-active path:nth-child(2){color:var(--cyan)}

body .site-header{height:80px;margin-top:16px;padding:0 24px;border:1px solid var(--console-border);background:linear-gradient(90deg,rgba(3,17,9,.96),rgba(4,22,13,.88),rgba(3,15,9,.96));box-shadow:inset 0 -1px rgba(57,215,217,.08),var(--console-glow);clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,18px 100%,0 calc(100% - 18px));backdrop-filter:blur(12px)}
body .site-header::before{content:"/ OPS / PORTFOLIO";position:absolute;left:82px;top:50%;transform:translateY(-50%);white-space:nowrap;font:9px var(--mono);letter-spacing:.12em;color:rgba(57,215,217,.58)}
body .brand{font:500 17px var(--mono);letter-spacing:.06em;color:var(--paper)}
body .brand::after{content:none;display:none}
body nav{font:500 11px var(--mono);text-transform:uppercase;letter-spacing:.05em}
body nav a:not(.nav-contact){color:#a8bdb1}
body .nav-contact,body .cta,body .button{border-radius:0;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
body .nav-contact{border-color:var(--console-border);background:rgba(10,46,25,.54);color:var(--acid)}
body .nav-contact:hover{background:var(--acid);color:#021006;box-shadow:0 0 18px rgba(70,245,115,.2)}

body .hero{min-height:calc(100vh - 112px);margin-top:18px;padding:clamp(92px,11vw,150px) clamp(22px,3vw,46px) 48px;border:1px solid rgba(70,245,115,.28);background:linear-gradient(90deg,rgba(2,10,6,.95) 0%,rgba(3,15,9,.88) 46%,rgba(2,10,7,.46) 76%,rgba(2,9,6,.78) 100%);box-shadow:inset 0 0 80px rgba(9,90,43,.08);clip-path:polygon(0 0,calc(100% - 34px) 0,100% 34px,100% calc(100% - 22px),calc(100% - 22px) 100%,22px 100%,0 calc(100% - 22px))}
body .hero::before{background:linear-gradient(90deg,rgba(2,9,6,.98),rgba(2,11,7,.9) 43%,rgba(2,11,8,.32) 76%,rgba(2,9,6,.72)),radial-gradient(circle at 78% 42%,rgba(70,245,115,.12),transparent 33%)}
body .hero::after{content:"";position:absolute;z-index:2;right:28px;top:24px;width:86px;height:7px;background:repeating-linear-gradient(90deg,var(--cyan) 0 10px,transparent 10px 15px);opacity:.72;transform:skewX(-24deg);pointer-events:none}
.console-status{position:absolute;z-index:3;top:24px;left:28px;right:145px;display:flex;justify-content:space-between;padding-bottom:10px;border-bottom:1px solid rgba(70,245,115,.18);font:9px var(--mono);letter-spacing:.12em;color:rgba(70,245,115,.62)}
.console-status span:last-child{color:var(--cyan)}
body .hero>.eyebrow{color:#b3c6bb}
body .eyebrow,body .section-number,body .case-section-number{font-family:var(--mono);letter-spacing:.1em;color:#7fa58f}
body .eyebrow::before,body .section-number::before,body .case-section-number::before{content:"[ ";color:var(--acid)}
body .eyebrow::after,body .section-number::after,body .case-section-number::after{content:" ]";color:var(--acid)}
body .hero h1{max-width:1070px;font-size:clamp(48px,7.3vw,104px);line-height:.92;letter-spacing:-.065em;text-wrap:balance}
body .hero h1 em,body h2 em,body .project-index-hero h1 em,body .project-index-heading h2 em{font-family:var(--mono);font-style:normal;font-weight:500;letter-spacing:-.075em;text-transform:uppercase;color:var(--acid);text-shadow:2px 0 rgba(57,215,217,.32),0 0 18px rgba(70,245,115,.13)}
body .hero-foot{margin-top:clamp(60px,8vw,96px);padding-top:22px;border-top:1px solid rgba(70,245,115,.18)}
body .hero-foot p{color:#adc0b5;font-family:var(--mono);font-size:12px;line-height:1.75;width:min(420px,42vw)}
body .cta{font:500 11px var(--mono);text-transform:uppercase;letter-spacing:.04em}
body .cta-primary{background:var(--acid);border-color:var(--acid);color:#031107;box-shadow:0 0 20px rgba(70,245,115,.12)}
body .cta-secondary{background:rgba(3,18,10,.88);border-color:var(--console-border);color:var(--cyan)}
body .round-link{border-radius:0;border-color:var(--console-border);background:rgba(4,24,13,.65);color:var(--acid);clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
body .round-link:hover{background:var(--acid);color:#031107;transform:translateY(3px)}
.workflow-lines path{stroke:rgba(70,245,115,.22)}
.workflow-lines path:nth-child(2n){stroke:rgba(57,215,217,.18)}
.workflow-branches path{stroke:rgba(70,245,115,.16)}
.workflow-traces path:nth-child(1){color:var(--acid)}
.workflow-traces path:nth-child(2){color:var(--cyan)}
.workflow-traces path:nth-child(3){color:#a5df65}
.workflow-nodes circle{fill:#031008;stroke:rgba(70,245,115,.72)}

body h2{font-size:clamp(38px,5vw,70px);letter-spacing:-.06em}
body .tool-stack,body .selected-work,body .capabilities,body .experience,body .story,body .contact,body .about-panel.education-panel{background:rgba(2,10,6,.72);border-color:rgba(70,245,115,.16)}
body .tool-stack{padding-top:112px;border:0!important}
body .tool-stack-heading,body .work-heading,body .section-heading{position:relative;padding-top:24px;border-top:1px solid rgba(70,245,115,.27)}
body .tool-stack-heading::before,body .work-heading::before,body .section-heading::before{content:"SYS / MODULE";position:absolute;top:-9px;left:0;padding-right:12px;background:#020806;font:9px var(--mono);letter-spacing:.1em;color:var(--cyan)}
body .marquee-viewport{border-top:1px solid var(--console-border-strong);border-bottom:1px solid var(--console-border-strong);padding:20px 0;background:rgba(3,16,9,.82);box-shadow:inset 0 0 35px rgba(70,245,115,.035)}
body .tool-item{padding:10px 14px;margin-right:26px;border:1px solid rgba(70,245,115,.24);background:rgba(7,34,18,.7);color:#a8bcb1;font:500 12px var(--mono);clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}
body .tool-item:hover{color:var(--acid);border-color:var(--console-border-strong);box-shadow:inset 0 0 18px rgba(70,245,115,.06)}
body .tool-logo{filter:none;opacity:1}
body .tool-item:hover .tool-logo{filter:none}

body .selected-work{padding-top:125px}
body .featured-projects,body .project-index-grid{gap:14px}
body .portfolio-project-card{position:relative;border-color:var(--console-border);background:linear-gradient(145deg,rgba(5,27,14,.96),rgba(3,14,8,.98));box-shadow:inset 0 0 34px rgba(70,245,115,.025),0 20px 60px rgba(0,0,0,.22);clip-path:polygon(0 0,calc(100% - var(--console-cut)) 0,100% var(--console-cut),100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px))}
body .portfolio-project-card:hover{border-color:var(--console-border-strong);box-shadow:inset 0 0 38px rgba(70,245,115,.045),0 0 26px rgba(70,245,115,.06)}
.console-card-rail{min-height:34px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(70,245,115,.22);background:rgba(10,47,25,.6);font:9px var(--mono);letter-spacing:.08em;color:var(--acid)}
.console-card-rail span:last-child{color:var(--cyan)}
body .portfolio-project-card--primary{grid-template-rows:auto 1fr}
body .portfolio-project-card--primary>.console-card-rail{grid-column:1/-1;grid-row:1}
body .portfolio-project-card--primary>.portfolio-project-card__copy{grid-column:1;grid-row:2}
body .portfolio-project-card--primary>.project-evidence{grid-column:2;grid-row:2}
body .portfolio-project-card__copy{padding:clamp(28px,3.4vw,48px)}
body .portfolio-project-card h3{font-family:var(--mono);font-size:clamp(27px,3.15vw,46px);font-weight:500;letter-spacing:-.055em;color:#eef8f1}
body .portfolio-project-card:not(.portfolio-project-card--primary) h3{font-size:clamp(24px,2.4vw,34px)}
body .project-kicker{font-size:10px;letter-spacing:.08em;margin-bottom:32px}
body .workflow-hint{border-left-color:var(--acid);background:rgba(70,245,115,.045);color:#a9c6b5}
body .project-tools{gap:6px}
body .project-tools li,body .skill-tags span,body .expertise span{border-radius:0;border-color:rgba(70,245,115,.22);background:rgba(7,39,20,.54);color:#9ec8ad;clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px)}
body .project-link,body .text-link,body .email-link{color:var(--acid);border-color:var(--acid);font-weight:500}
body .project-evidence{border-color:rgba(70,245,115,.22);background:linear-gradient(145deg,rgba(57,215,217,.045),rgba(70,245,115,.02)),#020806}
body .featured-projects .portfolio-project-card:not(.portfolio-project-card--primary)>.project-evidence{height:390px;min-height:390px;flex:0 0 390px}
body .workflow-image-link{background:#020604}
body .workflow-image-link::before{content:"EVIDENCE / SOURCE CAPTURE";position:absolute;z-index:2;left:10px;top:10px;padding:5px 8px;background:rgba(2,8,6,.86);border:1px solid rgba(70,245,115,.28);font:8px var(--mono);letter-spacing:.08em;color:var(--acid);pointer-events:none}
body .workflow-image-link span{border-radius:0;border-color:rgba(70,245,115,.34);background:rgba(2,12,7,.9);color:var(--cyan)}

body .capability-grid{gap:12px;border-top:0}
body .capability-grid article,body .capability-grid article:nth-child(n){border:1px solid var(--console-border);background:linear-gradient(145deg,rgba(7,32,17,.86),rgba(3,15,8,.92));clip-path:polygon(0 0,42% 0,46% 14px,100% 14px,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%);box-shadow:inset 0 0 28px rgba(70,245,115,.025)}
body .capability-grid article::before{content:"MODULE / ACTIVE";position:absolute;right:17px;top:23px;font:8px var(--mono);letter-spacing:.08em;color:rgba(57,215,217,.62)}
body .capability-grid article::after{content:"";position:absolute;right:18px;bottom:16px;width:48px;height:4px;background:repeating-linear-gradient(90deg,var(--cyan) 0 8px,transparent 8px 12px);opacity:.6;transform:skewX(-24deg)}
body .capability-grid article:hover{background:linear-gradient(145deg,rgba(8,42,21,.94),rgba(3,17,9,.96));border-color:var(--console-border-strong)}
body .capability-grid article>span{color:var(--acid)}
body .capability-grid h3{font-family:var(--mono);font-size:clamp(23px,2.15vw,32px);letter-spacing:-.055em;margin-top:68px}
body .capability-grid p{color:#a9bdb2}

body .experience{background:rgba(3,13,8,.78)}
body .timeline::before{background:rgba(70,245,115,.13);box-shadow:none}
body .timeline::after{background:linear-gradient(var(--acid),var(--cyan));box-shadow:0 0 10px rgba(70,245,115,.25)}
body .timeline-item>div:last-child{padding:24px 30px 28px;margin-left:22px;border:1px solid rgba(70,245,115,.2);background:rgba(4,23,12,.62);clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}
body .timeline h3{font-family:var(--mono);color:#e6f2e9}
body .timeline-item>div:last-child>p:not(.role):not(.location){color:#a8bdb1}
body .timeline-dot{background:#020806;border-color:var(--acid)}

body .story{border-top:1px solid rgba(70,245,115,.18)}
body .story>div{padding:30px;border:1px solid rgba(70,245,115,.18);background:rgba(4,22,12,.58);clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,0 100%);color:#aec0b6}
body .about-panel.education-panel{color:var(--paper);background:linear-gradient(125deg,rgba(3,15,8,.96),rgba(5,31,17,.9),rgba(2,11,7,.96))}
body .education-panel .portrait{border-color:var(--console-border);background:radial-gradient(circle at 50% 36%,rgba(70,245,115,.16),transparent 26%),linear-gradient(145deg,#041209,#092d18 58%,#020806);clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%)}
body .education-panel .portrait span{font-family:var(--mono);color:rgba(70,245,115,.55);text-shadow:0 0 24px rgba(70,245,115,.15)}
body .education-panel .education{border-color:rgba(70,245,115,.24)}
body .contact{min-height:540px;border-top:1px solid rgba(70,245,115,.2);border-bottom:1px solid rgba(70,245,115,.2)}
body .contact .reveal{max-width:850px;padding:34px;border:1px solid rgba(70,245,115,.22);background:rgba(3,19,10,.68);clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,18px 100%,0 calc(100% - 18px))}
body .contact-mark{color:transparent;-webkit-text-stroke:1px rgba(70,245,115,.38);text-shadow:0 0 24px rgba(70,245,115,.12);opacity:.65}

body .project-index-main,body.case-study-page main{background:transparent}
body .project-index-hero,body .case-study-hero{margin-top:18px;padding-left:clamp(22px,3vw,44px);padding-right:clamp(22px,3vw,44px);border:1px solid var(--console-border);background:linear-gradient(125deg,rgba(3,19,10,.94),rgba(2,10,6,.84));clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,18px 100%,0 calc(100% - 18px))}
body .project-index-hero h1,body .case-study-hero h1{font-family:var(--sans);font-size:clamp(50px,7.2vw,96px);text-wrap:balance}
body .project-index-hero>p:last-child,body .case-study-summary{color:#aec2b6}
body .project-index-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body .project-index-grid .portfolio-project-card--primary{grid-column:auto;display:flex;min-height:0}
body .project-index-grid .portfolio-project-card--primary>.console-card-rail,body .project-index-grid .portfolio-project-card--primary>.portfolio-project-card__copy,body .project-index-grid .portfolio-project-card--primary>.project-evidence{grid-column:auto;grid-row:auto}
body .project-index-grid .portfolio-project-card--primary>.project-evidence{min-height:330px;border-left:0;border-top:1px solid rgba(70,245,115,.22)}
body .project-index-grid .portfolio-project-card>.project-evidence{height:310px;min-height:310px;flex:0 0 310px}
body .project-index-grid .portfolio-project-card h3{font-size:clamp(23px,2vw,31px)}
body .project-index-grid .portfolio-project-card__copy{padding:28px 24px 32px}
body .project-index-section{padding-top:105px}
body .project-index-heading,body .case-section-heading{border-top-color:rgba(70,245,115,.28)}

body .case-study-visual{margin-top:18px;padding-top:90px;padding-bottom:90px;border-color:rgba(70,245,115,.2);background:rgba(2,11,7,.84)}
body .case-study-visual>.project-evidence,body .case-study-visual .workflow-image-link{border-color:var(--console-border)}
body .case-study-content{width:min(100% - 64px,1120px)}
body .case-study-content>section{margin-bottom:14px;padding:46px;border:1px solid rgba(70,245,115,.19);background:linear-gradient(105deg,rgba(5,27,14,.82),rgba(3,14,8,.62));clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,14px 100%,0 calc(100% - 14px))}
body .case-study-content h2{font-family:var(--mono);font-size:clamp(29px,3.5vw,44px);letter-spacing:-.055em}
body .case-study-content>section>p:not(.case-section-number){color:#adc0b5}
body .case-list li{border-color:rgba(70,245,115,.18)}
body .case-list li::before{color:var(--acid)}
body .technical-grid li{border-color:rgba(70,245,115,.23);background:rgba(5,30,15,.62);color:#c2d4ca;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
body .workflow-map li{border-color:rgba(70,245,115,.28);background:rgba(4,26,13,.74);color:#d5e6dc;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
body .workflow-map li:not(:last-child)::after{background:linear-gradient(90deg,var(--acid),rgba(70,245,115,.18))}
body .case-next a{border-color:rgba(70,245,115,.24);background:rgba(4,22,12,.78);clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,0 100%)}
body .case-next a:hover{border-color:var(--console-border-strong);background:rgba(7,39,20,.78)}
body .case-next strong{font-family:var(--mono)}

body footer{margin-bottom:16px;border:1px solid rgba(70,245,115,.2);padding:0 22px;background:rgba(3,16,9,.88);clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}

@media(max-width:1150px){
  body .project-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .capability-grid article,body .capability-grid article:nth-child(n){grid-column:span 6}
  body .hero{min-height:780px}
}
@media(max-width:980px){
  body .portfolio-project-card--primary{grid-template-columns:1fr;grid-template-rows:auto auto auto}
  body .portfolio-project-card--primary>.console-card-rail{grid-column:1;grid-row:1}
  body .portfolio-project-card--primary>.portfolio-project-card__copy{grid-column:1;grid-row:2}
  body .portfolio-project-card--primary>.project-evidence{grid-column:1;grid-row:3;border-left:0;border-top:1px solid rgba(70,245,115,.22)}
  body .hero-foot{align-items:flex-start}
  body .timeline-item>div:last-child{margin-left:10px}
}
@media(max-width:700px){
  body::after{display:none}
  body .site-header{width:calc(100% - 24px);height:66px;margin-top:10px;padding:0 16px;clip-path:none;backdrop-filter:none}
  body .site-header::before,body .brand::after{display:none}
  body .site-header nav{z-index:20;top:65px;left:0;right:0;padding:18px;background:#031008;border:1px solid var(--console-border);box-shadow:0 18px 40px rgba(0,0,0,.42)}
  body .hero{width:calc(100% - 24px);min-height:740px;margin-top:10px;padding:90px 18px 34px;clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px))}
  body .hero::after{right:18px;top:17px;width:52px}
  .console-status{top:18px;left:18px;right:82px}.console-status span:last-child{display:none}
  body .hero h1{font-size:clamp(45px,13.5vw,61px);line-height:.94;margin-top:34px}
  body .hero-foot{margin-top:54px;padding-top:18px;gap:28px}
  body .hero-foot p{width:auto;font-size:11px}
  body .hero-actions{justify-content:flex-start}
  body h2{font-size:clamp(35px,11vw,52px)}
  body .tool-stack,body .selected-work,body .capabilities,body .experience{padding-top:86px}
  body .tool-stack-heading,body .work-heading,body .section-heading{padding-top:20px}
  body .marquee-viewport{padding:16px 0}
  body .marquee-track{gap:10px;padding:0 14px}
  body .tool-item{margin:0;padding:9px 10px;font-size:10px}
  body .capability-grid article,body .capability-grid article:nth-child(n){grid-column:auto;min-height:220px}
  body .timeline-item>div:last-child{margin-left:0;padding:22px 18px}
  body .story>div{padding:22px}
  body .contact .reveal{padding:24px 20px}
  body .project-index-hero,body .case-study-hero{width:calc(100% - 24px);margin-top:10px;padding:65px 18px 58px}
  body .project-index-grid{grid-template-columns:1fr}
  body .project-index-section{padding-top:78px}
  body .project-index-grid .portfolio-project-card__copy{padding:27px 20px 30px}
  body .project-index-grid .portfolio-project-card--primary>.project-evidence{min-height:280px}
  body .featured-projects .portfolio-project-card:not(.portfolio-project-card--primary)>.project-evidence,body .project-index-grid .portfolio-project-card>.project-evidence{height:290px;min-height:290px;flex-basis:290px}
  .console-card-rail{padding:0 11px;font-size:8px}
  body .case-study-visual{margin-top:10px;padding:70px 12px}
  body .case-study-content{width:calc(100% - 24px);padding-top:48px}
  body .case-study-content>section{display:block;padding:29px 20px}
  body .case-study-content h2{font-size:30px}
  body .case-next{width:calc(100% - 24px)}
  body footer{width:calc(100% - 24px);margin-bottom:10px;padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){
  body .portfolio-project-card:hover,body .tool-item:hover,body .cta:hover,body .round-link:hover{transform:none}
}

/* Pass 7: layered PCB treatment for the hero background only. */
.home-page .hero::before{background:linear-gradient(90deg,rgba(2,8,5,.99) 0%,rgba(2,9,6,.96) 34%,rgba(2,10,6,.82) 52%,rgba(2,10,7,.34) 76%,rgba(2,8,5,.62) 100%),radial-gradient(circle at 78% 42%,rgba(70,245,115,.08),transparent 35%)}
.workflow-bg{inset:0;width:100%;height:100%;opacity:.98;mask-image:linear-gradient(90deg,rgba(0,0,0,.72),#000 12%,#000 96%,rgba(0,0,0,.76))}
.pcb-board-surface rect,.pcb-board-surface path,.pcb-background-traces path,.workflow-primary path,.pcb-components rect,.pcb-components path,.pcb-pads rect,.pcb-vias circle{vector-effect:non-scaling-stroke}
.pcb-board-surface path{fill:none;stroke:rgba(70,245,115,.11);stroke-width:1}
.pcb-board-surface path:last-child{stroke:rgba(57,215,217,.055);stroke-dasharray:3 8}
.pcb-background-traces path{fill:none;stroke:rgba(72,179,105,.16);stroke-width:.8;stroke-linecap:square;stroke-linejoin:miter}
.pcb-background-traces path:nth-child(3n){stroke:rgba(57,215,217,.105)}
.pcb-background-traces path:nth-child(4n){stroke:rgba(125,176,111,.115);stroke-dasharray:2 6}
.workflow-primary path{fill:none;stroke:rgba(93,203,121,.28);stroke-width:1.2;stroke-linecap:square;stroke-linejoin:bevel}
.workflow-primary path:nth-child(2n){stroke:rgba(57,215,217,.2)}
.workflow-primary .pcb-route{stroke-width:1.45;stroke:rgba(70,245,115,.4)}
.workflow-primary .pcb-route--cyan{stroke:rgba(57,215,217,.34)}
.pcb-component{opacity:.66}
.pcb-component .chip-shell{fill:rgba(4,28,14,.5);stroke:rgba(70,245,115,.28);stroke-width:1.1}
.pcb-component .chip-core{fill:rgba(2,11,7,.78);stroke:rgba(57,215,217,.16);stroke-width:.8}
.pcb-component .chip-mark{fill:none;stroke:rgba(70,245,115,.15);stroke-width:.8}
.pcb-component .chip-pins path{fill:none;stroke:rgba(70,245,115,.28);stroke-width:1.2}
.pcb-component--secondary{opacity:.5}.pcb-component--minor{opacity:.28}
.pcb-pads rect{fill:rgba(70,245,115,.12);stroke:rgba(70,245,115,.38);stroke-width:.8}
.pcb-pads rect:nth-child(2n){fill:rgba(57,215,217,.08);stroke:rgba(57,215,217,.3)}
.pcb-vias circle{fill:#020906;stroke:rgba(70,245,115,.34);stroke-width:1.7}
.pcb-vias circle:nth-child(3n){stroke:rgba(57,215,217,.3)}
.workflow-traces path{stroke-width:2.2;stroke-dasharray:.016 .984;filter:drop-shadow(0 0 4px currentColor)}
.workflow-traces path:nth-child(1){color:var(--acid);--trace-duration:13s;--trace-delay:-1s}
.workflow-traces path:nth-child(2){color:var(--cyan);--trace-duration:16s;--trace-delay:-5s}
.workflow-traces path:nth-child(3){color:#91e86e;--trace-duration:18s;--trace-delay:-10s}
.workflow-nodes circle{fill:#020906;stroke-width:1.5;opacity:.42;animation-name:hero-node-current}
.workflow-nodes circle[data-path="0"],.workflow-nodes circle[data-path="2"]{--node-signal:var(--acid);--node-glow:rgba(70,245,115,.72);stroke:rgba(70,245,115,.72)}
.workflow-nodes circle[data-path="1"]{--node-signal:var(--cyan);--node-glow:rgba(57,215,217,.66);stroke:rgba(57,215,217,.68)}
@keyframes hero-node-current{0%,100%{opacity:.98;transform:scale(1.42);fill:var(--node-signal);filter:drop-shadow(0 0 7px var(--node-glow))}4.5%{opacity:.74;transform:scale(1.13);filter:drop-shadow(0 0 4px var(--node-glow))}12%,94%{opacity:.42;transform:scale(1);fill:#020906;filter:none}}

@media(max-width:980px){
  .workflow-bg{width:146%;left:-34%;opacity:.84}
  .pcb-background-traces path:nth-child(n+11),.pcb-vias circle:nth-child(n+13),.pcb-pads rect:nth-child(n+7){display:none}
  .pcb-component--minor{display:none}.pcb-component--main{opacity:.48}.pcb-component--secondary{opacity:.38}
  .workflow-primary path{stroke-width:1}.workflow-traces path{stroke-width:1.9}
}
@media(max-width:700px){
  .workflow-bg{width:204%;left:-82%;opacity:.68;mask-image:linear-gradient(90deg,rgba(0,0,0,.82),#000 14%,#000 88%,rgba(0,0,0,.62))}
  .pcb-background-traces path:nth-child(n+8),.pcb-vias circle:nth-child(n+9),.pcb-pads rect:nth-child(n+5),.pcb-component--secondary{display:none}
  .pcb-component--main{opacity:.3}
  .workflow-primary path:nth-child(-n+3){display:none}
  .workflow-traces path:nth-child(n+2),.workflow-nodes circle[data-path="1"],.workflow-nodes circle[data-path="2"]{display:none}
  .workflow-traces path:first-child{stroke-width:1.7;filter:drop-shadow(0 0 3px currentColor)}
}
@media(prefers-reduced-motion:reduce){
  .workflow-traces path{animation:none;stroke-dasharray:none;stroke-dashoffset:0;opacity:.2;filter:none}
  .workflow-nodes circle{animation:none;opacity:.48;transform:none;filter:none;fill:#020906}
}

/* Pass 8: accurate brand marks and a quieter site-wide PCB field. */
body .tool-logo,
body .tool-item:hover .tool-logo{
  opacity:1;
  filter:none;
  mix-blend-mode:normal;
}
body .tool-logo{transition:opacity .25s ease,transform .25s var(--ease)}
body .tool-item:hover .tool-logo{transform:scale(1.06)}
body .tool-logo--mono{opacity:.92}

.site-circuit-field{opacity:.8;mix-blend-mode:screen}
.global-pcb-grid path{fill:none;stroke:rgba(70,245,115,.045);stroke-width:.75;vector-effect:non-scaling-stroke}
.global-pcb-grid circle{fill:rgba(57,215,217,.09)}
.global-pcb-grid>rect:first-of-type{opacity:.6}
.global-pcb-grid>rect:last-of-type{opacity:.92}
.global-circuit-lines path{stroke:rgba(65,215,108,.2);stroke-width:.95;stroke-linejoin:bevel}
.global-circuit-lines path:nth-child(3n){stroke:rgba(57,215,217,.15)}
.global-circuit-lines path:nth-child(4n){stroke-dasharray:none}
.global-pcb-module path,.global-pcb-module rect{vector-effect:non-scaling-stroke}
.global-pcb-module>path:first-child{fill:rgba(3,20,10,.34);stroke:rgba(70,245,115,.16);stroke-width:1}
.global-pcb-module rect{fill:rgba(2,10,6,.48);stroke:rgba(57,215,217,.11);stroke-width:.8}
.global-pcb-module>path:last-child{fill:none;stroke:rgba(70,245,115,.2);stroke-width:1.15}
.global-pcb-module--top,.global-pcb-module--bottom{opacity:.58}
.global-pcb-pads rect{fill:rgba(70,245,115,.11);stroke:rgba(70,245,115,.28);stroke-width:.7;vector-effect:non-scaling-stroke}
.global-pcb-pads rect:nth-child(3n){fill:rgba(57,215,217,.09);stroke:rgba(57,215,217,.24)}
.global-circuit-dim-nodes circle{fill:#020806;stroke:rgba(70,245,115,.4);stroke-width:1.2}
.global-circuit-dim-nodes circle:nth-child(4n){stroke:rgba(57,215,217,.34)}
.global-circuit-active path{stroke-width:1.65;filter:drop-shadow(0 0 3px currentColor)}
.global-circuit-active path:first-child{--signal-duration:21s;--signal-delay:-3s}
.global-circuit-active path:nth-child(2){--signal-duration:24s;--signal-delay:-13s}
.global-circuit-nodes circle{stroke-width:1.25}

.section-circuit{
  opacity:.24;
  background-image:
    linear-gradient(90deg,transparent 0 6.5%,rgba(70,245,115,.16) 6.5% 6.57%,transparent 6.57% 100%),
    linear-gradient(0deg,transparent 0 23%,rgba(57,215,217,.08) 23% 23.07%,transparent 23.07% 72%,rgba(70,245,115,.11) 72% 72.07%,transparent 72.07%),
    radial-gradient(circle at 6.53% 23.04%,rgba(70,245,115,.38) 0 2px,transparent 2.8px),
    radial-gradient(circle at 88% 72.04%,rgba(57,215,217,.28) 0 2px,transparent 2.8px);
}
.section-circuit::before{
  right:3.5%;
  top:14%;
  width:35%;
  height:48%;
  border:0;
  background:
    linear-gradient(90deg,transparent 0 18%,rgba(70,245,115,.18) 18% 18.4%,transparent 18.4% 52%,rgba(57,215,217,.12) 52% 52.4%,transparent 52.4%),
    linear-gradient(0deg,transparent 0 18%,rgba(70,245,115,.17) 18% 18.5%,transparent 18.5% 62%,rgba(57,215,217,.1) 62% 62.5%,transparent 62.5%);
  clip-path:polygon(0 0,100% 0,100% 62%,78% 62%,78% 100%,18% 100%,18% 78%,0 78%);
}
.section-circuit::after{right:3.5%;top:43.7%;width:6px;height:6px;border-color:rgba(70,245,115,.44);box-shadow:0 0 7px rgba(70,245,115,.22)}
.tool-stack .section-circuit{background-image:linear-gradient(90deg,transparent 0 6.5%,rgba(70,245,115,.14) 6.5% 6.57%,transparent 6.57% 100%)}
.tool-stack .section-circuit::before,.tool-stack .section-circuit::after{display:none}
.selected-work .section-circuit{opacity:.2}.capabilities .section-circuit{opacity:.22}.experience .section-circuit{opacity:.14}.contact .section-circuit{opacity:.2}

@media(max-width:1100px){
  .site-circuit-field{opacity:.6}
  .global-pcb-grid>rect:first-of-type,.global-pcb-module--top,.global-pcb-module--bottom,.global-pcb-pads rect:nth-child(n+9){display:none}
  .global-circuit-lines path:nth-child(n+13),.global-circuit-dim-nodes circle:nth-child(n+21){display:none}
}
@media(max-width:700px){
  .site-circuit-field{opacity:.42}
  .global-pcb-grid,.global-pcb-module--right,.global-pcb-pads rect:nth-child(n+5){display:none}
  .global-pcb-module--left{opacity:.5}
  .global-circuit-lines path:nth-child(n+7),.global-circuit-dim-nodes circle:nth-child(n+11){display:none}
  .section-circuit{opacity:.14;background-image:linear-gradient(90deg,transparent 0 5.5%,rgba(70,245,115,.13) 5.5% 5.65%,transparent 5.65% 100%)}
  .section-circuit::before{right:-10%;width:52%;opacity:.7}
}
@media(prefers-reduced-motion:reduce){
  .global-circuit-active path,.global-circuit-nodes circle{animation:none}
  .global-circuit-active path{stroke-dasharray:none;stroke-dashoffset:0;opacity:.17;filter:none}
  .global-circuit-nodes circle{opacity:.42;transform:none;filter:none;fill:#020806}
}

/* Pass 9: Audiowide display typography with an Oxanium interface system. */
:root{
  --display:"Audiowide","Arial Black",sans-serif;
  --serif:var(--display);
  --sans:"Oxanium",Arial,sans-serif;
  --mono:"Oxanium",monospace;
}
body{
  font-family:var(--sans);
  font-optical-sizing:auto;
  font-synthesis:none;
}
body h1,
body h2,
body h3,
body .brand,
body .visual-word,
body .education-panel .portrait span,
body .case-next strong{
  font-family:var(--display);
  font-weight:400;
  font-synthesis:none;
}
body h1,
body h2,
body h3{letter-spacing:-.035em}
body .brand{letter-spacing:.05em}
body .hero h1{font-size:clamp(44px,6.1vw,86px);line-height:.98;letter-spacing:-.042em}
body .hero h1 em,
body h2 em,
body .project-index-hero h1 em,
body .project-index-heading h2 em{
  font-family:var(--display);
  font-weight:400;
  letter-spacing:-.035em;
}
body h2{font-size:clamp(34px,4.25vw,58px);line-height:1.04}
body .portfolio-project-card h3{font-family:var(--display);font-size:clamp(23px,2.5vw,36px);font-weight:400;letter-spacing:-.03em;line-height:1.08}
body .portfolio-project-card:not(.portfolio-project-card--primary) h3{font-size:clamp(21px,2vw,29px)}
body .capability-grid h3{font-family:var(--display);font-size:clamp(19px,1.7vw,25px);font-weight:400;letter-spacing:-.025em;line-height:1.08}
body .timeline h3{font-family:var(--display);font-size:20px;font-weight:400;letter-spacing:-.02em}
body .project-index-hero h1,
body .case-study-hero h1{font-family:var(--display);font-size:clamp(43px,5.8vw,78px);font-weight:400;line-height:1.02;letter-spacing:-.04em}
body .project-index-heading h2,
body .case-section-heading h2{font-size:clamp(34px,4.2vw,56px)}
body .case-study-content h2{font-family:var(--display);font-size:clamp(27px,3vw,38px);font-weight:400;letter-spacing:-.025em;line-height:1.08}
body .case-next strong{font-size:18px;letter-spacing:-.02em}
body .eyebrow,
body .section-number,
body .case-section-number,
body nav,
body .cta,
body .button,
body .tool-item,
body .console-status,
body .console-card-rail,
body footer{font-family:var(--sans)}

@media(max-width:700px){
  body .hero h1{font-size:clamp(37px,10.5vw,49px);line-height:1.01}
  body h2{font-size:clamp(29px,8.6vw,40px)}
  body .contact h2{font-size:clamp(24px,7.8vw,36px);line-height:1.08}
  body .project-index-hero h1,
  body .case-study-hero h1{font-size:clamp(34px,9.3vw,45px);line-height:1.04}
  body .project-index-heading h2,
  body .case-section-heading h2{font-size:clamp(29px,8vw,38px)}
  body .portfolio-project-card h3,
  body .portfolio-project-card:not(.portfolio-project-card--primary) h3{font-size:clamp(21px,6.2vw,27px)}
  body .capability-grid h3{font-size:clamp(18px,5.4vw,23px)}
  body .timeline h3{font-size:18px}
  body .case-study-content h2{font-size:clamp(24px,6.8vw,30px)}
}

/* Pass 10: native-scroll workflow activation and one-time content reveals. */
:root{
  --motion-ease:cubic-bezier(.22,.75,.22,1);
  --motion-y:24px;
}
html{scroll-padding-top:118px}
body .reveal{animation:none}
.motion-stage{scroll-margin-top:118px}
html.motion-enhanced .motion-reveal{
  opacity:0;
  transform:translate3d(0,var(--motion-y),0);
  filter:blur(2px);
  transition:
    opacity .46s ease-out var(--motion-delay,0ms),
    transform .58s var(--motion-ease) var(--motion-delay,0ms),
    filter .4s ease-out var(--motion-delay,0ms);
}
html.motion-enhanced .motion-reveal--calm{transform:translate3d(0,18px,0);filter:none;transition-duration:.48s,.56s}
html.motion-enhanced .motion-reveal.is-revealed{opacity:1;transform:translate3d(0,0,0);filter:none}
/* Reveal the copy without fading or moving the opaque timeline markers. */
html.motion-enhanced .motion-reveal--timeline,
html.motion-enhanced .motion-reveal--timeline.is-revealed{opacity:1;transform:none;filter:none;transition:none}
html.motion-enhanced .motion-reveal--timeline>:not(.timeline-dot){opacity:0;transform:translate3d(0,16px,0);transition:opacity .42s ease-out,transform .5s var(--motion-ease)}
html.motion-enhanced .motion-reveal--timeline.is-revealed>:not(.timeline-dot){opacity:1;transform:none}

.motion-stage .section-circuit{transition:opacity .6s var(--motion-ease),filter .6s var(--motion-ease)}
.motion-stage .section-circuit::before{transition:opacity .6s var(--motion-ease),transform .65s var(--motion-ease),filter .6s var(--motion-ease)}
.motion-stage.is-stage-current .section-circuit{opacity:.36;filter:brightness(1.12)}
.motion-stage.is-stage-current .section-circuit::before{opacity:.92;transform:translate3d(-4px,0,0);filter:drop-shadow(0 0 5px rgba(70,245,115,.18))}
.motion-stage.has-been-activated .section-circuit::after{animation:section-stage-activation 1.35s var(--motion-ease) both}
@keyframes section-stage-activation{
  0%{opacity:.24;transform:scale(.8);box-shadow:none}
  38%{opacity:1;transform:scale(1.35);background:var(--acid);box-shadow:0 0 12px rgba(70,245,115,.55)}
  100%{opacity:.46;transform:scale(1);background:#071011;box-shadow:0 0 5px rgba(57,215,217,.22)}
}
.site-circuit-field .global-circuit-active path{opacity:.58;transition:opacity .55s var(--motion-ease),filter .55s var(--motion-ease)}
.site-circuit-field.is-section-active .global-circuit-active path{opacity:.82;filter:drop-shadow(0 0 4px currentColor)}

.home-page .hero>.eyebrow,
.home-page .hero h1,
.home-page .hero-foot{transition:opacity .48s ease-out,transform .58s var(--motion-ease)}
.home-page .hero.is-departing>.eyebrow,
.home-page .hero.is-departing h1,
.home-page .hero.is-departing .hero-foot{opacity:.72;transform:translate3d(0,-8px,0)}

body .portfolio-project-card{transition:transform .24s var(--motion-ease),border-color .24s ease,box-shadow .24s ease}
body .portfolio-project-card:hover{transform:translate3d(0,-4px,0)}
body .workflow-image-link img{transition:transform .38s var(--motion-ease),opacity .3s ease}
body .workflow-image-link:hover img{transform:scale(1.012)}

.contact.has-been-activated .email-link{animation:contact-destination 1.2s var(--motion-ease) both}
@keyframes contact-destination{
  0%,100%{text-shadow:none;filter:none}
  42%{text-shadow:0 0 12px rgba(70,245,115,.38);filter:brightness(1.18)}
}
#site-nav a:not(.nav-contact)[aria-current="location"]{color:var(--acid)}
#site-nav a:not(.nav-contact)[aria-current="location"]::before{content:"";width:4px;height:4px;margin-right:7px;border-radius:50%;background:var(--acid);box-shadow:0 0 7px rgba(70,245,115,.55)}

@media(max-width:700px){
  :root{--motion-y:14px}
  html{scroll-padding-top:88px}.motion-stage{scroll-margin-top:88px}
  html.motion-enhanced .motion-reveal{filter:none;transition-duration:.4s,.46s}
  html.motion-enhanced .motion-reveal--timeline>:not(.timeline-dot){transition-duration:.4s,.46s}
  .motion-stage.is-stage-current .section-circuit{opacity:.22;filter:none}
  .motion-stage.is-stage-current .section-circuit::before{transform:none;filter:none}
  .site-circuit-field.is-section-active .global-circuit-active path{opacity:.7;filter:drop-shadow(0 0 2px currentColor)}
  .home-page .hero.is-departing>.eyebrow,
  .home-page .hero.is-departing h1,
  .home-page .hero.is-departing .hero-foot{opacity:.82;transform:translate3d(0,-5px,0)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;scroll-padding-top:88px}
  html.motion-enhanced .motion-reveal,
  html.motion-enhanced .motion-reveal--calm,
  html.motion-enhanced .motion-reveal--timeline{opacity:1;transform:none;filter:none;transition:none;transition-delay:0ms}
  html.motion-enhanced .motion-reveal--timeline>:not(.timeline-dot){opacity:1;transform:none;transition:none}
  .motion-stage .section-circuit,
  .motion-stage .section-circuit::before,
  .site-circuit-field .global-circuit-active path,
  .home-page .hero>.eyebrow,
  .home-page .hero h1,
  .home-page .hero-foot{transition:none}
  .motion-stage.has-been-activated .section-circuit::after,
  .contact.has-been-activated .email-link{animation:none}
  .home-page .hero.is-departing>.eyebrow,
  .home-page .hero.is-departing h1,
  .home-page .hero.is-departing .hero-foot{opacity:1;transform:none}
}

/* Pass 11: premium AI automation palette — midnight navy, electric cyan, soft violet. */
:root{
  --color-bg:#030712;
  --color-bg-deep:#02060d;
  --color-surface:#07111d;
  --color-surface-2:#091827;
  --color-trace:#102c3d;
  --color-trace-active:#164e63;
  --color-accent:#22d3ee;
  --color-ai:#8b5cf6;
  --color-ai-text:#c4b5fd;
  --color-text:#f1f5f9;
  --color-text-muted:#94a3b8;
  --color-bg-rgb:3,7,18;
  --color-deep-rgb:2,6,13;
  --color-surface-rgb:7,17,29;
  --color-trace-rgb:16,44,61;
  --color-trace-active-rgb:22,78,99;
  --color-accent-rgb:34,211,238;
  --color-ai-rgb:139,92,246;
  --color-muted-rgb:148,163,184;
  --ink:var(--color-bg-deep);
  --paper:var(--color-text);
  --muted:var(--color-text-muted);
  --line:rgba(var(--color-muted-rgb),.16);
  --acid:var(--color-accent);
  --cyan:var(--color-accent);
  --amber:var(--color-ai);
  --surface:var(--color-surface);
  --surface-2:var(--color-surface-2);
  --page-deep:var(--color-bg-deep);
  --page-teal:var(--color-bg);
  --page-scrim:rgba(var(--color-deep-rgb),.74);
  --console-panel:rgba(var(--color-surface-rgb),.94);
  --console-panel-soft:rgba(var(--color-surface-rgb),.8);
  --console-border:rgba(var(--color-accent-rgb),.28);
  --console-border-strong:rgba(var(--color-accent-rgb),.54);
  --console-glow:0 0 24px rgba(var(--color-accent-rgb),.065);
}

html{background:var(--color-bg-deep)}
body{
  color:var(--color-text);
  background:
    linear-gradient(rgba(var(--color-accent-rgb),.012) 1px,transparent 1px),
    linear-gradient(90deg,rgba(var(--color-accent-rgb),.012) 1px,transparent 1px),
    radial-gradient(circle at 50% -12%,rgba(var(--color-trace-active-rgb),.2),transparent 40%),
    radial-gradient(circle at 88% 68%,rgba(var(--color-ai-rgb),.055),transparent 29%),
    var(--color-bg-deep);
  background-size:72px 72px,72px 72px,auto,auto,auto;
}
body::after{opacity:.018;background:repeating-linear-gradient(0deg,transparent 0 4px,rgba(var(--color-accent-rgb),.08) 4px 5px)}
a:focus-visible,button:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px;box-shadow:0 0 0 4px rgba(var(--color-accent-rgb),.14)}
.skip-link{background:var(--color-accent);color:var(--color-bg-deep)}

body .site-header{border-color:var(--console-border);background:linear-gradient(90deg,rgba(var(--color-deep-rgb),.96),rgba(var(--color-surface-rgb),.9),rgba(var(--color-deep-rgb),.96));box-shadow:inset 0 -1px rgba(var(--color-ai-rgb),.08),var(--console-glow)}
body .site-header::before{color:rgba(var(--color-accent-rgb),.56)}
body nav a:not(.nav-contact){color:var(--color-text-muted)}
body nav a:not(.nav-contact):hover,#site-nav a:not(.nav-contact)[aria-current="location"]{color:var(--color-accent)}
#site-nav a:not(.nav-contact)[aria-current="location"]::before{background:var(--color-accent);box-shadow:0 0 7px rgba(var(--color-ai-rgb),.42)}
body .nav-contact{border-color:var(--console-border);background:rgba(var(--color-trace-active-rgb),.2);color:var(--color-accent)}
body #site-nav .nav-contact[aria-current="location"]{border-color:rgba(var(--color-accent-rgb),.72);box-shadow:inset 3px 0 rgba(var(--color-ai-rgb),.58),var(--interactive-glow)}
body .nav-contact:hover{background:var(--color-accent);color:var(--color-bg-deep);box-shadow:0 0 18px rgba(var(--color-accent-rgb),.18)}

body .hero{border-color:rgba(var(--color-accent-rgb),.24);background:linear-gradient(90deg,rgba(var(--color-deep-rgb),.97) 0%,rgba(var(--color-bg-rgb),.9) 46%,rgba(var(--color-surface-rgb),.48) 76%,rgba(var(--color-deep-rgb),.82) 100%);box-shadow:inset 0 0 80px rgba(var(--color-trace-active-rgb),.09)}
body .hero::before,.home-page .hero::before{background:linear-gradient(90deg,rgba(var(--color-deep-rgb),.99) 0%,rgba(var(--color-bg-rgb),.96) 36%,rgba(var(--color-bg-rgb),.8) 54%,rgba(var(--color-surface-rgb),.32) 77%,rgba(var(--color-deep-rgb),.7) 100%),radial-gradient(circle at 78% 42%,rgba(var(--color-accent-rgb),.075),transparent 35%)}
body .hero::after{background:repeating-linear-gradient(90deg,var(--color-accent) 0 10px,transparent 10px 15px)}
.console-status{border-color:rgba(var(--color-accent-rgb),.16);color:rgba(var(--color-accent-rgb),.62)}
.console-status span:last-child{color:var(--color-ai-text)}
body .hero>.eyebrow{color:#b8c4d4}
body .eyebrow,body .section-number,body .case-section-number{color:var(--color-text-muted)}
body .eyebrow::before,body .eyebrow::after,body .section-number::before,body .section-number::after,body .case-section-number::before,body .case-section-number::after{color:var(--color-accent)}
body .hero h1 em,body h2 em,body .project-index-hero h1 em,body .project-index-heading h2 em{color:var(--color-accent);text-shadow:0 0 18px rgba(var(--color-accent-rgb),.12)}
body .hero-foot{border-color:rgba(var(--color-accent-rgb),.16)}
body .hero-foot p{color:#a9b7c8}
body .hero-foot .hero-summary{display:grid;gap:13px;width:min(540px,46vw);font-size:clamp(15px,1vw,17px);line-height:1.65}
body .hero-summary__benefit{display:block;padding-left:12px;border-left:2px solid var(--color-accent);color:#d9f7fb;font:inherit;font-weight:600;letter-spacing:.01em;text-shadow:0 0 12px rgba(var(--color-accent-rgb),.12)}
body .cta-primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-bg-deep);box-shadow:0 0 20px rgba(var(--color-accent-rgb),.11)}
body .cta-primary:hover{background:#67e8f9;border-color:#67e8f9;box-shadow:0 8px 24px rgba(var(--color-accent-rgb),.16)}
body .cta-secondary{background:rgba(var(--color-surface-rgb),.88);border-color:var(--console-border);color:var(--color-accent);box-shadow:inset 2px 0 rgba(var(--color-ai-rgb),.34)}
body .cta-secondary:hover{border-color:var(--color-accent);color:var(--color-text)}
body .round-link{border-color:var(--console-border);background:rgba(var(--color-surface-rgb),.74);color:var(--color-accent)}
body .round-link:hover{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-bg-deep)}

.pcb-board-surface path{stroke:rgba(var(--color-trace-rgb),.8)}
.pcb-board-surface path:last-child{stroke:rgba(var(--color-ai-rgb),.09)}
.pcb-background-traces path,.workflow-lines path{stroke:rgba(var(--color-trace-active-rgb),.35)}
.pcb-background-traces path:nth-child(3n),.workflow-lines path:nth-child(2n){stroke:rgba(var(--color-accent-rgb),.16)}
.pcb-background-traces path:nth-child(4n),.workflow-branches path{stroke:rgba(var(--color-ai-rgb),.11)}
.workflow-primary path{stroke:rgba(var(--color-trace-active-rgb),.54)}
.workflow-primary path:nth-child(2n){stroke:rgba(var(--color-ai-rgb),.2)}
.workflow-primary .pcb-route{stroke:rgba(var(--color-accent-rgb),.3)}
.workflow-primary .pcb-route--cyan{stroke:rgba(var(--color-ai-rgb),.34)}
.pcb-component .chip-shell{fill:rgba(var(--color-surface-rgb),.62);stroke:rgba(var(--color-trace-active-rgb),.56)}
.pcb-component .chip-core{fill:rgba(var(--color-deep-rgb),.82);stroke:rgba(var(--color-accent-rgb),.18)}
.pcb-component .chip-mark{stroke:rgba(var(--color-ai-rgb),.16)}
.pcb-component .chip-pins path{stroke:rgba(var(--color-trace-active-rgb),.58)}
.pcb-pads rect{fill:rgba(var(--color-accent-rgb),.08);stroke:rgba(var(--color-accent-rgb),.3)}
.pcb-pads rect:nth-child(2n){fill:rgba(var(--color-ai-rgb),.07);stroke:rgba(var(--color-ai-rgb),.28)}
.pcb-vias circle{fill:var(--color-bg-deep);stroke:rgba(var(--color-trace-active-rgb),.72)}
.pcb-vias circle:nth-child(3n){stroke:rgba(var(--color-ai-rgb),.34)}
.workflow-traces path:nth-child(1){color:var(--color-accent)}
.workflow-traces path:nth-child(2){color:var(--color-ai)}
.workflow-traces path:nth-child(3){color:var(--color-accent);opacity:.74}
.workflow-nodes circle{fill:var(--color-bg-deep);stroke:rgba(var(--color-accent-rgb),.58);--node-signal:var(--color-accent);--node-afterglow:var(--color-ai);--node-glow:rgba(var(--color-accent-rgb),.68);--node-afterglow-glow:rgba(var(--color-ai-rgb),.48)}
.workflow-nodes circle[data-path="1"]{stroke:rgba(var(--color-ai-rgb),.52)}
@keyframes hero-node-current{
  0%,100%{opacity:.98;transform:scale(1.38);fill:var(--node-signal);filter:drop-shadow(0 0 7px var(--node-glow))}
  3.5%{opacity:.78;transform:scale(1.14);fill:var(--node-signal);filter:drop-shadow(0 0 4px var(--node-glow))}
  7%{opacity:.62;transform:scale(1.07);fill:var(--color-bg-deep);filter:drop-shadow(0 0 5px var(--node-afterglow-glow))}
  13%,94%{opacity:.4;transform:scale(1);fill:var(--color-bg-deep);filter:none}
}

.site-circuit-field{opacity:.68;mix-blend-mode:screen}
.global-pcb-grid path{stroke:rgba(var(--color-trace-rgb),.44)}
.global-pcb-grid circle{fill:rgba(var(--color-accent-rgb),.07)}
.global-circuit-lines path{stroke:rgba(var(--color-trace-active-rgb),.28)}
.global-circuit-lines path:nth-child(3n){stroke:rgba(var(--color-accent-rgb),.13)}
.global-pcb-module>path:first-child{fill:rgba(var(--color-surface-rgb),.3);stroke:rgba(var(--color-trace-active-rgb),.34)}
.global-pcb-module rect{fill:rgba(var(--color-deep-rgb),.52);stroke:rgba(var(--color-accent-rgb),.11)}
.global-pcb-module>path:last-child{stroke:rgba(var(--color-ai-rgb),.17)}
.global-pcb-pads rect{fill:rgba(var(--color-accent-rgb),.07);stroke:rgba(var(--color-accent-rgb),.24)}
.global-pcb-pads rect:nth-child(3n){fill:rgba(var(--color-ai-rgb),.07);stroke:rgba(var(--color-ai-rgb),.22)}
.global-circuit-dim-nodes circle{fill:var(--color-bg-deep);stroke:rgba(var(--color-trace-active-rgb),.62)}
.global-circuit-dim-nodes circle:nth-child(4n){stroke:rgba(var(--color-ai-rgb),.28)}
.global-circuit-active path:first-child{color:var(--color-accent)}
.global-circuit-active path:nth-child(2){color:var(--color-ai)}
.global-circuit-nodes circle{fill:var(--color-bg-deep);stroke:rgba(var(--color-accent-rgb),.48);--node-color:var(--color-accent);--node-afterglow:var(--color-ai);--node-glow:rgba(var(--color-accent-rgb),.6);--node-afterglow-glow:rgba(var(--color-ai-rgb),.42)}
.global-circuit-nodes circle[data-path="1"]{stroke:rgba(var(--color-ai-rgb),.48)}
@keyframes global-node-current{
  0%,100%{opacity:.92;transform:scale(1.32);fill:var(--node-color);filter:drop-shadow(0 0 6px var(--node-glow))}
  3.5%{opacity:.7;transform:scale(1.1);fill:var(--node-color);filter:drop-shadow(0 0 3px var(--node-glow))}
  7%{opacity:.56;transform:scale(1.05);fill:var(--color-bg-deep);filter:drop-shadow(0 0 5px var(--node-afterglow-glow))}
  12%,94%{opacity:.34;transform:scale(1);fill:var(--color-bg-deep);filter:none}
}

body .tool-stack,body .selected-work,body .capabilities,body .experience,body .story,body .contact,body .about-panel.education-panel{background:rgba(var(--color-bg-rgb),.72);border-color:rgba(var(--color-accent-rgb),.13)}
body .tool-stack-heading,body .work-heading,body .section-heading{border-color:rgba(var(--color-accent-rgb),.22)}
body .tool-stack-heading::before,body .work-heading::before,body .section-heading::before{background:var(--color-bg-deep);color:var(--color-accent)}
body .marquee-viewport{border-color:var(--console-border-strong);background:rgba(var(--color-surface-rgb),.78);box-shadow:inset 0 0 35px rgba(var(--color-accent-rgb),.025)}
body .tool-item{border-color:rgba(var(--color-muted-rgb),.17);background:rgba(var(--color-surface-rgb),.7);color:var(--color-text-muted)}
body .tool-logo{opacity:.68;filter:grayscale(.72) saturate(.28);transition:opacity .25s ease,transform .25s var(--ease),filter .25s ease}
body .tool-item:hover{color:var(--color-accent);border-color:var(--console-border-strong);box-shadow:inset 0 0 18px rgba(var(--color-accent-rgb),.04),0 0 12px rgba(var(--color-ai-rgb),.055)}
body .tool-item:hover .tool-logo{opacity:1;filter:grayscale(0) saturate(.82) drop-shadow(0 0 5px rgba(var(--color-ai-rgb),.18))}

body .portfolio-project-card{border-color:var(--console-border);background:linear-gradient(145deg,rgba(var(--color-surface-rgb),.97),rgba(var(--color-bg-rgb),.98));box-shadow:inset 0 0 34px rgba(var(--color-accent-rgb),.018),0 20px 60px rgba(0,0,0,.24)}
body .portfolio-project-card[data-accent="primary"]{border-color:rgba(var(--color-accent-rgb),.4)}
body .portfolio-project-card:hover{border-color:var(--console-border-strong);box-shadow:inset 0 0 38px rgba(var(--color-accent-rgb),.03),0 0 26px rgba(var(--color-accent-rgb),.05)}
.console-card-rail{border-color:rgba(var(--color-accent-rgb),.2);background:rgba(var(--color-trace-active-rgb),.24);color:var(--color-accent)}
.console-card-rail span:last-child{color:var(--color-ai-text)}
body .portfolio-project-card h3{color:var(--color-text)}
body .portfolio-project-card__copy>p:not(.project-kicker):not(.workflow-hint){color:#b6c2d1}
body .workflow-hint{border-left-color:var(--color-accent);background:rgba(var(--color-accent-rgb),.035);color:#b3c2d3}
body .project-tools li,body .skill-tags span,body .expertise span{border-color:rgba(var(--color-accent-rgb),.18);background:rgba(var(--color-trace-active-rgb),.16);color:#aec0d2}
body [data-signal="ai"]{border-color:rgba(var(--color-ai-rgb),.38)}
body .project-tools li[data-signal="ai"],body .technical-grid li[data-signal="ai"]{color:var(--color-ai-text);border-color:rgba(var(--color-ai-rgb),.38);background:rgba(var(--color-ai-rgb),.08)}
body .project-link,body .text-link,body .email-link{color:var(--color-accent);border-color:var(--color-accent)}
body .project-evidence{border-color:rgba(var(--color-accent-rgb),.18);background:linear-gradient(145deg,rgba(var(--color-accent-rgb),.035),rgba(var(--color-ai-rgb),.02)),var(--color-bg-deep)}
body .portfolio-project-card>.project-evidence,body .project-index-grid .portfolio-project-card>.project-evidence,body .featured-projects .portfolio-project-card>.project-evidence{border-color:rgba(var(--color-accent-rgb),.18)}
body .workflow-image-link{background:var(--color-bg-deep)}
body .workflow-image-link::before{background:rgba(var(--color-deep-rgb),.88);border-color:rgba(var(--color-accent-rgb),.25);color:var(--color-accent)}
body .workflow-image-link span{border-color:rgba(var(--color-accent-rgb),.3);background:rgba(var(--color-deep-rgb),.92);color:var(--color-accent)}

body .capability-grid article,body .capability-grid article:nth-child(n){border-color:var(--console-border);background:linear-gradient(145deg,rgba(var(--color-surface-rgb),.9),rgba(var(--color-bg-rgb),.94));box-shadow:inset 0 0 28px rgba(var(--color-accent-rgb),.018)}
body .capability-grid article::before{color:rgba(var(--color-accent-rgb),.62)}
body .capability-grid article::after{background:repeating-linear-gradient(90deg,var(--color-accent) 0 8px,transparent 8px 12px)}
body .capability-grid article:hover{background:linear-gradient(145deg,rgba(var(--color-trace-active-rgb),.27),rgba(var(--color-bg-rgb),.96));border-color:var(--console-border-strong)}
body .capability-grid article>span{color:var(--color-accent)}
body .capability-grid article[data-signal="ai"]::before,body .capability-grid article[data-signal="ai"]>span{color:var(--color-ai-text)}
body .capability-grid article[data-signal="ai"]{border-color:rgba(var(--color-ai-rgb),.38)}
body .capability-grid article[data-signal="ai"]::after{background:repeating-linear-gradient(90deg,var(--color-ai) 0 8px,transparent 8px 12px)}
body .capability-grid p{color:#aebdce}

body .experience{background:rgba(var(--color-bg-rgb),.78)}
/* Use one axis for both rails and markers; keep the animated rail behind them. */
body .timeline{--timeline-axis:152.5px;isolation:isolate}
body .timeline::before,body .timeline::after{left:calc(var(--timeline-axis) - .5px);z-index:0;pointer-events:none}
body .timeline-item{z-index:1}
body .timeline-dot{position:absolute;grid-column:auto;grid-row:auto;left:calc(var(--timeline-axis) - 4.5px);top:5px;margin:0}
@media(max-width:700px){body .timeline{--timeline-axis:5.5px}}
body .timeline::before{background:var(--color-trace)}
body .timeline::after{background:linear-gradient(var(--color-accent),var(--color-trace-active));box-shadow:0 0 10px rgba(var(--color-accent-rgb),.2)}
body .timeline-item>div:last-child{border-color:rgba(var(--color-accent-rgb),.17);background:rgba(var(--color-surface-rgb),.66)}
body .timeline h3{color:var(--color-text)}
body .timeline-item>div:last-child>p:not(.role):not(.location){color:#aebdce}
body .timeline-dot{background:var(--color-bg-deep);border-color:var(--color-trace-active)}
.timeline-item.is-passed .timeline-dot{background:var(--color-trace-active);border-color:#2b7188;box-shadow:none}
.timeline-item.is-current .timeline-dot{background:var(--color-accent);border-color:#a5f3fc;animation:timeline-node-afterglow .9s ease-out both}
@keyframes timeline-node-afterglow{
  0%,45%{box-shadow:0 0 12px rgba(var(--color-accent-rgb),.64)}
  100%{box-shadow:0 0 8px rgba(var(--color-accent-rgb),.28),0 0 0 3px rgba(var(--color-ai-rgb),.13)}
}

body .story{border-color:rgba(var(--color-accent-rgb),.14)}
body .story>div{border-color:rgba(var(--color-accent-rgb),.16);background:rgba(var(--color-surface-rgb),.58);color:#b2c0d0}
body .about-panel.education-panel{background:linear-gradient(125deg,rgba(var(--color-bg-rgb),.96),rgba(var(--color-surface-rgb),.92),rgba(var(--color-deep-rgb),.97))}
body .education-panel .portrait{border-color:var(--console-border);background:radial-gradient(circle at 50% 36%,rgba(var(--color-ai-rgb),.12),transparent 27%),linear-gradient(145deg,var(--color-surface),#0a2131 58%,var(--color-bg-deep));box-shadow:inset 0 0 0 1px rgba(var(--color-ai-rgb),.045),0 24px 70px rgba(0,0,0,.22)}
body .education-panel .portrait::before{background-image:linear-gradient(90deg,transparent 0 12%,rgba(var(--color-accent-rgb),.26) 12% 12.4%,transparent 12.4% 38%,rgba(var(--color-ai-rgb),.2) 38% 38.4%,transparent 38.4% 71%,rgba(var(--color-accent-rgb),.18) 71% 71.4%,transparent 71.4%),linear-gradient(0deg,transparent 0 18%,rgba(var(--color-accent-rgb),.17) 18% 18.5%,transparent 18.5% 62%,rgba(var(--color-ai-rgb),.16) 62% 62.5%,transparent 62.5%)}
body .education-panel .portrait::after{background:linear-gradient(transparent,var(--color-accent) 34%,var(--color-ai) 76%,transparent);box-shadow:0 0 12px rgba(var(--color-accent-rgb),.24)}
body .education-panel .portrait span{color:rgba(var(--color-accent-rgb),.46);text-shadow:0 0 24px rgba(var(--color-ai-rgb),.12)}
body .education-panel .education{border-color:rgba(var(--color-accent-rgb),.2)}
body .contact{border-color:rgba(var(--color-accent-rgb),.17)}
body .contact .reveal{border-color:rgba(var(--color-accent-rgb),.2);background:rgba(var(--color-surface-rgb),.7)}
body .contact-mark{-webkit-text-stroke-color:rgba(var(--color-accent-rgb),.34);text-shadow:0 0 24px rgba(var(--color-ai-rgb),.12)}

body .project-index-hero,body .case-study-hero{border-color:var(--console-border);background:linear-gradient(125deg,rgba(var(--color-surface-rgb),.94),rgba(var(--color-bg-rgb),.86))}
body .project-index-hero>p:last-child,body .case-study-summary{color:#b2c1d2}
body .project-index-heading,body .case-section-heading{border-top-color:rgba(var(--color-accent-rgb),.24)}
body .case-study-visual{border-color:rgba(var(--color-accent-rgb),.17);background:rgba(var(--color-bg-rgb),.86)}
body .case-study-content>section{border-color:rgba(var(--color-accent-rgb),.16);background:linear-gradient(105deg,rgba(var(--color-surface-rgb),.84),rgba(var(--color-bg-rgb),.66))}
body .case-study-content>section>p:not(.case-section-number){color:#afbdcd}
body .case-list li{border-color:rgba(var(--color-accent-rgb),.14)}
body .case-list li::before{background:var(--color-accent);box-shadow:0 0 7px rgba(var(--color-accent-rgb),.28)}
body .technical-grid li{border-color:rgba(var(--color-accent-rgb),.2);background:rgba(var(--color-trace-active-rgb),.14);color:#c7d2df}
body .workflow-map li{border-color:rgba(var(--color-accent-rgb),.24);background:rgba(var(--color-surface-rgb),.78);color:#d7e0ea}
body .workflow-map li:not(:last-child)::after{background:linear-gradient(90deg,var(--color-accent),rgba(var(--color-accent-rgb),.16))}
body .workflow-map li[data-signal="ai"]{border-color:rgba(var(--color-ai-rgb),.42);background:rgba(var(--color-ai-rgb),.075)}
body .workflow-map li[data-signal="ai"] span{color:var(--color-ai-text)}
body .workflow-map li[data-signal="ai"]::after{background:linear-gradient(90deg,var(--color-ai),rgba(var(--color-ai-rgb),.16))}
body .case-next a{border-color:rgba(var(--color-accent-rgb),.2);background:rgba(var(--color-surface-rgb),.76)}
body .case-next a:hover{border-color:var(--console-border-strong);background:rgba(var(--color-trace-active-rgb),.22)}
body footer{border-color:rgba(var(--color-accent-rgb),.16);background:rgba(var(--color-bg-rgb),.9)}

.section-circuit{background-image:linear-gradient(90deg,transparent 0 6.5%,rgba(var(--color-trace-active-rgb),.3) 6.5% 6.57%,transparent 6.57% 100%),linear-gradient(0deg,transparent 0 23%,rgba(var(--color-accent-rgb),.07) 23% 23.07%,transparent 23.07% 72%,rgba(var(--color-trace-active-rgb),.2) 72% 72.07%,transparent 72.07%),radial-gradient(circle at 6.53% 23.04%,rgba(var(--color-accent-rgb),.28) 0 2px,transparent 2.8px),radial-gradient(circle at 88% 72.04%,rgba(var(--color-ai-rgb),.22) 0 2px,transparent 2.8px)}
.section-circuit::before{background:linear-gradient(90deg,transparent 0 18%,rgba(var(--color-trace-active-rgb),.34) 18% 18.4%,transparent 18.4% 52%,rgba(var(--color-ai-rgb),.12) 52% 52.4%,transparent 52.4%),linear-gradient(0deg,transparent 0 18%,rgba(var(--color-accent-rgb),.13) 18% 18.5%,transparent 18.5% 62%,rgba(var(--color-ai-rgb),.1) 62% 62.5%,transparent 62.5%)}
.section-circuit::after{background:var(--color-bg-deep);border-color:rgba(var(--color-accent-rgb),.48);box-shadow:0 0 7px rgba(var(--color-accent-rgb),.2)}
.tool-stack .section-circuit{background-image:linear-gradient(90deg,transparent 0 6.5%,rgba(var(--color-trace-active-rgb),.26) 6.5% 6.57%,transparent 6.57% 100%)}
.motion-stage.is-stage-current .section-circuit::before{filter:drop-shadow(0 0 5px rgba(var(--color-accent-rgb),.14))}
@keyframes section-stage-activation{
  0%{opacity:.24;transform:scale(.8);background:var(--color-bg-deep);box-shadow:none}
  38%{opacity:1;transform:scale(1.32);background:var(--color-accent);box-shadow:0 0 11px rgba(var(--color-accent-rgb),.46)}
  68%{opacity:.68;transform:scale(1.08);background:var(--color-bg-deep);box-shadow:0 0 7px rgba(var(--color-ai-rgb),.34)}
  100%{opacity:.44;transform:scale(1);background:var(--color-bg-deep);box-shadow:0 0 4px rgba(var(--color-trace-active-rgb),.34)}
}
@keyframes contact-destination{
  0%,100%{text-shadow:none;filter:none}
  36%{text-shadow:0 0 12px rgba(var(--color-accent-rgb),.34);filter:brightness(1.14)}
  68%{text-shadow:0 0 9px rgba(var(--color-ai-rgb),.28);filter:brightness(1.06)}
}

@media(max-width:700px){
  body .site-header nav{background:var(--color-bg);border-color:var(--console-border)}
  .site-circuit-field{opacity:.34}
  .workflow-bg{opacity:.6}
  .section-circuit{opacity:.11;background-image:linear-gradient(90deg,transparent 0 5.5%,rgba(var(--color-trace-active-rgb),.25) 5.5% 5.65%,transparent 5.65% 100%)}
  .workflow-traces path,.global-circuit-active path{filter:drop-shadow(0 0 2px currentColor)}
  .workflow-nodes circle,.global-circuit-nodes circle{--node-glow:rgba(var(--color-accent-rgb),.48);--node-afterglow-glow:rgba(var(--color-ai-rgb),.3)}
  body .tool-item:hover .tool-logo{filter:grayscale(0) saturate(.72)}
}
@media(prefers-reduced-motion:reduce){
  .workflow-traces path,.global-circuit-active path{filter:none}
  .workflow-nodes circle,.global-circuit-nodes circle{fill:var(--color-bg-deep);filter:none}
  .timeline-item.is-current .timeline-dot{animation:none;box-shadow:0 0 0 3px rgba(var(--color-ai-rgb),.1)}
  .motion-stage.has-been-activated .section-circuit::after,.contact.has-been-activated .email-link{animation:none}
}

/* Pass 12: persistent navigation and stronger interactive affordances. */
:root{
  --sticky-header-offset:12px;
  --sticky-header-height:80px;
  --interactive-bg:rgba(var(--color-surface-rgb),.78);
  --interactive-border:rgba(var(--color-accent-rgb),.42);
  --interactive-glow:0 0 18px rgba(var(--color-accent-rgb),.13),0 0 30px rgba(var(--color-ai-rgb),.055);
}
html{scroll-padding-top:calc(var(--sticky-header-height) + var(--sticky-header-offset) + 24px)}
.motion-stage{scroll-margin-top:calc(var(--sticky-header-height) + var(--sticky-header-offset) + 24px)}

body .site-header{
  position:sticky;
  top:var(--sticky-header-offset);
  z-index:30;
  isolation:isolate;
  box-shadow:inset 0 -1px rgba(var(--color-ai-rgb),.08),0 12px 36px rgba(var(--color-deep-rgb),.48),var(--console-glow);
}
body .site-header::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:24px;
  right:34px;
  bottom:-1px;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(var(--color-accent-rgb),.5) 18%,rgba(var(--color-ai-rgb),.25) 72%,transparent);
  opacity:.62;
}

body #site-nav a:not(.nav-contact),body .case-header-nav>a:not(.nav-contact){
  position:relative;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:0 3px;
  cursor:pointer;
  transition:color .22s ease,text-shadow .22s ease;
}
body #site-nav a:not(.nav-contact)::after,body .case-header-nav>a:not(.nav-contact)::after{
  content:"";
  position:absolute;
  left:3px;
  right:3px;
  bottom:6px;
  height:1px;
  background:linear-gradient(90deg,var(--color-accent),var(--color-ai));
  box-shadow:0 0 8px rgba(var(--color-accent-rgb),.32);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s var(--motion-ease);
}
body #site-nav a:not(.nav-contact)[aria-current="location"]::after,body #site-nav a:not(.nav-contact)[aria-current="page"]::after{transform:scaleX(1)}

body .project-link,body .text-link,body .email-link{
  position:relative;
  width:fit-content;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 16px;
  border:1px solid var(--interactive-border);
  background:var(--interactive-bg);
  box-shadow:inset 2px 0 rgba(var(--color-ai-rgb),.34),inset 0 0 18px rgba(var(--color-accent-rgb),.025);
  clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);
  cursor:pointer;
  transition:color .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .22s ease,transform .22s var(--motion-ease);
}
body .portfolio-project-card .project-link{align-self:flex-start;margin-top:auto;padding:0 16px}
body .projects-index-link .project-link{margin-top:0}
body .email-link{margin-top:35px}
body .project-link>span,body .text-link>span,body .email-link>span{
  width:23px;
  height:23px;
  margin:0;
  display:inline-grid;
  place-items:center;
  color:var(--color-accent);
  background:rgba(var(--color-accent-rgb),.08);
  border-left:1px solid rgba(var(--color-accent-rgb),.24);
  transition:transform .22s var(--motion-ease),background-color .22s ease,box-shadow .22s ease;
}
body .project-link:active,body .text-link:active,body .email-link:active,body .cta:active,body .nav-contact:active{transform:translate3d(0,1px,0) scale(.99)}
body .project-link:focus-visible,body .text-link:focus-visible,body .email-link:focus-visible,body .cta:focus-visible,body .nav-contact:focus-visible{
  outline:2px solid var(--color-accent);
  outline-offset:3px;
  box-shadow:0 0 0 3px rgba(var(--color-deep-rgb),.92),0 0 0 5px rgba(var(--color-accent-rgb),.72),var(--interactive-glow);
}
body .workflow-image-link{cursor:pointer}
body .workflow-image-link span{transition:color .22s ease,border-color .22s ease,background-color .22s ease,box-shadow .22s ease,transform .22s var(--motion-ease)}

@media(hover:hover) and (pointer:fine){
  body #site-nav a:not(.nav-contact):hover,body .case-header-nav>a:not(.nav-contact):hover{text-shadow:0 0 10px rgba(var(--color-accent-rgb),.34)}
  body #site-nav a:not(.nav-contact):hover::after,body .case-header-nav>a:not(.nav-contact):hover::after{transform:scaleX(1)}
  body #site-nav .nav-contact[aria-current="location"]:hover{color:var(--color-bg-deep)}
  body .project-link:hover,body .text-link:hover,body .email-link:hover{
    color:var(--color-text);
    border-color:rgba(var(--color-accent-rgb),.76);
    background:rgba(var(--color-trace-active-rgb),.34);
    box-shadow:inset 3px 0 rgba(var(--color-ai-rgb),.58),inset 0 0 22px rgba(var(--color-accent-rgb),.055),var(--interactive-glow);
    transform:translate3d(0,-2px,0);
  }
  body .project-link:hover>span,body .text-link:hover>span,body .email-link:hover>span{background:rgba(var(--color-accent-rgb),.14);box-shadow:0 0 10px rgba(var(--color-accent-rgb),.16);transform:translate3d(2px,-2px,0)}
  body .workflow-image-link:hover span{color:var(--color-text);border-color:rgba(var(--color-accent-rgb),.7);background:rgba(var(--color-trace-active-rgb),.38);box-shadow:var(--interactive-glow);transform:translate3d(-2px,-2px,0)}
}

@media(max-width:700px){
  :root{--sticky-header-offset:8px;--sticky-header-height:66px}
  html{scroll-padding-top:calc(var(--sticky-header-height) + var(--sticky-header-offset) + 16px)}
  .motion-stage{scroll-margin-top:calc(var(--sticky-header-height) + var(--sticky-header-offset) + 16px)}
  body .site-header{top:var(--sticky-header-offset);box-shadow:0 10px 28px rgba(var(--color-deep-rgb),.54)}
  body .site-header::after{left:12px;right:12px;opacity:.48}
  body .project-link,body .text-link,body .email-link{min-height:46px;padding:0 14px}
  body .portfolio-project-card .project-link{padding:0 14px}
}
@media(prefers-reduced-motion:reduce){
  body #site-nav a:not(.nav-contact),body #site-nav a:not(.nav-contact)::after,
  body .case-header-nav>a:not(.nav-contact),body .case-header-nav>a:not(.nav-contact)::after,
  body .project-link,body .text-link,body .email-link,
  body .project-link>span,body .text-link>span,body .email-link>span,
  body .workflow-image-link span{transition:none}
  body .project-link:hover,body .text-link:hover,body .email-link:hover,
  body .project-link:active,body .text-link:active,body .email-link:active,
  body .cta:active,body .nav-contact:active,body .workflow-image-link:hover span{transform:none}
}

/* Pass 13: card CTA clearance and an accessible Work projects submenu. */
body .portfolio-project-card__copy{overflow:visible}
body .portfolio-project-card .project-tools{flex:0 0 auto;margin-bottom:0}
body .portfolio-project-card .project-link{
  flex:0 0 auto;
  margin-top:26px;
  padding:0 16px;
  clear:both;
}

body .site-header{clip-path:none}
.nav-submenu{position:relative;display:flex;align-items:center;align-self:stretch}
.nav-submenu>a{gap:6px}
.nav-submenu-toggle{display:none}
.nav-caret{display:inline-block;color:var(--color-accent);font-size:13px;line-height:1;transform:translateY(-1px);transition:transform .2s var(--motion-ease),color .2s ease}
.nav-submenu-panel{
  position:absolute;
  z-index:50;
  top:calc(100% - 2px);
  left:50%;
  width:max-content;
  min-width:208px;
  padding-top:12px;
  display:grid;
  gap:6px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate3d(-50%,-6px,0);
  transition:opacity .18s ease,visibility .18s ease,transform .24s var(--motion-ease);
}
body #site-nav .nav-submenu-panel .nav-submenu-item{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 14px;
  color:var(--color-text);
  border:1px solid rgba(var(--color-accent-rgb),.42);
  background:rgba(var(--color-deep-rgb),.97);
  box-shadow:inset 3px 0 rgba(var(--color-ai-rgb),.48),0 14px 34px rgba(var(--color-deep-rgb),.62),0 0 18px rgba(var(--color-accent-rgb),.08);
  clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);
  white-space:nowrap;
}
body #site-nav .nav-submenu-panel .nav-submenu-item::after,
body #site-nav .nav-submenu-panel .nav-submenu-item::before{display:none}
body #site-nav .nav-submenu-panel .nav-submenu-item>span{color:var(--color-accent);font-size:15px;transition:transform .2s var(--motion-ease),text-shadow .2s ease}
body #site-nav .nav-submenu-panel .nav-submenu-item[aria-current="location"]{color:var(--color-accent);border-color:rgba(var(--color-accent-rgb),.72);background:rgba(var(--color-trace-active-rgb),.34)}
.nav-submenu:hover .nav-submenu-panel,.nav-submenu:focus-within .nav-submenu-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(-50%,0,0)}
.nav-submenu:hover .nav-caret,.nav-submenu:focus-within .nav-caret{color:var(--color-ai-text);transform:translateY(-1px) rotate(180deg)}

@media(hover:hover) and (pointer:fine){
  body #site-nav .nav-submenu-panel .nav-submenu-item:hover{color:var(--color-accent);border-color:rgba(var(--color-accent-rgb),.72);background:rgba(var(--color-trace-active-rgb),.34);text-shadow:0 0 10px rgba(var(--color-accent-rgb),.28)}
  body #site-nav .nav-submenu-panel .nav-submenu-item:hover>span{transform:translate3d(0,2px,0);text-shadow:0 0 8px rgba(var(--color-accent-rgb),.42)}
  body #site-nav .nav-work-dropdown .nav-projects-link:hover>span{transform:translate3d(2px,-2px,0)}
}

@media(max-width:700px){
  .nav-submenu{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0 8px;align-items:start;align-self:auto}
  .nav-submenu>a{width:auto}
  .nav-caret--desktop{display:none}
  .nav-submenu-toggle{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(var(--color-accent-rgb),.3);
    background:rgba(var(--color-trace-active-rgb),.16);
    color:var(--color-accent);
    font:inherit;
    cursor:pointer;
    clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  }
  #site-nav .nav-submenu .nav-submenu-toggle .nav-caret{transform:none}
  #site-nav .nav-submenu.is-submenu-open .nav-submenu-toggle .nav-caret{transform:rotate(180deg)}
  #site-nav .nav-submenu .nav-submenu-panel{display:none;position:static;grid-column:1/-1;width:100%;min-width:0;padding:0 0 6px 12px;opacity:0;visibility:hidden;pointer-events:none;transform:none;transition:none}
  #site-nav .nav-submenu.is-submenu-open .nav-submenu-panel{display:grid;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  body #site-nav .nav-submenu-panel .nav-submenu-item{width:100%;min-height:44px;padding:0 12px;background:rgba(var(--color-trace-active-rgb),.18);box-shadow:inset 2px 0 rgba(var(--color-ai-rgb),.38)}
  body .portfolio-project-card .project-link{margin-top:24px;padding:0 14px}
}
@media(prefers-reduced-motion:reduce){
  .nav-caret,.nav-submenu-toggle,.nav-submenu-panel,body #site-nav .nav-submenu-panel .nav-submenu-item>span{transition:none}
  .nav-submenu:hover .nav-submenu-panel,.nav-submenu:focus-within .nav-submenu-panel{transform:translate3d(-50%,0,0)}
  .nav-submenu:hover .nav-caret,.nav-submenu:focus-within .nav-caret{transform:none}
}
@media(prefers-reduced-motion:reduce) and (max-width:700px){
  #site-nav .nav-submenu:hover .nav-submenu-panel,#site-nav .nav-submenu:focus-within .nav-submenu-panel,#site-nav .nav-submenu.is-submenu-open .nav-submenu-panel{transform:none}
}

/* Pass 14: approved Christian Recla logo in browser chrome and site navigation. */
body .brand.brand-logo{
  width:64px;
  min-width:64px;
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  overflow:visible;
  line-height:1;
}
.brand-logo__viewport{
  --brand-logo-frame-width:60px;
  --brand-logo-frame-height:38px;
  --brand-logo-image-size:96px;
  position:relative;
  display:block;
  width:var(--brand-logo-frame-width);
  height:var(--brand-logo-frame-height);
  overflow:hidden;
  flex:0 0 auto;
}
.brand-logo__viewport img{
  position:absolute;
  left:50%;
  top:50%;
  width:var(--brand-logo-image-size);
  height:var(--brand-logo-image-size);
  max-width:none;
  display:block;
  transform:translate(-50%,-43%);
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}
body .site-header::before{left:124px}

@media(hover:hover) and (pointer:fine){
  body .brand.brand-logo:hover .brand-logo__viewport{filter:drop-shadow(0 0 7px rgba(var(--color-accent-rgb),.2))}
}

@media(max-width:700px){
  body .brand.brand-logo{width:58px;min-width:58px;height:48px}
  .brand-logo__viewport{
    --brand-logo-frame-width:54px;
    --brand-logo-frame-height:34px;
    --brand-logo-image-size:86px;
  }
}

/* Pass 15: discovery-call scheduler and verified professional destinations. */
body .contact{
  min-height:0;
  padding:clamp(96px,9vw,140px) 0;
}
.contact-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(24px,3vw,42px);
  align-items:start;
}
body .contact .contact-copy,
body .contact .booking-panel{
  width:100%;
  max-width:1120px;
  margin-inline:auto;
  min-width:0;
  border:1px solid rgba(var(--color-accent-rgb),.2);
  background:rgba(var(--color-surface-rgb),.82);
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,18px 100%,0 calc(100% - 18px));
  box-shadow:inset 0 0 34px rgba(var(--color-accent-rgb),.025),0 24px 70px rgba(0,0,0,.2);
}
body .contact .contact-copy{
  padding:clamp(30px,3.4vw,48px);
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(300px,.84fr);
  gap:clamp(36px,5vw,76px);
  align-items:start;
}
.contact-copy__intro,
.contact-copy__actions{min-width:0}
body .contact .contact-copy h2{
  max-width:720px;
  margin:34px 0 26px;
  font-size:clamp(38px,4vw,56px);
  line-height:1.02;
  text-wrap:balance;
}
body .contact .contact-copy__actions>p{max-width:410px;margin:2px 0 0;color:#b6c2d1}
body .contact .email-link{margin-top:28px}
.profile-links{
  margin-top:26px;
  padding-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  border-top:1px solid rgba(var(--color-accent-rgb),.15);
}
body .contact .profile-links>a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  color:var(--color-text-muted);
  border:1px solid rgba(var(--color-accent-rgb),.2);
  background:rgba(var(--color-trace-active-rgb),.14);
  font:500 11px var(--mono);
  letter-spacing:.055em;
  text-transform:uppercase;
  clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);
  transition:color .22s ease,border-color .22s ease,background-color .22s ease,transform .22s var(--motion-ease),box-shadow .22s ease;
}
body .contact .profile-links .external-mark{margin-left:auto;color:var(--color-accent);font-size:14px}
.profile-icon{
  width:22px;
  height:22px;
  flex:0 0 auto;
  display:block;
  object-fit:contain;
}
.profile-icon--upwork{width:24px}
.profile-link__label{white-space:nowrap}
.booking-panel{overflow:visible}
.booking-panel__header{
  padding:24px clamp(22px,2.5vw,32px) 22px;
  border-bottom:1px solid rgba(var(--color-accent-rgb),.18);
  background:linear-gradient(110deg,rgba(var(--color-trace-active-rgb),.2),rgba(var(--color-ai-rgb),.04));
}
body .contact .booking-panel__header h3{
  margin:12px 0 8px;
  color:var(--color-text);
  font:500 clamp(22px,2.3vw,31px)/1.15 var(--sans);
  letter-spacing:-.035em;
}
body .contact .booking-panel__header>p:last-child{
  max-width:570px;
  margin:0;
  color:var(--color-text-muted);
  font-size:14px;
  line-height:1.6;
}
body .contact .booking-panel__status{
  max-width:none;
  margin:0;
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--color-accent);
  font:500 10px var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
}
.booking-panel__status>span[aria-hidden]{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--color-accent);
  box-shadow:0 0 9px rgba(var(--color-accent-rgb),.6);
}
.booking-embed-shell{
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  background:var(--color-bg-deep);
  isolation:isolate;
}
.booking-feedback{
  margin:0;
  padding:24px;
  color:var(--color-text-muted);
  font-size:16px;
  line-height:1.6;
}
[data-booking-state="loading"] .booking-embed-shell{min-height:280px}
[data-booking-state="ready"] .booking-feedback{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.cal-inline-embed{
  position:relative;
  z-index:1;
  width:100%;
  height:auto;
  min-width:0;
  overflow:visible;
  background:transparent;
}
body .contact .booking-fallback{
  max-width:none;
  margin:0;
  padding:14px clamp(22px,2.5vw,32px) 18px;
  color:var(--color-text-muted);
  border-top:1px solid rgba(var(--color-accent-rgb),.14);
  font:500 11px/1.55 var(--mono);
}
.booking-fallback a{color:var(--color-accent);border-bottom:1px solid rgba(var(--color-accent-rgb),.5)}
.booking-fallback a>span{font-size:13px}
.footer-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px 18px;
}
body footer .footer-links>a{min-height:44px;display:inline-flex;align-items:center;gap:5px}
body footer .footer-links>a>span{color:var(--color-accent);font-size:12px}
body footer .footer-links .profile-icon{width:18px;height:18px;margin-right:2px}
body footer .footer-links .profile-icon--upwork{width:20px}

@media(hover:hover) and (pointer:fine){
  body .contact .profile-links>a:hover{color:var(--color-text);border-color:rgba(var(--color-accent-rgb),.62);background:rgba(var(--color-trace-active-rgb),.3);box-shadow:inset 2px 0 rgba(var(--color-ai-rgb),.45),0 0 14px rgba(var(--color-accent-rgb),.08);transform:translateY(-2px)}
  .booking-fallback a:hover{color:var(--color-text);border-color:var(--color-accent)}
}

@media(max-width:1100px){
  body footer{min-height:0;padding:24px 20px;align-items:flex-start;flex-direction:column;gap:16px}
  .footer-links{justify-content:flex-start}
}

@media(max-width:900px){
  body .contact .contact-copy{
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }
  body .contact .contact-copy h2{max-width:760px;margin-bottom:0;font-size:clamp(38px,6vw,56px)}
  body .contact .contact-copy__actions>p{max-width:580px}
}

@media(max-width:700px){
  body .contact{padding:82px 0}
  .contact-grid{gap:18px}
  body .contact .contact-copy{padding:26px 20px 30px;gap:20px}
  body .contact .contact-copy h2{margin:28px 0 22px;font-size:clamp(29px,8.5vw,39px)}
  body .contact .profile-links{
    position:static;
    display:flex;
    width:100%;
    padding:18px 0 0;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    border-bottom:0;
    background:none;
  }
  body .contact .profile-links>a{width:100%;justify-content:space-between}
  .booking-panel__header{padding:22px 18px 20px}
  body .contact .booking-panel__header h3{font-size:22px}
  body .contact .booking-fallback{padding:14px 18px 18px}
  body footer .footer-links{
    position:static;
    display:grid;
    width:100%;
    padding:0;
    grid-template-columns:minmax(0,1fr) max-content;
    align-items:start;
    gap:8px 16px;
    border:0;
    background:none;
  }
  body footer .footer-links>a{min-width:0;justify-self:start}
  body footer .footer-return{grid-column:1/-1;border-bottom:1px solid var(--line);width:100%;padding-bottom:8px;margin-bottom:4px}
}

@media(prefers-reduced-motion:reduce){
  body .contact .profile-links>a{transition:none}
  body .contact .profile-links>a:hover{transform:none}
  .booking-panel__status>span{box-shadow:none}
}

/* Career-story portrait: maritime-to-automation system scan. */
body .story{
  grid-template-columns:minmax(0,1fr) minmax(0,610px) minmax(340px,390px) minmax(0,1fr);
  justify-content:center;
  align-items:start;
  column-gap:clamp(28px,2.5vw,44px);
}
body .story>.eyebrow{
  grid-column:1 / -1;
  grid-row:1;
  align-self:start;
  margin-bottom:36px;
}
body .story>h2{
  grid-column:1 / -1;
  grid-row:2;
  margin:0 0 60px;
}
body .story>.story-copy{
  grid-column:2;
  grid-row:3;
  max-width:none;
  min-width:0;
}
body .story>.transition-portrait{
  grid-column:3;
  grid-row:3;
  position:relative;
  display:grid;
  grid-template-rows:minmax(420px,1fr) auto;
  min-width:0;
  min-height:0;
  margin:0;
  overflow:hidden;
  isolation:isolate;
  border:1px solid rgba(var(--color-accent-rgb),.24);
  background:var(--color-bg-deep);
  box-shadow:inset 0 0 0 1px rgba(var(--color-ai-rgb),.04),0 24px 70px rgba(0,0,0,.24);
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,0 100%);
}
body .story>.transition-portrait::before,
body .story>.transition-portrait::after{content:none}
body .education-panel .education-layout{
  display:block;
  position:relative;
  width:min(100% - 64px,1280px);
  margin-inline:auto;
}
body .education-panel .section-number{
  position:absolute;
  top:0;
  left:0;
  display:block;
  margin:0;
  padding:0;
  text-align:left;
}
body .education-panel .education-copy{width:min(100%,720px);min-width:0;margin-inline:auto;padding-top:72px}
body .education-panel .education-copy>p{max-width:620px;color:#b2c0d0}
.transition-portrait__media{
  position:relative;
  min-height:0;
  overflow:hidden;
  background:linear-gradient(145deg,var(--color-surface),#0a2131 58%,var(--color-bg-deep));
}
.transition-portrait__media::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(var(--color-deep-rgb),.08),rgba(var(--color-bg-rgb),.54)),
    radial-gradient(circle at 50% 32%,transparent 0 28%,rgba(var(--color-bg-rgb),.2) 64%,rgba(var(--color-deep-rgb),.58) 100%);
  mix-blend-mode:multiply;
}
.transition-portrait__media::after{
  content:"";
  position:absolute;
  z-index:4;
  inset:0;
  pointer-events:none;
  opacity:.42;
  background:
    linear-gradient(rgba(var(--color-accent-rgb),.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(var(--color-accent-rgb),.06) 1px,transparent 1px);
  background-size:100% 5px,52px 100%;
  mask-image:linear-gradient(180deg,transparent,#000 18%,#000 86%,transparent);
}
.transition-portrait__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.transition-portrait__image--base{
  object-position:50% 24%;
  filter:grayscale(.9) saturate(.18) contrast(1.08) brightness(.6) sepia(.08) hue-rotate(160deg);
  transform:scale(1.015);
}
.transition-portrait__image--active{
  position:absolute;
  z-index:1;
  inset:0;
  object-fit:contain;
  object-position:50% 50%;
  background:#d8dcde;
  filter:grayscale(.28) sepia(.1) saturate(.66) contrast(1.06) brightness(.72) hue-rotate(150deg);
  transform:none;
}
.transition-portrait__circuit{
  position:absolute;
  z-index:5;
  inset:8%;
  pointer-events:none;
  opacity:.56;
  border-top:1px solid rgba(var(--color-accent-rgb),.35);
  border-right:1px solid rgba(var(--color-ai-rgb),.28);
  clip-path:polygon(0 0,76% 0,76% 16%,100% 16%,100% 100%,24% 100%,24% 84%,0 84%);
}
.transition-portrait__circuit::before,
.transition-portrait__circuit::after{
  content:"";
  position:absolute;
  background:var(--color-accent);
  border-radius:50%;
  box-shadow:0 0 9px rgba(var(--color-accent-rgb),.62);
}
.transition-portrait__circuit::before{width:5px;height:5px;right:-3px;top:15.5%}
.transition-portrait__circuit::after{width:4px;height:4px;left:23.4%;bottom:15.2%}
.transition-portrait__scan{
  position:absolute;
  z-index:6;
  top:0;
  left:0;
  width:2px;
  height:100%;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(180deg,transparent 5%,var(--color-accent) 32%,rgba(var(--color-ai-rgb),.95) 68%,transparent 96%);
  box-shadow:0 0 12px rgba(var(--color-accent-rgb),.9),18px 0 36px rgba(var(--color-ai-rgb),.18);
}
body .story .transition-portrait__monogram{
  position:absolute;
  z-index:7;
  top:18px;
  right:20px;
  color:rgba(var(--color-accent-rgb),.48);
  font:400 clamp(36px,4vw,58px)/1 var(--display);
  letter-spacing:-.08em;
  text-shadow:0 0 22px rgba(var(--color-ai-rgb),.14);
}
.transition-portrait__phase{
  position:absolute;
  z-index:7;
  left:18px;
  bottom:18px;
  min-width:178px;
  min-height:31px;
  padding:9px 12px 8px;
  border-left:2px solid var(--color-accent);
  background:rgba(var(--color-deep-rgb),.8);
  color:var(--color-text);
  font:600 10px/1.35 var(--mono);
  letter-spacing:.09em;
  text-transform:uppercase;
  backdrop-filter:blur(7px);
}
.transition-portrait__phase>*{position:absolute;inset:9px 12px 8px;white-space:nowrap}
.transition-portrait__phase-from{display:none}
.transition-portrait__phase-to{color:var(--color-accent)}
.transition-portrait figcaption{
  position:relative;
  z-index:8;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:54px;
  padding:12px 16px;
  border-top:1px solid rgba(var(--color-accent-rgb),.2);
  background:rgba(var(--color-surface-rgb),.88);
  color:var(--color-text-muted);
  font:500 9px/1.4 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.transition-portrait figcaption i{color:var(--color-accent);font-style:normal;font-size:15px}
.transition-portrait figcaption strong{color:var(--color-text);font-weight:600}
.transition-portrait figcaption small{font:inherit}

html.motion-enhanced .transition-portrait__image--active{
  clip-path:inset(0 100% 0 0);
  transform:none;
}
html.motion-enhanced .transition-portrait__circuit{opacity:0;transition:opacity .8s ease-out 1.05s}
html.motion-enhanced .transition-portrait__phase-from{display:block;opacity:1}
html.motion-enhanced .transition-portrait__phase-to{opacity:0}
html.motion-enhanced .transition-portrait.is-scan-active .transition-portrait__image--active{
  clip-path:inset(0);
  transform:none;
  transition:clip-path 2.2s var(--motion-ease) .18s;
}
html.motion-enhanced .transition-portrait.is-scan-active .transition-portrait__circuit{opacity:.62}
html.motion-enhanced .transition-portrait.is-scan-active .transition-portrait__scan{animation:education-portrait-scan 2.26s var(--motion-ease) .16s both}
html.motion-enhanced .transition-portrait.is-scan-active .transition-portrait__phase-from{animation:education-phase-out .42s ease 1.82s both}
html.motion-enhanced .transition-portrait.is-scan-active .transition-portrait__phase-to{animation:education-phase-in .5s ease 1.9s both}

@keyframes education-portrait-scan{
  0%{opacity:0;transform:translate3d(-2px,0,0)}
  10%{opacity:1}
  86%{opacity:.95}
  100%{opacity:0;transform:translate3d(420px,0,0)}
}
@keyframes education-phase-out{to{opacity:0;transform:translate3d(0,-5px,0)}}
@keyframes education-phase-in{from{opacity:0;transform:translate3d(0,5px,0)}to{opacity:1;transform:none}}

@media(hover:hover) and (pointer:fine){
  .transition-portrait__media img{transition:filter .35s ease,transform .5s var(--motion-ease)}
  .transition-portrait:hover .transition-portrait__image--active{filter:grayscale(.2) sepia(.08) saturate(.74) contrast(1.06) brightness(.76) hue-rotate(148deg)}
  .transition-portrait:hover .transition-portrait__image--base{transform:scale(1.03)}
  .transition-portrait:hover .transition-portrait__circuit{opacity:.82}
}

@media(max-width:1100px){
  body .story{
    grid-template-columns:minmax(0,1fr) minmax(300px,350px);
    justify-content:center;
    align-items:start;
    column-gap:clamp(28px,4vw,42px);
    row-gap:0;
  }
  body .story>.eyebrow{grid-column:1 / -1;grid-row:1;margin-bottom:36px}
  body .story>h2{grid-column:1 / -1;grid-row:2;margin-bottom:44px}
  body .story>.story-copy{grid-column:1;grid-row:3}
  body .story>.transition-portrait{grid-column:2;grid-row:3}
}

@media(max-width:700px){
  body .story{display:grid;grid-template-columns:minmax(0,1fr);row-gap:0}
  body .story>.eyebrow{grid-column:1;grid-row:1;margin-bottom:35px}
  body .story>h2{grid-column:1;grid-row:2;margin:0 0 35px}
  body .story>.story-copy{grid-column:1;grid-row:3;margin-bottom:32px}
  body .story>.transition-portrait{grid-column:1;grid-row:4;grid-template-rows:minmax(280px,76vw) auto}
  .transition-portrait__image--base{object-position:50% 22%}
  body .story>.transition-portrait{width:100%;max-width:420px;justify-self:center}
  .transition-portrait__phase{left:14px;bottom:14px}
  body .story .transition-portrait__monogram{top:14px;right:16px;font-size:40px}
  .transition-portrait figcaption{padding:11px 13px;font-size:8px}
  body .education-panel .education-layout{width:min(100% - 40px,1280px)}
  body .education-panel .section-number{position:static;margin-bottom:35px;text-align:left}
  body .education-panel .education-copy{padding-top:0}
}

@media(prefers-reduced-motion:reduce){
  html.motion-enhanced .transition-portrait__image--active{clip-path:none;transform:none;transition:none}
  html.motion-enhanced .transition-portrait__circuit{opacity:.56;transition:none}
  html.motion-enhanced .transition-portrait__scan,
  html.motion-enhanced .transition-portrait__phase-from{display:none;animation:none}
  html.motion-enhanced .transition-portrait__phase-to{opacity:1;animation:none}
  .transition-portrait:hover .transition-portrait__media img{transform:none}
}

.transition-portrait.is-active-image-missing .transition-portrait__image--active,
.transition-portrait.is-active-image-missing .transition-portrait__scan,
.transition-portrait.is-active-image-missing .transition-portrait__phase-to{display:none}
.transition-portrait.is-active-image-missing .transition-portrait__phase-from{display:block;opacity:1;animation:none}

/* Pass 35: freelance hiring conversion modules and verified-proof schema. */
[hidden]{display:none!important}

.hero-role{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:4px 9px;
  max-width:100%;
  margin:11px 0 0;
  color:#a9b7c8;
  font:500 12px/1.55 var(--mono);
  letter-spacing:.045em;
  text-transform:uppercase;
}
.hero-role span{display:inline-flex;align-items:center;white-space:nowrap}
.hero-role span+span::before{content:"·";margin-right:9px;color:var(--color-accent)}

.availability-strip{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 10px;
  width:fit-content;
  max-width:100%;
  margin:22px 0 0;
  padding:10px 13px;
  border:1px solid rgba(var(--color-accent-rgb),.24);
  background:rgba(var(--color-deep-rgb),.72);
  color:var(--color-text-muted);
  font:500 10px/1.5 var(--mono);
  letter-spacing:.06em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.availability-strip__signal{
  flex:0 0 auto;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--color-accent);
  box-shadow:0 0 0 4px rgba(var(--color-accent-rgb),.08),0 0 12px rgba(var(--color-accent-rgb),.55);
}
.hero .availability-strip+h1{margin-top:clamp(28px,4vh,48px)}

.services,.work-process{
  position:relative;
  padding:clamp(96px,10vw,150px) 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,rgba(var(--color-surface-rgb),.94),rgba(var(--color-deep-rgb),.94));
  overflow:hidden;
}
.services-heading,.process-heading{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,440px);
  align-items:end;
  gap:clamp(36px,7vw,100px);
  margin-bottom:clamp(48px,6vw,78px);
}
.services-heading h2,.process-heading h2{
  max-width:820px;
  margin:24px 0 0;
  font:500 clamp(46px,6.4vw,88px)/.98 var(--display);
  letter-spacing:-.065em;
}
.services-heading h2 em,.process-heading h2 em{color:var(--color-accent);font:inherit}
.services-heading>p,.process-heading>p{
  margin:0;
  max-width:440px;
  color:var(--color-text-muted);
  font-size:16px;
  line-height:1.75;
}
.service-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.service-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:560px;
  padding:0 clamp(24px,2.6vw,38px) clamp(28px,3vw,40px);
  border:1px solid var(--line);
  background:linear-gradient(155deg,rgba(var(--color-accent-rgb),.045),transparent 44%),rgba(var(--color-deep-rgb),.78);
  overflow:hidden;
  transition:border-color .24s ease,transform .24s var(--motion-ease);
}
.service-card[data-signal="ai"]{background:linear-gradient(155deg,rgba(var(--color-ai-rgb),.085),transparent 46%),rgba(var(--color-deep-rgb),.82)}
.service-card__rail{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin:0 calc(clamp(24px,2.6vw,38px)*-1) 38px;
  padding:13px clamp(24px,2.6vw,38px);
  border-bottom:1px solid var(--line);
  color:var(--color-text-muted);
  font:500 9px/1.4 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.service-card__rail span:first-child{color:var(--color-accent)}
.service-card h3{margin:0 0 20px;font:500 clamp(27px,2.5vw,38px)/1.08 var(--display);letter-spacing:-.045em}
.service-card>p{margin:0 0 30px;color:var(--color-text-muted);line-height:1.7}
.service-card h4{margin:0 0 15px;color:var(--color-text);font:600 10px/1.4 var(--mono);letter-spacing:.1em;text-transform:uppercase}
.service-card ul{display:grid;gap:11px;margin:0;padding:0;list-style:none}
.service-card li{position:relative;padding-left:18px;color:#c5cfcc;font-size:14px;line-height:1.55}
.service-card li::before{content:"";position:absolute;left:0;top:.64em;width:7px;height:1px;background:var(--color-accent);box-shadow:0 0 7px rgba(var(--color-accent-rgb),.42)}
.service-card__actions{display:grid;gap:4px;margin-top:auto;padding-top:34px;border-top:1px solid var(--line)}
.service-card__actions a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:44px;
  color:var(--color-text-muted);
  font:500 10px/1.4 var(--mono);
  letter-spacing:.06em;
  text-transform:uppercase;
}
.service-card__actions a:last-child{color:var(--color-text)}
.service-card__actions a:hover{color:var(--color-accent)}

.work-process{border-top:0;background:linear-gradient(180deg,rgba(var(--color-deep-rgb),.95),rgba(var(--color-surface-rgb),.95))}
.process-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:0;
  padding:0;
  border:1px solid var(--line);
  list-style:none;
}
.process-grid>li{display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:280px;padding:28px;border-right:1px solid var(--line);background:rgba(var(--color-deep-rgb),.58)}
.process-grid>li:last-child{border-right:0}
.process-grid>li>span{color:var(--color-accent);font:600 11px/1 var(--mono);letter-spacing:.12em}
.process-grid h3{margin:52px 0 15px;font:500 clamp(25px,2.2vw,34px)/1.05 var(--display);letter-spacing:-.04em}
.process-grid p{margin:0;color:var(--color-text-muted);font-size:14px;line-height:1.7}
.process-cta{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:30px}
.process-cta p{margin:0;color:var(--color-text-muted);font:500 11px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase}

.project-provenance{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:32px;
  margin:0 0 24px;
  padding:7px 10px;
  border:1px solid rgba(var(--color-accent-rgb),.24);
  color:var(--color-text-muted);
  font:600 9px/1.3 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.project-provenance span{width:6px;height:6px;border-radius:50%;background:var(--color-accent);box-shadow:0 0 8px rgba(var(--color-accent-rgb),.55)}
.project-kicker+.project-provenance{margin-top:-24px}
.reliability-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:34px 0 0;
  padding:0;
  list-style:none;
}
.reliability-grid li{
  position:relative;
  min-height:74px;
  padding:20px 20px 18px 42px;
  border:1px solid var(--line);
  background:rgba(var(--color-deep-rgb),.58);
  color:#c5cfcc;
  line-height:1.55;
}
.reliability-grid li::before{content:"✓";position:absolute;left:18px;top:19px;color:var(--color-accent);font:600 12px var(--mono)}
.case-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:36px 0 0}
.case-metrics>div{padding:24px;border:1px solid rgba(var(--color-accent-rgb),.23);background:rgba(var(--color-deep-rgb),.66)}
.case-metrics dt{color:var(--color-text-muted);font:600 9px/1.4 var(--mono);letter-spacing:.09em;text-transform:uppercase}
.case-metrics dd{margin:14px 0 0;color:var(--color-accent);font:500 clamp(26px,3vw,42px)/1 var(--display);letter-spacing:-.04em}
.case-metrics p{margin:13px 0 0!important;font-size:13px!important;line-height:1.55!important}
.contact-resume-link{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;width:fit-content;color:var(--color-text);font:500 11px var(--mono);letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--color-accent)}

.service-card__actions a:focus-visible,.contact-resume-link:focus-visible,.process-cta a:focus-visible,[data-resume-link]:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}

@media(hover:hover) and (pointer:fine){
  .service-card:hover{transform:translateY(-3px);border-color:rgba(var(--color-accent-rgb),.34)}
}

@media(max-width:1100px){
  .services-heading,.process-heading{grid-template-columns:1fr;align-items:start;gap:26px}
  .services-heading>p,.process-heading>p{max-width:650px}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-card:last-child{grid-column:1/-1;min-height:480px}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-grid>li{min-height:240px}
  .process-grid>li:nth-child(2){border-right:0}
  .process-grid>li:nth-child(-n+2){border-bottom:1px solid var(--line)}
}

@media(max-width:700px){
  .hero-role{gap:3px 8px;margin-top:10px;font-size:12px;line-height:1.5}
  .hero-role span+span::before{margin-right:8px}
  .availability-strip{gap:6px 8px;margin-top:18px;padding:9px 10px;font-size:8px;line-height:1.45}
  .availability-strip span:nth-child(3),.availability-strip span:nth-child(5){display:none}
  .availability-strip span:nth-child(4),.availability-strip span:nth-child(6){flex-basis:auto}
  .hero .availability-strip+h1{margin-top:28px}
  .services,.work-process{padding:88px 0}
  .services-heading,.process-heading{margin-bottom:40px;gap:22px}
  .services-heading h2,.process-heading h2{font-size:clamp(40px,12vw,54px);margin-top:18px}
  .services-heading>p,.process-heading>p{font-size:15px}
  .service-grid{grid-template-columns:1fr}
  .service-card,.service-card:last-child{grid-column:auto;min-height:0;padding:0 22px 26px}
  .service-card__rail{margin:0 -22px 28px;padding:12px 22px;flex-wrap:wrap}
  .service-card__actions{margin-top:32px;padding-top:12px}
  .process-grid{grid-template-columns:1fr}
  .process-grid>li{min-height:0;padding:24px;border-right:0;border-bottom:1px solid var(--line)!important}
  .process-grid>li:last-child{border-bottom:0!important}
  .process-grid h3{margin:42px 0 12px}
  .process-cta{align-items:flex-start;flex-direction:column;margin-top:24px}
  .reliability-grid,.case-metrics{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .service-card{transition:none}
}

/* Credibility, readable controls, and a consistent path from evidence to booking. */
#main,#booking,main section[id]{scroll-margin-top:112px}
.skip-link{position:fixed;z-index:1000}
body .cta,body .nav-contact,body .email-link,.service-card__actions a{min-height:44px;font-size:14px;line-height:1.5}
body .cta{white-space:normal;gap:12px;text-align:left}
body .project-link{font-size:14px}
body .project-kicker,body .project-tools li,body .workflow-image-link span,
body .time,body .role,body .location,body .workflow-map li span,body .skill-tags span,body nav{font-size:12px;line-height:1.5}
.transition-portrait figcaption{flex-wrap:wrap;font-size:12px}
.transition-portrait__phase{font-size:12px;width:230px;max-width:calc(100% - 32px)}
body .nav-contact{display:inline-flex;align-items:center}
body .email-link{max-width:100%;overflow-wrap:anywhere;letter-spacing:.02em}
body .contact .profile-links>a,body footer .footer-links>a{font-size:12px}
.eyebrow,.section-number,.case-section-number,.project-kicker,.console-card-rail,
.service-card__rail,.service-card h4,.process-grid>li>span,.process-cta p,
.case-next span,.tool-tags span,.skill-tags span,.availability-strip,
body .contact .booking-panel__status,body .contact .booking-fallback{font-size:12px;line-height:1.5}
.availability-strip,.console-card-rail,.project-kicker{flex-wrap:wrap}
body .project-provenance{font-size:12px;line-height:1.5;margin-bottom:12px}
.project-context{min-width:0;margin-bottom:24px}
body .project-context .project-provenance{width:fit-content;max-width:100%;margin:0 0 8px}
body .portfolio-project-card .project-status,body .case-study-hero .project-status{
  display:block;margin:0;padding:0;border:0;color:var(--color-text-muted);
  font:400 14px/1.6 var(--sans);text-transform:none;letter-spacing:0;
}
.project-provenance span{flex:0 0 6px}
.project-deployment-note{padding:14px 18px;border-left:2px solid var(--color-accent);background:rgba(var(--color-accent-rgb),.04)}
.contribution-note{padding:16px 18px;border-left:2px solid var(--color-accent);background:rgba(var(--color-accent-rgb),.04)}
body .contact .booking-panel{padding:0;clip-path:none}
body .contact .booking-feedback{max-width:none;margin:0;color:var(--color-text-muted)}
.case-booking{
  width:min(100% - 64px,1280px);margin:0 auto 48px;padding:clamp(24px,4vw,48px);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:center;gap:40px;
  border:1px solid rgba(var(--color-accent-rgb),.25);background:rgba(var(--color-surface-rgb),.85);
}
.case-booking h2{margin:20px 0;font:500 clamp(26px,3vw,42px)/1.18 var(--display);letter-spacing:-.045em}
.case-booking p:not(.eyebrow){margin:0;max-width:600px;color:var(--color-text-muted);line-height:1.7}
.case-booking__actions{display:grid;gap:16px;min-width:0}
.case-booking__email{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--color-accent);font-size:14px}
body a:focus-visible,body button:focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}
/* Inset outlines remain visible inside the clipped, angular controls. */
body .cta:focus-visible,body .email-link:focus-visible,body .profile-links>a:focus-visible,body .nav-contact:focus-visible{outline-offset:-4px}

@media(max-width:1024px){
  .case-booking{grid-template-columns:minmax(0,1fr);gap:26px}
  .case-booking__actions{justify-items:start}
}
@media(min-width:701px) and (max-width:980px){
  .case-study-content .workflow-map{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case-study-content .workflow-map li:not(:last-child)::after{display:none}
}
@media(max-width:700px){
  body .hero{min-height:0;padding-bottom:30px}
  body .hero-foot{margin-top:32px;gap:20px}
  body .hero-foot .hero-summary{width:auto;gap:10px}
  body .hero-foot p{font-size:16px;line-height:1.7}
  body .education-panel .education-copy>p{font-size:16px;line-height:1.7}
  body .education-panel .education-copy>.education{font-size:16px!important}
  .availability-strip{font-size:12px;line-height:1.6}
  body .nav-toggle{min-width:44px;min-height:44px;justify-content:center;align-items:center}
  body #site-nav a,body .nav-work-toggle{min-height:44px}
  body #site-nav a{display:inline-flex;align-items:center}
  body .tool-stack,body .selected-work,body .capabilities,body .experience,
  body .story,body .about-panel,body .contact,.services,.work-process{padding-top:60px;padding-bottom:60px}
  body h2,.services-heading h2,.process-heading h2{font-size:clamp(29px,9vw,38px);line-height:1.12}
  body .contact .contact-copy h2{font-size:clamp(26px,8vw,36px);line-height:1.15;margin:24px 0 12px}
  .services-heading,.process-heading,.work-heading{margin-bottom:28px}
  .services-heading>p,.process-heading>p,.service-card>p,.service-card li,.process-grid p,
  body .hero .hero-summary,body .tool-stack p:not(.eyebrow),body .section-copy,body .work-heading>p,body .section-heading>p,body .capability-grid article p,
  body .portfolio-project-card__copy>p:not(.project-kicker):not(.project-provenance):not(.project-status),
  body .timeline-item>div>p:not(.role):not(.location),body .story-copy p,
  body .education-copy>p,body .contact-copy__actions>p,body .contact .booking-panel__header>p:last-child,
  body .project-index-hero>p:last-child,body .case-study-summary,
  body .case-study-content p:not(.case-section-number),body .case-study-content li{font-size:16px;line-height:1.7}
  .service-card h3{font-size:28px;line-height:1.2}
  .service-card__rail{margin-bottom:24px}
  .service-card>p{margin-bottom:24px}
  .service-card__actions{margin-top:24px}
  .process-grid h3{margin-top:24px}
  body .capability-grid article{min-height:0}
  body .project-index-hero,body .case-study-hero{padding:54px 18px 36px}
  body .project-index-hero h1,body .case-study-hero h1{font-size:clamp(28px,9vw,40px);line-height:1.15;overflow-wrap:anywhere}
  body .portfolio-project-card h3,body .portfolio-project-card:not(.portfolio-project-card--primary) h3{font-size:clamp(25px,7.8vw,31px);line-height:1.18}
  .project-index-section,.project-index-section--supporting{padding-top:48px}
  body .portfolio-project-card__copy{padding:24px 18px}
  .project-kicker{margin-bottom:24px}
  .project-kicker+.project-provenance{margin-top:0}
  body .case-study-visual{padding:44px 12px}
  body .case-study-content{padding-top:32px;padding-bottom:28px}
  body .case-study-content>section{padding:26px 18px}
  body .case-study-content h2{font-size:28px;line-height:1.2}
  .technical-grid li,.reliability-grid li{min-height:0;padding-top:16px;padding-bottom:16px}
  .case-booking{width:calc(100% - 24px);margin-bottom:28px;padding:26px 18px;gap:22px}
  .case-booking h2{font-size:26px}
  .case-booking__actions{justify-items:stretch}
  .case-booking__actions .cta{justify-content:space-between}
  .case-next{display:grid;width:calc(100% - 24px);padding-bottom:48px}
  .case-next a{min-height:110px;padding:20px;gap:16px}
  .case-next strong{font-size:18px}
  body .contact .booking-panel{padding:0}
  body .contact .booking-fallback{font-size:14px;line-height:1.7}
  .booking-fallback a{display:inline-block;min-height:44px;padding-block:10px}
  .booking-feedback{padding:22px 18px}
  .transition-portrait figcaption{flex-wrap:wrap;gap:10px}
  .transition-portrait figcaption small,.transition-portrait figcaption strong{font-size:12px}
  body footer{font-size:12px;line-height:1.7}
}
@media(max-width:360px){
  body footer .footer-links{grid-template-columns:minmax(0,1fr)}
  .service-card h3{font-size:26px}
  body .contact .contact-copy h2{font-size:24px}
}
