/* Lena background sampled from the live page: rgb(249,250,250). */
.work-page{--paper:#f9fafa;background:#f9fafa}.work-page .site-header{background:rgba(249,250,250,.94)}

.work-main{max-width:1260px;margin:0 auto;padding:0 5%}.work-intro{padding:70px 0 66px}.work-eyebrow{font:10px/1.5 Plex,monospace;letter-spacing:.07em;color:#7d8585;margin:0 0 25px}.work-intro h1{font-size:clamp(40px,5.15vw,66px);line-height:1.06;font-weight:400;letter-spacing:-2.6px;margin:0}.work-intro h1 em{font-family:GardenSerif,Georgia,serif;font-weight:300;letter-spacing:-1.4px}.work-summary{font-size:14px;line-height:1.6;color:#7c8585;margin:25px 0 0}.section-label{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.section-label h2{font-size:20px;font-weight:400;letter-spacing:-.4px;margin:0}.section-label>span{font:10px/1.5 Plex,monospace;color:#969e9d}.project-grid{display:grid;grid-template-columns:1fr;gap:56px}.project-card{min-width:0;margin:0}.project-cover{display:block;position:relative;aspect-ratio:2.2;border-radius:8px;overflow:hidden;border:1px solid #e5e9e9;background:#e5e8ec}.project-cover img{width:100%;height:100%;object-fit:contain;display:block}.project-caption{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 0 23px}.project-caption h3{margin:0;font-size:24px;font-weight:400;line-height:1.3;letter-spacing:-.5px}.project-caption p{margin:8px 0 0;font-size:13px;color:#8a9292;line-height:1.5}.project-index{font:10px/1.5 Plex,monospace;color:#9aa1a0;flex-shrink:0}.project-link{color:inherit;text-decoration:none}.featured-card .project-cover{display:flex;align-items:center;justify-content:center}.featured-card .project-cover img{width:76%;height:88%;filter:drop-shadow(0 8px 16px #34404a0c)}.more-section{margin-top:75px;padding-top:31px;border-top:1px solid #e2e7e7}.more-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.more-card{position:relative;isolation:isolate;height:clamp(440px,78dvh,740px);border:1px solid #e5e9e9;border-radius:8px;overflow:clip}.more-card .project-shell{position:relative;height:100%}.more-card .project-cover{position:absolute;inset:0;aspect-ratio:auto;border:0;border-radius:0;overflow:hidden}.more-card .project-cover img{width:100%;height:100%;object-fit:contain}.more-card .project-caption{position:sticky;top:108px;height:calc(50dvh - 108px);min-height:170px;max-height:340px;z-index:1;padding:22px;align-items:flex-end;pointer-events:none}.more-card .project-caption h3{font-size:clamp(26px,3vw,38px);line-height:1.05;letter-spacing:-1.2px;color:#27352f}.more-card .project-description{margin-top:0;max-width:130px;font-size:12px;line-height:1.4;color:#4e5c56}.more-card .project-text{display:contents}.more-card .project-index{display:none}.more-card:last-child{grid-column:1/-1;height:clamp(380px,65dvh,600px)}.scroll-ready .more-card .project-cover{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .7s cubic-bezier(.22,1,.36,1)}.scroll-ready .more-card.is-visible .project-cover{opacity:1;transform:none}.work-end{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:65px 0 55px;color:#8a9391;font-size:12px}.work-end p{margin:0}.work-end a{color:#64746f}.work-end a:hover{color:#191918}@media(min-width:1600px){.work-main{max-width:1480px}}@media(max-width:700px){.work-main{padding:0 5%}.work-intro{padding:44px 0 45px}.work-eyebrow{font-size:9px;margin-bottom:21px}.work-intro h1{font-size:clamp(36px,9vw,52px);letter-spacing:-1.8px}.work-summary{font-size:12px;max-width:270px;margin-top:20px}.section-label{margin-bottom:18px}.section-label h2{font-size:18px}.project-grid{gap:39px}.project-caption{padding-bottom:16px}.project-caption h3{font-size:20px;max-width:280px}.project-caption p{font-size:11px;margin-top:6px}.featured-card .project-cover{aspect-ratio:1.35}.featured-card .project-cover img{width:90%;height:90%}.more-section{margin-top:46px;padding-top:24px}.more-grid{grid-template-columns:1fr;gap:14px}.more-card,.more-card:last-child{grid-column:auto;height:clamp(430px,78dvh,620px)}.more-card .project-caption{top:94px;height:calc(46dvh - 94px);min-height:150px;padding:18px}.more-card .project-caption h3{font-size:29px}.more-card .project-description{max-width:104px;font-size:11px}.work-end{margin:40px 0;align-items:flex-start;flex-direction:column;gap:12px}}@media(prefers-reduced-motion:reduce){.more-card .project-cover{transition:none!important;opacity:1!important;transform:none!important}}

/* Featured case-study overview: sticky narrative beside four preview slots. */
#featured-projects{gap:76px}.featured-card{display:grid;grid-template-columns:minmax(0,26%) minmax(0,1fr);gap:40px;align-items:start;padding-bottom:76px;border-bottom:1px solid #e6ebeb}.feature-copy{position:sticky;top:118px;align-self:start;padding-top:2px}.feature-copy h3{font-size:26px;line-height:1.32;letter-spacing:-.55px;font-weight:400;margin:0;max-width:280px}.feature-copy h3 span{color:#858d92}.feature-copy>p{font-size:14px;line-height:1.55;color:#858d92;margin:24px 0 0;max-width:280px}.feature-arrow{display:grid;place-items:center;margin-top:39px;width:48px;height:48px;background:#f0f2f3;border-radius:50%;font-size:24px;line-height:1;color:#7f898e}.feature-arrow:hover{background:#e8edee;color:#26322e}.feature-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;scroll-margin-top:118px}.feature-preview{aspect-ratio:1200/889;border:1px solid #e5e9e9;border-radius:8px;overflow:hidden;background:#eef1f3}.feature-preview img{display:block;width:100%;height:100%;object-fit:contain}.feature-previews:focus{outline:none}.feature-copy h3,.feature-copy p{overflow-wrap:break-word}.featured-card:last-child{padding-bottom:0;border-bottom:0}@media(max-width:1000px){.featured-card{grid-template-columns:1fr;gap:25px}.feature-copy{position:static}.feature-copy h3,.feature-copy>p{max-width:520px}.feature-arrow{margin-top:20px}.feature-previews{gap:16px}}@media(max-width:700px){#featured-projects{gap:42px}.featured-card{padding-bottom:42px;gap:22px}.feature-copy h3{font-size:24px;max-width:340px}.feature-copy>p{font-size:13px;margin-top:17px}.feature-arrow{width:42px;height:42px;font-size:22px;margin-top:19px}.feature-previews{grid-template-columns:1fr;gap:14px}.feature-previews{scroll-margin-top:96px}}

@font-face{font-family:PortfolioInter;src:url('../assets/inter-regular.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:PortfolioInter;src:url('../assets/inter-medium.woff2') format('woff2');font-weight:500;font-display:swap}.work-page{font-family:PortfolioInter,Arial,sans-serif}.feature-preview:focus-visible{outline:2px solid #51b2ca;outline-offset:4px}

/* Each source render fills its preview without a second frame around the screen. */
#tradeteq-originator .feature-preview{aspect-ratio:auto;align-self:start;border:0;background:transparent;line-height:0}
#tradeteq-originator .feature-preview img{width:100%;height:auto;object-fit:cover;aspect-ratio:auto}
#tradeteq-originator .feature-preview:nth-child(3){aspect-ratio:1440/970}
#tradeteq-originator .feature-preview:nth-child(3) img{height:100%;object-fit:cover}

/* Grey presentation cards centre each product preview without altering the page background. */
#tradeteq-originator .feature-preview{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#e5e8eb;padding:22px;box-sizing:border-box;border-radius:8px}
#tradeteq-originator .feature-preview img{width:100%;height:auto;max-height:100%;object-fit:contain}
#tradeteq-originator .feature-preview:nth-child(3){aspect-ratio:4/3;padding:0;background:#e5e8eb}
#tradeteq-originator .feature-preview:nth-child(3) img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){#tradeteq-originator .feature-preview{padding:20px}}

/* The arrow opens into a labelled project link on hover or keyboard focus. */
.feature-arrow{display:inline-flex;align-items:center;justify-content:center;gap:0;width:48px;height:48px;overflow:hidden;white-space:nowrap;border-radius:30px;transition:width .3s cubic-bezier(.22,1,.36,1),background-color .2s,color .2s}
.feature-arrow-glyph{display:block;flex:0 0 24px;width:24px;font-size:24px;line-height:1;text-align:center}.feature-arrow-label{font-size:12px;line-height:1.2;max-width:0;opacity:0;margin-left:0;transition:max-width .3s,opacity .2s,margin .3s}
.feature-arrow:hover,.feature-arrow:focus-visible{width:146px}.feature-arrow:hover .feature-arrow-label,.feature-arrow:focus-visible .feature-arrow-label{max-width:95px;opacity:1;margin-left:10px}.feature-arrow:focus-visible{outline:2px solid #51b2ca;outline-offset:4px}
#tradeteq-originator .feature-preview,#tradeteq-originator .feature-preview:nth-child(3){aspect-ratio:1200/889;padding:0;display:block}
#tradeteq-originator .feature-preview img{width:100%;height:100%;object-fit:cover;max-height:none}
@media(prefers-reduced-motion:reduce){.feature-arrow,.feature-arrow-label{transition:none}}

.feature-coming-soon{aspect-ratio:2.7;min-height:230px;border:1px solid #e5e7e4;border-radius:8px;display:grid;place-items:center;background:#eeefeb;position:relative;overflow:hidden}.feature-coming-soon:before{content:"";position:absolute;width:55%;height:180%;background:radial-gradient(ellipse,#d9dfce88,transparent 70%);transform:rotate(-22deg);filter:blur(18px)}.feature-coming-soon>span{position:relative;font-size:23px;font-weight:400;letter-spacing:-.5px;color:#747b70}.is-coming-soon .feature-copy>p{max-width:210px}@media(max-width:700px){.feature-coming-soon{aspect-ratio:1.7;min-height:190px}.feature-coming-soon>span{font-size:21px}}

/* Full-height glass artwork; the block link provides the full card containing box. */
.more-card .project-shell{display:block;width:100%;height:100%}
.more-card .project-cover{inset:0;width:100%;height:100%}
.more-card .project-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.more-card .project-caption h3,.more-card .project-description{color:#fff;text-shadow:0 1px 14px #0004}
#smartbricks .project-caption h3,#smartbricks .project-description{color:#543b43;text-shadow:none}
#judgements .project-caption h3,#judgements .project-description{color:#35465e;text-shadow:none}

/* White identity marks over slightly deeper pastel glass, preserving sticky captions. */
#smartbricks .project-cover>img,#judgements .project-cover>img:not(.project-brand-small){filter:brightness(.87) saturate(1.12)}
.more-card .project-logo-heading{min-width:0;flex:1;line-height:0}
.more-card .project-caption .project-brand-logo{display:block;position:static;max-width:230px;width:100%;height:auto;max-height:150px;object-fit:contain;object-position:left bottom;filter:brightness(0) invert(1);opacity:1}
#bjak-neo-bank .project-caption .project-brand-logo{max-width:260px;max-height:85px}
#smartbricks .project-description,#judgements .project-description,#judgements .project-caption h3{color:#fff;text-shadow:0 2px 20px #40335055}
#judgements .project-cover .project-brand-small{position:absolute;inset:28px 28px auto auto;width:95px;height:48px;object-fit:contain;filter:none;z-index:2}
@media(max-width:700px){.more-card .project-caption .project-brand-logo{max-width:200px;max-height:120px}#bjak-neo-bank .project-caption .project-brand-logo{max-width:220px}#judgements .project-cover .project-brand-small{inset:22px 22px auto auto;width:80px;height:40px}}

/* Kaari research previews: four complete compositions. */
.research-feature .feature-previews{grid-template-columns:repeat(2,minmax(0,1fr))}
.research-feature .feature-preview img{object-fit:contain!important}
@media(max-width:700px){.research-feature .feature-previews{grid-template-columns:minmax(0,1fr)}}


#more-title{scroll-margin-top:110px}

/* NorthTara: full-bleed source screenshots, retaining the left-hand library navigation. */
#northtara-design-system .feature-preview{padding:0;border:0}
#northtara-design-system .feature-preview:first-child img{object-position:left top}

/* Remove the retired introductory caption from the retained annotated screenshot. */
#northtara-design-system .feature-preview:nth-child(2){position:relative}
#northtara-design-system .feature-preview:nth-child(2)::after{content:"";position:absolute;pointer-events:none;left:30.5%;top:33.6%;width:58%;height:2.3%;background:#f7f7f7}

/* Botanical cover plates and source-screen walkthroughs. Card dimensions stay unchanged. */
.more-card .project-cover>img:not(.project-brand-small){filter:brightness(1.04) saturate(.96)!important}
.more-card .project-cover:after{content:'';position:absolute;z-index:1;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.76));pointer-events:none}
.cover-demo{position:absolute;z-index:1;filter:drop-shadow(0 14px 22px #062b3240);overflow:hidden}
.cover-demo.phone{height:74%;aspect-ratio:360/792;left:50%;top:5%;transform:translateX(-50%);border:5px solid #18221f;border-radius:32px;background:#111b16;box-shadow:0 0 0 1px #62766d}
.cover-demo.desktop{left:6%;width:88%;top:23%;aspect-ratio:1440/972;border-radius:9px;background:white;border:1px solid #ffffff80}
.cover-demo video{display:block;width:100%;height:100%;object-fit:contain}
.more-card.has-preview .project-caption{z-index:2}
.has-preview .project-caption .project-brand-logo{max-width:185px!important;max-height:68px!important}
.has-preview .project-description{max-width:110px}
.preview-toggle{position:absolute;z-index:4;right:15px;top:15px;width:36px;height:36px;border:1px solid #ffffff60;border-radius:50%;background:#103b3a90;color:white;font-size:13px;cursor:pointer;backdrop-filter:blur(8px)}
.preview-toggle:focus-visible{outline:3px solid white;outline-offset:3px}
@media(max-width:700px){.more-card.has-preview .project-caption{padding:20px}.has-preview .project-caption .project-brand-logo{max-width:160px!important}.cover-demo.desktop{top:25%;left:4%;width:92%}.cover-demo.phone{height:73%;border-width:4px;border-radius:27px}}
#smartbricks.has-preview .project-caption .project-brand-logo{width:100px;max-height:100px!important}
/* Keep the gradient anchored to the artwork; captions retain their sticky motion. */
.more-card .project-caption{isolation:isolate;z-index:2}
.more-card .project-caption::before{content:none}
.more-card .project-caption h3,.more-card .project-description{color:#fff!important;text-shadow:0 1px 4px rgb(0 0 0 / .55)!important}
#smartbricks.has-preview .project-caption .project-brand-logo{filter:brightness(0) invert(1)}

/* The captured phone already contains its bezel: no second frame or letterboxing. */
.cover-demo.phone{border:0;border-radius:12% / 5.46%;background:#171a18;box-shadow:none;aspect-ratio:360/792}
.cover-demo.phone video{object-fit:cover}
.cover-demo.observation{z-index:2;left:5%;width:90%;top:4%;aspect-ratio:3300/1380;border-radius:5px;filter:drop-shadow(0 8px 16px #102e3328)}
.more-card .project-cover .cover-demo.observation img{position:static;width:100%;height:100%;object-fit:contain;filter:none!important;opacity:1}
@media(max-width:700px){.cover-demo.phone{border:0;border-radius:12% / 5.46%}.cover-demo.observation{left:3%;width:94%;top:19%}}

#judgements .project-caption{z-index:3}

/* Descriptive titles stay at the lower right while the identity marks retain their scroll behavior. */
.project-bottom-details{position:absolute;right:28px;bottom:28px;z-index:4;width:min(64%,340px);color:#fff;pointer-events:none;text-shadow:0 1px 5px #0006}
.project-bottom-details p{font-size:16px;line-height:1.4;font-weight:400;margin:0 0 8px}
.project-bottom-details h4{font-size:21px;line-height:1.35;font-weight:500;letter-spacing:-.3px;margin:0}
.cover-demo.observation{width:74%;left:13%;top:4%}
@media(max-width:700px){.project-bottom-details{right:22px;bottom:24px;width:min(78%,320px)}.project-bottom-details p{font-size:14px;margin-bottom:7px}.project-bottom-details h4{font-size:19px}.cover-demo.observation{width:88%;left:6%;top:19%}}
.project-bottom-details{width:max-content;max-width:60%}
@media(max-width:700px){.project-bottom-details{width:max-content;max-width:78%}.more-card .project-caption{padding-bottom:140px!important;box-sizing:border-box}}
.project-bottom-details{max-width:min(60%,340px)}
@media(max-width:700px){.project-bottom-details{max-width:min(78%,320px)}}
@media(min-width:701px){.cover-demo.observation{width:70%;left:15%}}

/* Titles share the logo caption's sticky scroll movement. */
.more-card .project-caption{gap:20px}
.more-card .project-bottom-details{position:static;flex:0 1 54%;width:auto;max-width:54%;margin-left:auto;color:#fff;text-align:left}
.more-card .project-bottom-details p{font-size:12px;line-height:1.45;margin:0 0 5px;font-weight:400}
.more-card .project-bottom-details h4{font-size:16px;line-height:1.4;letter-spacing:-.15px;font-weight:500}
/* Let more sky breathe above a smaller area of foliage. */
.more-card .project-cover{background:#299cad!important}
.more-card .project-cover>img:not(.project-brand-small){transform:translateY(12%);mask-image:linear-gradient(transparent,#000 25%);object-position:center 25%}
@media(max-width:700px){.more-card .project-caption{padding:20px!important;box-sizing:border-box}.more-card .project-bottom-details{max-width:55%;flex-basis:55%}.more-card .project-bottom-details p{font-size:11px}.more-card .project-bottom-details h4{font-size:14px}.more-card .project-caption .project-logo-heading{flex:1;min-width:0}.more-card .project-caption .project-brand-logo{max-width:100%!important}}
.more-card .project-bottom-details p,.more-card .project-bottom-details h4{color:#fff!important;text-shadow:0 1px 3px #000,0 0 12px #000c}
