@font-face{font-family:Space;src:url(fonts/space-grotesk.ttf) format('truetype');font-weight:300 700;font-display:swap}
@font-face{font-family:JetBrains;src:url(fonts/jetbrains-mono.ttf) format('truetype');font-weight:100 800;font-display:swap}
/* Swiss cyber-terminal palette: softened contrast and restrained phosphor-green accents. */
:root{color-scheme:dark;--bg:#060809;--surface:#101418;--text:#edf0f1;--muted:#a5adb4;--accent:#a7e43b;--line:#394147;--gutter:clamp(24px,4vw,64px);--page-width:1440px;font:16px/1.6 Arial,Helvetica,sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0}p,h1,h2,h3,h4,dl,dd{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit}button,summary{cursor:pointer}a,button{touch-action:manipulation}a,button,summary{transition:color .2s,background .2s,border-color .2s}button{border-radius:0}a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:5px}::selection{color:var(--bg);background:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}main,footer,.header-inner{max-width:var(--page-width);margin:auto;padding-inline:var(--gutter)}main{overflow-x:clip}.skip{position:fixed;top:-100px;left:20px;padding:14px;z-index:100;background:var(--accent);color:var(--bg)}.skip:focus{top:10px}
h1,h2,h3,h4{font-weight:500}h1,h2{letter-spacing:-.065em;line-height:1.02}h2{font-size:clamp(36px,4.2vw,60px)}h3{font-size:24px;line-height:1.2;letter-spacing:-.035em}h4{font-size:16px;line-height:1.4}.eyebrow,.panel-label{font:10px/1.6 JetBrains,monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:24px}.eyebrow span,.cursor-mark{color:var(--accent)}.cursor-mark{margin-left:4px}
/* Compact navigation, with a full mobile menu. */
.site-header{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}.header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}.wordmark{display:flex;align-items:center;gap:12px;font:600 17px JetBrains,monospace;letter-spacing:-1px;white-space:nowrap}.brand-glyph{display:flex;align-items:end;gap:4px}.brand-glyph i{width:5px;height:20px;background:var(--accent)}.brand-glyph i+i{width:10px;height:5px}.site-header nav{display:flex;gap:4px;margin-left:auto}.site-header nav a{display:flex;justify-content:center;align-items:center;gap:14px;padding:7px 10px;min-height:30px;background:var(--surface);border:1px solid var(--line);font:10px JetBrains,monospace;text-transform:uppercase}.site-header nav a span{font-size:9px;color:var(--muted)}.site-header nav a:hover,.site-header nav a.active{color:var(--accent);border-color:var(--muted)}.contact-button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:38px;padding:10px 18px;border:1px solid var(--line);font:500 10px/1.4 JetBrains,monospace;letter-spacing:.06em;text-transform:uppercase;border-radius:0;box-shadow:none}.contact-button{background:var(--accent);color:var(--bg);border-color:var(--accent)}.contact-button .icon,.button .icon{width:15px;height:15px}.contact-button:hover{background:var(--accent);border-color:var(--accent)}.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}.primary:hover{background:#c0ee66;border-color:#c0ee66}.secondary{background:transparent;color:var(--accent);border-color:var(--accent)}.secondary:hover{background:var(--accent);color:var(--bg);border-color:var(--accent)}.menu-toggle{display:none}
/* A spacious editorial opening with an interactive technical figure. */
.hero{padding-top:56px;padding-bottom:0}.hero-intro{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:48px;align-items:center;padding-bottom:48px}.hero-copy{min-width:0}.hero-copy h1{font-size:clamp(62px,7.4vw,108px);margin-bottom:28px;font-weight:600}.hero-copy .eyebrow{margin-bottom:32px}.positioning{font:12px/1.8 JetBrains,monospace;margin-bottom:16px}.hero-description{max-width:48ch;color:var(--muted);font-size:16px;line-height:1.75;margin-bottom:28px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px}.social-icons{display:flex;gap:8px;margin-top:24px}.social-icons a{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);color:var(--muted)}.social-icons a:hover{color:var(--accent);background:var(--surface)}
.globe-window{display:block;min-width:0;border:1px solid var(--line);align-self:center}.figure-label{display:flex;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line);font:9px JetBrains,monospace;letter-spacing:.1em;color:var(--muted)}.globe-stage{position:relative;height:auto;aspect-ratio:1;overflow:hidden}.globe-stage canvas,.globe-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}.globe-stage canvas{cursor:grab;touch-action:none}.globe-stage canvas.dragging{cursor:grabbing}.globe-help{font:10px/1.6 JetBrains,monospace;padding:14px 16px;border-top:1px solid var(--line);color:var(--accent)}.globe-help span{display:block;font-size:9px;color:var(--muted);margin-top:4px}
/* Preserve the original terminal window instead of the Swiss profile index. */
.terminal{display:block;width:100%;max-width:none;margin-left:0;border:1px solid #596269;border-radius:11px;overflow:hidden;background:linear-gradient(140deg,#161b1e70,#080c0ec7 60%,#151e2280);box-shadow:inset 0 0 25px #ffffff03;font-family:JetBrains,monospace}
.terminal-bar{display:flex;align-items:center;gap:18px;min-height:36px;padding:9px 14px;font-size:10px;border-bottom:1px solid #444c51;background:linear-gradient(#1c2226a0,#0c1013)}
.window-controls{display:flex;gap:7px}.window-controls i{width:10px;height:10px;border-radius:50%;background:#ff6058}.window-controls i:nth-child(2){background:#ffbd2e}.window-controls i:nth-child(3){background:#28c840}
.terminal-body{display:block;padding:24px;font-size:12px;line-height:1.7}.terminal-label{color:var(--accent);margin:0 0 4px;font-weight:600}.terminal-name{margin-bottom:0}.tree{list-style:none;padding:0 0 0 18px;margin:0}.tree li{position:relative;border-left:1px solid #59636a;padding-left:12px}.tree li:before{content:'';position:absolute;left:0;top:10px;width:7px;border-top:1px solid #59636a}.terminal .focus-label{margin-top:18px}.checklist{list-style:none;padding:0 0 0 12px;margin:0}.checklist span{color:#b0be9f}.terminal-bottom{margin-top:16px;display:flex;justify-content:space-between;align-items:center}.terminal-bottom small{font-size:8px;color:#89958d}.terminal-cursor{width:7px;height:12px;background:var(--accent)}
@media(max-width:600px){.terminal{max-width:none;margin-left:0}.terminal-body{padding:20px;font-size:11px}}
/* Every section shares the same outer edges and numbered hierarchy. */
.about-section,.dashboard,.lower-section{padding-block:88px;border-bottom:1px solid var(--line)}.about-section{display:grid;grid-template-columns:1fr 2fr;gap:64px}.about-heading h2{max-width:7ch}.about-story{max-width:760px}.about-story p{color:var(--muted);line-height:1.8;font-size:15px;margin-bottom:18px}.about-story .about-lead{font-size:clamp(23px,2.5vw,34px);line-height:1.35;letter-spacing:-.035em;color:var(--text);margin-bottom:24px}.about-story .education-note,.about-story .alias-note{font:11px/1.8 JetBrains,monospace}.text-link{display:inline-flex;align-items:center;gap:12px;font:10px/1.5 JetBrains,monospace;text-transform:uppercase;letter-spacing:.04em;padding-block:10px}.text-link .icon{width:14px;height:14px}.text-link:hover{color:var(--accent)}
.dashboard{display:grid;grid-template-columns:1fr 1fr;gap:0}.dashboard>section{min-width:0;border:1px solid var(--line);padding:32px}.dashboard>section+section{border-left:0}.dashboard h2{font-size:36px;margin-bottom:28px}.panel-title{display:flex;justify-content:space-between;align-items:start;gap:12px}.panel-title .text-link{padding:0;white-space:nowrap}.skill-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:20px}.skill-tabs button,.filters button{background:transparent;border:1px solid var(--line);padding:10px 12px;min-height:38px;font:10px/1.4 JetBrains,monospace;text-transform:uppercase}.skill-tabs button[aria-selected=true],.filters button.active{background:var(--accent);color:var(--bg);border-color:var(--accent)}.skill-tabs button:hover,.filters button:hover{border-color:var(--muted)}.skill-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-left:1px solid var(--line)}.skill-card{display:flex;align-items:center;gap:12px;min-width:0;padding:18px 12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}.skill-card>.icon{width:18px;height:18px;color:var(--muted)}.skill-card>span{font-size:13px;line-height:1.5}.skill-card small{display:block;font:9px/1.6 JetBrains,monospace;color:var(--muted);margin-top:3px}.skills-note{display:block;font:9px JetBrains,monospace;color:var(--muted);margin-top:20px}.featured-list{display:grid;gap:0}.featured-card{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;border-top:1px solid var(--line);padding:24px 0}.featured-card:hover h3{color:var(--accent)}.featured-card .project-symbol{color:var(--muted);width:20px}.featured-card h3{font-size:24px;margin-bottom:10px}.featured-copy p{color:var(--muted);font-size:13px;line-height:1.7;padding-right:18px}.featured-card .project-art{display:none}.card-arrow{position:absolute;right:0;top:24px}.card-arrow .icon{width:16px;height:16px}.tags{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:16px 0 0}.tags li{border:1px solid var(--line);padding:5px 7px;font:9px/1.4 JetBrains,monospace;color:var(--muted)}
.section-heading{display:grid;grid-template-columns:2fr 1fr;align-items:end;gap:48px;margin-bottom:40px}.section-heading>p{color:var(--muted);font-size:14px;line-height:1.7;max-width:40ch}.section-heading h2{max-width:16ch}.github-snapshot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--line);margin-bottom:24px}.github-snapshot .panel-label{margin-bottom:6px}.snapshot-note{font:9px/1.6 JetBrains,monospace;color:var(--muted)}.github-snapshot dl{display:flex;gap:40px}.github-snapshot dl>div{display:flex;flex-direction:column-reverse;gap:6px}.github-snapshot dd{font-size:32px;line-height:1;letter-spacing:-.06em}.github-snapshot dt{font:9px JetBrains,monospace;color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:6px;margin-block:24px}.filters button span{margin-left:10px;font-size:9px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}.project{min-width:0;border:1px solid var(--line);margin-right:-1px;margin-bottom:-1px}.project-art{position:relative;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--surface);border-bottom:1px solid var(--line);overflow:hidden}.project-art>.icon{width:40px;height:40px;color:var(--accent);stroke-width:1}.project-art strong{font:500 clamp(24px,3vw,42px) Space,Arial,sans-serif;letter-spacing:-.05em;max-width:100%;padding-inline:16px;text-align:center;overflow-wrap:anywhere}.project-art small,.project-art>span{font:9px JetBrains,monospace;color:var(--muted)}.project-info{padding:32px}.project-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.project-title h3{font-size:28px}.status{font:9px JetBrains,monospace;text-transform:uppercase;color:var(--accent)}.project-summary{font-size:16px;margin-block:20px 12px}.project-description{font-size:14px;line-height:1.8;color:var(--muted)}.project-repo{margin-top:24px;padding:10px 14px;border:1px solid var(--line);background:var(--accent);color:var(--bg)}.project-repo:hover{background:var(--accent);color:var(--bg);border-color:var(--accent)}.more-projects{margin-top:24px}
.events-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line)}.events-grid>div{padding:32px;min-width:0}.events-grid>div+div{border-left:1px solid var(--line)}.events-grid h3{margin-bottom:24px}.events-grid p{font-size:14px;color:var(--muted);line-height:1.75}.placements,.team-results{list-style:none;padding:0;margin:0}.placements li{display:grid;grid-template-columns:94px 1fr;gap:24px;padding-block:24px;border-top:1px solid var(--line)}.place-badge{font:12px/1.7 JetBrains,monospace;color:var(--accent)}.placements p{font-size:12px;margin-top:8px}.team-results li{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-block:14px;font-size:13px}.team-results strong{font:11px JetBrains,monospace;color:var(--accent);white-space:nowrap}.event-activity-scroll>p{margin-bottom:24px}.event-history{margin-top:20px}.event-history details{border-top:1px solid var(--line)}.event-history summary{font:11px/1.8 JetBrains,monospace;padding-block:18px;min-height:44px}.event-history summary span{color:var(--muted);font-size:9px;margin-left:8px}.community-events{margin-top:32px;border-top:1px solid var(--line);padding-top:24px}.community-events p{margin-bottom:14px}.community-events strong{color:var(--text);font-weight:400}.practice-snapshot{border:1px solid var(--line);border-top:0;padding:32px}.practice-snapshot h3{margin-bottom:12px}.practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:24px}.practice-grid article{min-width:0}.practice-grid p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:10px}.practice-grid .practice-value{color:var(--accent);font:12px/1.7 JetBrains,monospace}.ctf-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.legacy-anchor{scroll-margin-top:100px}
.experience-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:40px}.result{min-width:0;padding:32px;border:1px solid var(--line);margin-right:-1px;margin-bottom:-1px}.result h3{font-size:26px;margin-bottom:16px}.result p{font-size:14px;line-height:1.8;color:var(--muted);margin-top:16px}.result .role-title{color:var(--text);margin-top:0}.result small{font:10px/1.7 JetBrains,monospace;color:var(--accent)}.result .text-link{margin-top:16px}
.contact{display:grid;grid-template-columns:1.5fr 1fr;gap:64px}.contact h2{font-size:clamp(42px,5vw,72px);margin-bottom:28px}.contact p:not(.panel-label){font-size:15px;line-height:1.8;color:var(--muted);margin-bottom:24px}.resume-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px}.resume-actions .text-link{overflow-wrap:anywhere;text-transform:none}.profile-list{display:flex;flex-direction:column;justify-content:center}.profile-list>a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid var(--line)}.profile-list>a:last-child{border-bottom:1px solid var(--line)}.profile-list strong{display:block;font-size:22px;font-weight:400;letter-spacing:-.03em}.profile-list small{display:block;font:10px JetBrains,monospace;color:var(--muted);margin-top:8px}.profile-list a:hover{color:var(--accent)}footer{display:flex;justify-content:space-between;gap:24px;padding-block:28px;color:var(--muted);font:9px/1.7 JetBrains,monospace}footer a:hover{color:var(--accent)}
/* Reveal effects never hide content; navigation and keyboard use remain immediate. */
[data-reveal]{opacity:1;transform:none}.is-visible{opacity:1}
@media(max-width:1150px){.header-inner{gap:16px}.site-header nav a{padding:6px;gap:6px;font-size:9px}.wordmark{font-size:15px;gap:8px}.contact-button{padding:8px 12px}.hero-intro{gap:32px}.hero-copy h1{font-size:clamp(54px,7.4vw,82px)}.dashboard>section{padding:24px}.project-info{padding:24px}.contact{gap:32px}}
@media(max-width:900px){.site-header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:16px var(--gutter);background:var(--bg);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px}.site-header nav.open{display:grid}.site-header nav a{padding:12px;font-size:11px;min-height:44px}.header-inner{min-height:68px;gap:12px}.wordmark{font-size:16px}.menu-toggle{display:grid;place-items:center;width:40px;height:40px;margin-left:auto;background:transparent;border:1px solid var(--line)}.hero-intro{grid-template-columns:1.3fr 1fr;gap:24px}.hero-copy h1{font-size:clamp(46px,7.4vw,68px)}.hero-description{font-size:14px}.positioning{font-size:10px}.about-section{gap:32px}.about-section,.dashboard,.lower-section{padding-block:64px}.dashboard{grid-template-columns:1fr}.dashboard>section+section{border-left:1px solid var(--line);border-top:0}.section-heading{gap:24px}.github-snapshot dl{gap:24px}.events-grid>div,.practice-snapshot,.result{padding:24px}.placements li{gap:16px;grid-template-columns:72px 1fr}.contact{grid-template-columns:1fr}.profile-list{display:grid;grid-template-columns:1fr 1fr;gap:0 32px}.profile-list>a:last-child{border-bottom:0}}
@media(max-width:600px){:root{--gutter:20px}html{scroll-padding-top:88px}.header-inner{gap:10px}.wordmark{font-size:13px;gap:8px}.brand-glyph{display:none}.contact-button{font-size:9px;min-height:40px;padding-inline:10px;gap:8px}.hero{padding-top:40px}.hero-intro{grid-template-columns:1fr;gap:32px;padding-bottom:32px}.hero-copy h1{font-size:clamp(46px,11.8vw,70px);margin-bottom:24px}.hero-copy .eyebrow{margin-bottom:24px}.hero-description{font-size:15px}.positioning{font-size:11px}.button,.filters button,.skill-tabs button{min-height:44px}.hero-actions{gap:10px}.hero-actions .button{padding-inline:12px;font-size:10px}.globe-window{width:100%;max-width:440px}.globe-stage{aspect-ratio:1.15}.about-section,.dashboard,.lower-section{padding-block:48px}.about-section{grid-template-columns:1fr;gap:28px}.about-heading h2{max-width:none}.about-heading h2 br{display:none}.about-heading h2 br:after{content:' '}.about-story .about-lead{font-size:24px}.dashboard>section{padding:20px}.dashboard h2{font-size:30px}.panel-title{flex-wrap:wrap;gap:10px;margin-bottom:20px}.panel-title .panel-label{margin:0}.skill-tabs{gap:5px}.skill-tabs button{font-size:9px;padding:10px 8px}.skill-card{padding:14px 8px;gap:8px;min-height:88px}.skill-card>.icon{width:15px;height:15px}.skill-card>span{font-size:11px}.skill-card small{font-size:8px}.featured-card{padding-block:22px;gap:10px}.featured-copy p{font-size:13px}.section-heading{grid-template-columns:1fr;gap:20px;margin-bottom:28px}.section-heading h2{font-size:36px}.github-snapshot{padding:20px;gap:24px}.github-snapshot dl{width:100%;justify-content:space-between;gap:12px}.github-snapshot dd{font-size:28px}.github-snapshot dt{font-size:8px}.filters button{font-size:9px;padding-inline:10px}.project-grid,.events-grid,.practice-grid,.experience-grid{grid-template-columns:1fr}.project-art{min-height:200px}.project-info{padding:22px}.project-title{gap:10px;flex-wrap:wrap}.project-title h3{font-size:26px}.project-summary{font-size:15px}.project-description{font-size:14px}.project-repo{min-height:44px}.events-grid>div+div{border-left:0;border-top:1px solid var(--line)}.events-grid>div,.practice-snapshot,.result{padding:22px}.practice-grid{gap:28px}.placements li{grid-template-columns:70px 1fr;gap:14px}.placements h4{font-size:14px}.place-badge{font-size:11px}.contact h2{font-size:42px}.contact .profile-list{grid-template-columns:1fr}.contact{gap:32px}.profile-list strong{font-size:22px}footer{flex-wrap:wrap;font-size:9px;gap:16px}footer>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Technical detail within the Swiss grid; the existing palette stays intact. */
.hero-intro{position:relative;padding-top:18px;background-image:linear-gradient(to right,#b6ff1806 1px,transparent 1px);background-size:calc(100% / 12) 100%}
.hero-copy .eyebrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.signal-dot{display:inline-block;width:5px;height:5px;background:var(--accent);flex:none;box-shadow:0 0 12px #b6ff1840}.hero-handle{color:var(--muted)!important;font-size:9px;letter-spacing:.04em}.hero-copy h1{position:relative}.hero-copy h1:after{content:'';display:block;width:64px;height:3px;background:var(--accent);margin-top:24px}.cursor-mark{text-shadow:0 0 24px #b6ff1824}
.globe-window{position:relative;background:radial-gradient(ellipse at center,#b6ff1809,transparent 70%),var(--bg)}.globe-window:before,.globe-window:after{content:'';position:absolute;width:14px;height:14px;pointer-events:none;z-index:2;border-color:var(--accent)}.globe-window:before{top:-1px;left:-1px;border-top:2px solid;border-left:2px solid;color:var(--accent)}.globe-window:after{bottom:-1px;right:-1px;border-bottom:2px solid;border-right:2px solid;color:var(--accent)}.figure-label{background:var(--surface)}.figure-label>span:first-child{display:flex;gap:8px;align-items:center}.globe-stage{background-image:linear-gradient(#b6ff1807 1px,transparent 1px),linear-gradient(90deg,#b6ff1807 1px,transparent 1px);background-size:40px 40px}.globe-help{background:var(--surface)}
.primary,.contact-button,.project-repo{box-shadow:0 0 0 transparent;transition:background .2s,border-color .2s,box-shadow .2s}.primary:hover,.contact-button:hover,.project-repo:hover{background:#c0ee66;border-color:#c0ee66;box-shadow:0 0 22px #b6ff181a}.site-header nav a:hover,.site-header nav a.active{background:#b6ff180b;border-color:var(--accent)}
.panel-label{display:flex;align-items:center;gap:12px}.panel-label:before{content:'';width:18px;height:1px;background:var(--accent);flex:none}.dashboard>section,.events-grid>div,.practice-snapshot,.result{background:linear-gradient(140deg,#10141870,transparent 70%)}.dashboard h2{letter-spacing:-.05em}.skill-card{transition:background .2s}.skill-card:hover{background:#b6ff1808}.skill-card>.icon{color:var(--accent)}.skill-tabs button[aria-selected=true],.filters button.active{box-shadow:inset 0 -2px 0 #6d9b08}.featured-card{transition:background .2s,padding .2s}.featured-card:hover{background:#b6ff1805}.featured-card .project-symbol{color:var(--accent)}.featured-card .card-arrow{border:1px solid var(--line);width:24px;height:24px;display:grid;place-items:center}.featured-card:hover .card-arrow{border-color:var(--accent);color:var(--accent)}
.project{position:relative;transition:border-color .2s,background .2s}.project:hover{border-color:#b6ff1870;z-index:1}.project-art{min-height:280px;padding:16px 22px 20px;justify-content:space-between;gap:0;background:radial-gradient(ellipse at 50% 45%,#b6ff180c,transparent 70%),linear-gradient(#b6ff1806 1px,transparent 1px),linear-gradient(90deg,#b6ff1806 1px,transparent 1px),var(--surface);background-size:auto,28px 28px,28px 28px,auto}.art-caption,.art-wordmark{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px}.art-caption{font:9px/1.6 JetBrains,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.art-caption>span:last-child{color:var(--accent);font-size:16px}.project-diagram{display:block;width:100%;max-width:360px;height:170px;stroke:#61734b;stroke-width:1;flex:none;overflow:visible}.project-diagram .diagram-highlight{stroke:var(--accent);stroke-width:1.5}.project:hover .project-diagram{filter:drop-shadow(0 0 5px #b6ff1822)}.art-wordmark strong{font:600 26px Space,Arial,sans-serif;letter-spacing:-.04em;padding:0;text-align:left}.art-wordmark>span{font:9px JetBrains,monospace;color:var(--muted);border:1px solid var(--line);padding:4px 8px}.project-title .status{border:1px solid #b6ff1833;background:#b6ff1808;padding:5px 7px}.project-repo{border-color:var(--accent)}.project-info .tags li{background:var(--surface)}
.github-snapshot{border-left:2px solid var(--accent);background:linear-gradient(90deg,#b6ff1805,transparent)}.github-snapshot dd{font-variant-numeric:tabular-nums}.place-badge{align-self:start;border-left:2px solid var(--accent);padding-left:10px}.event-history summary:hover{color:var(--accent)}.result{position:relative}.result:before{content:'';display:block;width:24px;height:2px;background:var(--accent);margin-bottom:20px}.result:hover{background:#b6ff1805}.profile-list>a:hover{background:#b6ff1805}.contact{position:relative;background:radial-gradient(ellipse at 20% 50%,#b6ff1805,transparent 70%)}.contact h2{max-width:12ch}
@media(max-width:600px){.hero-intro{padding-top:0}.hero-handle{display:none}.hero-copy h1:after{margin-top:20px;width:48px}.project-art{min-height:250px;padding-inline:18px}.project-diagram{height:150px}.art-wordmark strong{font-size:24px}.art-caption{font-size:8px}.contact h2{max-width:none}}

/* Denser editorial rhythm and useful navigation between the main sections. */
.about-section,.dashboard,.lower-section{padding-block:64px}.section-heading{margin-bottom:32px}.hero-intro{padding-bottom:32px}.discipline-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px;border:1px solid var(--line);background:var(--surface)}.discipline-strip>a{display:flex;align-items:center;gap:16px;padding:24px;min-width:0}.discipline-strip>a+a{border-left:1px solid var(--line)}.discipline-strip>a>.icon:first-child{color:var(--accent);width:24px;height:24px}.discipline-strip>a>.icon:last-child{margin-left:auto;width:14px;height:14px;color:var(--muted)}.discipline-strip strong{display:block;font-size:19px;line-height:1.3;font-weight:500;letter-spacing:-.03em}.discipline-strip small{display:block;font:9px/1.6 JetBrains,monospace;color:var(--muted);margin-top:7px}.discipline-strip>a:hover{background:#b6ff1808}.discipline-strip>a:hover>.icon:last-child{color:var(--accent)}
.focus-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line)}.focus-grid article{min-width:0;padding:28px;background:linear-gradient(130deg,#10141888,transparent)}.focus-grid article+article{border-left:1px solid var(--line)}.focus-symbol{display:grid;place-items:center;width:36px;height:36px;border:1px solid #b6ff1840;color:var(--accent);margin-bottom:20px}.focus-grid h3{font-size:23px;line-height:1.25;margin-bottom:14px}.focus-grid p{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:14px}.focus-grid .text-link{color:var(--accent)}.stack-panel{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.stack-panel .panel-label{font-size:9px;margin-bottom:14px}.stack-list{display:flex;flex-wrap:wrap;list-style:none;gap:8px;padding:0;margin:0}.stack-list li{font:10px/1.5 JetBrains,monospace;padding:7px 9px;background:var(--surface);border:1px solid var(--line);color:var(--muted)}
/* Certifications inside the skills dashboard */
.cert-panel{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.cert-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.cert-panel-head .panel-label{font-size:9px;margin:0}
.cert-total{font:9px JetBrains,monospace;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.cert-list{list-style:none;margin:0;padding:0}
.cert-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:14px;border-top:1px solid var(--line)}
.cert-item:first-child{border-top:0}
.cert-copy{min-width:0}
.cert-issuer{display:block;font:9px/1.6 JetBrains,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.cert-copy h3{font-size:15px;font-weight:500;line-height:1.35;margin-top:4px}
.cert-copy p{font:10px/1.6 JetBrains,monospace;color:var(--muted);margin-top:4px}
.cert-metric{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;font:500 24px/1 Space,Arial,sans-serif;letter-spacing:-.04em;color:var(--text);font-variant-numeric:tabular-nums}
.cert-item-featured .cert-metric{color:var(--accent)}
.cert-metric small{font:8px/1.4 JetBrains,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
@media(max-width:600px){.cert-metric{font-size:20px}}
.repo-total{display:flex;align-items:center;gap:20px}.repo-total strong{font:500 52px/1 Arial,sans-serif;letter-spacing:-.07em;color:var(--accent);font-variant-numeric:tabular-nums}.repo-total>span{font:11px/1.8 JetBrains,monospace}.repo-total small{font-size:9px;color:var(--muted)}.github-snapshot{padding:28px}.github-snapshot>.button{min-height:44px}.experience-grid .result{border-top:2px solid var(--line)}.experience-grid .result:hover{border-top-color:var(--accent)}
/* Prepare before first paint, then reveal once: no visible-to-hidden flash. */
@keyframes swiss-enter{from{opacity:0;translate:0 var(--enter-y,16px)}to{opacity:1;translate:none}}
[data-reveal="nav"]{--enter-y:-5px;--enter-duration:750ms}
[data-reveal="panel"]{--enter-y:18px;--enter-duration:1100ms}
[data-reveal="tile"]{--enter-y:10px;--enter-duration:850ms}
[data-reveal="fade"]{--enter-y:0px;--enter-duration:1000ms}
.motion-ready [data-reveal]:not(.is-visible){opacity:0;translate:0 var(--enter-y,16px)}
.motion-ready [data-reveal].is-visible{animation:swiss-enter var(--enter-duration,1000ms) cubic-bezier(.22,.61,.36,1) var(--reveal-delay,0ms) both}
/* Focused content must be available without waiting for its entrance. */
.motion-ready [data-reveal].reveal-instant{animation:none;opacity:1;translate:none}
@media(max-width:600px){[data-reveal]{--enter-y:10px;--enter-duration:900ms}.motion-ready [data-reveal].is-visible{animation-delay:min(var(--reveal-delay,0ms),180ms)}[data-reveal="fade"]{--enter-y:0px}[data-reveal="nav"]{--enter-y:-4px}}
@media(prefers-reduced-motion:reduce){.motion-ready [data-reveal]{animation:none!important;opacity:1!important;translate:none!important}}
@media print{.motion-ready [data-reveal]{animation:none!important;opacity:1!important;translate:none!important}}
a .icon{transition:translate .2s,color .2s}.button:hover>.icon,.text-link:hover>.icon,.discipline-strip>a:hover>.icon:last-child{translate:3px 0}.project{transition:border-color .2s,background .2s}.project-info h3{transition:color .2s}.project:hover .project-info h3{color:var(--accent)}.social-icons a:hover{translate:0 -2px}.social-icons a{transition:translate .2s,color .2s,background .2s}.profile-list>a strong{position:relative;width:max-content}.profile-list>a strong:after{content:'';position:absolute;bottom:-4px;left:0;width:100%;height:1px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .25s}.profile-list>a:hover strong:after{transform:scaleX(1)}
@media(max-width:1100px){.header-inner{gap:10px}.contact-button{padding-inline:10px;font-size:9px}.discipline-strip>a{padding:20px 16px;gap:12px}.discipline-strip strong{font-size:17px}.focus-grid article{padding:22px}.focus-grid h3{font-size:21px}}
@media(max-width:700px){.discipline-strip{grid-template-columns:1fr}.discipline-strip>a+a{border-left:0;border-top:1px solid var(--line)}.discipline-strip>a{padding:18px 20px}.discipline-strip strong{font-size:18px}.focus-grid{grid-template-columns:1fr}.focus-grid article+article{border-left:0;border-top:1px solid var(--line)}.focus-grid article{padding:24px}.focus-grid p{max-width:50ch}.focus-symbol{margin-bottom:16px}.repo-total strong{font-size:46px}.github-snapshot{padding:22px}.github-snapshot>.button{width:100%}.about-section,.dashboard,.lower-section{padding-block:48px}}
@media(max-width:380px){.contact-button{padding:8px;font-size:8px;gap:6px}.contact-button .icon{width:12px}.wordmark{font-size:12px}.header-inner{gap:8px}.menu-toggle{width:34px;min-width:34px}}
@media(prefers-reduced-motion:reduce){[data-reveal].is-visible{animation:none!important}a .icon,.social-icons a{translate:none!important}.profile-list>a strong:after{transition:none!important}}

/* Viewport framing: natural height always wins over the minimum screen size. */
:root{--header-height:81px;--section-space:clamp(32px,5svh,64px)}
html{scroll-padding-top:var(--header-height)}
main>.hero,main>.profile-section,main>.about-section,main>.dashboard,main>.lower-section{min-block-size:calc(100svh - var(--header-height));padding-block:var(--section-space);align-content:center}
main>.hero{display:grid;padding-block:24px;border-bottom:1px solid var(--line)}
.hero-intro{padding:0;gap:24px 48px;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
.hero-copy .eyebrow{margin-bottom:20px}.hero-copy h1{font-size:clamp(54px,6.8vw,98px);margin-bottom:20px}.hero-copy h1:after{margin-top:18px}
.hero-command{display:flex;gap:12px;font:11px/1.6 JetBrains,monospace;color:var(--accent);padding:10px 0;margin-bottom:14px;border-block:1px solid var(--line);max-width:48ch}
.positioning{margin-bottom:12px}.hero-description{margin-bottom:20px}.social-icons{margin-top:18px}
.hero .globe-window{width:100%;max-width:440px;justify-self:end}.hero .globe-stage{aspect-ratio:1;max-height:46svh}
.hero-index{grid-column:1/-1;display:grid;grid-template-columns:1.4fr repeat(4,1fr);border:1px solid var(--line);background:var(--surface)}
.hero-index-title{display:flex;align-items:center;gap:12px;padding:18px;font:9px/1.6 JetBrains,monospace;color:var(--accent)}
.hero-index small{display:block;margin-top:5px;font:9px/1.5 JetBrains,monospace;color:var(--muted)}
.hero-index>.process-step{position:relative;padding:18px;border-left:1px solid var(--line);transition:background .2s}
.hero-index strong{font-size:18px;font-weight:500;letter-spacing:-.04em}
.hero-index>.process-step:hover{background:#b6ff180c}.hero-index>.process-step:hover strong{color:var(--accent)}
.profile-section{border-bottom:1px solid var(--line)}.profile-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.profile-heading h2{font-size:clamp(32px,3.5vw,48px)}.profile-heading>p{font-size:14px;line-height:1.7;color:var(--muted)}
.about-section{align-items:start;row-gap:32px}.dashboard{align-items:stretch}.contact{align-items:center}
/* Entrance motion never changes document layout or anchor spacing. */
@media(max-width:900px){:root{--header-height:69px}.hero-intro{gap:24px}.hero-index{grid-template-columns:repeat(4,1fr)}.hero-index-title{grid-column:1/-1;border-bottom:1px solid var(--line)}.hero-index>.process-step:nth-child(2){border-left:0}.hero-index-title small{display:inline;margin-left:12px}}
@media(max-width:600px){
 :root{--section-space:32px}
 main>.hero{padding-block:0;display:block}
 .hero-intro{display:flex;flex-direction:column;gap:0;background:none}
 .hero-copy{width:100%;min-block-size:0;display:block;padding-block:0}
 .hero-copy h1{font-size:clamp(48px,12vw,72px)}.hero-copy .eyebrow{margin-bottom:18px}.hero-description{font-size:14px;line-height:1.7}.hero-command{font-size:10px;max-width:none}
 .hero .globe-window{max-width:none;margin-block:32px 24px}.hero .globe-stage{max-height:none;aspect-ratio:1.25}
 .hero-index{width:100%;grid-template-columns:1fr 1fr;margin-bottom:32px}.hero-index>.process-step{min-height:80px}.hero-index>.process-step:nth-child(4){border-left:0}.hero-index>.process-step:nth-child(n+4){border-top:1px solid var(--line)}.hero-index-title small{display:block;margin-left:0}
 .profile-heading{display:block}.profile-heading>p{margin-top:18px}.profile-heading .panel-label{margin-bottom:16px}
 .about-section{row-gap:28px}
}
@media(min-width:601px) and (max-height:760px){
 .hero-copy h1{font-size:clamp(48px,5.8vw,80px)}.hero-copy h1:after{margin-top:12px}.hero-copy .eyebrow{margin-bottom:12px}.hero-copy h1{margin-bottom:14px}.hero-description{font-size:14px;line-height:1.6}.hero-index>.process-step,.hero-index-title{padding-block:12px}
}

/* Keep the globe and introduction together in the first mobile screen. */
.hero-opening{display:contents}
@media(max-width:600px){
 .hero-opening{display:grid;grid-template-rows:auto minmax(180px,1fr);align-content:stretch;gap:16px;width:100%;min-block-size:calc(100svh - var(--header-height));padding-block:16px}
 .hero-copy .eyebrow{font-size:9px;margin-bottom:12px}
 .hero-copy h1{font-size:clamp(44px,11.5vw,64px);margin-bottom:12px}
 .hero-copy h1:after{margin-top:12px;height:2px}
 .hero-copy .positioning{font-size:10px;line-height:1.6;margin-bottom:10px}
 .hero-command{display:none}
 .hero-description{font-size:13px;line-height:1.65;margin-bottom:16px;max-width:48ch}
 .hero-actions{gap:8px}.hero-actions .button{font-size:9px;padding-inline:10px}
 .hero-copy .social-icons{margin-top:12px}.hero-copy .social-icons a{width:34px;height:34px}
 .hero .globe-window{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(120px,1fr) auto;margin:0;max-width:none;align-self:stretch;background:radial-gradient(ellipse at center,#b6ff1810,transparent 75%),var(--surface)}
 .hero .globe-stage{grid-column:1;grid-row:2;width:100%;height:auto;min-height:120px;aspect-ratio:auto;max-height:none;border-right:0}
 .hero .figure-label{grid-column:1;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;font-size:8px;border-bottom:1px solid var(--line);background:none}
 .hero .globe-help{grid-column:1;grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;font-size:10px;line-height:1.5;border-top:1px solid var(--line);background:none}
 .hero .globe-help span{font-size:8px;line-height:1.5;margin-top:0;max-width:23ch;text-align:right}
 .hero-index{margin-top:0}
}
@media(max-width:600px) and (max-height:700px){
 .hero-opening{padding-block:16px;gap:12px}
 .hero-copy h1{font-size:clamp(40px,10.5vw,58px);margin-bottom:10px}
 .hero-copy h1:after{display:none}
 .hero-copy .eyebrow{margin-bottom:8px}
 .hero-description{font-size:12px;line-height:1.5;margin-bottom:12px}
 .hero-copy .social-icons{display:none}
 .hero .globe-stage{height:auto;min-height:120px}
}

/* Concrete portfolio totals, with context for each number. */
.stats-strip .process-step{display:flex;flex-direction:column;justify-content:center;gap:6px}
.stats-strip .process-step strong{font:500 36px/1.1 Space,Arial,sans-serif;letter-spacing:-.05em;color:var(--accent);font-variant-numeric:tabular-nums}
.stats-strip .process-step strong span{font-size:18px;letter-spacing:0}
.stats-strip .stat-label{font-size:12px;line-height:1.5}
.stats-strip .process-step small{margin-top:0;font-size:8px;line-height:1.6}
@media(max-width:600px){.stats-strip .process-step{min-height:124px;padding:16px}.stats-strip .process-step strong{font-size:34px}}


/* Compact open-source publication credit beneath the selected work. */
.open-source-note{margin-top:20px;color:var(--muted);font:12px/1.7 JetBrains,monospace}
.open-source-note a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.open-source-note a:hover{color:var(--text)}

/* Button hierarchy: reserve solid phosphor green for the two primary calls to action. */
.contact-button,.github-snapshot .button.primary,.project-repo{background:var(--surface);color:var(--accent);border-color:var(--accent)}
.contact-button:hover,.github-snapshot .button.primary:hover,.project-repo:hover{background:#1b2920;color:var(--accent);border-color:var(--accent);box-shadow:none}
.skill-tabs button[aria-selected=true],.filters button.active{background:#1b2920;color:var(--accent);border-color:var(--accent)}
.secondary:hover{background:#1b2920;color:var(--accent);border-color:var(--accent)}
/* Keep the hero and contact CTAs as the deliberate filled accents. */
.hero-actions .button.primary,.contact .button.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.hero-actions .button.primary:hover,.contact .button.primary:hover{background:#c0ee66;color:var(--bg);border-color:#c0ee66}

/* Explicit primary exceptions: navbar résumé, all-projects CTA, and project links. */
.site-header .contact-button,.github-snapshot .button.primary,.project-repo{background:var(--accent);color:var(--bg);border-color:var(--accent)}
.site-header .contact-button:hover,.github-snapshot .button.primary:hover,.project-repo:hover{background:#c0ee66;color:var(--bg);border-color:#c0ee66;box-shadow:0 0 22px #b6ff181a}

/* Mobile hero refinement: compact globe, comfortable copy rhythm, full first-screen framing. */
@media(max-width:600px){
 .hero-opening{grid-template-rows:auto auto;align-content:space-between;gap:24px;min-block-size:calc(100svh - var(--header-height));padding-block:20px 24px}
 .hero-copy .eyebrow{margin-bottom:18px}
 .hero-copy h1{line-height:1.12;margin-bottom:18px}
 .hero-copy h1:after{margin-top:16px}
 .hero-copy .positioning{line-height:1.8;margin-bottom:14px}
 .hero-description{line-height:1.85;margin-bottom:20px}
 .hero-copy .social-icons{margin-top:16px}
 .hero .globe-window{align-self:end;grid-template-rows:auto auto auto}
 .hero .globe-stage{height:clamp(210px,31svh,290px);min-height:0;max-height:290px;aspect-ratio:auto}
}
@media(max-width:600px) and (max-height:700px){
 .hero-opening{gap:16px;padding-block:12px 16px}
 .hero-copy h1{line-height:1.08;margin-bottom:12px}
 .hero-copy .eyebrow{margin-bottom:12px}
 .hero-description{line-height:1.65;margin-bottom:14px}
 .hero .globe-stage{height:clamp(160px,27svh,215px);min-height:0}
}

/* Mobile hero: let the complete globe card determine the section height; never crop its footer. */
@media(max-width:600px){
 main>.hero{height:auto;min-height:calc(100svh - var(--header-height));overflow:visible}
 .hero-opening{min-height:0;min-block-size:0;height:auto;grid-template-rows:auto auto;align-content:start;gap:18px;padding-block:18px 20px}
 .hero .globe-window{align-self:auto;min-height:0;grid-template-rows:auto auto auto;overflow:visible}
 .hero .globe-stage{height:clamp(170px,25svh,240px);min-height:0;max-height:240px}
 .hero .globe-help{min-height:0}
}
@media(max-width:600px) and (max-height:700px){
 .hero-opening{gap:14px;padding-block:12px 16px}
 .hero .globe-stage{height:clamp(145px,22svh,190px);min-height:0}
}

/* Keep the next panel below the mobile hero viewport. */
@media(max-width:600px){
 .hero-opening{min-block-size:calc(100svh - var(--header-height));height:auto;box-sizing:border-box;align-content:space-between}
}

/* Full-width terrain is decorative; foreground layout and hit targets stay intact. */
main{overflow-x:visible}
.hero{position:relative;isolation:isolate}
.hero-intro{position:relative;z-index:1;background-image:none}
hero-background{display:block;position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;contain:strict;mask-image:linear-gradient(180deg,#000 0%,#000 90%,transparent)}
hero-background canvas{display:block;width:100%;height:100%}

/* Keep compact phones within the first screen without shrinking tap targets. */
@media(max-width:360px) and (max-height:700px){
 .hero-opening{gap:12px;padding-block:12px}
 .hero-copy .eyebrow{margin-bottom:8px}
 .hero-copy h1{line-height:1.06;margin-bottom:10px}
 .hero-copy .positioning{line-height:1.5;margin-bottom:8px}
 .hero-description{line-height:1.5;margin-bottom:12px}
 .hero-actions{flex-wrap:nowrap;gap:6px}
 .hero-actions .button{flex:1;min-width:0;padding-inline:6px;font-size:8px;gap:6px}
 .hero .globe-stage{height:120px;min-height:120px}
 .hero .globe-help{gap:8px;white-space:nowrap}
 .hero .globe-help span{max-width:20ch;white-space:normal;font-size:7px;line-height:1.4}
}


/* SWISS NAV + LOCATION / WAVE HERO
   Flat type-only navigation, precise underline, spacious editorial composition. */
.site-header nav{gap:clamp(12px,1.6vw,28px)}
.site-header nav a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:10px 2px;
  background:transparent;border:0;color:var(--muted);
  font:500 10px/1.4 JetBrains,monospace;
  text-transform:uppercase;letter-spacing:.045em
}
.site-header nav a .nav-label{
  position:relative;display:inline-block;
  font-size:inherit;line-height:inherit;color:inherit
}
.site-header nav a .nav-label::after{
  content:'';position:absolute;left:0;right:0;bottom:-6px;
  height:2px;background:var(--accent);
  transform:scaleX(0);transform-origin:left center;
  transition:transform .22s ease
}
.site-header nav a:hover,.site-header nav a.active{
  background:transparent;border-color:transparent;color:var(--text)
}
.site-header nav a:hover .nav-label::after,
.site-header nav a.active .nav-label::after,
.site-header nav a[aria-current="location"] .nav-label::after{transform:scaleX(1)}

/* Removing the globe frees the hero for the wave background and intro. */
.hero-intro{grid-template-columns:minmax(0,1fr)}
.hero-opening{display:block}
.hero-copy{max-width:670px}

/* Contact: text | profile links | interactive globe.
   The globe occupies the rightmost column and matches the adjacent links in height. */
.contact{
  grid-template-columns:minmax(0,1.18fr) minmax(0,1.12fr) minmax(0,1fr);
  gap:clamp(22px,2.5vw,40px);
  align-items:stretch
}
.contact-copy,.contact .profile-list,.contact-globe{min-width:0}
.contact-copy{align-self:center}
.contact h2{font-size:clamp(38px,4.1vw,62px)}
.contact .profile-list{
  display:flex;flex-direction:column;justify-content:space-between;
  align-self:stretch;
  width:100%;max-width:325px;justify-self:start
}
.contact .profile-list>a{
  min-width:0;flex:1;min-height:72px;padding:16px 0
}
.contact .profile-list strong{font-size:clamp(17px,1.5vw,21px)}
.contact-globe{
  display:flex;align-self:stretch;justify-self:stretch;
  width:100%;max-width:none
}
.contact-globe .globe-window{
  display:grid;grid-template-rows:auto minmax(220px,1fr) auto;
  flex:1;width:100%;height:100%;max-width:none;min-width:0;
  background:var(--surface);border:1px solid var(--line);overflow:hidden
}
.contact-globe .globe-stage{
  width:100%;height:100%;min-height:220px;max-height:none;aspect-ratio:auto
}
.contact-globe .figure-label{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;padding:12px 13px;font-size:8px
}
.contact-globe .globe-help{padding:12px 13px;font-size:10px;line-height:1.55}
.contact-globe .globe-help span{font-size:8px;line-height:1.55}

/* Mid-sized screens: profile links and globe are still equal-height neighbors. */
@media(max-width:1180px){
  .contact{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 32px;align-items:stretch
  }
  .contact-copy{grid-column:1/-1;grid-row:1;max-width:660px}
  .contact .profile-list{
    grid-column:1;grid-row:2;
    display:flex;flex-direction:column;align-self:stretch;
    width:100%;max-width:none;
    gap:0
  }
  .contact-globe{
    grid-column:2;grid-row:2;max-width:none;
    align-self:stretch;justify-self:stretch
  }
}
@media(max-width:900px){
  .site-header nav{gap:8px 16px}
  .site-header nav a{justify-content:flex-start;padding:12px 6px;min-height:44px}
}
/* Narrow screens: full-width content, profile links, then a proportionate globe. */
@media(max-width:700px){
  .contact{
    grid-template-columns:minmax(0,1fr);
    gap:28px;padding-block:48px
  }
  .contact-copy{grid-column:1;grid-row:1}
  .contact .profile-list{grid-column:1;grid-row:2}
  .contact-globe{
    grid-column:1;grid-row:3;
    width:100%;max-width:420px;justify-self:start
  }
  .contact-globe .globe-window{
    height:auto;grid-template-rows:auto auto auto
  }
  .contact-globe .globe-stage{
    height:auto;min-height:0;aspect-ratio:1.4
  }
  .contact .profile-list>a{min-height:0;padding:16px 0}
  .contact h2{font-size:clamp(40px,8vw,54px)}
}
@media(max-width:600px){
  .contact{gap:28px}
  .contact .profile-list{display:flex;flex-direction:column}
  .contact .profile-list strong{font-size:21px}
  .contact-globe .figure-label{padding:10px 12px}
  .contact-globe .globe-help{
    display:flex;align-items:center;justify-content:space-between;
    gap:10px;padding:10px 12px
  }
  .contact-globe .globe-help span{
    max-width:21ch;margin-top:0;text-align:right
  }
  .contact h2{font-size:clamp(40px,10vw,48px)}
}
@media(max-width:600px){
  main>.hero{padding-block:20px;min-block-size:calc(100svh - var(--header-height))}
  .hero-intro{
    min-height:calc(100svh - var(--header-height) - 40px);
    display:flex;flex-direction:column;justify-content:space-between;gap:28px
  }
  .hero-opening{
    display:block;min-block-size:0;height:auto;
    padding-block:clamp(28px,5svh,54px) 0
  }
  .hero-copy{max-width:100%}
  .hero-index{margin-top:0;margin-bottom:0}
}
@media(prefers-reduced-motion:reduce){
  .site-header nav a .nav-label::after{transition:none}
}

.wordmark .brand-mark{
  display:block;
  width:22px;
  height:24px;
  flex:none
}


/* Hero terminal replaces the removed profile page; globe stays in Contact. */
.hero-intro{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.hero-opening{
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  align-items:center;gap:clamp(24px,4vw,62px);
  min-width:0;width:100%;min-block-size:0;height:auto;padding:0
}
.hero-opening>.hero-copy{min-width:0;max-width:670px}
.hero-terminal{
  width:100%;min-width:0;max-width:470px;justify-self:end;
  align-self:center;border-radius:4px;
  background:rgba(9,13,14,.91);
  border-color:var(--line);
  box-shadow:none
}
.hero-terminal .terminal-bar{min-height:38px;font-size:9px}
.hero-terminal .terminal-body{
  padding:clamp(15px,1.7vw,24px);
  font-size:clamp(9px,.78vw,11px);line-height:1.55
}
.hero-terminal .terminal-label{margin-bottom:4px}
.hero-terminal .terminal-name{white-space:normal}
.hero-terminal .tree{padding-left:12px}
.hero-terminal .tree li{padding-left:10px}
.hero-terminal .checklist{padding-left:6px}
.hero-terminal .focus-label{margin-top:12px}
.hero-terminal .terminal-bottom{margin-top:12px}
.hero-terminal .window-controls i{width:8px;height:8px}
@media(max-width:1000px){
  .hero-opening{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}
  .hero-terminal .terminal-body{padding:16px;font-size:9px;line-height:1.48}
  .hero-terminal .terminal-bar{padding:8px 10px;gap:10px}
}
@media(max-width:700px){
  main>.hero{height:auto;min-height:calc(100svh - var(--header-height))}
  .hero-intro{
    display:grid;min-height:0;
    grid-template-columns:1fr;gap:24px;
    justify-content:initial
  }
  .hero-opening{
    display:grid;grid-template-columns:1fr;gap:26px;
    min-height:0;min-block-size:0;height:auto;
    align-content:start;padding:20px 0 0
  }
  .hero-opening>.hero-copy{max-width:100%}
  .hero-terminal{max-width:520px;justify-self:stretch}
  .hero-terminal .terminal-body{padding:18px;font-size:10px;line-height:1.55}
  .hero-index{margin-top:0}
}
@media(max-width:600px){
  .hero-intro{
    display:grid;min-height:0;gap:22px;
    justify-content:initial
  }
  .hero-opening{
    display:grid;grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;
    min-block-size:0;min-height:0;height:auto;
    gap:20px;padding:20px 0 0;align-content:start
  }
  .hero-terminal{width:100%;min-width:0;max-width:none}
  .hero-terminal .terminal-body{padding:14px;font-size:9px;line-height:1.5}
  .hero-terminal .terminal-bar{font-size:8px}
  .hero-terminal .tree{padding-left:9px}
  .hero-terminal .tree li{padding-left:8px}
  .hero-index{margin-top:0;margin-bottom:22px}
}
@media(max-width:360px){
  .hero-terminal .terminal-body{padding:12px;font-size:8.5px}
}


/* Hero terminal / session-01 - restrained phosphor-green adaptation of reference.
   Scoped to the hero only; existing contact globe and other UI are unchanged. */
.hero-terminal-shell{
  min-width:0;width:100%;max-width:500px;
  justify-self:end;align-self:center;
  font-family:JetBrains,monospace
}
.hero-terminal-shell .session-overline,
.hero-terminal-shell .terminal-outside-status{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;color:#858d89;letter-spacing:.12em;
  font:9px/1.5 JetBrains,monospace
}
.hero-terminal-shell .session-overline{padding:0 0 12px}
.hero-terminal-shell .session-overline span:last-child{
  color:var(--accent)
}
.hero-terminal-shell .hero-terminal{
  display:flex;flex-direction:column;min-width:0;
  width:100%;max-width:none;margin:0;
  border:1px solid #496252;border-radius:2px;
  background:linear-gradient(145deg,#09100f,#070a0b 72%);
  box-shadow:none;overflow:hidden
}
.hero-terminal-shell .terminal-bar{
  display:flex;justify-content:space-between;align-items:center;
  gap:10px;min-height:44px;padding:10px 14px;
  font:10px/1.4 JetBrains,monospace;
  color:#a0a9a5;background:rgba(15,21,21,.85);
  border-bottom:1px solid #30403b
}
.hero-terminal-shell .terminal-title{
  display:flex;gap:9px;align-items:center;min-width:0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.hero-terminal-shell .terminal-title>span:last-child{
  overflow:hidden;text-overflow:ellipsis
}
.hero-terminal-shell .session-status{
  flex:none;width:7px;height:7px;border-radius:50%;
  background:var(--accent)
}
.hero-terminal-shell .session-chrome{
  flex:none;color:#72827a;font-size:10px;letter-spacing:-.08em
}
.hero-terminal-shell .terminal-mode{
  flex:none;border:1px solid #577249;
  padding:5px 7px;font:8px/1.2 JetBrains,monospace;
  color:var(--accent);letter-spacing:.09em;white-space:nowrap
}
.hero-terminal-shell .terminal-body{
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(17px,2vw,26px) 17px;
  min-height:280px;font:10px/1.7 JetBrains,monospace
}
.hero-terminal-shell .terminal-prompt{
  display:flex;align-items:center;gap:0;min-width:0;
  margin:0;white-space:nowrap;font-size:10px
}
.hero-terminal-shell .terminal-user{color:var(--accent)}
.hero-terminal-shell .terminal-dim{color:#7c8982}
.hero-terminal-shell .terminal-input{color:var(--text)}
.hero-terminal-shell .terminal-caret{
  display:inline-block;flex:none;width:6px;height:12px;
  margin-left:10px;background:var(--accent);
  animation:hero-terminal-caret 1.6s steps(1,end) infinite
}
@keyframes hero-terminal-caret{0%,54%{opacity:1}55%,100%{opacity:0}}
.hero-terminal-shell .terminal-status-list{
  display:grid;gap:4px;margin:24px 0 22px;
  font:10px/1.5 JetBrains,monospace
}
.hero-terminal-shell .terminal-status{
  display:grid;
  grid-template-columns:auto minmax(66px,auto) minmax(8px,1fr) auto;
  align-items:baseline;gap:9px;min-width:0
}
.hero-terminal-shell .terminal-ok{
  color:var(--accent);white-space:nowrap
}
.hero-terminal-shell .terminal-key{
  color:#9aa39e;white-space:nowrap
}
.hero-terminal-shell .terminal-leader{
  border-bottom:1px dotted #34443d;
  align-self:center;min-width:8px
}
.hero-terminal-shell .terminal-value{
  color:var(--text);text-align:right;
  min-width:0;overflow-wrap:anywhere
}
.hero-terminal-shell .terminal-statusbar{
  display:flex;justify-content:space-between;gap:8px;
  border-top:1px solid #30403b;padding:10px 13px;
  color:#818b84;letter-spacing:.09em;
  font:8px/1.35 JetBrains,monospace
}
.hero-terminal-shell .terminal-statusbar span:nth-child(2){
  color:var(--accent)
}
.hero-terminal-shell .terminal-outside-status{
  padding:10px 0 0;font-size:8px;letter-spacing:.09em
}
.hero-terminal-shell .terminal-outside-status strong{
  color:var(--accent);font-weight:500
}
@media(max-width:1050px) and (min-width:701px){
  .hero-terminal-shell .terminal-body{padding:16px 12px;font-size:9px}
  .hero-terminal-shell .terminal-status-list{font-size:9px}
  .hero-terminal-shell .terminal-status{gap:6px;grid-template-columns:auto 60px minmax(4px,1fr) auto}
  .hero-terminal-shell .terminal-bar{padding:9px 10px}
  .hero-terminal-shell .terminal-mode{font-size:7px}
}
@media(max-width:700px){
  .hero-terminal-shell{max-width:520px;justify-self:stretch}
}
@media(max-width:600px){
  .hero-terminal-shell{width:100%;max-width:none}
  .hero-terminal-shell .terminal-bar{padding:10px;font-size:9px}
  .hero-terminal-shell .terminal-mode{font-size:7px}
  .hero-terminal-shell .terminal-body{min-height:245px;padding:18px 12px}
  .hero-terminal-shell .terminal-status-list{gap:5px;margin:21px 0}
  .hero-terminal-shell .terminal-status{
    gap:6px;grid-template-columns:auto 65px minmax(4px,1fr) minmax(0,auto)
  }
  .hero-terminal-shell .terminal-statusbar{padding:10px;font-size:7px}
  .hero-terminal-shell .session-overline{font-size:8px}
}
@media(max-width:380px){
  .hero-terminal-shell .terminal-status{grid-template-columns:auto 56px minmax(0,1fr) minmax(0,1.35fr)}
  .hero-terminal-shell .terminal-status-list{font-size:9px}
  .hero-terminal-shell .terminal-body{padding:15px 10px}
  .hero-terminal-shell .terminal-value{font-size:9px}
  .hero-terminal-shell .terminal-mode{padding:5px}
}
@media(prefers-reduced-motion:reduce){
  .hero-terminal-shell .terminal-caret{animation:none}
}


/* One-time terminal boot: type the command, print five results, then hold.
   Only the prompt cursor continues blinking after the sequence finishes. */
.hero-terminal-shell.terminal-booting .terminal-input{
  display:inline-block;flex:none;width:0;overflow:hidden;white-space:nowrap;
  animation:terminal-once-type .90s steps(16,end) .25s both;
}
@keyframes terminal-once-type{
  from{width:0}
  to{width:16ch}
}
.hero-terminal-shell.terminal-booting .terminal-status{
  --line-start:1.28s;
  animation:terminal-once-line .42s ease-out var(--line-start) both;
}
.hero-terminal-shell.terminal-booting .terminal-status:nth-child(1){--line-start:1.28s}
.hero-terminal-shell.terminal-booting .terminal-status:nth-child(2){--line-start:1.54s}
.hero-terminal-shell.terminal-booting .terminal-status:nth-child(3){--line-start:1.80s}
.hero-terminal-shell.terminal-booting .terminal-status:nth-child(4){--line-start:2.06s}
.hero-terminal-shell.terminal-booting .terminal-status:nth-child(5){--line-start:2.32s}
@keyframes terminal-once-line{
  from{opacity:0;transform:translateY(3px)}
  to{opacity:1;transform:translateY(0)}
}
.hero-terminal-shell.terminal-booting .terminal-status .terminal-value{
  animation:terminal-once-value .55s cubic-bezier(.2,.7,.2,1)
    calc(var(--line-start) + .05s) both;
}
@keyframes terminal-once-value{
  from{opacity:0;transform:translateX(22px)}
  to{opacity:1;transform:translateX(0)}
}
.hero-terminal-shell.terminal-booting .terminal-prompt-end{
  animation:terminal-once-line .40s ease-out 2.95s both;
}
/* No resets or replay on scroll; reduced motion shows the full output. */
@media(prefers-reduced-motion:reduce){
  .hero-terminal-shell.terminal-booting .terminal-input,
  .hero-terminal-shell.terminal-booting .terminal-status,
  .hero-terminal-shell.terminal-booting .terminal-status .terminal-value,
  .hero-terminal-shell.terminal-booting .terminal-prompt-end{
    animation:none!important;opacity:1!important;transform:none!important
  }
  .hero-terminal-shell.terminal-booting .terminal-input{width:auto!important}
}

/* Masked upward type reveal - each complete name line moves through its own
   clipping window, instead of revealing stationary letters with clip-path. */
.hero-heading .hero-name-line{
  display:block;
  overflow:hidden;
}
.hero-heading .hero-name-text{
  display:block;
  width:max-content;
  max-width:100%;
}
@keyframes hero-name-masked-rise{
  from{transform:translate3d(0,105%,0)}
  to{transform:translate3d(0,0,0)}
}
/* Prevent the shared reveal system from fading/translating the entire heading. */
.motion-ready .hero-heading[data-reveal]:not(.is-visible),
.motion-ready .hero-heading[data-reveal].is-visible{
  opacity:1;
  translate:none;
  animation:none;
}
.motion-ready .hero-heading[data-reveal]:not(.is-visible) .hero-name-text{
  transform:translate3d(0,105%,0);
}
.motion-ready .hero-heading[data-reveal].is-visible .hero-name-text{
  animation:hero-name-masked-rise 980ms cubic-bezier(.22,.75,.24,1) 80ms both;
}
.motion-ready .hero-heading[data-reveal].is-visible .hero-name-line:nth-child(2) .hero-name-text{
  animation-delay:215ms;
}
.motion-ready .hero-heading[data-reveal].reveal-instant .hero-name-text{
  transform:none;
  animation:none;
}
@media(max-width:600px){
  .motion-ready .hero-heading[data-reveal].is-visible .hero-name-text{
    animation-duration:840ms;
  }
  .motion-ready .hero-heading[data-reveal].is-visible .hero-name-line:nth-child(2) .hero-name-text{
    animation-delay:185ms;
  }
}
@media(prefers-reduced-motion:reduce){
  .hero-heading .hero-name-text{
    transform:none!important;
    animation:none!important;
  }
  .motion-ready .hero-heading[data-reveal]{
    opacity:1!important;
    translate:none!important;
    animation:none!important;
  }
}
@media print{
  .hero-heading .hero-name-text{
    transform:none!important;
    animation:none!important;
  }
}


/* Navigation polish: a slimmer header with legible, better-spaced Swiss links.
   Keep the original type-only active underline and full mobile menu. */
@media(min-width:901px){
  .header-inner{min-height:64px;gap:clamp(12px,1.3vw,22px)}
  .site-header nav{
    gap:clamp(14px,1.3vw,22px);
    margin-left:auto;
  }
  .site-header nav a{
    min-height:42px;
    padding:8px 1px;
    font:500 11.5px/1.5 JetBrains,monospace;
    letter-spacing:.035em;
    white-space:nowrap;
  }
  .site-header nav a .nav-label::after{bottom:-4px}
  .contact-button{
    min-height:34px;
    padding:8px 13px;
    font-size:10px;
    white-space:nowrap
  }
}
@media(min-width:901px) and (max-width:1150px){
  .site-header nav{gap:clamp(10px,1.2vw,15px)}
  .site-header nav a{font-size:11px}
  .header-inner{gap:12px}
  .wordmark{font-size:14px}
}
@media(max-width:900px){
  .header-inner{min-height:60px}
  .site-header nav a{
    font:500 12px/1.5 JetBrains,monospace;
    letter-spacing:.03em;
    padding:11px 8px;
    min-height:44px;
  }
  .site-header nav{gap:10px 14px}
}
@media(max-width:600px){
  .header-inner{min-height:58px}
  .site-header nav a{font-size:12px}
}

/* Projects Section (Swiss Editorial + Cyber Terminal Archive) */
.section-heading.project-heading{
  display:grid;
  grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);
  align-items:end;
  gap:48px;
  margin-bottom:28px
}
.project-heading-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px
}
.project-heading-desc{
  color:var(--muted);
  font-size:13.5px;
  line-height:1.6;
  margin:0;
  max-width:44ch
}
.project-meta-counts{
  display:inline-flex;
  align-items:center;
  gap:14px;
  padding:8px 14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.02)
}
.project-meta-stat{
  display:inline-flex;
  align-items:baseline;
  gap:7px
}
.project-meta-stat .meta-number{
  font:600 18px/1 JetBrains,monospace;
  color:var(--accent);
  letter-spacing:-.02em
}
.project-meta-stat .meta-label{
  font:500 9.5px/1 JetBrains,monospace;
  color:var(--muted);
  letter-spacing:.06em;
  text-transform:uppercase
}
.meta-divider{
  color:rgba(255,255,255,.2);
  font:11px/1 JetBrains,monospace
}

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 24px
}
.filters button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:8px 14px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  font:500 10.5px/1 JetBrains,monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  border-radius:0;
  box-shadow:none;
  transition:border-color .2s,color .2s,background-color .2s
}
.filters button:hover{
  border-color:rgba(182,255,24,.35);
  color:var(--text)
}
.filters button.active{
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(182,255,24,.06);
  box-shadow:none
}
.filters button span{
  font:500 9.5px/1 JetBrains,monospace;
  color:var(--accent);
  opacity:.85;
  margin-left:2px
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  border-top:1px solid rgba(255,255,255,.12);
  border-left:1px solid rgba(255,255,255,.12);
  background:transparent
}
.project{
  display:flex;
  flex-direction:column;
  min-width:0;
  border:0;
  border-right:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
  background:var(--bg);
  position:relative;
  margin:0;
  transition:border-color .2s,background-color .2s
}
.project:hover{
  border-color:rgba(182,255,24,.35);
  background-color:rgba(182,255,24,.012);
  z-index:1
}

.mobile-project-container{
  display:none
}

.project-art{
  height:120px;
  min-height:120px;
  max-height:120px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:12px 18px;
  background:var(--surface);
  border-bottom:1px solid rgba(255,255,255,.12);
  position:relative;
  overflow:hidden
}
.art-caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  font:500 9.5px/1 JetBrains,monospace;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted)
}
.art-indicator{
  color:var(--accent);
  opacity:.75;
  font-size:9px
}
.project-diagram{
  display:block;
  width:100%;
  max-width:220px;
  height:68px;
  margin:auto;
  stroke:#5a6e4d;
  stroke-width:1.2;
  overflow:visible;
  transition:stroke .2s
}
.project-diagram .diagram-highlight{
  stroke:var(--accent);
  stroke-width:1.5
}
.project:hover .project-diagram{
  stroke:#779165;
  filter:none
}

.project-info{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  padding:24px
}
.project-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px
}
.project-title h3{
  margin:0;
  font-size:22px;
  font-weight:600;
  line-height:1.2;
  color:var(--text);
  letter-spacing:-.02em
}
.project-title .status{
  font:600 9px/1 JetBrains,monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--accent);
  border:1px solid rgba(182,255,24,.25);
  background:rgba(182,255,24,.04);
  padding:4px 7px;
  flex-shrink:0
}
.project-summary{
  font-size:14.5px;
  font-weight:500;
  line-height:1.4;
  color:#f3f4f6;
  margin:0 0 10px
}
.project-description{
  font-size:13.5px;
  line-height:1.65;
  color:var(--muted);
  margin:0 0 18px
}
.project-footer{
  display:flex;
  flex-direction:column;
  margin-top:auto
}
.project-info .tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  list-style:none;
  padding:0;
  margin:0 0 16px
}
.project-info .tags li{
  font:500 9.5px/1.3 JetBrains,monospace;
  padding:4px 8px;
  border:1px solid rgba(255,255,255,.1);
  color:var(--muted);
  background:rgba(255,255,255,.02)
}
.project-link-row{
  display:flex;
  align-items:center;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08)
}
.project-repo{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font:600 11px/1 JetBrains,monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--accent);
  background:transparent;
  border:0;
  padding:0;
  text-decoration:none;
  min-height:0;
  box-shadow:none
}
.project-repo .icon{
  width:13px;
  height:13px;
  stroke-width:2;
  transition:transform .2s ease
}
.project-repo:hover .icon{
  transform:translate(2px,-2px)
}
.project-repo:hover{
  background:transparent;
  color:var(--accent);
  border-color:transparent;
  box-shadow:none
}

.open-source-note{
  font:11px/1.6 JetBrains,monospace;
  color:var(--muted);
  margin-top:24px;
  padding-left:14px;
  border-left:2px solid var(--accent)
}
.open-source-note a{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px
}
.open-source-note a:hover{
  color:#fff
}

/* Experience index: shared timeline and modular role grid. */
.experience-section{padding-block:64px;overflow:visible}
.experience-heading{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(260px,1fr);
  align-items:end;
  gap:48px;
  margin-bottom:36px
}
.experience-heading .panel-label{margin-bottom:20px}
.experience-heading h2{max-width:12ch;font-size:clamp(48px,6vw,78px)}
.experience-intro{
  max-width:36ch;
  justify-self:end;
  padding-left:24px;
  border-left:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
  line-height:1.75
}

/* Timeline: real dates, five rows, axis labels pinned to the grid lines. */
.experience-timeline{--timeline-label:56px;position:relative;margin:0 0 32px}
.timeline-rows{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-rows:repeat(5,8px);
  row-gap:24px
}
.timeline-row{
  display:grid;
  grid-template-columns:var(--timeline-label) minmax(0,1fr);
  align-items:center
}
.timeline-label{
  display:flex;
  align-items:baseline;
  gap:6px;
  color:var(--muted);
  font:10px/1 JetBrains,monospace;
  white-space:nowrap
}
.timeline-label-name{display:none}
.timeline-track{position:relative;height:8px;background:rgba(255,255,255,.07)}
.timeline-segment{
  position:absolute;
  top:0;
  right:auto;
  display:block;
  height:8px;
  clip-path:inset(0 0 0 0)
}
.motion-ready .timeline-segment{
  clip-path:inset(0 0 0 100%)
}
.motion-ready .experience-timeline.timeline-animated .timeline-segment{
  animation:timeline-fill-in var(--bar-duration,900ms) cubic-bezier(.16,.84,.44,1) var(--bar-delay,0ms) both;
}
@keyframes timeline-fill-in{
  from{clip-path:inset(0 0 0 100%)}
  to{clip-path:inset(0 0 0 0%)}
}
@media(prefers-reduced-motion:reduce){
  .motion-ready .timeline-segment{clip-path:inset(0 0 0 0)}
  .motion-ready .experience-timeline.timeline-animated .timeline-segment{animation:none}
}
.timeline-segment-green{background:var(--accent)}
.timeline-segment-grey{background:rgba(255,255,255,.32)}
.timeline-grid-lines{
  position:absolute;
  z-index:0;
  left:var(--timeline-label);
  right:0;
  top:0;
  height:136px;
  pointer-events:none
}
.timeline-grid-lines i{
  position:absolute;
  top:0;
  bottom:0;
  border-left:1px dashed rgba(255,255,255,.16)
}
.timeline-axis-labels{
  position:relative;
  height:14px;
  margin:14px 0 0 var(--timeline-label);
  color:var(--muted);
  font:9px/1.5 JetBrains,monospace
}
.timeline-axis-labels span{position:absolute;top:0;white-space:nowrap}
.timeline-axis-labels .timeline-axis-start{left:0}
.timeline-axis-labels .timeline-axis-mid{transform:translateX(-50%)}
.timeline-axis-labels .timeline-axis-end{right:0;color:var(--accent)}

/* Experience grid: 40/30/30 top row, 50/50 bottom row on desktop */
.experience-grid{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:16px
}
.experience-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:24px;
  background:var(--bg);
  border:1px solid rgba(255,255,255,.12);
  transition:border-color .2s,background .2s
}
.experience-card:hover{
  border-color:rgba(182,255,24,.32);
  background-color:rgba(182,255,24,.012)
}
.experience-card-01{
  grid-column:span 4
}
.experience-card-02,
.experience-card-03{
  grid-column:span 3
}
.experience-card-04,
.experience-card-05{
  grid-column:span 5
}
.experience-card-header{
  display:block;
  width:100%
}
.experience-header-main{
  display:block;
  width:100%
}
.experience-mobile-summary{
  display:none
}
.experience-mobile-actions{
  display:none
}
.experience-card-drawer{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  width:100%
}
.experience-card-content{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  width:100%
}
.mobile-cta{
  display:none
}
.experience-badge{
  margin:0 0 16px;
  color:var(--accent);
  font:600 11px/1.2 JetBrains,monospace;
  text-transform:uppercase;
  letter-spacing:.06em
}
.experience-company{
  margin:0 0 20px;
  font-size:24px;
  line-height:1.15;
  font-weight:600;
  color:var(--text);
  letter-spacing:-.02em
}
.experience-card-01 .experience-company{
  font-size:clamp(28px,2.4vw,34px);
  font-weight:700;
  letter-spacing:-.03em
}
.experience-roles{
  display:flex;
  flex-direction:column;
  min-width:0
}
.experience-role{
  display:block;
  min-width:0
}
.experience-role + .experience-role{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12)
}
.role-heading{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:10px
}
.role-title{
  margin:0;
  color:#f3f4f6;
  font-size:15px;
  font-weight:500;
  line-height:1.35
}
.role-date{
  color:var(--muted);
  font:500 10px/1.4 JetBrains,monospace;
  letter-spacing:.05em;
  text-transform:uppercase
}
.experience-description{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.65
}
.experience-card-footer{
  display:flex;
  align-items:center;
  width:100%;
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12)
}
.experience-cta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--accent);
  font:600 11px/1.2 JetBrains,monospace;
  text-transform:uppercase;
  letter-spacing:.05em;
  text-decoration:none
}
.experience-cta .icon{
  width:13px;
  height:13px;
  stroke-width:2;
  transition:transform .2s ease
}
.experience-cta:hover .icon{
  transform:translate(2px,-2px)
}

@media(max-width:960px){
  .experience-heading{grid-template-columns:1fr;gap:28px}
  .experience-heading h2{font-size:clamp(48px,9vw,74px)}
  .experience-intro{
    max-width:none;
    justify-self:start;
    padding-left:0;
    border-left:0
  }
  .experience-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px
  }
  .experience-card-01{
    grid-column:span 2
  }
  .experience-card-02,
  .experience-card-03,
  .experience-card-04,
  .experience-card-05{
    grid-column:span 1
  }
}

@media(max-width:640px){
  .experience-section{padding-block:48px;overflow:hidden}
  .experience-heading{gap:20px;margin-bottom:28px}
  .experience-heading h2{
    max-width:11ch;
    font-size:clamp(40px,12vw,64px);
    line-height:.95
  }
  .experience-intro{font-size:14px;line-height:1.7}
  .experience-timeline{--timeline-label:92px;margin-bottom:24px}
  .timeline-label{font-size:7px;gap:4px;white-space:nowrap}
  .timeline-label-name{display:inline}
  .timeline-grid-lines i:nth-child(2),
  .timeline-grid-lines i:nth-child(4){display:none}
  .timeline-axis-labels{font-size:7.5px;overflow:hidden}
  .timeline-axis-labels span{white-space:nowrap}
  /* Show Aug 2025, Jan 2026, May 2026 and Now; hide only Oct 2025 to avoid collisions. */
  .timeline-axis-labels .timeline-axis-mid:nth-of-type(2){display:none}

  /* Projects Section Mobile: Swiss Technical Archive Index + Shared Preview */
  .section-heading.project-heading{
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:18px
  }
  .project-heading-meta{
    width:100%
  }
  .project-meta-counts{
    width:100%;
    justify-content:space-around
  }
  #work .project-grid{
    display:none !important
  }
  #work .filters{
    display:none !important
  }
  .mobile-project-container{
    display:block;
    width:100%;
    margin-top:14px
  }
  .mobile-project-index{
    display:flex;
    flex-direction:column;
    width:100%;
    border-top:1px solid rgba(255,255,255,.12)
  }
  .mobile-index-row{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) auto 18px;
    align-items:center;
    gap:8px 12px;
    width:100%;
    padding:12px 14px;
    background:var(--surface);
    border:1px solid rgba(255,255,255,.12);
    border-top:none;
    border-left:2px solid transparent;
    color:var(--text);
    cursor:pointer;
    text-align:left;
    transition:background 160ms ease,border-color 160ms ease;
    box-sizing:border-box;
    font-family:inherit
  }
  .mobile-index-row:hover{
    background:rgba(182,255,24,.03)
  }
  .mobile-index-row.is-selected{
    border-left:2px solid var(--accent);
    background:rgba(182,255,24,.05)
  }
  .mobile-index-num{
    font:600 11px/1 JetBrains,monospace;
    color:rgba(255,255,255,.45);
    letter-spacing:.05em
  }
  .mobile-index-row.is-selected .mobile-index-num{
    color:var(--accent)
  }
  .mobile-index-title{
    font:600 13.5px/1.2 Space,Arial,sans-serif;
    color:var(--text);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
  }
  .mobile-index-row.is-selected .mobile-index-title{
    color:#fff
  }
  .mobile-index-cat{
    font:9px/1 JetBrains,monospace;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.05em;
    white-space:nowrap
  }
  .mobile-index-arrow{
    color:rgba(255,255,255,.3);
    display:flex;
    align-items:center;
    justify-content:flex-end;
    transition:transform 160ms ease,color 160ms ease
  }
  .mobile-index-arrow .icon{
    width:12px;
    height:12px
  }
  .mobile-index-row.is-selected .mobile-index-arrow{
    color:var(--accent);
    transform:translateX(2px)
  }

  /* Shared project preview panel */
  .mobile-project-preview{
    margin-top:14px;
    border:1px solid rgba(255,255,255,.12);
    background:var(--surface);
    position:relative;
    overflow:hidden
  }
  .mobile-preview-slide{
    display:none;
    opacity:0;
    transition:opacity 160ms ease
  }
  .mobile-preview-slide.is-active{
    display:flex;
    flex-direction:column;
    opacity:1
  }
  .mobile-preview-slide .project-art{
    height:110px;
    min-height:110px;
    max-height:110px;
    padding:10px 14px;
    border-bottom:1px solid rgba(255,255,255,.12);
    background:radial-gradient(ellipse at 50% 50%,rgba(182,255,24,.04),transparent 75%),var(--surface);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    box-sizing:border-box
  }
  .mobile-preview-slide .project-diagram{
    height:60px;
    max-width:220px;
    margin:0 auto;
    display:block
  }
  .mobile-preview-body{
    padding:16px 14px 18px;
    display:flex;
    flex-direction:column;
    gap:10px
  }
  .mobile-preview-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:8px
  }
  .mobile-preview-meta{
    display:flex;
    flex-direction:column;
    gap:3px
  }
  .mobile-preview-tag{
    font:9.5px/1 JetBrains,monospace;
    color:var(--accent);
    letter-spacing:.08em;
    text-transform:uppercase
  }
  .mobile-preview-title{
    font:600 18px/1.2 Space,Arial,sans-serif;
    letter-spacing:-.02em;
    margin:2px 0 0;
    color:#fff
  }
  .mobile-preview-summary{
    font:12.5px/1.5 Space,Arial,sans-serif;
    color:#c7d2ce;
    margin:0
  }
  .mobile-preview-desc{
    font:12px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color:#94a19e;
    margin:0
  }
  .mobile-preview-footer{
    margin-top:4px;
    display:flex;
    flex-direction:column;
    gap:12px
  }
  .mobile-preview-footer .tags{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    padding:0;
    margin:0;
    list-style:none
  }
  .mobile-preview-footer .tags li{
    font:9.5px/1.2 JetBrains,monospace;
    padding:4px 7px;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.03);
    color:#b0be9f
  }
  .mobile-preview-footer .project-link-row{
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.08);
    display:flex;
    align-items:center
  }
  .mobile-preview-footer .project-repo{
    font:10px/1.4 JetBrains,monospace;
    color:var(--text);
    border:1px solid rgba(255,255,255,.15);
    padding:7px 12px;
    width:100%;
    justify-content:center;
    background:rgba(182,255,24,.02);
    text-transform:uppercase;
    letter-spacing:.04em
  }

  /* Compact Minimal Swiss Cyber-Terminal Accordion */
  .experience-grid{
    display:flex;
    flex-direction:column;
    gap:0;
    margin-top:0
  }

  /* Featured Card: NodeKraft (expanded by default) */
  .experience-card.is-featured{
    margin-bottom:12px;
    padding:20px;
    background:var(--bg);
    border:1px solid rgba(255,255,255,.14)
  }
  .experience-card.is-featured .experience-company{
    font-size:26px;
    font-weight:700;
    margin-bottom:14px
  }
  .experience-card.is-featured .experience-mobile-summary,
  .experience-card.is-featured .experience-mobile-actions{
    display:none
  }
  .experience-card.is-featured .experience-card-drawer{
    display:block
  }
  .experience-card.is-featured .experience-card-content{
    overflow:visible
  }
  .experience-card.is-featured .desktop-cta{
    display:inline-flex
  }

  /* Compact Accordion Rows: Cybercom, Noctivus, HiRes Lossless, Cyventura Club */
  .experience-card:not(.is-featured){
    padding:0;
    margin-top:-1px;
    background:var(--bg);
    border:1px solid rgba(255,255,255,.12);
    border-radius:0;
    transition:background-color .2s,border-color .2s
  }
  .experience-card:not(.is-featured).is-expanded{
    border-color:rgba(182,255,24,.35);
    background-color:rgba(182,255,24,.015)
  }

  /* Header / Summary Row */
  .experience-card:not(.is-featured) .experience-card-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 16px;
    cursor:pointer;
    user-select:none;
    -webkit-tap-highlight-color:transparent
  }
  .experience-card:not(.is-featured) .experience-header-main{
    display:flex;
    flex-direction:column;
    min-width:0;
    flex:1 1 auto;
    text-align:left
  }
  .experience-card:not(.is-featured) .experience-badge{
    margin:0 0 4px;
    font-size:10px
  }
  .experience-card:not(.is-featured) .experience-company{
    font-size:17px;
    font-weight:600;
    margin:0 0 4px;
    color:var(--text)
  }
  .experience-card:not(.is-featured) .experience-mobile-summary{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    font-size:12px;
    line-height:1.4
  }
  .experience-card:not(.is-featured) .experience-mobile-summary .role-title{
    color:var(--muted);
    font-size:12px;
    font-weight:400;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:180px
  }
  .experience-card:not(.is-featured) .experience-mobile-summary .role-date{
    color:var(--accent);
    font:500 9px/1 JetBrains,monospace;
    letter-spacing:.04em;
    white-space:nowrap
  }

  /* Mobile Actions: Website Link + Toggle */
  .experience-card:not(.is-featured) .experience-mobile-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0
  }
  .mobile-cta{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:5px 8px;
    border:1px solid rgba(182,255,24,.3);
    background:rgba(182,255,24,.05);
    color:var(--accent);
    font:600 9px/1 JetBrains,monospace;
    text-transform:uppercase;
    letter-spacing:.04em;
    text-decoration:none;
    transition:background-color .2s,border-color .2s
  }
  .mobile-cta .icon{
    width:10px;
    height:10px;
    stroke-width:2
  }
  .mobile-cta:hover{
    background:var(--accent);
    color:var(--bg)
  }
  .mobile-cta:hover .icon{
    stroke:var(--bg)
  }
  .experience-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    background:transparent;
    border:1px solid rgba(255,255,255,.14);
    color:var(--accent);
    font:600 15px/1 JetBrains,monospace;
    padding:0;
    cursor:pointer;
    transition:border-color .2s,background-color .2s,color .2s
  }
  .experience-card.is-expanded .experience-toggle{
    border-color:var(--accent);
    background:rgba(182,255,24,.1);
    color:var(--accent)
  }

  /* Drawer & Expand Animation */
  .experience-card:not(.is-featured) .experience-card-drawer{
    display:grid;
    grid-template-rows:0fr;
    transition:grid-template-rows .3s cubic-bezier(.16,1,.3,1)
  }
  .experience-card:not(.is-featured).is-expanded .experience-card-drawer{
    grid-template-rows:1fr
  }
  .experience-card:not(.is-featured) .experience-card-content{
    overflow:hidden
  }
  .experience-card:not(.is-featured) .experience-roles{
    padding:0 16px 16px 16px;
    border-top:1px solid rgba(255,255,255,.08);
    margin-top:4px;
    padding-top:14px
  }
  .experience-card:not(.is-featured) .experience-role + .experience-role{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.08)
  }
  .experience-card:not(.is-featured) .role-title{
    font-size:14px;
    color:#f3f4f6
  }
  .experience-card:not(.is-featured) .role-date{
    font-size:9.5px
  }
  .experience-card:not(.is-featured) .experience-description{
    font-size:13px;
    line-height:1.6
  }
  .experience-card:not(.is-featured) .desktop-cta{
    display:none
  }
}

@media(max-width:640px){
  #work .mobile-project-container{
    margin-top:24px
  }
  #work .mobile-project-index{
    border-top:1px solid var(--line)
  }
  #work .mobile-index-row{
    padding:14px 0;
    background:transparent;
    border:0;
    border-bottom:1px solid var(--line);
    border-left:2px solid transparent;
  }
  #work .mobile-index-row:hover{
    background:transparent;
  }
  #work .mobile-index-row.is-selected{
    border-left-color:var(--accent);
    background:transparent;
    padding-left:12px;
  }
  #work .mobile-project-preview{
    margin-top:28px;
    border:0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background:transparent;
  }
  #work .mobile-preview-slide .project-art{
    background:transparent;
    border-bottom:1px solid var(--line);
  }
  #work .mobile-preview-body{
    padding:18px 0 20px;
  }
  #work .mobile-preview-footer .project-repo{
    width:auto;
    justify-content:flex-start;
    padding:0;
    border:0;
    background:transparent;
  }
  #work .mobile-preview-footer .project-link-row{
    padding-top:14px;
  }
  #work .mobile-preview-footer .tags li{
    background:transparent;
  }

  #experience .experience-grid{
    border-top:1px solid var(--line);
  }
  #experience .experience-card.is-featured,
  #experience .experience-card:not(.is-featured){
    margin:0;
    background:transparent;
    border:0;
    border-bottom:1px solid var(--line);
    border-radius:0;
  }
  #experience .experience-card.is-featured{
    padding:18px 0 20px;
  }
  #experience .experience-card.is-featured .experience-company{
    margin-bottom:12px;
  }
  #experience .experience-card:not(.is-featured) .experience-card-header{
    padding:14px 0;
  }
  #experience .experience-card:not(.is-featured).is-expanded{
    background:transparent;
    border-color:var(--line);
  }
  #experience .experience-card:not(.is-featured).is-expanded .experience-card-header{
    color:var(--accent);
  }
  #experience .experience-card:not(.is-featured) .experience-roles{
    padding-inline:0;
    border-top-color:var(--line);
  }
  #experience .experience-toggle{
    width:18px;
    height:18px;
    border:0;
    background:transparent;
    color:var(--muted);
  }
  #experience .experience-card.is-expanded .experience-toggle{
    background:transparent;
    color:var(--text);
  }
  #experience .mobile-cta{
    border:0;
    background:transparent;
    padding:5px 0;
  }
}

/* HiRes Lossless Circuit Table & Team Stats - Swiss Lines */
.circuit-featured-table {
  margin-block: 20px 28px;
  border-top: 1px solid var(--line);
}
.circuit-table-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) 80px;
  gap: 16px;
  padding-block: 10px;
  font: 10px/1.4 JetBrains, monospace;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}
.circuit-table-body {
  list-style: none;
  padding: 0;
  margin: 0;
}
.circuit-table-body li {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) 80px;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  align-items: baseline;
}
.circuit-name {
  color: var(--text);
  font-weight: 400;
}
.circuit-place {
  font: 11px JetBrains, monospace;
  color: var(--accent);
  white-space: nowrap;
}
.circuit-date {
  font: 11px JetBrains, monospace;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* HiRes Team Stats - Pure Swiss Grid Strip */
.hires-stats-panel {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  background: transparent;
}
.hires-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.hires-stats-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.hires-stats-title-group h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}
.hires-stats-path {
  font: 10px JetBrains, monospace;
  color: var(--muted);
}
.hires-stats-tag {
  font: 9px/1.4 JetBrains, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.hires-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hires-stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
}
.hires-stat-card + .hires-stat-card {
  border-left: 1px solid var(--line);
}
.hires-stat-value {
  font: 500 28px/1.1 Space, Arial, sans-serif;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hires-stat-label {
  font: 10px/1.4 JetBrains, monospace;
  color: var(--muted);
}

.collective-team-results {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.collective-team-results h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.collective-sublabel {
  font: 11px JetBrains, monospace;
  color: var(--accent);
  margin-bottom: 16px;
}

/* Wins & placements: three entries in view, scroll for the rest */
.events-grid {
  align-items: start;
}
.placements {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
  padding-right: 10px;
}
.placements:focus-visible,
.event-activity-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
/* Circuit details scroll independently while the heading stays visible. */
.event-activity-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
  padding-right: 8px;
}
.placements::-webkit-scrollbar,
.event-activity-scroll::-webkit-scrollbar {
  width: 6px;
}
.placements::-webkit-scrollbar-track,
.event-activity-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.placements::-webkit-scrollbar-thumb,
.event-activity-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
}
.placements:hover::-webkit-scrollbar-thumb,
.event-activity-scroll:hover::-webkit-scrollbar-thumb {
  background: var(--muted);
}

/* Practice Panel in Skills Dashboard - Swiss Lines */
.practice-panel {
  display: flex;
  flex-direction: column;
}
.practice-list {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}
.practice-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  background: transparent;
}
.practice-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.practice-index {
  font: 11px/1 JetBrains, monospace;
  color: var(--muted);
}
.practice-tag {
  font: 9px/1.4 JetBrains, monospace;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.practice-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.practice-title-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.practice-title-row h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.practice-summary {
  color: var(--accent);
  font: 11px/1.6 JetBrains, monospace;
  margin: 0;
}
.practice-detail {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.practice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.practice-actions .button {
  font-size: 10px;
  padding: 10px 14px;
  min-height: 42px;
}

@media (max-width: 600px) {
  .circuit-table-head {
    grid-template-columns: 1fr auto;
  }
  .circuit-table-head span:nth-child(3) {
    display: none;
  }
  .circuit-table-body li {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .circuit-date {
    display: none;
  }
  .hires-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hires-stat-card:nth-child(2n+1) {
    border-left: 0;
  }
  .hires-stat-card:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
  .hires-stat-value {
    font-size: 24px;
  }
  .practice-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 18px;
  }
  .practice-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

