/* The shared palette connects the colourful project cards to the introduction.
   Most surfaces stay quiet so your photos and actual work can be the focus. */
:root{--ink:#20202c;--muted:#656574;--paper:#fcfbfe;--line:#e7e4ed;--purple:#7254d8;--pink:#f0bed1;--blue:#c8ddf8;--orange:#ffd5ad;--green:#d7e8c9}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p,figure{margin:0}p{color:var(--muted)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--purple);outline-offset:5px}.shell{width:min(1180px,calc(100% - 96px));margin:auto}section.shell{padding:96px 0}header{position:sticky;top:0;z-index:20;background:#fcfbfef2;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px max(30px,calc((100vw - 1280px)/2))}.brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:650;white-space:nowrap}.monogram{width:42px;height:42px;display:grid;place-items:center;background:var(--ink);color:white;border-radius:50%;font-size:22px;letter-spacing:-2px}.spark{color:var(--purple);font-size:24px}nav{display:flex;gap:23px}nav a{font-size:13px;color:#575764}nav a:hover{color:var(--purple)}#menu-toggle{display:none;border:0;background:none;font-size:25px}.skip{position:fixed;top:-100px;background:white;z-index:50;padding:12px}.skip:focus{top:10px}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:var(--purple);margin-bottom:22px}.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:65px;align-items:center;min-height:720px}.hero .eyebrow{display:flex;align-items:center;gap:12px}.hero h1{font-size:clamp(42px,4.7vw,65px);line-height:1.13;letter-spacing:-.06em;font-weight:650}.colour-text{background:linear-gradient(110deg,#6546bd,#c54c83,#b6662d);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-intro{font-size:17px;max-width:490px;margin-top:27px;line-height:1.85}.hero-intro strong{color:var(--ink);font-weight:600}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:1px solid var(--line);padding:12px 18px;border-radius:8px;font-size:13px;font-weight:600;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 16px #29223813}.dark{background:var(--ink);color:#fff;border-color:var(--ink)}.light{background:transparent;color:var(--ink)}.hero-footnote{display:flex;align-items:center;gap:13px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:38px}.hero-footnote i{height:3px;width:3px;border-radius:50%;background:#a9a0bf}.portrait-stage{position:relative;padding:30px 22px;isolation:isolate}.portrait-stage::before{content:'';position:absolute;inset:-20px;background:radial-gradient(ellipse,#dcd0fd85,transparent 65%);z-index:-2}.orbit{position:absolute;inset:5% -4%;border:1px solid #b6a3e563;border-radius:50%;z-index:-1;transform:rotate(-22deg)}.orbit-two{inset:0 9%;transform:rotate(35deg)}#portrait{transform:rotate(3deg);background:white;border:1px solid #e4dded;padding:12px;border-radius:160px 160px 20px 20px;box-shadow:0 20px 70px #46377812}.photo-placeholder,.portrait-image{width:100%;aspect-ratio:4/4.5;object-fit:cover;border-radius:150px 150px 10px 10px;background:linear-gradient(145deg,#ded4f4,#f4d3dc 65%,#f5ddc5);display:flex;align-items:center;justify-content:center;flex-direction:column}.photo-initials{font-family:Georgia,serif;font-style:italic;font-size:110px;line-height:1.5;color:#806492}.photo-placeholder>span:not(.photo-initials){font-size:14px;color:#68546f}.photo-placeholder small{font-size:8px;letter-spacing:.15em;color:#68546f;margin-top:12px}figcaption{display:flex;justify-content:space-between;padding:12px 10px 0;font-size:13px}.floating-label{position:absolute;border:1px solid #e9e4ee;background:white;padding:10px 16px;border-radius:9px;box-shadow:0 6px 22px #3122460c;font-size:12px;animation:float 6s ease-in-out infinite}.label-code{top:16%;left:-20px;transform:rotate(-8deg);font-family:monospace}.label-build{right:-12px;bottom:15%;background:#f8e6ab;animation-delay:-3s}.orbit-dot{position:absolute;width:19px;height:19px;border-radius:50%;background:#a78ce5;right:1%;top:7%}@keyframes float{50%{translate:0 -9px}}.intro-band{display:flex;justify-content:center;align-items:center;gap:48px;padding:23px;background:#eee8fb;font-size:13px;color:#584677}.band-star{font-size:24px}.about{display:grid;grid-template-columns:1fr 1.2fr;gap:100px;border-bottom:1px solid var(--line)}h2{font-size:clamp(32px,3.4vw,46px);line-height:1.17;letter-spacing:-.05em;font-weight:600}h2>span:not(.colour-text){color:var(--purple)}.lead{font-size:24px;line-height:1.5;color:var(--ink);letter-spacing:-.025em;margin-bottom:22px}.underlink{display:inline-block;margin-top:22px;padding:0 0 4px;background:none;border:0;border-bottom:1px solid #b9a9db;font-size:14px;color:var(--purple)}.section-top{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:42px}.section-top>p{font-size:14px}.experience-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:32px 0;display:grid;grid-template-columns:1fr 2fr;gap:45px}.experience-row>span{color:var(--muted);font-size:14px}.experience-row .eyebrow{margin-bottom:8px}h3{font-size:23px;font-weight:550;letter-spacing:-.03em}.experience-row p:last-child{margin-top:12px;max-width:700px}.project-section{background:#f2f0f7;padding:90px 0}.draft-note{font-size:12px;display:inline-block;margin-top:8px;color:#766b83}.project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:38px 0}.filters{display:flex;flex-wrap:wrap;gap:6px;padding:5px;background:#e7e3ef;border-radius:9px}.filters button{border:0;border-radius:6px;background:none;padding:9px 16px;font-size:13px;color:#5e576a}.filters button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 2px 8px #23203009}#project-count{font-size:12px;color:var(--muted);white-space:nowrap}.project-category>h3{display:flex;justify-content:space-between;align-items:center;padding-bottom:18px;border-bottom:1px solid #d9d4e3;margin:36px 0 25px}.project-category>h3>span{font-size:12px;color:#87798f}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.project-card{background:white;border:1px solid #e3dfeb;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}.project-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px #2c254810}.project-visual{height:230px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.purple{background:#e3dafa;color:#644791}.blue{background:var(--blue);color:#3b608d}.pink{background:#f5d5e1;color:#965775}.orange{background:var(--orange);color:#986338}.green{background:var(--green);color:#507244}.visual-symbol{font-size:75px;line-height:1;font-weight:300;letter-spacing:-.07em}.visual-caption{font-size:9px;letter-spacing:.13em;position:absolute;bottom:17px}.project-visual img{height:100%;width:100%;object-fit:cover}.card-body{padding:26px;display:flex;flex-direction:column;flex:1}.status{font-size:10px;align-self:flex-start;background:#f2eff8;color:#70607e;border-radius:4px;padding:4px 8px}.card-body h4{font-size:23px;font-weight:550;line-height:1.3;letter-spacing:-.035em;margin:14px 0 12px}.card-body>p{font-size:14px}.tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:20px 0;padding:0}.tags li{font-size:11px;color:#726579;border:1px solid #e6e0ec;padding:3px 8px;border-radius:4px}.project-open{margin-top:auto;background:none;border:0;border-top:1px solid #eee9f1;text-align:left;padding:16px 0 0;font-size:13px;font-weight:600;color:var(--ink)}.project-open:hover{color:var(--purple)}.collection-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:60px 0 24px}.collection-heading .eyebrow{margin-bottom:10px}.collection-heading>p{font-size:13px}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.compact .project-visual{height:140px}.compact .visual-symbol{font-size:48px}.compact .card-body{padding:20px}.compact h4{font-size:20px}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.activity-card{padding:28px;border-radius:13px}.activity-card .eyebrow{color:inherit;font-size:10px}.activity-card h3{font-size:23px;color:var(--ink)}.activity-card>p:not(.eyebrow){margin:18px 0;color:#61566c;font-size:14px}.skills-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:80px 0;overflow:hidden}.skill-note{font-size:13px;margin-top:-15px;margin-bottom:35px}.skill-group h3{font-size:14px;font-weight:500;color:#746780;margin-bottom:18px}.skill-group+.skill-group{margin-top:28px}.marquee{overflow:hidden;mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent)}.marquee-track{display:flex;width:max-content;animation:marquee 35s linear infinite}.marquee-track.reverse{animation-direction:reverse}.skill-row{display:flex;gap:18px;list-style:none;padding:0 18px 0 0;margin:0;flex-shrink:0}.skill-row li{display:flex;align-items:center;gap:14px;padding:18px 25px;background:white;border:1px solid var(--line);border-radius:10px;min-width:180px;font-size:14px}.skill-icon{width:36px;height:36px;border-radius:8px;display:grid;place-items:center;font-size:21px}.c0{background:#e6dcf9;color:#7958b5}.c1{background:#d9e8fa;color:#4b75a5}.c2{background:#f8dbe8;color:#a96688}.c3{background:#ffe0bf;color:#9c754c}@keyframes marquee{to{transform:translateX(-50%)}}.marquee:hover .marquee-track,.marquee:focus-within .marquee-track,.motion-paused .marquee-track{animation-play-state:paused}.contact{text-align:center}.contact h2{font-size:clamp(50px,6vw,80px)}.contact>p:not(.eyebrow){margin-top:23px}#contact-links{display:flex;justify-content:center;gap:25px;flex-wrap:wrap;margin-top:30px}.contact-link{font-size:13px;color:#71647d}footer.shell{border-top:1px solid var(--line);padding:28px 0 95px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:var(--muted)}footer .brand{font-size:14px}.guide-launcher{position:fixed;right:25px;bottom:22px;z-index:25;border:1px solid #c9b9e4;border-radius:30px;background:#2e2540;color:#fff;box-shadow:0 8px 30px #37274824;display:flex;gap:12px;align-items:center;padding:13px 20px;font-size:20px}.guide-launcher span{font-size:13px}.guide-launcher:hover{background:#564273}dialog{border:1px solid var(--line);border-radius:18px;padding:38px;width:min(720px,calc(100% - 30px));max-height:85svh;overflow:auto;color:var(--ink);background:var(--paper);box-shadow:0 20px 100px #0003}dialog::backdrop{background:#22193280;backdrop-filter:blur(5px)}.close{position:sticky;top:0;float:right;z-index:2;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:white;font-size:24px;line-height:1}.detail-banner{height:150px;display:grid;place-items:center;font-size:65px;border-radius:10px;clear:both;margin:10px 0 28px}.detail-intro{margin:22px 0}#project-detail h2{font-size:36px;margin-bottom:14px}#project-detail h3{font-size:18px;margin:24px 0 10px}.detail-image{width:100%;margin-top:24px;border-radius:8px}.detail-links{display:flex;gap:15px;flex-wrap:wrap;margin-top:25px}#guide-dialog{width:min(540px,calc(100% - 24px))}#guide-dialog h2{font-size:32px}.guide-disclosure{font-size:12px;margin-top:12px}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0}.suggestions button{border:1px solid #dfd5eb;border-radius:15px;background:#f1ebf9;padding:6px 10px;font-size:11px;color:#665376}#guide-log{max-height:260px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:3px}.message{padding:13px 15px;font-size:14px;border-radius:10px;max-width:95%;white-space:pre-wrap}.message.guide{background:#eee9f5;align-self:flex-start}.message.visitor{background:#292232;color:#fff;align-self:flex-end}.message .underlink{display:block;font-size:12px;margin-top:10px}#guide-form{margin-top:22px}#guide-form label{font-size:12px;display:block;margin-bottom:8px}.input-row{display:flex;gap:8px}.input-row input{min-width:0;flex:1;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:14px}.input-row button{padding:10px 14px}.project-category[hidden]{display:none}
/* Tablet navigation collapses before it can crowd the full-name brand.
   Mobile keeps the same content order, with your portrait following the intro. */
@media(max-width:1050px){nav{gap:14px}nav a{font-size:12px}.hero{gap:35px}.shell{width:calc(100% - 64px)}.hero-actions{gap:10px}.button{gap:12px}.about{gap:50px}.intro-band{gap:25px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){header{padding:12px 25px;min-height:72px}#menu-toggle{display:block}nav{display:none;position:absolute;top:72px;left:0;width:100%;background:var(--paper);padding:24px;box-shadow:0 12px 18px #20132d0a}nav.open{display:flex;flex-direction:column;gap:20px}nav a{font-size:15px}.hero{grid-template-columns:1fr 0.8fr;gap:30px;min-height:650px}.hero h1{font-size:43px}.floating-label{font-size:10px;padding:8px}.label-code{left:-10px}.photo-initials{font-size:80px}.photo-placeholder small{display:none}.hero-footnote{font-size:10px}.intro-band{gap:20px;flex-wrap:wrap}.intro-band>span:last-child,.intro-band>span:nth-last-child(2){display:none}.about{grid-template-columns:1fr;gap:30px}.activity-grid{grid-template-columns:1fr}.activity-card{padding:25px}.section-top>p{max-width:230px}.collection-heading{align-items:start;flex-direction:column}.photo-placeholder>span:not(.photo-initials){font-size:11px}footer.shell{flex-wrap:wrap}}
@media(max-width:600px){.shell{width:calc(100% - 40px)}section.shell{padding:60px 0}.hero{grid-template-columns:1fr;gap:25px}.hero h1{font-size:clamp(35px,9.2vw,53px)}.hero-intro{font-size:16px}.hero .eyebrow{font-size:9px}.hero-footnote{margin-top:25px}.portrait-stage{width:290px;max-width:100%;margin:auto;padding:25px}.portrait-stage::before{inset:0}.label-build{right:0}.photo-initials{font-size:90px}.intro-band{font-size:10px;gap:13px;padding:19px 10px}.band-star{font-size:18px}.section-top{align-items:start;flex-direction:column;gap:22px}.section-top>p{max-width:none}.project-toolbar{align-items:start;flex-direction:column;gap:12px}.filters button{font-size:11px;padding:9px 10px}.project-grid,.course-grid{grid-template-columns:1fr}.experience-row{grid-template-columns:1fr;gap:18px}.project-section{padding:55px 0}.skills-section{padding:55px 0}.project-visual{height:210px}.compact .project-visual{height:130px}.guide-launcher{right:14px;bottom:14px;padding:10px 15px}.guide-launcher span{font-size:12px}dialog{padding:24px}.input-row .button{font-size:12px}footer .brand{font-size:13px}footer.shell>span{display:none}.skill-note{font-size:12px}.skill-row li{min-width:160px;padding:14px 18px}.photo-placeholder small{display:block;font-size:7px}}
/* Pausing motion is available to everyone, and OS motion preferences override
   animation automatically. The duplicated skill row is unnecessary when still. */
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.marquee{overflow-x:auto;mask-image:none}.skill-row[aria-hidden]{display:none}#motion-toggle{display:none}}

/* The blue direction keeps the familiar section spacing while giving the page
   its own identity. The opening is centred around a portrait and soft rings. */
:root{--ink:#162b48;--muted:#5b708a;--paper:#f8fbff;--line:#dbe7f4;--purple:#286bc5;--pink:#d8eafa;--blue:#bfd9f7;--orange:#e0eafa;--green:#d7ecf1}
header{background:#f8fbfff2}nav a{color:#496482}.colour-text{background:linear-gradient(110deg,#235daf,#3884cc,#437eb0);background-clip:text;-webkit-background-clip:text}.intro-band{background:#e5effc;color:#315d95}.project-section{background:#eef4fc}.purple{background:#d6e5fa;color:#32609c}.blue{background:#c6e1f8;color:#31698e}.pink{background:#dfebfb;color:#5178a3}.orange{background:#d4e4f2;color:#436487}.green{background:#d9eef0;color:#44787c}.activity-card>p:not(.eyebrow){color:#47627f}.filters{background:#dde8f7}.filters button{color:#4f6785}.status{background:#edf3fc;color:#44688e}.tags li{border-color:#dce8f4;color:#57748f}.project-card{border-color:#dbe5f1}.draft-note{color:#58738e}.skill-icon{background:#dfebfb;color:#326bc1}.guide-launcher{background:#215aa5;border-color:#578bce}.guide-launcher:hover{background:#174a8d}.underlink{border-color:#a4c4ec}.hero.shell{display:flex;flex-direction:column;position:relative;isolation:isolate;text-align:center;justify-content:center;gap:0;min-height:calc(100svh - 83px);padding:55px 0 40px;overflow:hidden;width:100%;background:radial-gradient(ellipse at 50% 30%,#dfedff 0,transparent 65%)}.hero-orbits{position:absolute;top:35px;left:50%;translate:-50% 0;width:500px;height:500px;z-index:-1;pointer-events:none}.hero-orbits span{position:absolute;border:1px solid #6fa3e34a;border-radius:50%;inset:0;animation:ring-breathe 7s ease-in-out infinite}.hero-orbits span:nth-child(2){inset:55px;animation-delay:-2s}.hero-orbits span:nth-child(3){inset:108px;animation-delay:-4s}.hero-orbits span:first-child::after{content:'';width:10px;height:10px;background:#669de1;position:absolute;left:20%;top:9%;border-radius:50%;box-shadow:0 0 25px #619be78c}@keyframes ring-breathe{50%{scale:1.05;opacity:.5}}#portrait.intro-photo{width:155px;height:155px;margin:0 0 22px;transform:none;border-radius:50%;padding:7px;background:#ffffffbd;border:1px solid #c2d9f3;box-shadow:0 12px 40px #4571ac14}.intro-photo .photo-placeholder,.intro-photo .portrait-image{width:100%;height:100%;aspect-ratio:1;border-radius:50%;background:linear-gradient(145deg,#a9c9f0,#d7e9fc)}.intro-photo .photo-initials{font-size:48px;line-height:1.3;color:#436d9f}.intro-photo .photo-placeholder>span:not(.photo-initials){font-size:10px;color:#416189}.hero .hero-name{font-size:12px;letter-spacing:.22em;margin:0 0 22px}.hero h1{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(25px,3.4vw,43px);line-height:1.5;letter-spacing:-.05em;font-weight:500;max-width:960px;min-height:130px;padding:0 25px;text-wrap:balance}.code-prompt{color:#3976c4}.typing-cursor{color:#2e72c9;animation:cursor-blink .8s steps(1) infinite}.typing-cursor.finished{animation:none;opacity:0}@keyframes cursor-blink{50%{opacity:0}}.hero-intro{font-size:16px;max-width:570px;margin:0 20px 0}.hero-actions{margin-top:24px;justify-content:center}.guide-invite{font-size:13px;margin:24px 20px 0}.guide-invite button{border:0;background:none;color:#286bc5;font-size:13px;padding:0 3px;font-weight:650}.scroll-cue{display:inline-block;margin-top:28px;color:#49729c;font-size:23px}.about{grid-template-columns:.85fr 1fr;align-items:center;gap:85px}.about-photo{margin:0}.about-photo-placeholder,.about-photo .portrait-image{height:auto;min-height:430px;width:100%;aspect-ratio:4/4.7;object-fit:cover;border-radius:18px;background:linear-gradient(135deg,#bcd6f4,#e4f0fd);display:flex;justify-content:center;align-items:center;flex-direction:column}.about-photo-placeholder>span{font-family:Georgia,serif;font-size:105px;color:#7296c2}.about-photo-placeholder p{font-size:14px;color:#4d719b}.about-photo figcaption{font-size:12px;color:#647c98;padding:15px 0}.about .lead{margin:25px 0 20px}.source-label{display:block;margin-top:12px;font-size:10px;color:#56729a}
/* This aside is non-modal: no backdrop, scroll lock, or focus trap. On wide
   screens the page makes room for it. On phones it occupies only the bottom
   portion, leaving the page above scrollable and immediately available. */
#guide-panel{position:fixed;right:16px;bottom:16px;width:355px;height:min(650px,calc(100svh - 115px));z-index:30;display:flex;flex-direction:column;padding:24px;background:#fff;border:1px solid #c8ddf5;border-radius:18px;box-shadow:0 14px 60px #1a4d8829;overflow:auto}#guide-panel[hidden]{display:none}#guide-panel .close{position:absolute;right:14px;top:14px;float:none;flex:none;background:#f1f7ff;color:#305d96}#guide-panel .eyebrow{font-size:9px;margin:9px 30px 9px 0}#guide-panel h2{font-size:27px;margin-right:15px}#guide-panel .guide-disclosure{font-size:11px;line-height:1.5;flex:none}#guide-panel .suggestions{gap:6px;margin:16px 0;flex:none}#guide-panel .suggestions button{background:#edf5ff;border-color:#d7e5f7;color:#3a6599;text-align:left;font-size:10px}#guide-log{flex:1;min-height:110px;max-height:none;overflow-y:auto;overscroll-behavior:contain}.message.guide{background:#edf4fd}.message.visitor{background:#275d9c}.message{font-size:13px;flex-shrink:0}#guide-form{flex:none;margin-top:14px}.guide-open .guide-launcher{display:none}.guide-open header{padding-right:25px}
@media(min-width:1150px){body.guide-open{padding-right:385px}.guide-open header{flex-wrap:wrap}.guide-open nav{gap:13px}.guide-open .shell{width:calc(100% - 60px)}.guide-open .hero.shell{width:100%}.guide-open .about{gap:35px}.guide-open .hero h1{font-size:33px}.guide-open .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.hero.shell{min-height:calc(100svh - 72px);padding-top:40px}.hero-orbits{width:420px;height:420px;top:28px}.hero h1{min-height:125px;font-size:32px;max-width:740px}.about{grid-template-columns:1fr;gap:38px}.about-photo{max-width:430px;width:100%;margin:auto}.about-photo-placeholder,.about-photo .portrait-image{min-height:320px}.hero .hero-name{font-size:11px}}
@media(max-width:600px){.hero.shell{padding-top:35px;padding-bottom:25px}.hero-orbits{width:330px;height:330px;top:28px}.hero-orbits span:nth-child(2){inset:35px}.hero-orbits span:nth-child(3){inset:70px}#portrait.intro-photo{width:130px;height:130px;margin-bottom:20px}.hero h1{font-size:27px;min-height:140px;padding:0 24px}.hero-intro{font-size:14px}.hero .hero-name{font-size:10px}.guide-invite{font-size:12px}.guide-invite button{font-size:12px}.scroll-cue{margin-top:18px}#guide-panel{bottom:8px;right:8px;left:8px;width:auto;height:54svh;max-height:570px;padding:18px}#guide-panel .suggestions{margin:10px 0}#guide-panel h2{font-size:24px}#guide-panel .guide-disclosure{font-size:10px}#guide-panel .eyebrow{margin-top:0}#guide-log{min-height:70px}#guide-form{margin-top:10px}.about-photo-placeholder,.about-photo .portrait-image{min-height:300px}.hero-actions .button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.typing-cursor{display:none}}

/* Extracurriculars belong to the same experience story, so this subsection
   shares its parent width instead of starting another full-width section. */
.experience-activities{margin-top:55px;scroll-margin-top:100px}.experience-subtitle{font-size:32px;line-height:1.2;font-weight:600;letter-spacing:-.04em}.experience-subtitle span{color:var(--purple)}

/* Blue remains the anchor colour. Violet, coral, and amber give individual
   projects a recognisable accent without making every surface compete. */
:root{--paper:#fcfcff;--ink:#202c46;--muted:#637086;--line:#e1e5ef;--purple:#5268c6;--pink:#f6d8e1;--blue:#c9dff8;--orange:#ffe3bb;--green:#d7eae4}
header{background:#fcfcfff0}.hero.shell{background:radial-gradient(ellipse at 28% 25%,#d8eaffb0 0,transparent 48%),radial-gradient(ellipse at 77% 38%,#e7ddff9e 0,transparent 42%),radial-gradient(ellipse at 52% 95%,#ffe9d575 0,transparent 48%)}.hero-orbits span{border-color:#8b9ed646}.hero-orbits span:nth-child(2){border-color:#ab84d94d}.hero-orbits span:nth-child(3){border-color:#e7a59365}.hero-orbits span:first-child::after{background:#d9979a;box-shadow:0 0 25px #eeb3a454}.intro-photo .photo-placeholder{background:linear-gradient(140deg,#c4ddfc,#dfd3f3 65%,#f5d5dd)}.intro-band{background:linear-gradient(100deg,#e3edfd,#ebe5fa 55%,#fae5de);color:#515d83}.band-star:first-of-type{color:#be7a68}.colour-text{background:linear-gradient(110deg,#3066b4,#8b5caa,#b56867);background-clip:text;-webkit-background-clip:text}.about-photo-placeholder{background:linear-gradient(135deg,#c3dff6,#e0d9f6 65%,#f4dce3)}.project-section{background:#f3f4fa}.purple{background:linear-gradient(135deg,#e0d7fa,#eae3fc);color:#7257a4}.blue{background:linear-gradient(135deg,#bedcf8,#dbeafd);color:#386b99}.pink{background:linear-gradient(135deg,#f5d0dc,#f9e3e8);color:#a5617b}.orange{background:linear-gradient(135deg,#ffdbac,#ffebd1);color:#926239}.green{background:linear-gradient(135deg,#cbe5df,#e2f1e9);color:#42776b}.status{background:#f0edf7;color:#6b6088}.activity-card.purple .eyebrow{color:#7653a2}.activity-card.orange .eyebrow{color:#976b3f}.activity-card.pink .eyebrow{color:#a4667b}.c0{background:#e5dcf9;color:#7555a7}.c1{background:#d8e9fb;color:#4572a7}.c2{background:#f7dde5;color:#a96980}.c3{background:#ffead0;color:#a27944}.skills-section{background:linear-gradient(120deg,#f7faff,#fbf8fe)}.contact{position:relative}.contact .colour-text{background:linear-gradient(100deg,#326ec0,#8b62b0 55%,#b8796d);background-clip:text;-webkit-background-clip:text}.guide-launcher{background:linear-gradient(115deg,#2d62ad,#6554a0);border-color:#8e9ac9}.guide-launcher:hover{background:linear-gradient(115deg,#255395,#55458b)}.dark{background:#263c60;border-color:#263c60}.project-card:hover{box-shadow:0 14px 28px #534e8014}.project-card .project-visual{border-bottom:1px solid #ffffff80}

/* A more expressive introduction: the name and portrait lead, while small
   drifting colour patches add movement without animating the readable text. */
.hero.shell{padding:45px 20px 42px;min-height:calc(100svh - 83px);background:radial-gradient(ellipse at 15% 20%,#92d3ff8a,transparent 45%),radial-gradient(ellipse at 85% 30%,#c0b2ff99,transparent 48%),radial-gradient(ellipse at 65% 95%,#ffc9ac8c,transparent 45%),#eef7ff}.hero.shell::before,.hero.shell::after{content:'';position:absolute;width:200px;height:200px;border-radius:50%;filter:blur(35px);z-index:-1;pointer-events:none;animation:colour-float 13s ease-in-out infinite alternate}.hero.shell::before{background:#97c6ff50;left:7%;top:15%}.hero.shell::after{background:#ffc8db60;right:8%;bottom:12%;animation-delay:-6s}@keyframes colour-float{to{transform:translate(30px,-25px) scale(1.15)}}#portrait.intro-photo{width:210px;height:210px;margin-bottom:18px;padding:8px;box-shadow:0 14px 50px #4779bf26;animation:portrait-enter .8s ease-out both}.intro-photo .photo-initials{font-size:70px}.intro-photo .photo-placeholder>span:not(.photo-initials){font-size:12px}.hero-orbits{top:10px;width:530px;height:530px}.hero-hello{font-size:17px;color:#47648a;margin:0 0 3px}.hero h1.hero-name{font-family:inherit;font-size:clamp(42px,6vw,76px);font-weight:800;line-height:1.1;letter-spacing:-.055em;min-height:0;margin:0 0 15px;padding:0}.hero-name>span{color:#497ac7}.hero-degree{font-size:14px;color:#385c88;letter-spacing:.045em;font-weight:600}.hero-tagline{font-size:clamp(22px,2.6vw,31px);font-weight:450;line-height:1.4;color:#314766;margin-top:22px;letter-spacing:-.025em}.hero-tagline em{font-family:Georgia,serif;font-weight:400;color:#7f5bae}.brand-interests{display:flex;align-items:center;gap:10px;margin:20px 0}.brand-interests span{padding:5px 14px;border-radius:20px;font-size:12px;font-weight:650;background:#cce7ff;color:#295787;transform:rotate(-3deg)}.brand-interests span:nth-of-type(2){background:#e4d8ff;color:#6e4e9e;transform:rotate(2deg)}.brand-interests span:nth-of-type(3){background:#ffdfbb;color:#8c582d;transform:rotate(-2deg)}.brand-interests b{font-weight:400;color:#72839d}.hero-intro{max-width:580px;font-size:15px}.hero-actions{margin-top:24px}.guide-invite{margin-top:19px}.hero .scroll-cue{margin-top:15px}@keyframes portrait-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.experience-list{display:grid;grid-template-columns:1fr;gap:22px}.role-card{padding:28px;border:1px solid #dcdfe99c;border-radius:18px;position:relative;align-self:start;color:var(--ink);box-shadow:0 4px 14px #35446406}.experience-list .role-card{background:linear-gradient(115deg,#e0f0e9,#f5faf8)}.organisation-badge{width:58px;height:58px;display:grid;place-items:center;border-radius:14px;background:#ffffffc4;box-shadow:0 3px 10px #27416309;font-size:18px;font-weight:750;letter-spacing:-.05em;margin-bottom:20px;color:inherit}.organisation-badge img{width:80%;height:80%;object-fit:contain}.role-organisation{font-size:12px;line-height:1.5;color:#50627c;font-weight:600;margin-bottom:8px}.role-card h3{font-size:23px;line-height:1.3}.role-period{font-size:12px;margin-top:12px}.role-summary{font-size:14px;line-height:1.7;color:#56647a;margin-top:14px}.role-details{margin-top:22px;border-top:1px solid #6b73992b;padding-top:14px}.role-details summary{font-size:13px;font-weight:600;cursor:pointer;color:#344965;list-style:none;display:flex;justify-content:space-between;gap:12px}.role-details summary::after{content:'+';font-size:20px;line-height:1}.role-details[open] summary::after{content:'−'}.role-details summary::-webkit-details-marker{display:none}.role-details summary:focus-visible{outline:3px solid #5268c6;outline-offset:5px}.role-details>p{font-size:14px;margin-top:18px}.role-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.role-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}.photo-slot{grid-column:1/-1;padding:30px 12px;text-align:center;background:#ffffff70;border:1px dashed #8192b45e;border-radius:9px;color:#63738c;font-size:12px}.hobbies{border-top:1px solid var(--line)}.hobby-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.hobby-card{padding:28px 22px;border-radius:20px;transition:transform .25s;position:relative}.hobby-card:nth-child(odd){transform:rotate(-2deg)}.hobby-card:nth-child(even){transform:rotate(2deg)}.hobby-card:hover{transform:rotate(0) translateY(-5px)}.hobby-icon{display:inline-block;font-size:39px;margin-bottom:23px}.hobby-card h3{font-size:25px;color:#28394e}.hobby-caption{font-weight:650;font-size:12px;color:#4d5870;margin:13px 0 9px}.hobby-card>p:last-child{font-size:13px;color:#536077}.tool-icon{height:35px;width:35px;object-fit:contain;flex-shrink:0}.skill-row li{gap:15px;background:#fff}.guide-launcher{background:linear-gradient(115deg,#2f68b6,#7f5aab)}
@media(min-width:900px){.experience-list .role-card{display:grid;grid-template-columns:80px 1fr;gap:0 20px}.experience-list .organisation-badge{grid-column:1;grid-row:1/5;margin:0}.experience-list .role-card>p,.experience-list .role-card>h3,.experience-list .role-details{grid-column:2}}
@media(max-width:850px){.hobby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1.hero-name{font-size:57px}.hero-orbits{width:430px;height:430px}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-card{padding:23px}.role-card h3{font-size:21px}}
@media(max-width:600px){#portrait.intro-photo{width:180px;height:180px}.hero.shell{padding-top:30px}.hero h1.hero-name{font-size:clamp(39px,10vw,55px);max-width:360px}.hero-degree{font-size:12px}.hero-tagline{font-size:24px;margin-top:18px}.hero-orbits{width:345px;height:345px;top:22px}.hero-intro{font-size:14px}.brand-interests{gap:7px}.brand-interests span{font-size:11px;padding:5px 12px}.activity-grid{grid-template-columns:1fr}.hobby-grid{gap:14px}.hobby-card{padding:22px 17px}.hobby-card h3{font-size:21px}.hobby-icon{font-size:32px}.hobby-card>p:last-child{font-size:12px}.hobby-caption{font-size:11px}.guide-open .hero h1.hero-name{font-size:44px}}
@media(max-width:360px){.hobby-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hero.shell::before,.hero.shell::after,#portrait.intro-photo{animation:none}.hobby-card:hover{transform:none}}

/* The puzzle is functional navigation drawn as one SVG. Adjacent outlines
   share the same tab/socket curve, so the four pieces actually interlock. */
.hero.shell{padding-top:30px;padding-bottom:30px}.hero h1.hero-name{min-height:84px;white-space:nowrap}.hero-name #name-reveal{color:var(--ink)}.hero-name .name-cursor{font-size:.7em;color:#5e7dbc;animation:name-blink .8s steps(1) infinite}.name-cursor.done{opacity:0;animation:none}@keyframes name-blink{50%{opacity:0}}#portrait.intro-photo{width:195px;height:195px}.intro-photo .portrait-image{object-position:center 35%}.hero-tagline{margin-top:14px;font-size:25px}.puzzle-block{width:min(960px,95%);margin:22px auto 10px}.puzzle-scroll{overflow-x:auto;padding:12px 4px}.hero-puzzle{display:block;width:100%;min-width:600px;overflow:visible}.puzzle-piece{cursor:pointer;outline:none}.puzzle-piece path{stroke:#fff;stroke-width:2;stroke-linejoin:round}.puzzle-piece>g{transition:translate .2s,filter .2s}.puzzle-piece:hover>g,.puzzle-piece:focus-visible>g{translate:0 -7px;filter:drop-shadow(0 6px 3px #4c618c35)}.puzzle-piece:focus-visible path{stroke:#245997;stroke-width:3}.puzzle-title{font:700 18px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;fill:#283d5b;letter-spacing:1px;pointer-events:none}.puzzle-subtitle{font:12px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;fill:#52617b;pointer-events:none}.puzzle-block>p{font-size:15px;font-weight:500;color:#445f82}.hero-intro{display:none}.hero-actions{margin-top:17px}.guide-invite{margin-top:14px}.hero .scroll-cue{margin-top:7px}.navi-icon{width:26px;height:26px}.education{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.35fr;align-items:center;gap:60px}.education-card{display:flex;align-items:center;gap:25px;background:#edf3fd;border:1px solid #d9e4f5;border-radius:18px;padding:30px}.education-card img{width:90px;height:90px;object-fit:contain;border-radius:12px}.education-card .eyebrow{margin-bottom:8px}.education-card h3{font-size:23px;line-height:1.3}.education-card p:last-child{margin-top:14px;font-size:13px}.education-card strong{font-weight:600}.highlights{border-bottom:1px solid var(--line)}.highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.highlight-grid>a{display:block;background:#e7f0fc;border-radius:16px;padding:27px;transition:transform .2s}.highlight-grid>a:nth-child(2){background:#ece5fa}.highlight-grid>a:nth-child(3){background:#fff0da}.highlight-grid>a:hover{transform:translateY(-4px)}.highlight-grid strong{display:block;font-size:30px;color:#425f88;letter-spacing:-.04em;margin-bottom:18px}.highlight-grid h3{font-size:20px;line-height:1.3;margin-bottom:12px}.highlight-grid p{font-size:14px}.highlight-grid span{display:block;margin-top:22px;font-size:12px;font-weight:650}.organisation-badge{width:72px;height:72px;background:white}.organisation-badge img{width:95%;height:95%;border-radius:10px;object-fit:contain}.about-photo .portrait-image{object-position:center 30%}.detail-image{max-height:620px;object-fit:contain;background:#eff4fa}
@media(max-width:850px){.hero h1.hero-name{min-height:65px}.education{grid-template-columns:1fr;gap:28px}.highlight-grid{grid-template-columns:1fr}.hero-puzzle{min-width:600px}.puzzle-block>p{font-size:13px}.hero-tagline{font-size:23px}}
@media(max-width:600px){.hero h1.hero-name{font-size:clamp(29px,8vw,43px);min-height:52px;max-width:none}.hero.shell{padding-left:10px;padding-right:10px}#portrait.intro-photo{width:165px;height:165px}.puzzle-block{width:100%}.puzzle-scroll{padding-bottom:13px}.puzzle-block>p{font-size:12px;padding:0 20px}.education-card{padding:22px;gap:15px;align-items:flex-start}.education-card img{width:60px;height:60px}.education-card h3{font-size:20px}.hero-degree{font-size:12px}.hero-tagline{font-size:21px}.hero-actions .button{font-size:11px;padding:10px 12px}.guide-invite{font-size:11px}}
@media(prefers-reduced-motion:reduce){.name-cursor{display:none}.puzzle-piece:hover>g,.puzzle-piece:focus-visible>g{translate:none}.highlight-grid>a:hover{transform:none}}

/* Simple section titles let the actual experience and projects do the talking.
   Organisation-first rows keep the logo, team, role, and story easy to scan. */
#about h2{margin-bottom:25px}.section-top{margin-bottom:32px}section.shell{padding-top:72px;padding-bottom:72px}.hero.shell{padding-top:38px;padding-bottom:35px}.activity-grid,.experience-list{display:grid;grid-template-columns:1fr;gap:0}.role-card,.experience-list .role-card{display:grid;grid-template-columns:76px 1fr;gap:0 22px;position:relative;background:transparent!important;border:0;border-bottom:1px solid var(--line);box-shadow:none;border-radius:0;padding:28px 0;color:var(--ink)}.role-card .organisation-badge{grid-column:1;grid-row:1/5;width:66px;height:66px;margin:0;border:1px solid #e4e8ef;border-radius:12px;box-shadow:none}.role-card h3{grid-column:2;grid-row:1;font-size:22px;font-weight:650;line-height:1.4;letter-spacing:-.025em}.role-card .role-organisation{grid-column:2;grid-row:2;font-size:15px;font-weight:500;color:#516687;margin:5px 0 0}.role-card .role-period{grid-column:2;font-size:12px;color:#65748c}.role-card .role-summary{grid-column:2;font-size:14px;max-width:820px;margin-top:10px}.role-card .role-details{grid-column:2;border-top:0;margin-top:14px;padding-top:0}.role-details summary{display:inline-flex;gap:16px;font-size:12px;color:#516d96}.role-details>p{max-width:820px}.role-gallery:empty{display:none}.experience-activities{margin-top:65px}.experience-subtitle{font-size:36px}.certifications{margin-top:48px;padding-top:32px;border-top:1px solid var(--line)}.certifications>h3{font-size:24px;margin-bottom:16px}.certification-empty{font-size:14px;color:#6b7890}.certificate{padding:18px 0;border-bottom:1px solid var(--line)}.certificate-name{font-weight:600}.certificate p{font-size:13px;margin-top:7px}#contact-links{gap:15px}.contact-link{border:1px solid #c9d8ed;background:white;padding:12px 18px;border-radius:8px;color:#305989}.contact-link:hover{background:#eaf2ff}span.contact-link{display:none}.contact h2{font-size:48px}.hero-orbits{animation:orbit-tilt 16s ease-in-out infinite}.hero-orbits span:nth-child(2)::after{content:'';position:absolute;right:8%;bottom:15%;width:8px;height:8px;border-radius:50%;background:#a58ad0}.hero.shell::before{animation:colour-float 10s ease-in-out infinite alternate}.hero.shell::after{animation:colour-float 14s ease-in-out infinite alternate-reverse}.hero .intro-photo{animation:portrait-enter .8s ease-out both}@keyframes orbit-tilt{50%{rotate:8deg;translate:-50% -6px}}
@media(max-width:600px){.role-card,.experience-list .role-card{grid-template-columns:52px 1fr;gap:0 14px;padding:23px 0}.role-card .organisation-badge{width:49px;height:49px}.role-card h3{font-size:18px}.role-card .role-organisation{font-size:13px}.role-card .role-summary{font-size:13px}.experience-subtitle{font-size:30px}.contact-link{font-size:12px;padding:10px 13px}.contact h2{font-size:38px}section.shell{padding-top:52px;padding-bottom:52px}.hero.shell{padding-top:30px}}
@media(prefers-reduced-motion:reduce){.hero-orbits,.hero.shell::before,.hero.shell::after{animation:none}}

/* Viewport-aware hero spacing is based on available height rather than fixed
   generous margins. On exceptionally small or zoomed screens, scrolling stays
   available: content is never clipped simply to force a one-screen composition. */
.hero.shell{box-sizing:border-box;min-height:calc(100svh - 83px);padding:clamp(12px,2.5svh,26px) 18px;justify-content:center;gap:0}.hero #portrait.intro-photo{width:clamp(90px,20svh,180px);height:clamp(90px,20svh,180px);margin:0 0 10px;flex-shrink:0}.hero .hero-hello{font-size:14px;margin:0}.hero h1.hero-name{font-size:clamp(30px,6svh,64px);min-height:1.2em;line-height:1.15;margin:2px 0 8px;max-width:100%}.hero .puzzle-block{width:min(840px,96%);margin:clamp(4px,1.4svh,14px) auto 0}.hero .puzzle-scroll{padding:8px 3px}.hero .hero-puzzle{min-width:0;width:100%;max-height:18svh}.hero .puzzle-block>p{font-size:clamp(11px,1.7svh,15px);margin:3px 0}.hero .hero-actions{margin-top:clamp(8px,1.6svh,17px)}.hero .button{padding:9px 15px}.hero .guide-invite{margin-top:clamp(8px,1.5svh,15px);font-size:12px}.hero .scroll-cue{display:none}.hero-orbits{top:10px;width:min(470px,80vw);height:min(470px,80vw)}.hero.shell{background:radial-gradient(ellipse at 15% 20%,#92d3ff8a,transparent 45%),radial-gradient(ellipse at 85% 30%,#c0b2ff99,transparent 48%),radial-gradient(ellipse at 65% 95%,#ffc9ac8c,transparent 45%),#eef7ff;background-size:130% 130%;animation:hero-colour-drift 16s ease-in-out infinite alternate}@keyframes hero-colour-drift{to{background-position:80% 40%}}
/* Colour is concentrated in the cards, with a quiet border and ample room for
   logos. The whole card activates its one button, with a visible focus state. */
.activity-grid,.experience-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.experience-list{grid-template-columns:repeat(2,minmax(0,1fr))}.role-card,.experience-list .role-card{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:27px;border:1px solid #dbe2ef;border-radius:15px;box-shadow:0 3px 10px #28384d06;position:relative;transition:transform .2s,box-shadow .2s;isolation:isolate}.role-card.purple{background:#eee8fa!important}.role-card.blue{background:#e4f0fc!important}.role-card.pink{background:#fbe9ef!important}.role-card.orange{background:#fff0dc!important}.role-card.green,.experience-list .role-card.green{background:#e7f3ed!important}.role-card:hover,.project-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #27385014}.role-card .organisation-badge{width:65px;height:65px;margin:0 0 19px;border:1px solid #ffffffa6;background:white}.role-card h3{font-size:19px;line-height:1.35;margin:0 0 8px}.role-card .role-organisation{font-size:14px;margin:0;font-weight:550}.role-card .role-summary{font-size:13px;line-height:1.65;margin:14px 0 20px}.role-card .role-period{margin-top:9px}.card-open{border:0;background:transparent;padding:10px 0 0;font-size:12px;font-weight:650;text-align:left;color:#355a8b;margin-top:auto}.card-open::after{content:'';position:absolute;inset:0;border-radius:15px;z-index:2}.card-open:focus-visible{outline:none}.role-card:has(.card-open:focus-visible),.project-card:has(.card-open:focus-visible){outline:3px solid #426dc1;outline-offset:4px}.project-card{position:relative;isolation:isolate}.project-card .card-open{border-top:1px solid #e5eaf3;padding-top:16px}.modal-logo{width:86px;height:86px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:14px;margin:10px 0 25px}#experience-detail h2{font-size:32px;line-height:1.2;clear:both}#experience-detail h3{font-size:18px;color:#536988;margin-top:18px}#experience-detail p{line-height:1.8}.education{margin-top:15px}
@media(max-width:1000px){.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.hero.shell{min-height:calc(100svh - 72px)}.hero h1.hero-name{font-size:clamp(30px,5.5vw,52px)}}
@media(max-width:600px){.activity-grid,.experience-list{grid-template-columns:1fr}.hero.shell{padding:14px 10px}.hero #portrait.intro-photo{width:clamp(90px,20svh,150px);height:clamp(90px,20svh,150px)}.hero h1.hero-name{font-size:clamp(27px,7.7vw,43px);white-space:normal;min-height:1.2em}.hero .puzzle-block{width:100%;margin-top:8px}.hero .hero-puzzle{min-width:540px;max-height:105px}.hero .puzzle-scroll{overflow-x:auto}.hero .puzzle-block>p{font-size:11px;padding:0 8px}.hero .hero-actions{gap:8px}.hero .button{font-size:11px;padding:8px 12px}.hero .guide-invite,.hero .guide-invite button{font-size:11px}.role-card,.experience-list .role-card{padding:24px}}
@media(max-height:550px) and (min-width:601px){.hero.shell{min-height:calc(100svh - 72px);padding:8px 15px}.hero #portrait.intro-photo{width:70px;height:70px;margin-bottom:4px}.hero h1.hero-name{font-size:30px;margin:0}.hero .hero-hello{font-size:11px}.hero .puzzle-block{width:580px;margin-top:0}.hero .hero-puzzle{max-height:85px}.hero .puzzle-block>p{font-size:11px}.hero .hero-actions{margin-top:6px}.hero .button{padding:5px 10px;font-size:11px}.hero .guide-invite{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.hero.shell{animation:none}.role-card:hover,.project-card:hover{transform:none}}

/* One compact heading scale and equal grid rows keep the sections consistent.
   Cards stretch to their row height; no fixed text height clips long role names. */
main h2,main .experience-subtitle,.contact h2{font-size:30px;line-height:1.25;font-weight:650;letter-spacing:-.035em}.section-top{margin-bottom:24px}section.shell{padding-top:55px;padding-bottom:55px}.experience-activities{margin-top:42px}.activity-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:16px}.role-card,.experience-list .role-card{align-self:stretch;height:100%;padding:20px;border-radius:12px}.role-card h3{font-size:17px;line-height:1.35}.role-card .role-organisation{font-size:13px}.role-card .role-summary{font-size:13px;line-height:1.55;margin:10px 0 15px}.role-card .organisation-badge{width:51px;height:51px;margin-bottom:14px;border-radius:10px}.role-card .card-open{padding-top:7px}.project-section{padding:55px 0}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.project-visual{height:155px}.project-visual .visual-symbol{font-size:43px}.project-visual .visual-caption{font-size:8px;bottom:12px}.project-card .card-body{padding:19px}.card-body h4{font-size:19px;margin:11px 0 9px}.card-body>p{font-size:13px;line-height:1.6}.tags{margin:15px 0;gap:5px}.tags li{font-size:10px;padding:3px 6px}.project-category>h3{font-size:20px;margin-top:28px;padding-bottom:12px}.project-toolbar{margin:25px 0}.card-open::after{border-radius:12px}.hero #portrait.intro-photo{width:clamp(125px,26svh,225px);height:clamp(125px,26svh,225px)}.hero.shell{padding-top:14px;padding-bottom:14px}.hero .hero-actions{margin-top:10px}.hero .guide-invite{margin-top:10px}.hero .puzzle-block{margin-top:5px}.hero .hero-puzzle{max-height:15svh}.about{grid-template-columns:minmax(220px,.78fr) minmax(0,1.3fr);align-items:stretch;gap:48px}.about-photo{position:relative;min-height:310px;max-width:none;width:100%;margin:0}.about-photo .portrait-image,.about-photo-placeholder{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;object-position:center 30%;border-radius:14px}.about>div{padding:12px 0;align-self:center}#about h2{margin-bottom:18px}#about-text{white-space:pre-line;font-size:15px;line-height:1.8}.about .underlink{font-size:13px;margin-top:18px}.skills-section{padding:50px 0}.skill-row li{min-width:150px;padding:12px 17px;font-size:13px}.tool-icon{width:28px;height:28px}.skill-group h3{font-size:13px}.certifications{margin-top:32px;padding-top:25px}.certifications>h3{font-size:24px}.certificate{display:grid;grid-template-columns:48px 1fr;gap:4px 16px;padding:19px;border:1px solid var(--line);border-radius:12px;background:#fff;max-width:720px}.certificate-icon{grid-column:1;grid-row:1/4;width:46px;height:46px;object-fit:contain;border-radius:8px}.certificate-name,.certificate p{grid-column:2;margin:0}.certificate-name{font-size:15px}.certificate p{font-size:12px}.education{margin-top:0;border-top:0;gap:30px;grid-template-columns:.7fr 1.4fr}.education-card{padding:20px;gap:18px;border-radius:12px}.education-card img{width:65px;height:65px}.education-card h3{font-size:19px}.education-card .eyebrow{font-size:10px}.education-card p:last-child{font-size:12px;margin-top:8px}.hobby-grid{gap:16px}.hobby-card{padding:20px 18px;border-radius:14px}.hobby-icon{font-size:29px;margin-bottom:13px}.hobby-card h3{font-size:20px}.hobby-caption{font-size:11px;margin-top:10px}.hobby-card>p:last-child{font-size:12px;line-height:1.6}
@media(max-width:1000px){.project-grid,.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about{gap:30px}}
@media(max-width:650px){main h2,main .experience-subtitle,.contact h2{font-size:26px}.about{grid-template-columns:1fr;gap:24px}.about-photo{min-height:0;height:auto;aspect-ratio:1;max-width:330px;justify-self:center}.about>div{padding:0}.education{grid-template-columns:1fr;gap:20px}.hero #portrait.intro-photo{width:clamp(115px,25svh,180px);height:clamp(115px,25svh,180px)}.project-visual{height:140px}.project-card .card-body{padding:16px}.role-card,.experience-list .role-card{padding:18px}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-card h3{font-size:16px}.role-card .role-organisation{font-size:12px}.hobby-card{padding:18px 15px}.certificate{gap:4px 12px;padding:16px}.certificate-name{font-size:14px}}
@media(max-width:460px){.project-grid,.activity-grid{grid-template-columns:1fr}.role-card,.experience-list .role-card{padding:20px}.project-visual{height:145px}}
@media(max-height:550px) and (min-width:601px){.hero #portrait.intro-photo{width:90px;height:90px}.hero.shell{padding:7px 14px}.hero .hero-puzzle{max-height:65px}.hero .guide-invite{margin-top:5px}}

/* The puzzle keeps its existing link geometry. Layered shadows and a slight
   perspective create thickness without adding a canvas or a 3D dependency. */
.hero .puzzle-scroll{perspective:1100px;overflow:visible;padding:18px 8px 26px}.hero .hero-puzzle{overflow:visible;transform:rotateX(15deg) rotateY(-3deg);filter:drop-shadow(0 2px 0 #657396) drop-shadow(0 4px 0 #8290b2) drop-shadow(0 12px 9px #2f426726);transition:transform .35s,filter .35s}.hero .hero-puzzle:hover,.hero .hero-puzzle:focus-within{transform:rotateX(3deg) rotateY(0deg) translateY(-3px);filter:drop-shadow(0 2px 0 #657396) drop-shadow(0 4px 0 #8290b2) drop-shadow(0 16px 12px #2f42672b)}.puzzle-piece path{stroke:#ffffffa1;stroke-width:1.4}.puzzle-piece:focus-visible{outline:none}.puzzle-piece:focus-visible path{stroke:#254f92;stroke-width:4}
/* The position is the first detail a recruiter should notice after the logo.
   The company stays separate, while team information lives in the description. */
.role-card h3{font-size:17px;color:#506580;font-weight:600}.role-card .role-organisation{font-size:23px;line-height:1.3;letter-spacing:-.025em;font-weight:700;color:#192e4b;margin:3px 0 6px}.role-card .role-summary{font-size:14px;line-height:1.65}.role-card .role-period{font-size:12px;color:#4e647d}.experience-list{grid-template-columns:1fr}.experience-list .role-card{padding:28px;max-width:850px}.experience-list .role-card .role-organisation{font-size:29px}.experience-list .role-card .role-summary{max-width:650px}#experience-detail .experience-position{font-size:24px;font-weight:650;line-height:1.35;color:#223c5e;margin-top:14px}#experience-detail .story-heading{font-size:20px;font-weight:650;color:#213b5b;margin:32px 0 15px}.contribution-list{padding-left:22px;color:#50637b;font-size:15px;line-height:1.8}.contribution-list li+li{margin-top:14px}.award-card{padding:22px;border:1px solid #ded8ec;border-left:4px solid #8d76b8;background:#f3effa;border-radius:10px;margin:16px 0}.award-card:nth-of-type(even){border-color:#ecdfbf;border-left-color:#bc974c;background:#fcf5e7}.award-card h4{font-size:17px;line-height:1.45;margin:0 0 12px}#experience-detail .award-card p{font-size:14px;line-height:1.75}.experience-technologies li{font-size:12px;background:#edf3fc;padding:6px 10px}
/* Stationary groups make all tools visible at once. Colour distinguishes the
   disciplines, while consistent spacing keeps long tool names readable. */
#skills-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.skill-note{margin:0 0 28px;font-size:14px}.tool-group{position:relative;padding:27px;background:#fff;border:1px solid #d9e6f4;border-top:4px solid #7ca9db;border-radius:12px}.tool-group:nth-child(2){border-top-color:#b69ad3;background:#fdfbff}.tool-group:nth-child(3){border-top-color:#d1ad72;background:#fffdfa}.tool-number{font:12px ui-monospace,monospace;color:#6e85a1;display:block;margin-bottom:18px}.tool-group h3{font-size:21px;font-weight:650;line-height:1.3}.tool-group>p{font-size:13px;line-height:1.7;margin:12px 0 20px}.tool-list{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0;padding:0}.tool-list li{display:flex;align-items:center;gap:8px;border:1px solid #e1e6ee;background:#f5f8fc;border-radius:7px;padding:9px 10px;font-size:12px;color:#39506c}.tool-list .tool-icon{width:21px;height:21px}.certifications{padding-top:30px}.certificate{max-width:none;padding:24px}.certificate-name{font-size:17px}.certificate p{font-size:13px}
.education{display:grid;grid-template-columns:.55fr 1.45fr;gap:55px;align-items:start}.education-heading .eyebrow{margin-bottom:12px}.education-card{display:block;padding:32px;background:linear-gradient(120deg,#f0f5fd,#faf6fd);border:1px solid #dce5ef;border-radius:15px}.education-identity{display:flex;align-items:center;gap:16px;margin-bottom:24px}.education-card .education-identity img{width:62px;height:62px;border-radius:10px;object-fit:contain;background:white}.education-identity p{font-size:16px;font-weight:600;color:#4a5e7a}.education-card h3{font-size:26px;line-height:1.3;font-weight:650;max-width:500px}.education-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px;padding-top:22px;border-top:1px solid #d8e0ec}.education-facts span,.education-facts strong{display:block}.education-facts span{font-size:12px;color:#667c96;margin-bottom:6px}.education-facts strong{font-size:17px;font-weight:600}
.contact.shell{display:grid;grid-template-columns:1.15fr 1fr;gap:65px;text-align:left;padding:50px;margin-top:30px;margin-bottom:55px;border:1px solid #d5e1f0;border-radius:20px;background:radial-gradient(ellipse at 0 0,#d7e9ff80,transparent 70%),#f1f5fc}.contact h2{font-size:35px;line-height:1.2;letter-spacing:-.045em}.contact-copy>p:not(.eyebrow){font-size:15px;line-height:1.8;margin-top:20px}.contact-signature{display:block;font-size:14px;font-weight:600;color:#48668f;margin-top:30px}.contact #contact-links{display:flex;flex-direction:column;gap:12px;margin:0;justify-content:center}.contact-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#ffffffd9;border:1px solid #dbe3ef;border-radius:10px;padding:18px 20px;transition:transform .2s,border-color .2s}.contact-card:hover{transform:translateX(3px);border-color:#8eaacf}.contact-card strong,.contact-card>span>span{display:block}.contact-card strong{font-size:16px;font-weight:650;color:#2c4568}.contact-card>span>span{font-size:12px;color:#657a96;margin-top:3px;overflow-wrap:anywhere}.contact-arrow{font-size:22px;color:#6886af}
@media(max-width:1000px){#skills-list{grid-template-columns:1fr 1fr}.tool-group:last-child{grid-column:1/-1}.contact.shell{gap:30px;padding:32px}.education{gap:30px}}
@media(max-width:650px){#skills-list{grid-template-columns:1fr}.tool-group:last-child{grid-column:auto}.tool-group{padding:23px}.education{grid-template-columns:1fr;gap:22px}.education-card{padding:24px}.education-card h3{font-size:23px}.education-facts{gap:15px}.education-facts strong{font-size:15px}.contact.shell{grid-template-columns:1fr;padding:26px;gap:26px}.contact h2{font-size:29px}.role-card .role-organisation{font-size:21px}.experience-list .role-card .role-organisation{font-size:25px}.hero .puzzle-scroll{overflow-x:auto;padding:16px 8px 25px}.hero .hero-puzzle{transform:none}.experience-list .role-card{padding:24px}#experience-detail .experience-position{font-size:21px}}
@media(prefers-reduced-motion:reduce){.hero .hero-puzzle,.hero .hero-puzzle:hover,.hero .hero-puzzle:focus-within{transform:none;transition:none}.contact-card:hover{transform:none}}

/* Show the entire supplied LiDAR build instead of cropping out the wheel or sensor. */
.project-visual.uncropped-media{background:#edf2f7}.project-visual.uncropped-media img{object-fit:contain}

/* Show the entire supplied LiDAR build instead of cropping out the wheel or sensor. */
.project-visual.uncropped-media{background:#edf2f7}.project-visual.uncropped-media img{object-fit:contain}

/* A wider education row uses less vertical space while retaining a readable
   stacked layout on phones. Certificates keep their complete original image. */
.education{display:block}.education-heading{margin-bottom:22px}.education-card{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:25px;align-items:center;padding:24px}.education-identity{margin:0}.education-card h3{font-size:22px}.education-facts{margin:0;padding:0;border:0;gap:18px}.education-card .education-identity img{width:52px;height:52px}.education-identity p{font-size:15px}.education-facts strong{font-size:15px}#certification-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.certificate{display:block;padding:0;overflow:hidden;max-width:none}.certificate-preview{display:block;height:190px;background:#edf2f8;padding:10px}.certificate-preview img{width:100%;height:100%;object-fit:contain}.certificate-info{padding:19px}.certificate-info .certificate-name{font-size:16px;line-height:1.5}.certificate-info p{font-size:12px;margin-top:9px}.certificate-preview:hover{background:#dfeaf8}
@media(max-width:950px){.education-card{grid-template-columns:1fr 1fr}.education-facts{grid-column:1/-1;border-top:1px solid var(--line);padding-top:18px}#certification-list{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.education-card{grid-template-columns:1fr;gap:18px}.education-facts{grid-column:1}.education-card h3{font-size:21px}#certification-list{grid-template-columns:1fr}.certificate-preview{height:210px}}

/* Certificates stay text-first in the overview; original images remain fully
   visible inside their own keyboard-accessible dialog. */
#certification-list{grid-template-columns:repeat(2,minmax(0,1fr))}.certificate-info{padding:23px}.certificate-open{margin-top:18px;font-size:12px}#certificate-dialog{width:min(950px,calc(100% - 30px))}#certificate-detail h2{font-size:25px;line-height:1.35;padding-right:35px}#certificate-detail>p{font-size:13px;margin:12px 0 22px}.certificate-full-image{display:block;width:100%;height:auto;object-fit:contain;border-radius:6px}.education-identity #education-school{font-size:24px;font-weight:700;line-height:1.25;color:#243c5e}.education-card .education-identity img{width:68px;height:68px}.education-card h3{font-size:20px;line-height:1.4}
@media(max-width:650px){#certification-list{grid-template-columns:1fr}.education-identity #education-school{font-size:22px}.education-card h3{font-size:19px}}

/* A small brand mark identifies the credential without showing its full certificate. */
.credential-brand-logo{display:block;width:64px;height:64px;object-fit:contain;margin-bottom:16px;border-radius:9px}

/* Keep the About text first and show the full portrait without cropping the top of the head. */
.about{grid-template-columns:minmax(0,1.3fr) minmax(220px,.78fr)}
.about-photo{align-self:center;min-height:0}
.about-photo .portrait-image{position:static;display:block;width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain;object-position:center top}
@media(max-width:650px){.about{grid-template-columns:1fr}.about-photo{aspect-ratio:auto}}

/* Four balanced groups make software and hardware skills easy to scan. */
#skills-list{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-group:last-child{grid-column:auto}.tool-group:nth-child(4){border-top-color:#71ada1;background:#f8fdfb}
@media(max-width:650px){#skills-list{grid-template-columns:1fr}}

/* Raised keycaps use a darker front edge and an inset top face to suggest
   mechanical keys. Pressing a key moves its face toward the keyboard base. */
.hero .keyboard-block{width:min(940px,calc(100% - 40px));margin:22px auto 12px}
.keyboard-deck{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:18px 18px 25px;background:linear-gradient(145deg,#e9eef7,#d8dfed);border:1px solid #ccd5e4;border-radius:23px;box-shadow:0 8px 0 #bcc7d9,0 16px 25px #344d7120}
.keyboard-key{--key-top:#d9ecff;--key-bottom:#aacbed;--key-edge:#7599c2;display:block;position:relative;border-radius:14px;background:var(--key-edge);padding:0 0 9px;box-shadow:0 4px 6px #24385325;text-align:left;color:#253c5a;transition:transform .16s,box-shadow .16s}
.key-embedded{--key-top:#e6e2ff;--key-bottom:#c6bde9;--key-edge:#9789bd}
.key-software{--key-top:#ffe5ec;--key-bottom:#eebdcc;--key-edge:#c18c9d}
.key-business{--key-top:#fff0d2;--key-bottom:#eccb96;--key-edge:#bfa06d}
.key-cap{display:flex;position:relative;flex-direction:column;justify-content:center;min-height:128px;padding:24px 16px 23px;border:1px solid #ffffffb8;border-radius:14px;background:linear-gradient(145deg,var(--key-top),var(--key-bottom));box-shadow:inset 0 3px 1px #ffffff9e,inset 0 -7px 0 #00000009;transition:transform .16s}
.key-number{font:10px ui-monospace,monospace;opacity:.6;margin-bottom:12px}.key-cap strong{font-size:15px;letter-spacing:.07em}.key-description{font-size:11px;line-height:1.5;margin-top:5px}.key-arrow{position:absolute;right:13px;top:10px;font-size:17px;opacity:.55}
.keyboard-key:hover{transform:translateY(-3px);box-shadow:0 7px 10px #24385330;color:#183250}.keyboard-key:active{transform:translateY(5px);box-shadow:0 1px 2px #24385320}.keyboard-key:active .key-cap{transform:translateY(5px)}.keyboard-key:focus-visible{outline:3px solid #286bc5;outline-offset:5px}.keyboard-block>p{margin-top:20px;font-size:13px}
@media(max-width:650px){.keyboard-deck{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px 13px 20px}.key-cap{min-height:105px;padding:15px 12px 18px}.key-cap strong{font-size:13px}.key-description{font-size:10px}.key-number{margin-bottom:7px}.hero .keyboard-block{width:calc(100% - 36px)}}
@media(prefers-reduced-motion:reduce){.keyboard-key,.key-cap{transition:none}}

/* Compact sculpted keycaps: a recessed face, sloped rim, and short front wall
   give each link the proportions of a physical keyboard key. */
.hero .keyboard-block{width:min(660px,calc(100% - 40px));margin:18px auto 8px}
.keyboard-deck{gap:10px;padding:11px 11px 16px;border-radius:14px;background:linear-gradient(165deg,#edf0f5,#cbd2de);border-color:#b8c1ce;box-shadow:inset 0 1px 1px #fff,0 3px 0 #9da9ba,0 7px 12px #26395220}
.keyboard-key{padding-bottom:6px;border-radius:9px;box-shadow:0 2px 2px #18283d45;--key-top:#e0eaf4;--key-bottom:#c1cfdf;--key-edge:#8798ad}
.key-embedded{--key-top:#e9e5f1;--key-bottom:#cfc7df;--key-edge:#9c91ae}
.key-software{--key-top:#f3e5e8;--key-bottom:#dec6cd;--key-edge:#ae929c}
.key-business{--key-top:#f1eadc;--key-bottom:#dcd0b8;--key-edge:#ad9e80}
.key-cap{min-height:82px;padding:16px 12px 14px;border-radius:9px;border:1px solid #ffffff85;background:linear-gradient(165deg,var(--key-top),var(--key-bottom));box-shadow:inset 0 2px 1px #fff9,inset 5px 0 3px #fff3,inset -5px 0 3px #00000008,inset 0 -8px 2px #0000000e}
.key-cap::before{content:'';position:absolute;inset:5px 7px 10px;border-radius:6px;border:1px solid #ffffff55;background:linear-gradient(180deg,#00000004,#ffffff20);box-shadow:inset 0 1px 3px #26364a0d;pointer-events:none}
.key-cap strong,.key-description{position:relative;z-index:1}
.key-cap strong{font:600 11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.035em;text-shadow:0 1px #ffffff70}
.key-description{font-size:8px;line-height:1.35;margin-top:5px;max-width:105px;color:#4c5c70}
.key-number{display:none}.key-arrow{font-size:10px;top:9px;right:11px;opacity:.4}
.keyboard-block>p{font-size:11px;margin-top:13px}
.keyboard-key:hover{transform:translateY(-1px);box-shadow:0 3px 5px #24385335}.keyboard-key:active{transform:translateY(3px)}.keyboard-key:active .key-cap{transform:translateY(2px)}
@media(max-width:650px){.hero .keyboard-block{width:min(450px,calc(100% - 32px))}.keyboard-deck{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px 10px 15px}.key-cap{min-height:70px;padding:14px 14px}.key-cap strong{font-size:11px}.key-description{font-size:9px;max-width:none}}

/* The puzzle has continuous interlocking edges and an extruded lower layer.
   The straight alignment keeps the labels level while the lower layer shows depth. */
.hero .sculpted-puzzle{width:min(740px,calc(100% - 32px));margin:20px auto 5px;perspective:850px}
.puzzle-sculpture{width:100%;display:block;overflow:visible;transform:none;filter:drop-shadow(0 12px 9px #31476c18)}
.piece-lift{filter:url(#piece-shadow);transition:translate .22s}.sculpted-piece:hover .piece-lift,.sculpted-piece:focus-visible .piece-lift{translate:0 -7px}.sculpted-piece:active .piece-lift{translate:0 3px}.sculpted-piece:focus-visible{outline:none}.sculpted-piece:focus-visible .piece-label{fill:#064b99;text-decoration:underline}
.piece-label{font:700 17px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:1px;fill:#2d3f5b}.piece-caption{font:11px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;fill:#4d5b73}.sculpted-puzzle>p{font-size:11px;margin-top:0}
@media(max-width:650px){.hero .sculpted-puzzle{width:calc(100% - 24px)}.piece-caption{display:none}.piece-label{font-size:21px;transform:translateY(10px)}.sculpted-puzzle>p{font-size:10px}}
@media(prefers-reduced-motion:reduce){.piece-lift{transition:none}}
