@font-face{font-family:Onest;src:url('/assets/onest.woff2') format('woff2'),url('/assets/onest.woff') format('woff');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#1e272e;--paper:#e5e5e5;--light:#f5f5f5;--orange:#ef5400;--outer:clamp(6px,1.041667vw,20px);--work-gutter:clamp(14px,calc(100vw / 12 - var(--outer)),160px);--radius:20px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scrollbar-width:none}html::-webkit-scrollbar{display:none}
body{margin:0;overflow-x:clip;background:var(--ink);color:var(--ink);font:400 16px/1.4 Onest,Arial,sans-serif}
a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid var(--orange);outline-offset:4px}.skip{position:fixed;top:-100px;left:10px;padding:10px;background:var(--orange);color:white;z-index:100}.skip:focus{top:10px}
/* The shared portfolio header and menu use the same markup and animations as About. */
.work-page>header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 var(--work-gutter);color:var(--ink)}
.work-page>header nav{display:flex;align-items:center;gap:45px}.work-page>header nav a{font-size:14px;font-weight:600;text-transform:uppercase}.work-page>header nav a.active{color:var(--orange)}.work-page>header .logo img{width:47px;display:block}.work-page>header .header-cv{border:0;background:none;display:flex;gap:10px;align-items:center}.work-page>header .menu-toggle{display:none}.work-page>header .menu-toggle span{display:block;width:24px;height:2px;background:white;margin:4px}
body.work-page>header.header-pending{visibility:hidden}
body.work-page>header.header-entering{visibility:visible}
body.work-page>header.header-entering:before{animation:header27-in 1.5s cubic-bezier(.22,1,.36,1) both!important}
body.work-page>header.header-entering .logo img{animation:shared-logo .45s .2s both}
body.work-page>header.header-entering :is(nav a,.cv-label,.cv-triangle,.menu-toggle){animation:shared-label .65s .85s both}
body.work-page>header.header-entering :is(.logo,.header-cv):after{animation:shared-line .45s 1.25s both}
body.work-page>header.header-leaving:before{animation:header27-in 1.25s ease reverse both!important}
/* Work collection follows the proportions and row order in the supplied PDF. */
.work-shell{margin:0 var(--outer) clamp(10px,1.041667vw,20px);background:var(--light);border-radius:var(--radius);overflow:hidden}
.work-opening{text-align:center;padding:clamp(45px,5.2vw,100px) 0 clamp(55px,6vw,115px);overflow:hidden}
.work-opening h1{white-space:nowrap;font-size:clamp(100px,11.8vw,226px);font-weight:430;line-height:1.05;letter-spacing:-.065em;margin:0 0 clamp(12px,1.9vw,36px);transform:translateX(-.18em);width:max-content;min-width:100%;text-align:center}
.work-opening p{font-size:clamp(16px,1.25vw,24px);line-height:1.3;font-weight:470;max-width:600px;margin:0 auto;padding-inline:20px}
.work-collection{padding:0 var(--work-gutter) clamp(65px,8.333vw,160px)}
.work-grid{display:grid;grid-template-columns:minmax(0,910fr) minmax(0,654fr);gap:clamp(65px,6.51vw,125px) clamp(18px,2.083vw,40px);--pair-height:calc((100vw - 2 * var(--outer) - 2 * var(--work-gutter)) * .465625)}
.work-card{min-width:0;position:relative}.work-card.wide{grid-column:1/-1}.work-card .card-link{display:block;min-width:0;color:inherit;text-decoration:none;width:100%;background:none;border:0;text-align:left;padding:0}.work-card .card-link[aria-disabled="true"]{cursor:default}
.work-dates{display:flex;align-items:center;gap:clamp(12px,1.041667vw,20px);height:clamp(28px,2.604167vw,50px);font-size:clamp(12px,.9375vw,18px);line-height:1.3}.work-dates i{height:1px;flex:1;background:#9aa1a6}
.work-media{display:block;position:relative;isolation:isolate;aspect-ratio:1672/941;width:100%;background:#dfe3e5;overflow:hidden;border-radius:20px;container-type:inline-size}
.work-media img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:clip-path .55s cubic-bezier(.22,1,.36,1);clip-path:inset(0 round 20px)}
.work-card:not(.wide) .work-media{height:var(--pair-height);aspect-ratio:auto}
.work-card.wide .work-media{aspect-ratio:1600/745}.work-card[data-id="isro"] .work-media,.work-card[data-id="fayble"] .work-media{aspect-ratio:1672/941}
.work-caption{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:clamp(12px,1.041667vw,20px);font-size:clamp(12px,.9375vw,18px);line-height:1.3;text-transform:uppercase}.work-caption h2,.work-caption p{margin:0;font:inherit}.work-caption p{text-align:right}
.work-card .soon-inline{display:none}
.work-hover{position:absolute;inset:0;z-index:1;pointer-events:none;color:var(--ink);--rim:14px;--frame:var(--paper);border-radius:20px;overflow:hidden}
.work-hover:before,.work-hover:after,.work-hover-top{content:'';position:absolute;background:var(--frame);transition:transform .55s cubic-bezier(.22,1,.36,1)}.work-hover:before{left:0;top:0;bottom:0;width:var(--rim);transform:translateX(-101%)}.work-hover:after{right:0;top:0;bottom:0;width:var(--rim);transform:translateX(101%)}.work-hover-top{top:0;left:0;right:0;height:var(--rim);transform:translateY(-101%)}
.work-hover-date{position:absolute;top:0;right:0;padding:14px 16px 9px;background:var(--frame);border-radius:0 0 0 20px;transform:translateY(-110%);transition:transform .55s cubic-bezier(.22,1,.36,1);font-size:clamp(13px,.9375vw,18px)}
.work-hover-panel{position:absolute;bottom:0;left:0;right:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);align-items:center;gap:22px;min-height:20%;padding:clamp(14px,1.041667vw,20px);background:var(--frame);transform:translateY(101%);transition:transform .55s cubic-bezier(.22,1,.36,1)}
.work-hover-title{display:block;font-weight:600;font-size:clamp(16px,1.458333vw,28px);line-height:1.1;text-transform:uppercase;margin-bottom:7px}.work-hover-category{display:flex;align-items:start;gap:8px;font-size:clamp(12px,.83333vw,16px);line-height:1.25;text-transform:uppercase}.work-hover-category:before{content:'';width:.65em;height:.65em;flex:none;margin-top:.25em;border-radius:50%;background:var(--orange)}.work-hover-description{display:block;font-size:clamp(13px,.83333vw,16px);line-height:1.35}
.work-card:is(:hover,:focus-within) .work-hover:before,.work-card:is(:hover,:focus-within) .work-hover:after,.work-card:is(:hover,:focus-within) .work-hover-top,.work-card:is(:hover,:focus-within) .work-hover-panel,.work-card:is(:hover,:focus-within) .work-hover-date{transform:translate(0)}
.work-card:is(:hover,:focus-within) .work-media img{clip-path:inset(14px 14px calc(var(--work-panel-height,100px) + 14px) round 20px)}
.work-card .work-caption,.work-card .work-dates{transition:opacity .35s,transform .55s cubic-bezier(.22,1,.36,1)}.work-card:is(:hover,:focus-within) .work-dates{opacity:0;transform:translateY(70%)}.work-card:is(:hover,:focus-within) .work-caption{opacity:0;transform:translateY(-70%)}
.work-hover [data-reveal]{color:var(--ink)}.work-hover [data-reveal]>span{display:inline-block;white-space:pre}
/* Footer reproduces the inset light panel and full-width dark closing band. */
.work-contact{position:relative;isolation:isolate;min-height:clamp(620px,42vw,800px);margin:0 var(--outer);border-radius:var(--radius) var(--radius) 0 0;background:var(--light);overflow:hidden;padding:clamp(90px,9vw,170px) var(--work-gutter) 0}
.work-contact .contact-copy{position:relative;z-index:2;width:min(52%,720px)}.work-contact h2{font-size:clamp(54px,5.73vw,110px);letter-spacing:-.055em;line-height:.95;font-weight:430;margin:0 0 26px}.work-contact p{font-size:clamp(15px,1.041667vw,20px);line-height:1.4;margin:0 0 32px}.contact-actions{display:flex;gap:clamp(14px,1.25vw,24px)}.contact-button{display:flex;align-items:center;justify-content:space-between;min-width:clamp(140px,9.9vw,190px);padding:17px 23px;border:1px solid #6c7880;border-radius:5px;background:transparent;font-size:clamp(14px,.9375vw,18px)}.contact-button.primary{border-color:var(--orange);background:var(--orange);color:#fff}.contact-button:hover,.contact-button:focus-visible{background:var(--ink);color:#fff}.contact-button span{font-size:25px;line-height:.7}
.contact-photo{position:absolute;z-index:1;right:var(--work-gutter);bottom:0;width:clamp(300px,32vw,600px);max-height:90%;object-fit:contain;object-position:bottom;pointer-events:none}
.work-footer{position:relative;z-index:2;margin-top:clamp(110px,11vw,205px);border-top:1px solid #aeb7bc;padding:clamp(26px,2.6vw,50px) 0 clamp(28px,3.125vw,60px);display:grid;grid-template-columns:1.15fr .48fr .48fr 1.2fr;gap:clamp(25px,2.6vw,50px);align-items:start}.work-footer .footer-logo img{display:block;width:clamp(100px,9.2vw,176px);height:auto}.work-footer .footer-nav,.work-footer .footer-social{display:flex;align-items:start;flex-direction:column;gap:8px;font-size:clamp(13px,.9375vw,18px)}.work-footer a:hover{color:var(--orange)}
.work-band{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px var(--work-gutter);min-height:50px;background:var(--ink);color:var(--light);font-size:clamp(11px,.833333vw,16px)}
.back-to-top{position:fixed;z-index:15;right:var(--top-right,clamp(24px,2.6vw,50px));bottom:var(--top-bottom,24px);width:44px;height:44px;display:grid;place-items:center;background:var(--orange);color:#fff;border:0;border-radius:50%;opacity:0;pointer-events:none;transition:opacity .2s}.back-to-top.visible{opacity:1;pointer-events:auto}
.work-cursor{position:fixed;left:0;top:0;z-index:90;pointer-events:none;opacity:0;transform:translate(-50%,-50%);width:184px;height:40px;background:url('/assets/case-hover-pointer.png') center/contain no-repeat}.work-cursor span{display:none}.work-cursor.soon{width:auto;min-width:120px;height:auto;padding:9px 14px;border-radius:999px;background:var(--orange);color:#fff;text-align:center;font-size:14px}.work-cursor.soon span{display:block;white-space:nowrap}.work-cursor.visible{opacity:1}
@media(hover:hover) and (pointer:fine){.work-card .card-link{cursor:none}}
@media(max-width:900px){.work-hover-panel{grid-template-columns:1fr;gap:9px}.work-hover-description{font-size:13px}.work-contact h2{font-size:clamp(48px,6vw,74px)}.work-contact .contact-copy{width:60%}.contact-photo{right:3%;width:38%}}
@media(max-width:700px){:root{--work-gutter:20px;--outer:6px;--radius:14px}body.work-page>header{height:64px;padding:0 15px}body.work-page>header nav,body.work-page>header .header-cv{display:none}body.work-page>header .menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center}.work-opening{padding:48px 0 66px}.work-opening h1{font-size:clamp(78px,17vw,150px);margin-bottom:24px}.work-opening p{font-size:16px;max-width:330px}.work-opening p br{display:none}.work-collection{padding-bottom:80px}.work-grid{grid-template-columns:1fr;gap:55px}.work-card.wide{grid-column:auto}.work-media,.work-card.wide .work-media,.work-card[data-id="isro"] .work-media,.work-card[data-id="fayble"] .work-media{aspect-ratio:1.38}.work-dates{height:36px}.work-caption{font-size:12px;gap:10px}.work-caption p{max-width:52%}.work-card .soon-inline{display:block;font-size:12px;color:var(--orange);margin-top:8px;text-transform:uppercase}.work-hover{display:none}.work-card:is(:hover,:focus-within) :is(.work-dates,.work-caption){opacity:1;transform:none}.work-card:is(:hover,:focus-within) .work-media img{clip-path:inset(0 round 20px)}.work-contact{min-height:610px;padding-top:72px}.work-contact .contact-copy{width:59%}.work-contact h2{font-size:clamp(35px,7.5vw,54px)}.work-contact p{font-size:13px;max-width:220px}.contact-actions{flex-direction:column;align-items:start}.contact-button{width:clamp(135px,39vw,200px);padding:12px 15px;font-size:13px}.contact-photo{right:-15px;bottom:125px;width:53%;max-height:320px}.work-footer{margin-top:130px;grid-template-columns:65px 1fr 1fr;gap:12px;padding:20px 0 26px}.work-footer .footer-logo img{width:60px}.work-footer .footer-nav,.work-footer .footer-social{font-size:11px;gap:7px}.work-band{font-size:10px;flex-wrap:wrap;gap:8px}.work-band>span:last-child{margin-left:auto}.work-cursor{display:none}.back-to-top{right:20px}}
@media(max-width:420px){.work-contact{min-height:610px}.work-contact .contact-copy{width:62%}.work-contact h2{font-size:35px}.contact-photo{width:56%;bottom:112px}.work-footer{margin-top:145px}.work-band{font-size:9px}.work-band>span:first-child{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}.work-card .work-hover{display:none}.work-card .soon-inline{display:block}.work-card .card-link{cursor:pointer}body.work-page>header.header-pending{visibility:visible}}
@media(max-width:700px){:root{--work-gutter:14px}.work-card:not(.wide) .work-media{height:auto}}

/* Keep the Work menu free of visible scrollbars and horizontal overflow. */
html body.work-page.unified-nav .mobile-menu{overflow-x:hidden!important;scrollbar-width:none;-ms-overflow-style:none}
html body.work-page.unified-nav .mobile-menu::-webkit-scrollbar{display:none;width:0;height:0}
html body.work-page.unified-nav .mobile-menu .menu-content{min-width:0;max-width:100%}

/* Continuous left-to-right Work heading. */
.work-opening h1{display:flex;width:max-content;min-width:0;text-align:left;animation:work-heading-right 24s linear infinite;will-change:transform}
.work-opening h1>span{display:block;flex:none}
body.intro-loading .work-opening h1{animation-play-state:paused}
@keyframes work-heading-right{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.work-opening h1{animation:none;transform:none;will-change:auto}}

/* Home dark card frame and matching light reveal text. */
.work-hover{--frame:var(--ink);color:var(--paper)}
.work-hover [data-reveal]{color:var(--paper)}

/* Match the measured Home mobile gutter; do not alter desktop. */
@media(max-width:700px){
 body.work-page .work-collection{padding-inline:calc(var(--page-gutter) - var(--panel-inset))}
 body.work-page .work-hover [data-reveal]>.card-copy-flow{display:inline;white-space:normal}
 body.work-page .work-hover [data-reveal]>.card-copy-flow>span{display:inline;white-space:normal}
}
@media(max-width:700px){body.work-page .work-media{border:1px solid #1e272e;line-height:normal}}
