/* Zafar Amini — one shared visual system for the whole portfolio. */
:root{--ink:#524646;--muted:#6c625a;--taupe:#A8A492;--paper:#FCF2E5;--accent:#EC5B38;--line:#a8a49280;--surface:#a8a4920e;--radius:20px;--gap:20px;--section-pad:48px;--page-gutter:clamp(20px,4vw,64px);font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-size:16px;line-height:1.65;background:var(--paper);color:var(--ink);padding-bottom:105px}body,button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}svg{vertical-align:middle}button{border:0}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{line-height:1.22;font-weight:650;letter-spacing:-.035em}p{color:var(--muted)}em{font-family:Georgia,'Times New Roman',serif;font-weight:400}a:focus-visible,button:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}::selection{background:#ec5b3835;color:var(--ink)}[hidden]{display:none!important}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}.ui-icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.inline-arrow{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
main{width:min(1240px,calc(100% - var(--page-gutter)*2));margin:24px auto 0;display:flex;flex-direction:column;gap:32px}main>section{width:100%;min-width:0;margin:0;padding:var(--section-pad);border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);scroll-margin-top:24px}main>section h2{font-size:clamp(30px,3.1vw,42px)}.section-heading,.projects-top{margin:0 0 36px;text-align:center}.section-heading h2,.projects-top h2{margin-bottom:16px}.section-heading p,.projects-top p,.languages>div:first-child>p,.human>p{font-size:16px;line-height:1.65;max-width:640px;margin:0 auto}.accent-blue,.accent-purple,.accent-teal,.accent-orange{color:inherit;background:linear-gradient(transparent 75%,#ec5b3828 75%);box-decoration-break:clone}.text-link{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:650;border-bottom:1px solid var(--taupe);padding:4px 0}.text-link:hover{border-color:var(--accent)}
/* Every content card shares this single frame. */
.project,.toolkit>article,.timeline article,.language-grid article,.engagement-grid article,.reference-grid article{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:none;overflow:hidden}.project,.toolkit>article,.language-grid article,.engagement-grid article,.reference-grid article{padding:24px}.project:hover{border-color:var(--accent);box-shadow:0 8px 24px #5246460a;transform:translateY(-3px)}
/* First screen. */
#home{position:relative;isolation:isolate;overflow:hidden;padding:0;height:calc(100svh - 48px);max-height:800px;min-height:630px;background:radial-gradient(ellipse at 53% 75%,#ec5b3809,transparent 63%)}.hero-cv{position:absolute;z-index:3;left:var(--section-pad);top:54px;width:32%;max-width:375px;text-align:left}.hero-name{font-size:12px;font-weight:700;letter-spacing:.65px;text-transform:uppercase;margin-bottom:20px;color:var(--ink)}.hero-cv h1{font-size:clamp(30px,3.25vw,46px);line-height:1.1;letter-spacing:-1.6px;margin-bottom:26px}.hero-cv h1>span:last-child{font-size:.9em;white-space:nowrap}.hero-line{color:var(--ink)}.hero-student{border-left:3px solid var(--accent);padding:10px 12px;background:#a8a49215;border-radius:0 10px 10px 0;margin-bottom:20px}.hero-student span{display:block;font-size:15px;font-weight:750;line-height:1.5}.hero-student strong{display:block;font-size:13px;line-height:1.65;font-weight:500;margin-top:3px}.hero-summary{font-size:15px;line-height:1.7;margin-bottom:22px;max-width:345px}.recruiter-actions{display:grid;gap:10px;max-width:345px}.recruiter-actions a{display:flex;gap:9px;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:14px;line-height:1.4;font-weight:650;background:var(--paper);transition:background .2s,transform .2s}.recruiter-actions .recruiter-primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}.recruiter-actions a:hover{transform:translateY(-2px)}.recruiter-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.recruiter-actions svg{width:18px;height:18px;flex-shrink:0}.reference-character{position:absolute;z-index:2;left:54%;transform:translateX(-50%);bottom:0;height:calc(100% - 28px);width:44%;pointer-events:none}.reference-character img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.hero-facts{position:absolute;z-index:3;top:60px;right:var(--section-pad);width:19%;max-width:200px;text-align:right;display:grid;gap:30px}.hero-facts h2{font-size:19px;line-height:1.25;letter-spacing:-.4px;margin-bottom:10px}.hero-facts p{font-size:13px;line-height:1.75}
/* Compact evidence. */
.proof-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:24px 0 30px;margin-bottom:40px;border-bottom:1px solid var(--line);text-align:center}.proof-strip strong{display:flex;align-items:baseline;justify-content:center;font-size:48px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-2px;color:var(--ink);margin-bottom:12px}.proof-strip p{font-size:15px;font-weight:650;color:var(--ink);line-height:1.5}.proof-strip small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:5px}.odometer{display:inline-flex;line-height:1;gap:0}.digit-window{display:block;overflow:hidden;height:1em;width:.59em;line-height:1}.digit-reel{display:flex;flex-direction:column;transform:translateY(0);transition:transform 1.8s cubic-bezier(.16,.8,.24,1);line-height:1;transition-delay:var(--digit-delay,0ms)}.digit-cell{height:1em;line-height:1;flex-shrink:0;display:block;text-align:center;letter-spacing:0}.odometer.is-counted .digit-reel{transform:translateY(calc(var(--digit-steps) * -1em))}.counter-plus{font-size:.65em;margin-left:2px;color:var(--accent)}.projects-top .text-link{margin-top:18px}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}.project{display:flex;flex-direction:column;padding:0;text-align:left;transition:transform .2s,border-color .2s,box-shadow .2s;min-width:0}.project-visual{position:relative;aspect-ratio:4/3;padding:8px;background:#fff;border-bottom:1px solid var(--line);width:100%}.project-photo{width:100%;height:100%;object-fit:contain}.project-caption{position:relative;padding:18px 30px 20px 18px;flex:1}.project h3{font-size:17px;line-height:1.35;letter-spacing:-.4px;margin:0 0 9px}.project-caption p{font-size:12px;line-height:1.6}.project-indicator{position:absolute;right:12px;top:21px}.project-indicator svg{width:15px;height:15px}.project-open{position:absolute;left:50%;bottom:12px;transform:translate(-50%,8px);opacity:0;display:flex;align-items:center;gap:7px;white-space:nowrap;background:var(--ink);color:var(--paper);border:1px solid var(--ink);padding:7px 12px;border-radius:10px;font-size:12px;font-weight:650;transition:.2s}.project-open>span{font-size:21px;line-height:1;color:var(--paper)}.project:hover .project-open,.project:focus-visible .project-open{opacity:1;transform:translate(-50%,0)}
/* Toolbox, using exactly the same cards and heading scale. */
.tools-panel{padding:0;margin:0}.toolkit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}.toolkit>article{text-align:center}.toolkit-heading{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:24px}.toolkit-heading .ui-icon{color:var(--ink)}.toolkit h3{font-size:22px;letter-spacing:-.5px}.exploring h3:after{content:'En cours';display:block;font-family:Arial,sans-serif;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:1px;margin-top:8px;color:var(--muted)}.brand-grid{display:flex;flex-wrap:wrap;gap:18px;justify-content:center;align-items:start;margin-bottom:28px}.brand{display:flex;flex-direction:column;align-items:center;gap:8px;width:72px;min-width:0;font-size:12px;line-height:1.5;letter-spacing:0}.brand svg{width:31px;height:31px;background:#fff;padding:3px;border-radius:6px}.skill-groups{display:grid;gap:20px}.skill-group h4{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:750;letter-spacing:.6px;text-transform:uppercase;margin-bottom:10px;color:var(--ink)}.skill-group h4 svg{width:16px;height:16px}.skill-group ul{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;list-style:none;padding:0;margin:0}.skill-group li{display:flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #a8a49260;border-radius:7px;background:#a8a49212;font-size:13px;line-height:1.6}.skill-group li svg{width:13px;height:13px;opacity:.6}
/* Parallel timelines; identical frames, logos and text hierarchy. */
.journey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}.journey-grid>div>h3{font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:1px;padding-bottom:17px;margin-bottom:20px;border-bottom:1px solid var(--line)}.timeline{display:grid;gap:16px}.timeline article{position:relative;padding:22px 96px 22px 23px;min-height:176px;overflow:visible}.timeline article:before{content:'';position:absolute;left:-4px;top:30px;width:7px;height:7px;border-radius:50%;background:var(--accent)}.timeline small{display:block;font-family:Arial,sans-serif;font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:12px}.timeline h4{font-size:19px;line-height:1.35;letter-spacing:-.5px;margin-bottom:8px}.timeline p{font-size:14px;line-height:1.7}.institution-logo{position:absolute;right:20px;top:22px;width:56px;height:52px;padding:6px;background:#fff;border:1px solid #a8a49240;border-radius:10px;display:grid;place-items:center}.institution-logo img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain}.own-company{display:table;margin-top:9px;padding:3px 7px;border:1px solid #a8a49260;border-radius:6px;font-size:10px;line-height:1.4;font-weight:600;letter-spacing:.25px;background:#ec5b380d}
/* Languages and human side. */
.languages>div:first-child{text-align:center;margin-bottom:36px}.languages h2{margin-bottom:16px}.language-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}.language-grid article{text-align:center}.language-grid article>span{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;margin:0 auto 17px;font-size:15px;font-weight:650;background:#a8a49215}.language-grid h4{font-size:20px;line-height:1.3;margin-bottom:8px}.language-grid p{font-size:14px;min-height:23px;line-height:1.6}.language-meter{display:flex;gap:4px;margin:22px auto 10px;max-width:170px}.language-meter i{height:6px;flex:1;border-radius:4px;background:#a8a49245}.language-meter .filled{background:var(--accent);animation:meter-reveal .5s both;animation-delay:var(--segment-delay)}.language-scale{font-size:11px;color:var(--muted)}.human{margin-top:44px;padding-top:40px;border-top:1px solid var(--line);text-align:center}.human h3{font-size:27px;line-height:1.3;margin-bottom:12px}.engagement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap);margin-top:28px}.engagement-icon{display:grid;place-items:center;width:38px;height:38px;margin:0 auto 14px;color:var(--ink);font-size:30px;line-height:1}.engagement-icon svg{width:34px;height:34px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}.engagement-date{font-size:12px;color:var(--muted);display:block;margin-bottom:8px}.engagement-grid h4{font-size:20px;margin-bottom:9px}.engagement-grid p{font-size:14px;line-height:1.65}
/* Referees. */
.reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}.reference-grid article{text-align:center;padding:24px 17px;min-width:0}.reference-logo,.reference-teacher{height:50px;width:80px;margin:0 auto 18px;display:grid;place-items:center;background:#fff;border:1px solid #a8a49240;border-radius:10px;padding:5px}.reference-logo img{max-height:100%;width:auto;max-width:100%;object-fit:contain}.reference-teacher{width:50px;font-family:Georgia,serif;font-size:25px;background:#a8a49215}.reference-grid h3{font-size:17px;line-height:1.35;margin-bottom:9px}.reference-role{font-size:12px;line-height:1.6;min-height:40px;margin-bottom:14px}.reference-email{display:inline-flex;justify-content:center;align-items:start;gap:5px;font-size:11px;line-height:1.6;max-width:100%;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px}.reference-email svg{width:13px;height:13px;flex-shrink:0;margin-top:3px}.references-note{text-align:center;font-size:13px;line-height:1.6;margin-top:25px}
/* Contact: the same geometry, one intentional darker ending. */
#contact{position:relative;isolation:isolate;overflow:hidden;background:var(--ink);border-color:var(--line);color:var(--paper);text-align:center}#contact p{color:var(--paper);opacity:.85;margin-top:18px;font-size:15px;line-height:1.7}#contact h2{margin-top:23px}.contact-art{position:absolute;inset:0;z-index:-1;opacity:.11;pointer-events:none}.contact-art svg{width:100%;height:100%;stroke:var(--taupe);stroke-width:1;fill:none}.contact-art g circle{fill:var(--accent)}.contact-finish-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #fcf2e540;border-radius:12px;margin:0 auto 22px;color:var(--paper)}.eyebrow{display:flex;justify-content:center;align-items:center;gap:8px;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.7px;line-height:1.6}.dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0}.contact-email{display:inline-flex;gap:10px;align-items:center;font-size:clamp(18px,2.5vw,28px);line-height:1.4;padding-bottom:7px;border-bottom:1px solid #fcf2e550;margin-top:27px;max-width:100%;overflow-wrap:anywhere}.socials,.document-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:25px}.document-actions{margin-top:12px}.contact-link,.document-button{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #fcf2e550;border-radius:10px;padding:13px 18px;min-height:48px;font-size:14px;line-height:1.5;background:#fcf2e507;transition:background .2s}.contact-link:hover,.document-button:hover{background:#fcf2e515}.contact-link>svg,.document-button>svg{width:21px;height:21px;flex-shrink:0}.contact-link .link-arrow{margin-left:3px}.document-button{text-align:left;min-width:180px}.document-button small{display:block;font-size:11px;opacity:.75;margin-top:3px}body>footer{width:min(1240px,calc(100% - var(--page-gutter)*2));margin:24px auto 0;display:flex;justify-content:center;flex-wrap:wrap;gap:10px 28px;font-size:12px;line-height:1.7;color:var(--muted);padding:0 10px}
/* Consistent dock and controls. */
.nav-dock{position:fixed;z-index:50;left:50%;bottom:20px;transform:translateX(-50%);padding:7px;border:1px solid var(--line);border-radius:16px;background:#fcf2e5f2;backdrop-filter:blur(14px);box-shadow:0 8px 30px #52464616;transition:transform .25s,opacity .25s;max-width:calc(100% - 24px)}.nav-dock.scroll-hidden{transform:translate(-50%,calc(100% + 40px));opacity:0;pointer-events:none}#bottom-navigation{display:flex;gap:5px}.dock-link{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;color:var(--ink);transition:background .2s}.dock-link:hover,.dock-link.active{background:#a8a4922b}.dock-link.active:after{content:'';position:absolute;bottom:4px;width:4px;height:4px;border-radius:50%;background:var(--accent)}.dock-label{position:absolute;bottom:calc(100% + 16px);left:50%;transform:translate(-50%,5px);border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:6px 10px;color:var(--ink);font-size:11px;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:.15s}.dock-link:hover .dock-label,.dock-link:focus-visible .dock-label{opacity:1;visibility:visible;transform:translate(-50%,0)}
/* Project workspace; it uses the same border, radius, spacing and palette. */
html.modal-open{overflow:hidden}#details{inset:0;margin:auto;width:min(1160px,calc(100% - 48px));height:max-content;max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);color:var(--ink);overflow:hidden;box-shadow:0 30px 100px #52464640}#details[open]{display:block;animation:modal-in .2s ease-out}#details::backdrop{background:#524646b0;backdrop-filter:blur(6px)}#detail-content{display:flex;flex-direction:column;max-height:90dvh;min-height:0}.project-modal-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;width:100%;padding:24px 28px;border-bottom:1px solid var(--line)}.project-modal-header p{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.7px;line-height:1.5;margin-bottom:8px}.project-modal-header h2{font-size:30px;line-height:1.25;letter-spacing:-1px}.project-modal-close{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:#a8a49215;color:var(--ink)}.project-modal-close svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none}.project-modal-close:hover{background:#a8a49230}.project-modal-content{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px;padding:24px 28px;overflow-y:auto;overscroll-behavior:contain;min-height:0;align-items:start}.project-drawing{padding:12px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.project-drawing img{width:100%;height:auto;max-height:380px;object-fit:contain}.project-drawing figcaption{font-size:11px;text-align:center;padding:12px 0 10px;line-height:1.5;color:var(--muted)}.project-zoom{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px;background:var(--paper);border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:650}.project-zoom svg{width:15px;height:15px}.project-overview{min-width:0}.project-introduction{font-size:15px;line-height:1.7;margin-bottom:20px}.project-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#a8a49210;margin-bottom:22px}.project-tabs button{flex:1;min-width:0;min-height:40px;padding:8px 6px;background:transparent;border-radius:7px;font-size:13px;font-weight:650}.project-tabs button[aria-selected=true]{background:var(--ink);color:var(--paper)}.project-tab-panels section{padding:0;margin:0;border:0;background:none;text-align:left}.project-tab-panels h3{font-size:16px;line-height:1.4;letter-spacing:-.2px;margin-bottom:9px}.project-tab-panels p,.project-tab-panels li{font-size:15px;line-height:1.7}.project-tab-panels ul{display:grid;gap:12px;margin:0;padding-left:19px}.project-tab-panels li::marker{color:var(--accent)}.project-result{margin-top:20px;border-left:3px solid var(--accent);padding:14px 16px;background:#a8a49210;border-radius:0 10px 10px 0}.project-result h3{font-size:12px;text-transform:uppercase;letter-spacing:.6px}.project-result p{font-size:14px}.project-tool-tags{display:flex;flex-wrap:wrap;gap:8px}.project-tool-tags span{font-size:13px;line-height:1.5;border:1px solid var(--line);padding:6px 10px;background:#a8a49210;border-radius:7px}.project-tool-note{font-size:13px!important;margin-top:20px}.project-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;width:100%;margin:0;padding:18px 28px;border-top:1px solid var(--line);background:#a8a4920e}.project-modal-footer>span{font-size:11px;line-height:1.5;color:var(--muted)}.project-modal-footer>div{display:flex;gap:10px;flex-wrap:wrap}.project-modal-footer a{display:flex;gap:8px;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:10px;font-size:13px;font-weight:650}.project-modal-footer .project-gitlab{background:var(--paper);color:var(--ink);border-color:var(--line)}.project-modal-footer a svg{width:16px;height:16px}
.scroll-reveal{opacity:0;transform:translateY(12px);transition:opacity .45s,transform .45s;transition-delay:var(--enter-delay,0ms)}.scroll-reveal.in-view{opacity:1;transform:none}@keyframes modal-in{from{opacity:0;scale:.98}to{opacity:1;scale:1}}@keyframes meter-reveal{from{opacity:.25}to{opacity:1}}
/* The same tokens scale down together; no section gets its own outer margins. */
@media(max-width:1100px){:root{--section-pad:32px}.project-grid,.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-visual{aspect-ratio:2/1}.project h3{font-size:19px}.project-caption p{font-size:13px}.reference-grid article{padding:24px}.reference-role{font-size:14px;min-height:0}.reference-email{font-size:13px}.hero-cv{width:34%;top:40px}.hero-cv h1{font-size:33px}.hero-name{font-size:11px}.hero-student strong{font-size:12px}.hero-summary{font-size:14px}.hero-facts{width:18%;top:44px;gap:25px}.hero-facts h2{font-size:17px}.hero-facts p{font-size:12px}.reference-character{left:55%;width:45%}.timeline article{padding-right:85px}.institution-logo{right:16px;width:50px;height:48px}.timeline h4{font-size:18px}.proof-strip strong{font-size:42px}.language-grid article{padding:20px 14px}}
@media(max-width:850px){:root{--page-gutter:24px;--section-pad:28px;--gap:16px}main{gap:24px}#home{height:calc(100svh - 48px);max-height:850px;min-height:660px}.hero-cv{left:var(--section-pad);top:36px;width:60%;max-width:370px}.hero-cv h1{font-size:34px}.hero-facts{display:none}.reference-character{left:70%;height:51%;width:70%}.toolkit h3{font-size:20px}.brand-grid{gap:12px}.brand{width:66px}.journey-grid{grid-template-columns:1fr;gap:30px}.timeline article{min-height:145px}.language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.engagement-grid{grid-template-columns:1fr}.engagement-grid article{padding:22px}.proof-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.project-modal-content{grid-template-columns:1fr;padding:22px}.project-drawing img{max-height:300px}.project-modal-header{padding:22px}.project-modal-header h2{font-size:26px}.project-modal-footer{padding:16px 22px}.project-modal-footer>span{display:none}.project-modal-footer>div{width:100%}.project-modal-footer a{flex:1}#details{width:calc(100% - 32px);max-height:92dvh}#detail-content{max-height:92dvh}}
@media(max-width:600px){:root{--page-gutter:16px;--section-pad:20px;--radius:16px;--gap:16px}body{padding-bottom:94px}main{margin-top:16px;gap:20px}main>section{scroll-margin-top:16px}.section-heading,.projects-top{margin-bottom:28px}main>section h2{font-size:30px;line-height:1.2;letter-spacing:-1px}.section-heading p,.projects-top p,.languages>div:first-child>p,.human>p{font-size:14px}.section-heading h2,.projects-top h2{margin-bottom:14px}#home{height:calc(100svh - 32px);min-height:640px;max-height:820px}.hero-cv{left:20px;right:20px;top:26px;width:auto;max-width:360px}.hero-name{font-size:10px;margin-bottom:16px;letter-spacing:.5px}.hero-cv h1{font-size:clamp(26px,8vw,34px);line-height:1.1;margin-bottom:20px;letter-spacing:-.9px}.hero-cv h1>span:last-child{font-size:1em}.hero-student{padding:8px 10px;margin-bottom:16px}.hero-student span{font-size:14px}.hero-student strong{font-size:11px;margin-top:2px}.hero-summary{font-size:14px;line-height:1.6;margin-bottom:18px;max-width:310px}.recruiter-actions{max-width:310px;gap:8px}.recruiter-actions>div{gap:8px}.recruiter-actions a{font-size:12px;min-height:43px;padding:9px 8px}.recruiter-actions svg{width:17px;height:17px}.reference-character{left:68%;width:88%;height:min(44%,calc(100% - 460px))}.proof-strip{padding-top:8px;padding-bottom:27px;margin-bottom:28px;gap:25px 12px}.proof-strip strong{font-size:36px;margin-bottom:9px}.proof-strip p{font-size:13px}.proof-strip small{font-size:11px}.project-grid,.toolkit,.reference-grid{grid-template-columns:1fr}.project-visual{aspect-ratio:1.85}.project-caption{padding:17px 35px 18px 17px}.project h3{font-size:18px}.toolkit>article{padding:24px 18px}.toolkit h3{font-size:21px}.brand-grid{gap:12px}.brand{width:62px;font-size:11px}.skill-group li{font-size:12px}.timeline article{padding:20px 78px 20px 20px}.timeline h4{font-size:18px}.timeline p{font-size:13px}.timeline small{font-size:11px}.institution-logo{right:14px;top:20px;width:47px;height:46px}.own-company{font-size:9px}.language-grid{gap:12px}.language-grid article{padding:20px 12px}.language-grid h4{font-size:18px}.language-grid p{font-size:12px;min-height:40px}.language-meter{margin-top:15px}.human{margin-top:30px;padding-top:28px}.human h3{font-size:24px}.engagement-grid h4{font-size:20px}.reference-grid article{padding:24px 18px}.reference-grid h3{font-size:19px}.reference-role{font-size:14px}.reference-email{font-size:13px}.references-note{font-size:12px}#contact p{font-size:14px}.contact-email{font-size:clamp(15px,4.8vw,22px);gap:6px}.contact-email svg{width:16px;height:16px}.socials,.document-actions{gap:10px}.contact-link,.document-button{padding:11px 12px;font-size:13px}.document-actions{display:grid;grid-template-columns:1fr;width:100%;max-width:330px;margin-inline:auto}.document-button{width:100%;min-width:0;justify-content:flex-start}.eyebrow{font-size:10px;letter-spacing:.4px}body>footer{margin-top:20px;font-size:11px;gap:4px 18px}.nav-dock{bottom:max(12px,env(safe-area-inset-bottom));padding:6px;border-radius:14px}#bottom-navigation{gap:3px}.dock-link{width:36px;height:40px;border-radius:9px}.dock-link svg{width:20px;height:20px}.dock-label{font-size:10px}.dock-link:first-child .dock-label{left:0;transform:translate(0,5px)}.dock-link:first-child:hover .dock-label,.dock-link:first-child:focus-visible .dock-label{transform:translate(0,0)}.dock-link:last-child .dock-label{left:auto;right:0;transform:translate(0,5px)}.dock-link:last-child:hover .dock-label,.dock-link:last-child:focus-visible .dock-label{transform:translate(0,0)}#details{width:calc(100% - 18px)}.project-modal-header{padding:17px;gap:12px}.project-modal-header h2{font-size:23px}.project-modal-header p{font-size:10px;letter-spacing:.4px}.project-modal-close{width:36px;height:36px}.project-modal-content{padding:17px;gap:20px}.project-introduction,.project-tab-panels p,.project-tab-panels li{font-size:14px}.project-drawing{padding:9px}.project-drawing img{max-height:245px}.project-tabs button{font-size:12px;min-height:40px}.project-modal-footer{padding:14px 17px}.project-modal-footer a{font-size:12px;padding:10px}.project-tool-tags span{font-size:12px}.project-result p{font-size:13px}}
@media(max-width:360px){.dock-link{width:32px}.hero-cv h1{font-size:26px}.hero-summary{font-size:13px}.hero-name{font-size:9px}.hero-student strong{font-size:10px}.recruiter-actions a{font-size:11px}.language-grid h4{font-size:16px}.language-grid p{font-size:11px}.project-modal-header h2{font-size:21px}.project-tabs{gap:2px}.project-tabs button{font-size:11px}}
@media(hover:none){.project-open{opacity:1;transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.scroll-reveal{opacity:1;transform:none}.digit-reel{transition:none}}
@media(max-width:600px){.hero-student strong{font-size:12px}.recruiter-actions>div>a{white-space:nowrap;gap:6px}.recruiter-actions>div>a svg{width:15px;height:15px}}
@media(max-width:360px){.hero-name{font-size:10px}.hero-student strong{font-size:12px}}
