/* Selected work: three equally sized project previews per desktop row. */
.portfolio-refined{background:#fff;padding:90px 0;border-bottom:1px solid #eee8f3}
.portfolio-refined>.container{width:calc(100% - 112px);max-width:1280px}
.portfolio-refined .section-heading{gap:55px;align-items:flex-end;margin-bottom:45px}
.portfolio-refined .section-heading h2{font-size:clamp(35px,3.55vw,49px);font-weight:500;line-height:1.13;letter-spacing:-.05em}
.portfolio-refined .section-heading .eyebrow{font-size:9px;letter-spacing:.14em}
.portfolio-refined .heading-aside{max-width:310px;font-size:13px;line-height:1.9;color:#787084}
.portfolio-refined .heading-aside .text-link{font-size:12px;margin-top:17px}
.project-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 27px}
.project-tile{min-width:0;display:flex;flex-direction:column;background:transparent;border:0;padding:0;box-shadow:none}
.project-tile:nth-child(-n+2){grid-column:auto}
.project-preview{position:relative;display:block;overflow:hidden;border:1px solid #e6dfee;border-radius:10px;background:#f2edf7;padding:10px;transition:translate .55s cubic-bezier(.22,1,.36,1),box-shadow .55s}
.project-tile:nth-child(2) .project-preview{background:#edf5f2;border-color:#dfebe5}
.project-tile:nth-child(3) .project-preview{background:#f1f3f8;border-color:#e1e5f0}
.project-tile:nth-child(4) .project-preview{background:#fff2e8;border-color:#efe2d7}
.project-tile:nth-child(5) .project-preview{background:#f5eff8;border-color:#e9e0ef}
.project-tile:nth-child(6) .project-preview{background:#f3f1ed;border-color:#e8e3da}
.project-windowbar{height:25px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px;background:#fff;border-radius:5px 5px 0 0;line-height:1;color:#9885a7}
.project-windowbar>span:first-child{display:flex;align-items:center;gap:4px;width:22px;flex-shrink:0}
.project-windowbar i{display:block;width:3px;height:3px;border-radius:50%;background:#d6c8df}.project-windowbar i:first-child{background:#ffa975}
.project-windowbar small{font-size:6px;font-weight:400;letter-spacing:.025em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.project-preview-arrow{font-size:14px;font-weight:400;width:22px;text-align:right;line-height:1}
.project-viewport{position:relative;overflow:hidden;aspect-ratio:1.9;background:#fff;border-radius:0 0 5px 5px}
.project-viewport>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform 1s cubic-bezier(.22,1,.36,1);transform:none}
.project-preview:hover{translate:0 -3px;box-shadow:0 13px 28px #32184210}
.project-preview:hover .project-viewport>img{transform:scale(1.035)}
.project-view-label{position:absolute;right:20px;bottom:19px;display:flex;align-items:center;gap:18px;padding:9px 12px;border-radius:4px;background:#fff;color:#6a24a2;box-shadow:0 5px 20px #160b2215;font-size:9px;line-height:1.5;opacity:0;translate:0 7px;transition:opacity .3s,translate .3s}
.project-view-label>b{font-weight:400;font-size:15px;line-height:1}
.project-preview:hover .project-view-label,.project-preview:focus-visible .project-view-label{opacity:1;translate:0 0}
.project-information{display:flex;flex-direction:column;flex:1;padding:18px 0 0;min-width:0}
.project-industry{font-size:7px;line-height:1.8;letter-spacing:.08em;text-transform:uppercase;color:#8a729a;font-weight:500;display:block;margin-bottom:7px}
.project-information h3{font-family:'Space Grotesk',sans-serif;font-size:19px;font-weight:500;line-height:1.3;letter-spacing:-.03em;margin:0;color:#172033}
.project-information h3>a{display:flex;align-items:center;justify-content:space-between;gap:15px;transition:color .25s}
.project-information h3>a>span{font-family:'Poppins',sans-serif;font-size:18px;font-weight:400;color:#6a24a2;transition:translate .25s}
.project-information h3>a:hover{color:#6a24a2}.project-information h3>a:hover>span{translate:3px -3px}
.project-information>p{font-size:10px;color:#7a6e84;line-height:1.9;margin:11px 0 15px}
.project-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid #eee8f3;margin-top:auto}
.project-technology{display:flex;flex-wrap:wrap;gap:5px}
.project-technology>span{font-size:7px;color:#8b769a;line-height:1.6}
.project-technology>span+span:before{content:'·';margin-right:5px;color:#baa4c9}
.project-live{display:inline-flex;align-items:center;gap:7px;font-size:8px;color:#6a24a2;white-space:nowrap;line-height:1.7}
.project-live:hover{text-decoration:underline;text-underline-offset:4px}.project-live>span{font-size:12px}
/* Equal preview and typography dimensions across both desktop rows. */
.project-tile .project-preview{padding:12px}
.project-tile .project-windowbar{height:27px}
.project-tile .project-windowbar small{font-size:7px}
.project-tile .project-viewport{aspect-ratio:1.85}
.project-tile .project-information h3{font-size:23px}
.project-tile .project-information>p{margin:12px 0 18px}
.project-tile .project-meta{padding-top:12px}
.portfolio-refined a:focus-visible{outline:2px solid #6a24a2;outline-offset:4px}
@media(max-width:1100px){.portfolio-refined>.container{width:calc(100% - 64px)}.portfolio-refined .section-heading h2{font-size:40px}.project-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 27px}.project-tile:nth-child(-n+2){grid-column:auto}.project-tile .project-preview,.project-tile:nth-child(-n+2) .project-preview{padding:11px}.project-tile .project-windowbar,.project-tile:nth-child(-n+2) .project-windowbar{height:25px;padding-inline:10px}.project-tile .project-windowbar small,.project-tile:nth-child(-n+2) .project-windowbar small{font-size:6px}.project-tile .project-viewport,.project-tile:nth-child(-n+2) .project-viewport{aspect-ratio:1.85}.project-tile .project-information,.project-tile:nth-child(-n+2) .project-information{padding-top:18px}.project-tile .project-information h3,.project-tile:nth-child(-n+2) .project-information h3{font-size:22px}.project-tile .project-information>p,.project-tile:nth-child(-n+2) .project-information>p{font-size:11px;margin:11px 0 16px}.project-tile .project-industry,.project-tile:nth-child(-n+2) .project-industry{font-size:7px}.project-tile .project-technology>span,.project-tile:nth-child(-n+2) .project-technology>span{font-size:8px}.project-tile .project-live,.project-tile:nth-child(-n+2) .project-live{font-size:9px}}
@media(max-width:800px){.portfolio-refined{padding:72px 0}.portfolio-refined>.container{width:calc(100% - 48px)}.portfolio-refined .section-heading{gap:35px;margin-bottom:36px}.portfolio-refined .section-heading h2{font-size:34px}.portfolio-refined .heading-aside{font-size:11px;max-width:260px}.portfolio-refined .heading-aside .text-link{font-size:11px}.project-gallery{gap:30px 22px}.project-tile .project-information h3,.project-tile:nth-child(-n+2) .project-information h3{font-size:20px}.project-tile .project-information>p,.project-tile:nth-child(-n+2) .project-information>p{font-size:10px}.project-tile .project-industry,.project-tile:nth-child(-n+2) .project-industry{font-size:6px}.project-tile .project-technology>span,.project-tile:nth-child(-n+2) .project-technology>span{font-size:7px}.project-tile .project-live,.project-tile:nth-child(-n+2) .project-live{font-size:8px}}
@media(max-width:580px){.portfolio-refined{padding:60px 0}.portfolio-refined>.container{width:calc(100% - 40px)}.portfolio-refined .section-heading{display:block;margin-bottom:30px}.portfolio-refined .section-heading .eyebrow{font-size:7px}.portfolio-refined .section-heading h2{font-size:33px}.portfolio-refined .heading-aside{font-size:12px;max-width:none;margin-top:20px}.portfolio-refined .heading-aside .text-link{font-size:11px;margin-top:14px}.project-gallery{grid-template-columns:1fr;gap:28px}.project-tile .project-preview,.project-tile:nth-child(-n+2) .project-preview{padding:9px;border-radius:9px}.project-tile .project-windowbar,.project-tile:nth-child(-n+2) .project-windowbar{height:22px;padding-inline:8px}.project-tile .project-windowbar small,.project-tile:nth-child(-n+2) .project-windowbar small{font-size:5px}.project-tile .project-viewport,.project-tile:nth-child(-n+2) .project-viewport{aspect-ratio:1.85}.project-tile .project-information h3,.project-tile:nth-child(-n+2) .project-information h3{font-size:22px}.project-tile .project-industry,.project-tile:nth-child(-n+2) .project-industry{font-size:7px}.project-tile .project-information>p,.project-tile:nth-child(-n+2) .project-information>p{font-size:11px;margin:11px 0 15px}.project-tile .project-technology>span,.project-tile:nth-child(-n+2) .project-technology>span{font-size:8px}.project-tile .project-live,.project-tile:nth-child(-n+2) .project-live{font-size:9px}.project-tile:nth-child(n+3){display:grid;grid-template-columns:100px 1fr;gap:16px;border-top:1px solid #eee8f3;padding-top:23px}.project-tile:nth-child(n+3) .project-preview{padding:5px;border-radius:6px;align-self:start}.project-tile:nth-child(n+3) .project-windowbar{display:none}.project-tile:nth-child(n+3) .project-viewport{aspect-ratio:1.05;border-radius:3px}.project-tile:nth-child(n+3) .project-information{padding:0}.project-tile:nth-child(n+3) .project-information h3{font-size:17px}.project-tile:nth-child(n+3) .project-industry{font-size:6px;letter-spacing:.04em}.project-tile:nth-child(n+3) .project-information>p{font-size:10px;line-height:1.85;margin:9px 0 12px}.project-tile:nth-child(n+3) .project-meta{gap:9px;padding-top:9px;flex-wrap:wrap}.project-tile:nth-child(n+3) .project-technology>span{font-size:7px}.project-tile:nth-child(n+3) .project-live{font-size:8px}.project-view-label{display:none}}
@media(max-width:360px){.portfolio-refined .section-heading h2{font-size:30px}.project-tile:nth-child(n+3){grid-template-columns:85px 1fr;gap:14px}.project-tile:nth-child(n+3) .project-information h3{font-size:16px}}
html[data-motion=off] .project-preview:hover{translate:0 0}
html[data-motion=off] .project-preview:hover .project-viewport>img{transform:none}

/* Keep secondary project information readable at every size. */
.portfolio-refined .project-tile .project-industry{font-size:9px;color:#765786}
.portfolio-refined .project-tile .project-information>p{font-size:12px;color:#716479}
.portfolio-refined .project-tile .project-technology>span{font-size:10px;color:#796585}
.portfolio-refined .project-tile .project-live{font-size:11px;min-height:30px}
@media(max-width:800px){.portfolio-refined .project-tile .project-industry{font-size:8px}.portfolio-refined .project-tile .project-information>p{font-size:11px}.portfolio-refined .project-tile .project-technology>span{font-size:9px}.portfolio-refined .project-tile .project-live{font-size:10px}}
@media(max-width:580px){.portfolio-refined .project-tile .project-industry{font-size:7px}.portfolio-refined .project-tile .project-technology>span{font-size:8px}.portfolio-refined .project-tile .project-live{font-size:9px}}
