/* Final layout: backgrounds and rails fill the browser; text keeps comfortable line lengths. */
html,body,main{width:100%;max-width:100%;margin:0}body{overflow-x:clip}.wrap{width:100%;max-width:none!important;padding-inline:clamp(20px,3.4vw,70px)}.site-nav .wrap{max-width:none}.section{width:100%}.about-text-only p{max-width:76ch}.about-text-only{margin:0}.site-footer .wrap{width:100%}.editorial-hero{height:clamp(650px,84svh,880px);position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 65%,#3C2B28 0,#232426 36%,#17191C 76%);border-bottom:1px solid var(--line)}.hero-aura{position:absolute;width:42vw;height:42vw;max-width:720px;max-height:720px;left:50%;bottom:-15%;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,75,50,.15),transparent 68%);z-index:-1}.hero-name{position:absolute;inset:100px 0 auto;text-align:center;white-space:nowrap;font-family:var(--font-display);font-size:10.9vw;line-height:1;font-weight:700;letter-spacing:-.065em;color:#B9BDC0;z-index:0;opacity:.85}.editorial-portrait{position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);height:94%;width:auto;max-width:65%;object-fit:contain;object-position:bottom;z-index:2;filter:drop-shadow(0 0 35px #FF4B320A);mask-image:linear-gradient(#000 90%,transparent)}.editorial-topline{position:absolute;top:34px;left:3.4vw;right:3.4vw;display:flex;justify-content:space-between;gap:20px;color:#B7BDC2;font:9px var(--font-mono);text-transform:uppercase;letter-spacing:.13em}.editorial-copy{position:absolute;bottom:58px;left:3.4vw;width:26%;max-width:430px;z-index:3}.editorial-copy h1{font-size:clamp(28px,2.7vw,47px);line-height:1.12;letter-spacing:-.045em;margin:17px 0}.editorial-copy h1 em{color:var(--coral);font-style:normal}.editorial-copy>p{color:#BDC4CB;font-size:12px;line-height:1.8}.editorial-copy .hero-actions{gap:18px;margin-top:22px}.editorial-copy .btn{font-size:11px;padding:11px 16px}.editorial-note{position:absolute;bottom:85px;right:3.4vw;width:21%;max-width:270px;z-index:3}.tiny-label{font:9px var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:#B8BEC5}.editorial-note p{font-size:clamp(24px,3vw,48px);font-family:var(--font-display);line-height:1.15;letter-spacing:-.035em;margin:18px 0}.editorial-note a{font:11px var(--font-mono);padding-bottom:7px;border-bottom:1px solid var(--coral);color:#FF8A79}.hero-down{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:4;color:#FF8A79;font-size:24px}.proof-grid{padding-top:27px;padding-bottom:27px}.project-viewport-shell{width:100%;padding:0}.project-viewport-shell .row-controls{padding-inline:3.4vw;margin:0 0 18px}.row-controls .project-pause{width:auto;height:38px;border-radius:6px;font-size:11px;padding:0 14px}.projects-scroller{width:100%;overflow-x:auto;scrollbar-width:none;outline-offset:-5px}.projects-scroller::-webkit-scrollbar{display:none}.projects-track{display:flex;width:max-content;animation:project-drift 65s linear infinite;will-change:transform}.projects-group{display:flex;width:max-content;gap:20px;padding:5px 20px 15px 0;flex-shrink:0}.projects-group .project-tile{width:clamp(280px,29vw,440px);flex:0 0 auto;min-height:590px;display:flex;flex-direction:column;padding-bottom:27px;cursor:pointer;transform-origin:center center}.project-tile .desc{flex:1}.project-tile .project-art{height:180px;flex-shrink:0}.project-tile .project-open{position:static;width:max-content}.project-tile .project-open::after{content:'';position:absolute;inset:0;z-index:3;border-radius:10px}.project-tile:focus-within{border-color:var(--coral)}.projects-scroller:hover .projects-track,.projects-scroller:focus-within .projects-track,.projects-scroller.motion-paused .projects-track{animation-play-state:paused}@keyframes project-drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Uploaded marks retain their own colours, with glow behind them rather than recolouring. */
.tool-group li{position:relative;isolation:isolate;width:160px;height:132px;overflow:hidden;background:radial-gradient(ellipse at 30% 0%,#55332B 0%,#28292D 52%,#1F2428 100%);border-color:#FF4B322B}.tool-group li:nth-child(3n+2){background:radial-gradient(ellipse at 30% 0%,#34434B 0%,#252B30 52%,#1F2327 100%)}.tool-group li:nth-child(3n){background:radial-gradient(ellipse at 60% 0%,#4A4033 0%,#2B2827 52%,#202326 100%)}.tool-group li::before{content:'';position:absolute;z-index:-1;top:15px;left:30%;width:40%;height:55%;border-radius:50%;background:radial-gradient(ellipse,#FF795638,transparent 70%);filter:blur(8px)}.tool-group li:nth-child(3n+2)::before{background:radial-gradient(ellipse,#A2C0CE30,transparent 70%)}.tool-group img{width:44px;height:44px;filter:drop-shadow(0 0 8px #FFFFFF12)}.tool-group .wide-logo{width:85px;height:37px}.tool-group .white-logo{width:64px;height:48px;object-fit:cover;border-radius:6px;background:white}.tool-group span{font-size:10px;color:#E0E2E4}.tools-section{background:linear-gradient(110deg,#262427,#191E23 55%,#292122)}
/* Intro appears only when JavaScript starts it. It never locks scrolling or focus. */
.site-intro{display:none;pointer-events:none}.intro-active .site-intro{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#17191C;gap:15px;animation:intro-out .4s .65s both}.intro-name{font:700 clamp(22px,6vw,70px) var(--font-display);letter-spacing:-.05em;color:var(--text);animation:intro-in .5s both}.intro-label{font:9px var(--font-mono);letter-spacing:.22em;color:#FF8A79}.intro-line{width:min(260px,60vw);height:2px;background:#FF4B32;transform-origin:left;animation:intro-line .65s both}@keyframes intro-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes intro-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes intro-out{to{opacity:0;visibility:hidden}}
.cursor-halo{display:none;pointer-events:none}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.cursor-enabled .cursor-halo{display:block;position:fixed;top:0;left:0;width:28px;height:28px;margin:-14px 0 0 -14px;z-index:9999;transition:transform .11s ease-out;will-change:transform}.cursor-halo::before{content:'';position:absolute;inset:0;border:1px solid #FF8A79A0;border-radius:50%;transition:transform .18s ease,background .18s,border-color .18s}.cursor-halo.hot::before{transform:scale(1.65);background:#FF4B3215;border-color:#FF4B32}.cursor-halo.down::before{transform:scale(.8)}}
@media(min-width:1800px){.editorial-copy>p{font-size:14px}.editorial-copy .btn{font-size:13px}.editorial-portrait{height:96%}.projects-group .project-tile{min-height:620px}.project-tile .desc{font-size:14px}}
@media(max-width:1000px){.editorial-copy{width:29%;bottom:58px}.editorial-copy h1{font-size:29px}.editorial-copy>p{font-size:11px}.editorial-note{width:21%;right:3vw}.editorial-note p{font-size:28px}.editorial-topline{font-size:8px}.editorial-portrait{height:86%;max-width:65%}.editorial-hero{height:680px}.hero-name{top:110px}.editorial-copy .hero-actions{gap:9px}.editorial-copy .btn{font-size:10px;padding:10px}.editorial-copy .cv-link{font-size:10px}}
@media(max-width:700px){.editorial-hero{height:auto;min-height:1000px;padding-top:26px;padding-bottom:30px;display:flex;flex-direction:column}.editorial-topline{position:relative;inset:auto;margin:0 22px;display:block;font-size:8px;line-height:1.8}.editorial-topline span{display:block}.hero-name{top:100px;font-size:11.1vw;opacity:.8}.editorial-portrait{position:relative;left:auto;bottom:auto;transform:none;height:auto;width:100%;max-width:540px;margin:28px auto 0;order:0;max-height:510px;object-fit:contain;mask-image:linear-gradient(#000 85%,transparent);z-index:2}.editorial-copy{position:relative;inset:auto;width:auto;max-width:none;margin:-20px 22px 0;z-index:3;order:1}.editorial-copy h1{font-size:clamp(31px,8vw,43px);max-width:16ch;margin:14px 0}.editorial-copy>p{font-size:13px;line-height:1.8;max-width:52ch}.editorial-copy .hero-actions{gap:18px}.editorial-copy .btn{font-size:12px;padding:12px 16px}.editorial-copy .cv-link{font-size:11px}.editorial-note{position:relative;inset:auto;width:auto;max-width:none;margin:28px 22px 0;order:2;border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:14px}.editorial-note .tiny-label{max-width:100px;font-size:8px}.editorial-note p{display:none}.editorial-note a{font-size:10px}.hero-down{display:none}.projects-group{gap:14px;padding-right:14px}.projects-group .project-tile{width:290px;min-height:570px}.projects-group .project-art{height:165px}.projects-track{animation-duration:65s}.tool-group li{width:145px}.section-head{flex-wrap:wrap}.hero-aura{width:100%;height:500px;max-height:none;bottom:auto;top:80px}.proof-grid{gap:22px}.site-nav .wrap{padding-inline:20px}.project-viewport-shell .row-controls{padding-inline:20px}}
@media(prefers-reduced-motion:reduce){.projects-track{animation:none;transform:none}.projects-group[aria-hidden="true"]{display:none}.site-intro,.cursor-halo{display:none!important}.project-tile,.btn{transition:none!important}}
@media(min-width:1001px){.editorial-copy{width:24%}.editorial-copy>p{font-size:12px}}
.hero-actions .btn,.project-open{font-family:Arial,sans-serif}
@media(max-width:700px){.editorial-topline{order:-1}.editorial-copy{margin-top:0}.editorial-hero{min-height:0}.editorial-copy .eyebrow{font-size:8px;line-height:1.6;letter-spacing:.07em;flex-wrap:wrap}}

.about-downloads{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

/* Branded loading curtain: real logo, restrained reveal, no artificial progress. */
.intro-active .site-intro{gap:15px;animation:logo-curtain-out .55s 1.1s cubic-bezier(.76,0,.24,1) both}
.intro-emblem{position:relative;display:grid;place-items:center;width:148px;height:124px;margin-bottom:5px}
.intro-emblem::before{content:'';position:absolute;inset:-20px;background:radial-gradient(ellipse,#ff4b321a,transparent 70%);animation:logo-halo 1.1s ease-out both}
.intro-logo{width:120px;height:auto;position:relative;object-fit:contain;animation:logo-reveal .85s cubic-bezier(.16,1,.3,1) both}
.intro-name{font-size:clamp(20px,3vw,38px);letter-spacing:.03em;animation:intro-in .6s .15s both}
.intro-label{font-size:8px;letter-spacing:.2em;animation:intro-in .6s .3s both}
.intro-line{width:88px;height:1px;animation:intro-line .85s .15s both}
@keyframes logo-reveal{0%{opacity:0;clip-path:inset(0 100% 0 0);transform:translateY(10px) scale(.94)}70%{opacity:1}100%{opacity:1;clip-path:inset(0 0 0 0);transform:none}}
@keyframes logo-halo{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
@keyframes logo-curtain-out{from{opacity:1;clip-path:inset(0 0 0 0)}to{opacity:1;clip-path:inset(0 0 100% 0);visibility:hidden}}

/* Profile marks fit inside their badges, with consistent breathing room. */
.hero-avatar{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;padding:17px;box-sizing:border-box;overflow:hidden;background:#24282c;border:1px solid #ffffff26}
.hero-avatar img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;transform:none}
.about-portrait{height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;filter:none}
.contact-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.contact-grid>*,.contact-card>div{min-width:0}.contact-card .value{overflow-wrap:anywhere}.contact-card .copy-btn{flex-shrink:0}
@media(max-width:860px){.contact-grid{grid-template-columns:minmax(0,1fr)}}
