:root{--paper:#f8f8f3;--ink:#1d211e;--accent:#adf443;--accent-hover:#c3ff6c;--accent-ink:#49a85d;--line:#ced1c8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--accent-ink);outline-offset:6px}.hero{position:relative;margin:16px;border-radius:30px;height:calc(100svh - 32px);min-height:680px;max-height:1120px;overflow:hidden;background:#84928c}.portrait{position:absolute;width:100%;height:100%;object-fit:cover;object-position:65% center}.film{opacity:0;transition:opacity .6s}.film.ready{opacity:1}.hero:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#10201855);pointer-events:none}nav{position:absolute;z-index:3;top:28px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:28px;padding:15px 25px;background:#171a18ee;color:white;border:1px solid #ffffff22;border-radius:60px;font-size:15px;backdrop-filter:blur(16px)}nav a{transition:color .2s}nav a:hover{color:var(--accent)}.monogram{font-size:24px;font-weight:650;line-height:1;position:relative}.monogram span{font-size:8px;position:absolute;right:-8px;top:-3px}.nav-divider{height:20px;width:1px;background:#ffffff50}.hero-intro{position:absolute;left:5%;top:35%;z-index:2}.hero-intro p{font-size:26px;margin:15px 0 4px;letter-spacing:-.7px}.hero-intro>span{font-size:18px}.live-dot{display:block;width:16px;height:16px;border-radius:50%;background:var(--accent);box-shadow:0 0 22px #adf44333}.hero-bottom{position:absolute;bottom:70px;left:4%;right:4%;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px}h1{font-size:clamp(70px,12.5vw,220px);font-weight:400;letter-spacing:-.075em;line-height:.95;margin:0;color:white;white-space:nowrap}.circle{display:grid;place-items:center;flex-shrink:0;width:70px;height:70px;border-radius:50%;background:var(--accent);font-size:36px;transition:transform .3s,background .3s}.circle:hover{transform:rotate(45deg);background:var(--accent-hover)}.hero-meta{position:absolute;bottom:25px;left:5%;right:5%;display:flex;justify-content:space-between;align-items:center;z-index:2;color:#fff;font-size:12px}.hero-meta button{border:0;background:none;color:white;cursor:pointer;font-size:12px}.section{margin:0 5%;padding:90px 0}.intro{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:9%;border-bottom:1px solid var(--line)}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:500}h2{font-size:clamp(46px,6vw,90px);font-weight:400;letter-spacing:-.06em;line-height:1.02;margin:32px 0}h2 span{color:#858d80}.intro p{font-size:21px;line-height:1.5;max-width:370px}.geometry{display:grid;grid-template-columns:repeat(5,1fr);gap:0;align-content:center}.shape{height:96px;display:grid;place-items:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);position:relative}.shape:nth-child(5n){border-right:0}.shape:before{content:'';width:50px;height:50px}.ring:before{border:2px solid var(--ink);border-radius:50%}.triangle:before{clip-path:polygon(50% 0,100% 100%,0 100%);background:#203f25}.lines:before{background:repeating-linear-gradient(to bottom,var(--ink) 0 2px,transparent 2px 10px)}.dot:before,.dark:before{border-radius:50%;background:var(--accent)}.dark:before{background:#193e22}.sun{font-size:69px;font-weight:200}.sun:before,.equals:before,.outline:before{display:none}.donut:before{border:15px solid var(--accent);border-radius:50%}.equals{font-size:80px;color:var(--accent);line-height:1}.outline{font-size:67px;font-weight:200}.geometry-label{grid-column:1/-1;margin-top:26px;font-size:10px;letter-spacing:.15em;text-align:center}.section-head{display:flex;justify-content:space-between;padding-bottom:30px;font-size:12px}.project{position:relative;display:flex;align-items:center;gap:30px;min-height:174px;border-top:1px solid var(--line);transition:padding .4s,color .3s}.project:last-child{border-bottom:1px solid var(--line)}.number{font-size:13px;align-self:center}.project h3{font-size:clamp(28px,4vw,58px);font-weight:400;letter-spacing:-.05em;margin:0 0 6px}.project p{margin:0;font-size:15px;color:#6d746b}.project-arrow{margin-left:auto;font-size:30px}.project img{position:absolute;z-index:4;right:10%;width:34%;height:310px;object-fit:cover;border-radius:18px;pointer-events:none;opacity:0;transform:translateY(20px) rotate(-5deg);transition:opacity .3s,transform .5s;box-shadow:0 20px 45px #15251930}.project:hover{padding-left:20px;color:var(--accent-ink)}.project:hover img,.project:focus-visible img{opacity:1;transform:translateY(0) rotate(-3deg)}footer.section{padding-top:60px;padding-bottom:30px}.contact-link{display:flex;align-items:center;justify-content:space-between}.contact-link h2{font-size:clamp(50px,8vw,120px);margin:30px 0 65px}.contact-link .circle{width:110px;height:110px;font-size:50px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:25px;font-size:12px}@media(min-width:1600px){.portrait{object-position:center 38%}}@media(max-width:700px){.hero{margin:8px;border-radius:22px;min-height:700px;height:calc(100svh - 16px);max-height:950px}.portrait{object-position:67% center}.hero:before{content:'';position:absolute;inset:0;background:#18231b22;z-index:1}nav{top:20px;gap:21px;padding:13px 20px;font-size:13px}.hero-intro{top:20%;left:7%;color:#fff}.hero-intro p{font-size:20px}.hero-intro>span{font-size:13px;display:block;max-width:150px;line-height:1.5}.live-dot{width:12px;height:12px}.hero-bottom{left:6%;right:6%;bottom:80px;gap:10px;align-items:flex-end}h1{white-space:normal;max-width:250px;font-size:78px;line-height:.88;letter-spacing:-.07em}.circle{width:48px;height:48px;font-size:28px}.hero-meta{font-size:10px;left:7%;right:7%;bottom:25px}.hero-meta>span{max-width:120px}.hero-meta>a{display:none}.section{margin:0 7%;padding:60px 0}.intro{grid-template-columns:1fr;gap:30px}.intro p{font-size:18px}.shape{height:70px}.shape:before{width:36px;height:36px}.sun{font-size:50px}.equals{font-size:60px}.outline{font-size:50px}.project{min-height:145px;gap:15px;flex-wrap:wrap;padding:24px 0}.project h3{font-size:30px}.project p{font-size:12px}.project img{display:none}.project-arrow{font-size:24px}.contact-link .circle{width:60px;height:60px;font-size:30px}.contact-link h2{font-size:52px}.footer-bottom{font-size:10px;gap:14px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
:root{--name-speed:80s}
.hero-bottom{left:0;right:0;bottom:70px;display:block}
.name-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.name-marquee{width:100%;overflow:hidden;color:white}
.name-track{display:flex;width:max-content;animation:name-scroll var(--name-speed) linear infinite reverse;will-change:transform}
.name-group{display:flex;flex:none;font-size:clamp(100px,17vw,280px);font-weight:400;letter-spacing:-.065em;line-height:1.1;white-space:nowrap}
.name-group>span{flex:none;padding-right:.15em}
.hero-bottom>.circle{position:absolute;right:4%;bottom:calc(100% + 20px)}
.name-marquee.is-paused .name-track{animation-play-state:paused}
#name-motion{border:0;background:none;color:white;cursor:pointer;font-size:12px}
@keyframes name-scroll{to{transform:translateX(-50%)}}
@media(max-width:700px){.hero-bottom{left:0;right:0;bottom:85px}.name-group{font-size:100px}.hero-bottom>.circle{right:6%;bottom:calc(100% + 18px)}#name-motion{font-size:10px}}
@media(prefers-reduced-motion:reduce){.name-track{animation:none;transform:none}#name-motion{display:none}}

::selection{background:#c7f000;color:#000;text-shadow:none}
::-moz-selection{background:#c7f000;color:#000;text-shadow:none}

.hero-intro>span{display:block;max-width:330px;font-size:17px;line-height:1.5;text-wrap:balance}
@media(max-width:700px){.hero-intro>span{max-width:180px;font-size:13px}}

.hero-intro>span{max-width:none;white-space:nowrap;text-wrap:nowrap}
.hero-meta{justify-content:flex-end}
@media(max-width:700px){.hero-intro>span{max-width:none;font-size:clamp(10px,2.7vw,13px)}}


.hero-bottom>.work-expand{display:flex;align-items:center;justify-content:flex-end;gap:0;width:70px;height:70px;padding:0 18px;overflow:hidden;border-radius:40px;transform:none;transition:width .4s cubic-bezier(.22,1,.36,1),background .3s}
.work-expand-label{font-size:18px;font-weight:500;white-space:nowrap;opacity:0;max-width:0;overflow:hidden;transform:translateX(8px);transition:opacity .2s,max-width .4s,transform .4s}
.work-expand-arrow{display:block;flex:none;width:34px;text-align:center;font-size:36px;line-height:1;transition:transform .4s}
.hero-bottom>.work-expand:hover,.hero-bottom>.work-expand:focus-visible{width:192px;transform:none}
.work-expand:hover .work-expand-label,.work-expand:focus-visible .work-expand-label{max-width:120px;opacity:1;transform:translateX(0);margin-right:14px}
.work-expand:hover .work-expand-arrow,.work-expand:focus-visible .work-expand-arrow{transform:rotate(45deg)}
@media(max-width:700px){.hero-bottom>.work-expand{width:48px;height:48px;padding:0 10px}.work-expand-arrow{width:28px;font-size:28px}.work-expand-label{font-size:15px}.hero-bottom>.work-expand:hover,.hero-bottom>.work-expand:focus-visible{width:157px}.hero-bottom{bottom:85px}}
@media(prefers-reduced-motion:reduce){.work-expand,.work-expand-label,.work-expand-arrow{transition:none!important}}

/* Lower the name band after removing the scroll dial. */
.hero-bottom{bottom:24px}
@media(max-width:700px){.hero-bottom{bottom:29px}}

.hero-intro .hero-description{max-width:340px;margin:22px 0 0;font-size:18px;line-height:1.5;letter-spacing:-.2px;text-wrap:pretty}
@media(max-width:700px){.hero-intro .hero-description{max-width:190px;margin-top:16px;font-size:14px;line-height:1.5}}

/* Give the introduction a clearer hierarchy over the portrait. */
.hero-intro{color:#fff;text-shadow:0 1px 12px #17231b20}
.hero-intro>p:not(.hero-description){font-size:clamp(30px,3vw,44px);line-height:1.12;letter-spacing:-.045em;margin:0 0 14px;max-width:440px}
.hero-intro>span{font-size:16px;color:#ffffffe6}
.hero-intro .hero-description{font-size:19px;line-height:1.5;margin-top:24px;color:#fffffff2;max-width:340px}
@media(max-width:700px){.hero-intro>p:not(.hero-description){font-size:28px;max-width:220px;margin-bottom:12px}.hero-intro>span{font-size:clamp(10px,2.7vw,13px)}.hero-intro .hero-description{font-size:14px;max-width:190px;margin-top:18px}}

/* Keep the oversized name as the primary white accent. */
.hero-intro{color:var(--ink);text-shadow:none}
.hero-intro>span,.hero-intro .hero-description{color:var(--ink)}

.hero-location{position:absolute;z-index:2;left:5%;bottom:clamp(225px,24vw,345px);display:flex;align-items:center;gap:13px;color:var(--ink)}
.location-globe{width:43px;height:43px;fill:none;stroke:currentColor;stroke-width:1.25;flex:none}
.globe-meridians{transform-origin:24px 24px;animation:globe-turn 16s linear infinite}
.hero-location>span{font-size:12px;line-height:1.5}.hero-location strong{font-weight:500;font-size:14px}
@keyframes globe-turn{0%,100%{transform:scaleX(1)}50%{transform:scaleX(-1)}}
@media(max-width:700px){.hero-location{left:7%;bottom:170px;gap:10px}.location-globe{width:34px;height:34px}.hero-location>span{font-size:11px}.hero-location strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.globe-meridians{animation:none}}

.hero-intro .hero-location{position:static;margin-top:24px;color:var(--ink)}
@media(max-width:700px){.hero-intro .hero-location{margin-top:18px}}

/* Project moving half-meridians, rather than pulsing full ellipses. */
.location-globe{position:relative;display:block;overflow:hidden;stroke:none}
.location-sphere{position:absolute;inset:3px;border-radius:50%;overflow:hidden;box-shadow:inset 0 0 0 1.25px currentColor;transform:rotate(-15deg)}
.location-sphere>i{position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);font-style:normal}
.sphere-meridian{height:100%;width:100%;border-radius:50%;box-shadow:inset 1px 0 0 .5px currentColor;animation:sphere-spin 2.7s linear infinite}
.sphere-meridian:nth-child(1){animation-delay:-1.8s}.sphere-meridian:nth-child(2){animation-delay:-.9s}
.sphere-latitude{width:150%;height:55%;border-radius:50%;box-shadow:inset 0 0 0 1.25px currentColor}
.sphere-equator{width:150%;height:1.25px;background:currentColor}

@keyframes sphere-spin{0%{width:100%;border-radius:50%;box-shadow:inset 1px 0 0 .5px currentColor}49%{border-radius:50%;box-shadow:inset 1px 0 0 .5px currentColor;background:transparent}50%{width:1.25px;border-radius:0;background:currentColor}51%{border-radius:50%;box-shadow:inset -1px 0 0 .5px currentColor;background:transparent}100%{width:100%;border-radius:50%;box-shadow:inset -1px 0 0 .5px currentColor}}
@media(prefers-reduced-motion:reduce){.location-sphere,.sphere-meridian{animation:none}.sphere-meridian:nth-child(1){width:35%}.sphere-meridian:nth-child(2){width:70%}}

footer.footer-unified{padding-top:56px;padding-bottom:28px}
.footer-invitation{display:flex;justify-content:space-between;align-items:center;gap:32px;padding-bottom:60px}
.footer-invitation h2{font-size:clamp(64px,8vw,116px);margin:22px 0;line-height:1;letter-spacing:-.065em}
.footer-email-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.footer-email{font-size:clamp(18px,2vw,26px);letter-spacing:-.025em}
.footer-copy{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#697161;font-size:21px;cursor:pointer}
.footer-copy:hover{background:var(--accent);color:var(--ink)}
#footer-copy-status:empty{display:none}#footer-copy-status{font-size:12px;color:#596052}
.footer-mail{width:90px;height:90px;font-size:42px}
.footer-unified .footer-bottom{align-items:center;gap:28px;padding-top:24px;font-size:12px}
.footer-signature{display:flex;flex-direction:column;gap:7px;color:#6d746b}
nav.footer-socials{position:static;transform:none;display:flex;flex-wrap:wrap;gap:24px;margin-left:auto;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;color:var(--ink);font-size:13px}
.footer-socials a:hover,.footer-email:hover{color:var(--accent-ink)}
@media(max-width:700px){.footer-invitation{padding-bottom:38px;gap:16px}.footer-invitation h2{font-size:64px}.footer-mail{width:56px;height:56px;font-size:29px}.footer-unified .footer-bottom{flex-wrap:wrap;gap:24px}.footer-signature{font-size:11px}.footer-bottom>nav.footer-socials{order:3;width:100%;margin:0;gap:20px;font-size:12px}.footer-bottom>a:last-child{margin-left:auto;font-size:20px}.footer-email-row{gap:8px}.footer-email{font-size:18px}}

.footer-mail{border:0;cursor:pointer;color:var(--ink);font-family:inherit}
.footer-invitation h2{max-width:780px;margin:0;font-size:clamp(54px,7.2vw,108px)}
.footer-invitation{padding:24px 0 55px}
.footer-mail{display:flex;align-items:center;justify-content:flex-end;gap:0;flex:none;overflow:hidden;padding:0 24px;width:90px;height:90px;border-radius:50px;transition:width .4s cubic-bezier(.22,1,.36,1),background .3s;transform:none}
.footer-contact-label{white-space:nowrap;max-width:0;opacity:0;overflow:hidden;font-size:18px;transition:max-width .4s,opacity .2s}
.footer-contact-arrow{width:42px;flex:none;line-height:1;text-align:center;transition:transform .4s}
.footer-mail:hover,.footer-mail:focus-visible{width:238px;transform:none}
.footer-mail:hover .footer-contact-label,.footer-mail:focus-visible .footer-contact-label{max-width:150px;opacity:1;margin-right:15px}
.footer-mail:hover .footer-contact-arrow,.footer-mail:focus-visible .footer-contact-arrow{transform:rotate(45deg)}
@media(max-width:700px){.footer-invitation{align-items:flex-start;flex-direction:column;padding:12px 0 36px;gap:26px}.footer-invitation h2{font-size:58px;max-width:340px}.footer-mail{width:56px;height:56px;padding:0 13px}.footer-contact-arrow{width:30px;font-size:29px}.footer-contact-label{font-size:15px}.footer-mail:hover,.footer-mail:focus-visible{width:190px}}

.footer-invitation .footer-email-row{margin-top:24px}

/* Mobile portrait: keep the face clear and give the introduction its own space. */
.mobile-hero-details[hidden]{display:none}
@media(max-width:1100px){
 .hero{min-height:620px;height:calc(100svh - 16px);max-height:950px}
 .portrait{object-position:67% center}
 .hero:before{background:transparent}
 .hero-intro{top:auto;bottom:151px;left:6%;right:23%;color:#fff}
 .hero-intro>p:not(.hero-description){font-size:clamp(27px,7.8vw,42px);line-height:1.06;max-width:330px;margin:0;letter-spacing:-.045em}
 .hero-bottom>.work-expand{bottom:calc(100% + 25px)}
 .mobile-hero-details{margin:0 7%;padding:22px 0 0}
 .mobile-hero-details>span{display:block;font-size:12px;line-height:1.6;text-wrap:balance}
 .mobile-hero-details .hero-description{font-size:22px;line-height:1.28;letter-spacing:-.035em;margin:18px 0 0;max-width:540px}
 .mobile-hero-details .hero-location{position:static;margin-top:22px;gap:10px}
 .mobile-hero-details .hero-location>span{font-size:11px}
 .mobile-hero-details .hero-location strong{font-size:12px}
 .mobile-hero-details+.work{padding-top:48px}
}

@media(min-width:701px) and (max-width:1100px){
 .hero-intro{bottom:calc(17vw * 1.1 + 64px);right:24%}
 .hero-intro>p:not(.hero-description){font-size:clamp(34px,4.7vw,48px);max-width:490px}
 .hero-bottom{bottom:24px}
 .hero-bottom>.work-expand{bottom:calc(100% + 28px)}
 .mobile-hero-details{padding-top:28px}
 .mobile-hero-details>span{font-size:15px}
 .mobile-hero-details .hero-description{font-size:28px;max-width:700px}
 .mobile-hero-details .hero-location>span{font-size:12px}
 .mobile-hero-details .hero-location strong{font-size:14px}
}

/* Keep the contact action anchored to the footer's right edge. */
.footer-invitation>.footer-mail{margin-left:auto;align-self:flex-end}

/* Preview behavior follows the input device, rather than viewport width. */
@media(hover:hover) and (pointer:fine){
 .project img{display:block}
}
@media(hover:none){
 .project{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;gap:14px;padding:24px 0}
 .project img{display:block;position:static;grid-column:1/-1;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;opacity:1;transform:none;border-radius:16px;box-shadow:none}
 .project:hover{padding-left:0}
 .project:hover img,.project:focus-visible img{transform:none}
}

/* Align the heading and contact action in a single row at every width. */
.footer-invitation{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px}
.footer-invitation>.footer-mail{align-self:center;justify-self:end;margin-left:0}
@media(max-width:700px){
 .footer-invitation{gap:18px}
 .footer-invitation h2{font-size:clamp(36px,8.3vw,58px);max-width:340px}
}

/* Floating previews need enough space beside the project titles. */
@media(hover:hover) and (pointer:fine) and (max-width:1100px){
 .project img{display:none}
}
@media(hover:hover) and (pointer:fine) and (min-width:1101px){
 .project img{height:auto;max-height:340px;object-fit:contain}
}
@media(hover:none){
 .project img{aspect-ratio:auto;height:auto;object-fit:contain}
}

/* Opaque portrait previews cover the rules behind them, edge to edge. */
@media(hover:hover) and (pointer:fine) and (min-width:1101px){
 .project img{width:clamp(260px,24vw,340px);height:auto;aspect-ratio:1182/1330;max-height:none;object-fit:cover;background:#1d211e;isolation:isolate}
}

/* Match each preview's composition: landscape cases and a portrait trading shot. */
@media(hover:hover) and (pointer:fine) and (min-width:1101px){
 .project img{width:34%;height:auto;aspect-ratio:auto;object-fit:cover}
 .project[href*="trading-experience"] img{width:clamp(260px,24vw,340px);aspect-ratio:1182/1330}
}

@media(hover:hover) and (pointer:fine) and (min-width:1101px){
 .project[href*="service-workspace"] img,
 .project[href*="market-analysis"] img{width:34%;aspect-ratio:1672/941;height:auto;object-fit:cover}
}

/* Give display typography a little more air without changing its scale. */
h1,h2,h3,.name-group,.experience-role,.hero-intro>p:first-child{word-spacing:.080625em}
h1{letter-spacing:-.0460594em}
h2{letter-spacing:-.0368475em}
.project h3{letter-spacing:-.0307063em}
.name-group{letter-spacing:-.0399181em}
.hero-intro>p:not(.hero-description){letter-spacing:-.0276356em}
.footer-invitation h2{letter-spacing:-.0399181em}
@media(max-width:700px){h1{letter-spacing:-.0429888em}}

/* Explicit tracking across every display heading, including section labels. */
.project h3{letter-spacing:-.022185em;word-spacing:.1302em}
.footer-invitation h2{letter-spacing:-.0288405em;word-spacing:.1302em}
.hero-intro>p:not(.hero-description){letter-spacing:-.0199665em;word-spacing:.1302em}
.name-group{letter-spacing:-.0288405em;word-spacing:.1302em}
.section-head .eyebrow{letter-spacing:.2116em;word-spacing:.1302em}

/* Desktop introduction sits higher and uses a softer white hierarchy. */
@media(min-width:1101px){
 .hero-intro{top:27%;left:5%;color:rgba(255,255,255,.86);max-width:520px}
 .hero-intro>span{color:rgba(255,255,255,.72)}
 .hero-intro .hero-description{color:rgba(255,255,255,.78);max-width:360px}
 .hero-intro .hero-location{color:rgba(255,255,255,.72)}
}

/* Collapse only the location label; keep the globe intact. */
.hero-location>span:last-child{display:block;overflow:hidden;white-space:nowrap;max-width:220px}

/* Native SVG cursor stays responsive and never trails the pointer. */
@media(hover:hover) and (pointer:fine){
 html,body,body *{cursor:url('assets/cursor-arrow.svg') 5 4,auto}
 a,a *,button,button *,[role="button"],[role="button"] *{cursor:url('assets/cursor-arrow-link.svg') 5 4,pointer}
 input,textarea,[contenteditable="true"]{cursor:text}
}

/* Keep the hero expansive, but give the reading sections a bounded canvas. */
.section{width:90%;max-width:1280px;margin-left:auto;margin-right:auto}
.mobile-hero-details{max-width:1280px}
@media(max-width:700px){.section{width:86%}}
@media(hover:hover) and (pointer:fine) and (min-width:1101px){
 .project[href*="service-workspace"] img,
 .project[href*="market-analysis"] img{width:28.9%}
 .project[href*="trading-experience"] img{width:clamp(221px,20.4vw,289px)}
}

/* Center the face, rather than the wide studio frame, on phones. */
@media(max-width:700px){
 .hero .portrait{object-position:82% center}
}

/* Fit the desktop invitation on one line inside the bounded footer. */
@media(min-width:1101px){
 .footer-invitation{gap:32px}
 .footer-invitation h2{white-space:nowrap;max-width:none;font-size:clamp(54px,5.2vw,82px)}
}

/* Touch users see the contact action without needing a hover gesture. */
@media(max-width:700px){
 .footer-invitation{grid-template-columns:minmax(0,1fr);gap:24px}
 .footer-invitation>.footer-mail{width:190px;justify-self:end}
 .footer-mail .footer-contact-label{max-width:150px;opacity:1;margin-right:15px}
 .footer-mail .footer-contact-arrow{transform:rotate(45deg)}
}

@media(max-width:700px){
 .footer-invitation>.footer-mail{justify-self:start}
 .footer-mail .footer-contact-label{font-weight:500}
}

/* Use available width consistently; let text wrap only when it runs out. */
.footer-invitation h2{max-width:none;white-space:normal;text-wrap:initial;font-size:clamp(36px,5.2vw,82px)}
@media(max-width:1100px){
 .footer-invitation{grid-template-columns:minmax(0,1fr);gap:24px}
 .footer-invitation>div{min-width:0;width:100%}
 .footer-invitation h2{max-width:none;font-size:clamp(36px,5.2vw,58px)}
 .footer-invitation>.footer-mail{justify-self:start}
}

/* Close the selected-work list with the same fine rule as its rows. */
.project[href*="market-analysis"]{border-bottom:1px solid var(--line)}
/* Bring the contact footer closer to the completed experience stack. */
footer.footer-unified{padding-top:16px}
.footer-unified .footer-invitation{padding-top:8px;padding-bottom:32px}
@media(max-width:700px){footer.footer-unified{padding-top:12px}.footer-unified .footer-invitation{padding-top:8px;padding-bottom:28px}}
/* 24px after the stack + 8px above the invitation = its 32px lower gap. */
footer.footer-unified{padding-top:0}
@media(max-width:700px){footer.footer-unified{padding-top:0}.footer-unified .footer-invitation{padding-top:4px}}
