/* Progressive enhancement: the original four cards remain usable without JS. */
/* 1.0.3 interaction refinement, shared with the native homepage. */
.yh-work-showcase .yh-work-copy>.yh-text-link{transition:color .25s}
.yh-work-showcase .yh-card-media .yh-media-action{transition:background .2s,color .2s,border-color .2s,transform .2s}
.yh-work-showcase .yh-card-media:is(:hover,:focus-visible) .yh-media-action{background:var(--purple);color:var(--ink);border-color:var(--purple);transform:translate(2px,-2px)}
@media(prefers-reduced-motion:reduce){.yh-work-showcase .yh-text-link,.yh-work-showcase .yh-card-media .yh-media-action{transition:none}.yh-work-showcase .yh-card-media:is(:hover,:focus-visible) .yh-media-action{transform:none}}
.yh-work-showcase{--stage-height:clamp(360px,49svh,510px);position:relative}
.yh-work-showcase .yh-work-grid{display:block;position:relative;height:var(--stage-height);isolation:isolate;overflow:hidden;border-radius:14px;background:#17181b}
.yh-work-showcase .yh-work-card{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,32%) minmax(0,68%);align-items:stretch;background:transparent}
.yh-work-showcase .yh-work-card[hidden]{display:none}
.yh-work-showcase .yh-work-copy{grid-column:1;grid-row:1;padding:clamp(24px,3vw,46px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;overflow:hidden;background:#17181b}
.yh-work-showcase .yh-work-copy:before{content:attr(data-number);position:absolute;top:-25px;right:6px;font:700 clamp(150px,17vw,240px)/1 'Barlow Condensed',sans-serif;color:#ffffff03;pointer-events:none}
.yh-work-showcase .yh-category{color:var(--purple);font-size:10px;margin:0 0 20px;max-width:25ch;letter-spacing:1.2px}
.yh-work-showcase .yh-work-card h3{font-size:clamp(33px,3.2vw,54px);line-height:1.02;text-transform:uppercase;max-width:12ch;text-wrap:balance}
.yh-work-showcase .yh-description{flex:none;font-size:14px;line-height:1.65;max-width:29ch;margin:18px 0 24px}
.yh-work-showcase .yh-work-copy>.yh-text-link{font-size:13px;min-width:124px}
.yh-work-showcase .yh-card-media{grid-column:2;grid-row:1;height:100%;aspect-ratio:auto;border-radius:0;touch-action:pan-y;cursor:grab}
.yh-work-showcase .yh-card-media:active{cursor:grabbing}
.yh-work-showcase .yh-card-media img{object-position:50% 40%;filter:brightness(.92);user-select:none;-webkit-user-drag:none;transition:filter .35s}
.yh-work-showcase .yh-card-media.yh-beach img{object-position:50% 54%}
.yh-work-showcase .yh-card-media:hover img{filter:brightness(1)}
.yh-work-showcase .yh-card-media:after{content:'';position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#0007);pointer-events:none}
.yh-work-showcase .yh-media-action{opacity:1;z-index:1;bottom:24px;right:27px;border:1px solid #ffffff66;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;background:#10111240;font-size:23px}
.yh-work-showcase .yh-placeholder-center{font-size:clamp(42px,5vw,78px);color:#c2c2d2;font-weight:600}
.yh-work-showcase .yh-placeholder-note{font-size:10px;letter-spacing:2px;margin-top:26px}
.yh-work-showcase .yh-placeholder.yh-card-media{filter:none}
.yh-work-showcase .yh-placeholder:before{inset:25px;border-color:#ffffff12}
.yh-showcase-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:16px 0 23px}
.yh-showcase-position{display:flex;align-items:center;gap:13px;font-size:11px;letter-spacing:1px;color:var(--muted)}
.yh-showcase-position b{color:var(--paper);font-weight:500}
.yh-showcase-position i{display:block;width:44px;height:1px;background:#ffffff40}
.yh-showcase-controls{display:flex;align-items:center;gap:9px}
.yh-showcase-hint{font-size:10px;letter-spacing:1px;color:var(--muted);margin-right:13px}
.yh-showcase-arrow{width:42px;height:42px;border:1px solid #ffffff36;border-radius:50%;background:transparent;font-size:20px;transition:background .2s,color .2s,border-color .2s}
.yh-showcase-arrow:hover{background:var(--purple);border-color:var(--purple);color:var(--ink)}
.yh-showcase-tabs{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.yh-showcase-tab{display:flex;align-items:baseline;gap:14px;min-width:0;text-align:left;padding:18px 14px 8px 0;background:none;border-top:1px solid #ffffff24;color:#858590;transition:color .25s;font-size:13px;line-height:1.45}
.yh-showcase-tab span{font-size:10px;color:#82828d}
.yh-showcase-tab[aria-selected=true],.yh-showcase-tab:hover{color:var(--paper)}
.yh-showcase-tab[aria-selected=true] span{color:var(--purple)}
.yh-showcase-playhead{position:absolute;top:0;left:0;height:2px;width:25%;background:var(--purple);pointer-events:none;transition:transform .65s cubic-bezier(.22,1,.36,1)}
.yh-showcase-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){.yh-work-showcase .yh-work-card{grid-template-columns:minmax(0,38%) minmax(0,62%)}.yh-work-showcase .yh-work-copy{padding:24px}.yh-work-showcase .yh-work-card h3{font-size:34px}.yh-showcase-tab{font-size:11px;gap:9px}.yh-work-showcase .yh-description{font-size:13px}}
@media(max-width:600px){.yh-work-showcase{--stage-height:565px}.yh-work-showcase .yh-work-card{grid-template-columns:1fr;grid-template-rows:265px 1fr}.yh-work-showcase .yh-card-media{grid-column:1;grid-row:1}.yh-work-showcase .yh-work-copy{grid-row:2;padding:23px;justify-content:flex-start}.yh-work-showcase .yh-category{margin-bottom:10px;font-size:9px}.yh-work-showcase .yh-work-card h3{font-size:33px;max-width:none}.yh-work-showcase .yh-description{margin:12px 0;max-width:40ch}.yh-work-showcase .yh-work-copy>.yh-text-link{margin-top:auto;min-height:36px}.yh-showcase-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.yh-showcase-tab{flex-direction:column;gap:6px;font-size:10px;padding-right:8px}.yh-showcase-hint{display:none}.yh-showcase-toolbar{margin-bottom:16px}.yh-work-showcase .yh-placeholder-center{font-size:40px}}
@media(prefers-reduced-motion:reduce){.yh-showcase-playhead{transition:none}}

/* Content determines the height: longer project names and larger type never clip. */
.yh-work-showcase .yh-work-grid{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:var(--stage-height)}
.yh-work-showcase .yh-work-card{position:relative;inset:auto;grid-area:1/1;min-height:var(--stage-height)}
.yh-work-showcase .yh-card-media img{position:absolute;inset:0}
.yh-showcase-tabs{display:flex;overflow-x:auto;scrollbar-width:none;padding-bottom:0}
.yh-showcase-tabs::-webkit-scrollbar{display:none;width:0;height:0}
.yh-showcase-tab{flex:1 0 150px;min-height:58px;overflow-wrap:anywhere}
.yh-showcase-playhead{transition:left .65s cubic-bezier(.22,1,.36,1),width .65s cubic-bezier(.22,1,.36,1)}
@media(max-width:1024px) and (min-width:768px){.yh-work-showcase .yh-work-card{grid-template-columns:minmax(0,38%) minmax(0,62%)}.yh-work-showcase .yh-work-copy{padding:24px}.yh-work-showcase .yh-work-card h3{font-size:34px}}
@media(max-width:767px){
 .yh-work-showcase{--stage-height:0px}
 .yh-work-showcase .yh-work-card{grid-template-columns:minmax(0,1fr);grid-template-rows:clamp(185px,58vw,350px) auto;min-height:0}
 .yh-work-showcase .yh-card-media{grid-column:1;grid-row:1}
 .yh-work-showcase .yh-work-copy{grid-column:1;grid-row:2;padding:24px;justify-content:flex-start}
 .yh-work-showcase .yh-category{margin-bottom:10px;font-size:10px}
 .yh-work-showcase .yh-work-card h3{font-size:clamp(30px,7vw,40px);max-width:none}
 .yh-work-showcase .yh-description{margin:12px 0 16px;max-width:44ch;font-size:14px}
 .yh-work-showcase .yh-work-copy>.yh-text-link{margin-top:0;min-height:44px}
 .yh-showcase-hint{display:none}.yh-showcase-toolbar{margin-bottom:16px}
 .yh-showcase-tab{flex-direction:column;align-items:flex-start;gap:6px;font-size:12px;flex-basis:145px;padding-right:16px}
}
@media(prefers-reduced-motion:reduce){.yh-showcase-playhead{transition:none}}
