@import url('./cloud-edges.css');
:root{--line:rgba(255,255,255,.05);--page-gutter:clamp(20px,4.5vw,72px)}
.fireworks:after{background:rgba(0,0,0,.565)}
.work{padding:0 var(--page-gutter) 110px;overflow:visible}
#category-anchor{height:1px;pointer-events:none}
.category-nav{position:sticky;top:0;z-index:10;isolation:isolate;padding:27px 0 25px;margin-bottom:24px}
.category-nav:before{content:'';position:absolute;top:0;left:calc(-1*var(--page-gutter));right:calc(-1*var(--page-gutter));height:calc(100% + 40px);background:linear-gradient(to bottom,rgba(0,0,0,.74),rgba(0,0,0,.48) 52%,transparent);backdrop-filter:blur(8px);mask-image:linear-gradient(#000 48%,transparent);opacity:0;transition:opacity .35s;z-index:-1;pointer-events:none}
.category-nav.is-pinned:before{opacity:1}
.category-tabs{display:flex;gap:clamp(22px,3.3vw,50px);align-items:center;overflow-x:auto;scrollbar-width:none;padding:4px 2px 10px;overscroll-behavior-x:contain}
.category-tabs::-webkit-scrollbar{display:none}
.category-tabs button{white-space:nowrap;font-size:16.25px;line-height:1.6;color:rgba(255,255,255,.64);padding-bottom:8px;border-bottom:1px solid transparent;transition:color .25s,border-color .25s}
.category-tabs button:hover,.category-tabs button[aria-selected=true]{color:#fff}
.category-tabs button[aria-selected=true]{border-bottom-color:rgba(255,255,255,.5)}
.work-grid{overflow-anchor:none;display:block;min-height:calc(100svh - 185px)}
.work-group[data-category]{margin:0!important;grid-column:1/-1;order:0}
.work-group[data-category] .tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(64px,7.2vw,116px) clamp(28px,4.4vw,68px)}
.work-group[data-category="film"] .tile{aspect-ratio:16/9}
.work-group[data-category]:not([data-category="film"]) .tile{aspect-ratio:1.4}
.work-group[data-category] .group-inner{padding:0}
.category-summary{display:flex;justify-content:space-between;gap:25px;margin-top:40px;font-size:13.75px;color:rgba(255,255,255,.45)}
.category-summary button{border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:5px}
.tile{border-color:rgba(255,255,255,.05)}
.tile:hover,.tile:focus-visible{border-color:rgba(255,255,255,.9)}
@media(max-width:1000px){.work-group[data-category] .tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 34px}.category-tabs{gap:27px}.category-tabs button{font-size:15px}}
@media(max-width:600px){.work{padding-bottom:70px}.category-nav{padding:12px 0 10px;margin-bottom:24px}.category-tabs{gap:25px}.category-tabs button{font-size:15px}.work-grid{min-height:calc(100svh - 150px)}#work-grid .work-group[data-category] .tile-grid{grid-template-columns:1fr;gap:64px}.work-group[data-category="film"] .tile-grid{grid-template-columns:1fr;gap:64px}.category-summary{margin-top:28px;font-size:12.5px}}
@media(prefers-reduced-motion:reduce){.category-nav:before{transition:none}}

/* Open typography and a soft black veil, without rules or backdrop blur. */
footer{border:0;background:transparent;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
.fireworks:before{content:'';position:absolute;inset:0 0 auto;height:30vh;z-index:1;pointer-events:none;background:linear-gradient(to bottom,rgba(0,0,0,.2),transparent)}
.category-nav:before{backdrop-filter:none;-webkit-backdrop-filter:none;mask-image:none;background:linear-gradient(to bottom,rgba(0,0,0,.74),rgba(0,0,0,.45) 52%,transparent)}
.category-tabs{justify-content:space-between;gap:clamp(18px,2.5vw,40px);padding:4px 0 10px}
.category-tabs button{border:0;padding:0;text-decoration:none;transition:color .25s}
.category-tabs button[aria-selected=true]{border:0}
.category-summary button{border:0;padding:0}
/* All overlays occupy the viewport; their contents share the page gutter. */
.category-dialog,.collection-dialog{inset:0;width:100%;height:100dvh;padding:0;background:rgba(8,8,8,.96)}
.category-shell,.collection-shell{width:100%;min-height:100dvh;background:transparent;padding:clamp(40px,7vh,76px) var(--page-gutter) 110px}
.category-header,.collection-header{border:0;align-items:baseline;padding:0;margin-bottom:52px;gap:32px}
.category-header h2,.collection-header h2{font-size:clamp(42.5px,5.75vw,80px);line-height:1.08;margin-top:12px}
.collection-description{margin:0 0 40px;max-width:48em}
.category-collections{gap:48px}
.collection-grid,.photo-series-grid{gap:clamp(56px,5.8vw,88px) clamp(28px,3.5vw,50px)}
dialog .tile,dialog .tile:hover,dialog .tile:focus-visible{border:0;box-shadow:none}
.close{border:0;background:transparent}
.close:hover{background:transparent}
.category-close,.collection-close,.detail-close,.info-close{position:fixed;right:var(--page-gutter);bottom:max(24px,env(safe-area-inset-bottom));background:transparent}
.detail-position{border:0;padding-top:0;margin-top:32px}
.detail-links a,.info-shell a{border:0;padding:0;text-decoration:none}
.info-dialog,.info-dialog[data-kind="about"]{background:transparent}
.info-dialog::backdrop{background:rgba(0,0,0,.2)}
.info-shell,.info-dialog[data-kind="about"] .info-shell{width:100%;background:transparent;padding:96px var(--page-gutter) 110px;margin:auto}
.info-shell h2{margin-top:0}
.info-dialog[data-kind="contact"] .info-shell{max-width:1200px}
@media(max-width:600px){
 .category-tabs{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:4px 8px;overflow:visible;padding:0}
 .category-tabs button{grid-column:span 3;min-width:0;min-height:36px;white-space:normal;text-wrap:balance;line-height:1.3;padding:5px 0;text-align:center;color:rgba(255,255,255,.64)}
 .category-tabs button:nth-child(n+5){grid-column:span 4}
 .category-tabs button:hover,.category-tabs button[aria-selected=true]{color:#fff}
 .category-nav:before{height:calc(100% + 24px)}
 .category-shell,.collection-shell{padding-top:36px;padding-bottom:94px}
 .category-header,.collection-header{gap:18px;margin-bottom:40px;align-items:end}
 .category-header>.eyebrow,.collection-header>.eyebrow{white-space:nowrap;font-size:12.5px}
 .collection-description{margin-bottom:30px}
 .collection-grid,.photo-series-grid{gap:52px 20px}
 .info-shell,.info-dialog[data-kind="about"] .info-shell{padding-top:86px;padding-bottom:94px;margin:auto}
 .info-dialog[open]{align-items:safe center}
 .close{width:42px;height:42px}
}

.detail-media>canvas{display:block;width:100%;height:auto;max-height:75dvh;object-fit:contain}
@media(max-width:600px){.detail-media>canvas{max-height:52dvh}}

.detail-dialog{background:rgba(8,8,8,.96)}

/* The two sides meet at black, then reveal the fireworks down the work section. */
.landing:after{background:linear-gradient(180deg,rgba(0,0,0,.27),transparent 32%,transparent 62%,rgba(0,0,0,.62) 88%,#080808 100%)}
.work:before{content:'';position:absolute;inset:0 0 auto;height:clamp(180px,32vh,360px);pointer-events:none;background:linear-gradient(to bottom,#080808 0%,rgba(8,8,8,.8) 18%,rgba(8,8,8,.35) 52%,transparent 100%)}
/* Static borders; keep moving footage inside the frame and avoid edge shimmer. */
.tile{overflow:hidden;transition:opacity .5s;transform:translate3d(calc(var(--mag-x,0px) + var(--push-x,0px)),calc(var(--mag-y,0px) + var(--push-y,0px)),0)}
.tile img:not([src]){visibility:hidden}

/* Ghost exposures already contain their 2% opacity; render the baked result directly. */
.fireworks{opacity:.578}
.fireworks video{opacity:1}
.fireworks:after{background:transparent}

/* Landing stills decode at their displayed size and release after each fade. */
.slide canvas{width:100%;height:100%;object-fit:cover;display:block}

@media(max-width:360px){.category-tabs{column-gap:5px}}

/* Continuous categories with a feathered corner index on every screen. */
.category-nav{position:relative;padding:0;height:64px;margin:0;z-index:10}
.category-nav:before{display:none}
.work-group[data-category]{scroll-margin-top:84px;margin-bottom:140px!important}
.work-group[data-category]:last-child{margin-bottom:0!important;min-height:calc(100svh - 145px)}
.work-grid{min-height:0}
@media(max-width:600px){
 .category-nav{height:48px}
 .work-group[data-category]{scroll-margin-top:74px;margin-bottom:120px!important}
}
@media(prefers-reduced-motion:reduce){}

/* Open folders show clean, unmasked photographs and video thumbnails. */
dialog .tile-visual{mask:none;animation:none}
dialog .tile-visual>img,dialog .tile-visual>canvas{opacity:1}
dialog .tile-visual>canvas:not(.has-frame){opacity:0}

/* Give films more space than the other categories on desktop. */
@media(min-width:1001px){#section-film .tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:1000px){#section-film .tile-grid{grid-template-columns:1fr}}

/* Phone About copy scrolls beneath soft viewport fades, with the close control above. */
@media(max-width:600px){
 .info-dialog[data-kind="about"]::before,.info-dialog[data-kind="about"]::after{content:'';position:fixed;left:0;right:0;z-index:1;pointer-events:none}
 .info-dialog[data-kind="about"]::before{top:0;height:calc(108px + env(safe-area-inset-top));background:linear-gradient(to bottom,rgba(0,0,0,.98),rgba(0,0,0,.82) 28%,rgba(0,0,0,.32) 65%,transparent)}
 .info-dialog[data-kind="about"]::after{bottom:0;height:calc(152px + env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(0,0,0,.98),rgba(0,0,0,.88) 24%,rgba(0,0,0,.32) 65%,transparent)}
 .info-dialog[data-kind="about"] .info-shell{padding-top:calc(112px + env(safe-area-inset-top));padding-bottom:calc(164px + env(safe-area-inset-bottom))}
 .info-dialog[data-kind="about"] .info-close{z-index:2}
}

/* Separate biography from a readable practices list; no dividing lines. */
.about-copy{columns:auto;display:grid;gap:40px}
.info-shell .about-copy p{max-width:none}
.about-practices h3{font:inherit;font-size:21.25px;font-weight:400;margin:0 0 22px}
.about-practices ul{list-style:none;padding:0;margin:0;display:grid;gap:20px}
.about-practices li{margin:0;padding:0;break-inside:avoid}
.about-practices strong{display:block;font-weight:400;font-size:17.5px;line-height:1.5;margin-bottom:5px}
.info-shell .about-practices p{margin:0;font-size:16.25px;line-height:1.7}
@media(min-width:901px){.about-copy{grid-template-columns:1.1fr 1fr;gap:clamp(48px,7vw,110px);align-items:start}}
@media(max-width:600px){.about-copy{gap:32px}.about-practices ul{gap:22px}.tile.cloud-tile:not(.is-scroll-hover):not(:focus-visible){--cloud-reveal:0}}

@media(max-width:600px){
 .landing-header,.landing-bottom{transition:opacity .3s ease}
 body.info-open .landing-header,body.info-open .landing-bottom{opacity:0}
}

/* Gallery scroll hint on every screen: it fades out while scrolling and back
   in at rest near the top of the gallery. */
.scroll-hint{display:block;padding:12px;margin:-12px;color:rgba(255,255,255,.86);line-height:0;opacity:0;pointer-events:none;transition:opacity .45s ease,color .3s}
.scroll-hint.is-visible{opacity:1;pointer-events:auto}
.scroll-hint.is-visible svg{animation:scroll-hint-bob 2.4s ease-in-out infinite}
.scroll-hint:hover,.scroll-hint:focus-visible{color:#fff}
@media(min-width:601px){.scroll-hint svg{width:14px;height:19px}}
@keyframes scroll-hint-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}

.fireworks-still{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.fireworks-still[hidden]{display:none}

/* Reveal timing changes only the highlight, never the page's scroll geometry. */
@media(max-width:600px){
 .tile.is-tap-hover{--cloud-reveal:1;transition:--cloud-reveal .18s ease}
 .tile.cloud-tile:before{opacity:.05;transition:opacity .3s ease}
 .tile.cloud-tile.is-scroll-hover:before,.tile.cloud-tile.is-tap-hover:before{opacity:.7}
}

/* Frame crossfades stay below the fixed feather, including their upper plane. */
.fireworks:before{z-index:2}

/* Wall-label captions in the bottom-right corner: one weight, hierarchy from
   size and opacity only. No chips; a soft glow and a corner shade keep text
   legible without dimming the whole image. */
.tile:after{background:radial-gradient(130% 100% at 100% 100%,rgba(0,0,0,.62),rgba(0,0,0,.24) 42%,transparent 72%)}
.tile-title{position:absolute;left:16px;right:16px;bottom:14px;z-index:2;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;font-size:18px;line-height:1.3;letter-spacing:-.005em;text-shadow:0 0 12px rgba(0,0,0,.55);opacity:0;transform:translateY(4px);transition:opacity .4s,transform .4s;pointer-events:none}
.tile:hover .tile-title,.tile:focus-visible .tile-title,.collection-cover .tile-title{opacity:1;transform:none}
.tile-name{display:block}
.tile-name .collection-size{position:relative;top:-.62em;vertical-align:baseline;margin-left:.2em;font-size:.6em;line-height:0;letter-spacing:.02em;opacity:.7;font-variant-numeric:tabular-nums}
.tile-meta{display:block;font-size:14px;line-height:1.4;letter-spacing:.01em;color:rgba(255,255,255,.66);font-variant-numeric:tabular-nums}
.tile-meta>span+span:before{content:'·';margin:0 .45em}
.collection-cover .tile-type{display:none}
dialog .tile-title{left:14px;right:14px;bottom:12px;font-size:16px}
dialog .tile-meta{font-size:13px}
@media(max-width:600px){
 .tile-title{left:12px;right:12px;bottom:10px;font-size:15.5px;gap:2px;opacity:1;transform:none}
 .tile-meta{font-size:12px;text-wrap:balance}
 dialog .tile-title{left:9px;right:9px;bottom:8px;font-size:13.5px}
 dialog .tile-meta{font-size:11.5px}
 dialog .tile-type{display:none}
}

/* Landing: lighter secondary text, a plain slide count and an arrow to the work. */
.landing-header>span{color:rgba(255,255,255,.7);font-size:13.5px;max-width:none;text-wrap:balance}
.slide-counter{opacity:.5;letter-spacing:.02em}
@media(max-width:600px){.landing-header>span{font-size:11.5px;max-width:190px}}

/* About keeps its original reading sizes; the rest of the site is 25% larger. */
.info-dialog[data-kind="about"] .info-shell{font-size:14px}
.info-dialog[data-kind="about"] .info-shell h2{font-size:clamp(32px,5vw,56px)}
.info-dialog[data-kind="about"] .info-shell p:not(.eyebrow){font-size:15px}
.info-dialog[data-kind="about"] .about-practices h3{font-size:17px}
.info-dialog[data-kind="about"] .about-practices strong{font-size:14px}
.info-dialog[data-kind="about"] .info-shell .about-practices p{font-size:13px}
@media(min-width:901px){
 .info-dialog[data-kind="about"] .info-shell h2{font-size:clamp(34px,3.5vw,52px)}
 .info-dialog[data-kind="about"] .info-shell .about-copy p{font-size:clamp(14px,1.08vw,16px)}
}
@media(max-width:600px){
 .info-dialog[data-kind="about"] .info-shell h2{font-size:38px}
 .info-dialog[data-kind="about"] .info-shell p:not(.eyebrow),.info-dialog[data-kind="about"] .info-shell .about-practices p{font-size:13px}
}

/* Desktop: every section shares Film's two columns and outer edges. Other
   sections' tiles take 82% of their column against the outer edge, leaving an
   open centre and rows close to Film's height. Phones alternate a slight
   inset so the single column has a gentle left/right rhythm. */
@media(min-width:1001px){
 #work-grid .work-group[data-category] .tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #work-grid .work-group[data-category]:not([data-category="film"]) .tile-grid:not([data-count="3"])>.tile{width:82%}
 /* A section of exactly three shows them as one row, varying the page rhythm. */
 #work-grid .work-group[data-category] .tile-grid[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 #work-grid .work-group[data-category]:not([data-category="film"]) .tile-grid>.tile{width:90%}
}
@media(min-width:1001px),(max-width:600px){
 #work-grid .work-group[data-category]:not([data-category="film"]) .tile-grid>.tile:nth-child(even){justify-self:end}
}

/* Content-driven copy starts empty in the page and fades in once loaded,
   so no outdated text flashes before the published content arrives. */
#identity,#footer-note{transition:opacity .5s ease}
#identity:empty,#footer-note:empty{opacity:0}

/* Section index, top-left on every screen: the current section as a title,
   the others as quiet links after it (below it on phones). On a section
   change the two swap places; see category-navigation.js. */
.category-nav{position:relative;padding:0;height:150px;margin:0;z-index:10}
.category-index{position:fixed;left:var(--page-gutter);right:var(--page-gutter);top:max(22px,env(safe-area-inset-top));z-index:10;isolation:isolate;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 30px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s ease,visibility 0s .4s}
.category-index:before{content:'';position:absolute;z-index:-1;left:calc(-1*var(--page-gutter));right:calc(-1*var(--page-gutter));top:calc(-1*max(22px,env(safe-area-inset-top)));height:calc(100% + max(22px,env(safe-area-inset-top)) + 70px);background:linear-gradient(to bottom,rgba(0,0,0,.78),rgba(0,0,0,.42) 55%,transparent);pointer-events:none}
.index-visible .category-index{opacity:1;visibility:visible;transition-delay:0s}
.index-visible .category-index-list a{pointer-events:auto}
.modal-open .category-index{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
.category-index-current{font-size:20px;line-height:1.2;letter-spacing:-.015em;color:#fff;text-shadow:0 0 14px rgba(0,0,0,.55)}
.category-index-current>span{display:inline-block;transform-origin:0 0}
.category-index-list{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 24px;font-size:15px;letter-spacing:.01em}
@media(min-width:1001px){.category-index{flex-wrap:nowrap}.category-index-list{flex:1;justify-content:space-between;flex-wrap:nowrap;padding-left:clamp(24px,4vw,64px)}}
.category-index-list a{display:inline-block;transform-origin:0 0;white-space:nowrap;padding:6px 0;line-height:20px;color:rgba(255,255,255,.58);text-decoration:none;border:0;text-shadow:0 0 12px rgba(0,0,0,.55);transition:color .25s}
.category-index-list a[hidden]{display:none}
.category-index-list a:hover,.category-index-list a:focus-visible{color:#fff}
@media(max-width:600px){
 .category-nav{height:140px}
 .category-index{flex-direction:column;align-items:flex-start;gap:8px;top:max(18px,env(safe-area-inset-top))}
 .category-index-current{font-size:23.5px}
 .category-index-list{flex-direction:column;align-items:flex-start;gap:0;font-size:13.5px}
 .category-index-list a{padding:6px 0;line-height:20px}
}
@media(prefers-reduced-motion:reduce){.category-index{transition:none}}

/* Breathing room between sections; anchors land below the index. */
.work-group[data-category]{scroll-margin-top:100px;margin-bottom:280px!important}
/* Phone anchors land below the tall index; the end of the previous section
   may show above it, which is visible content now that the index is see-through. */
@media(max-width:600px){.work-group[data-category]{scroll-margin-top:270px;margin-bottom:196px!important}}

/* Section counts sit on the index title like the folder superscripts. */
.category-index-current>span[data-count]:after{content:attr(data-count);position:relative;top:-1em;margin-left:.18em;font-size:.62em;line-height:0;letter-spacing:.02em;opacity:.7;font-variant-numeric:tabular-nums}
.category-summary button{margin-left:auto}

/* Back to top: centred in the footer on desktop, at its end on phones; it
   fades in once the footer is in view. */
footer .footer-note{margin-left:auto}
@media(min-width:601px){footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}footer .footer-note{grid-column:3;justify-self:end;margin-left:0}footer .to-top{grid-column:2;grid-row:1;margin:-12px}}
.to-top{display:block;padding:12px;margin:-12px -12px -12px 0;line-height:0;color:rgba(255,255,255,.86);opacity:0;pointer-events:none;transition:opacity .45s ease,color .3s}
.to-top.is-visible{opacity:1;pointer-events:auto}
.to-top:hover,.to-top:focus-visible{color:#fff}
@media(min-width:601px){.to-top svg{width:14px;height:19px}}
@media(max-width:600px){.to-top{margin-left:auto}}
dialog:focus{outline:none}
/* Desktop needs no full-screen tail after the last section: the index already
   selects it at the page end. Phones keep the taller ending. */
@media(min-width:601px){.work-group[data-category]:last-child{min-height:0}.work{padding-bottom:152px}}
/* One close button on every screen, matching desktop. */
.close{width:44px;height:44px}
/* Desktop About and Contact: a slightly deeper backdrop for reading. */
@media(min-width:601px){.info-dialog::backdrop,.info-dialog[data-kind="about"]::backdrop{background:rgba(0,0,0,.3)}}
/* Generous air between rows inside sections, and between desktop columns. */
#work-grid .work-group[data-category] .tile-grid{gap:clamp(85px,9.5vw,153px) clamp(34px,5.28vw,82px)}
@media(max-width:1000px){#work-grid .work-group[data-category] .tile-grid{gap:85px 41px}}
@media(max-width:600px){#work-grid .work-group[data-category] .tile-grid{gap:85px}}

/* Experiment: the card's own edges erode (cloud-gpu.js), so no white frame. */
.tile.cloud-tile:before{display:none}

/* "Cutey" text shadows on every screen: a feathered black patch hugging each
   piece of nav, gallery, About and Contact text. */
.category-index:before{display:none}
.category-index-current>span,.category-index-list a,.wordmark,#identity,.landing-bottom nav>button,.landing-bottom nav>a,.slide-caption>span{position:relative;isolation:isolate}
.category-index-current>span:before,.category-index-list a:before,.wordmark:before,#identity:before,.landing-bottom nav>button:before,.landing-bottom nav>a:before,.slide-caption>span:before{
 content:'';position:absolute;z-index:-1;inset:4px -8px;border-radius:12px;background:rgba(0,0,0,var(--shade));box-shadow:0 0 14px 9px rgba(0,0,0,var(--shade));pointer-events:none}
/* Strengths come from Studio → Design → Text shadows. */
.category-index{--shade:var(--shadow-nav,.5)}
.wordmark,#identity,.landing-bottom nav>button,.landing-bottom nav>a,.slide-caption>span,.info-shell{--shade:var(--shadow-gallery,.5)}
#identity:empty:before,.slide-caption>span:empty:before{display:none}
/* About and Contact: the same patch, drawn per wrapped line. */
.info-shell .line-shade{background:rgba(0,0,0,var(--shade));box-shadow:0 0 14px 9px rgba(0,0,0,var(--shade));border-radius:10px;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Work viewer: a quiet sound toggle replaces the native player controls. */
.detail-media .sound-toggle{position:absolute;right:14px;bottom:12px;z-index:2;padding:8px;margin:-8px;line-height:0;color:rgba(255,255,255,.86);background:transparent;border:0;filter:drop-shadow(0 0 6px rgba(0,0,0,.8))}
.sound-toggle[aria-pressed="false"] .sound-on,.sound-toggle[aria-pressed="true"] .sound-off{display:none}
.detail-media .sound-toggle:hover,.detail-media .sound-toggle:focus-visible{color:#fff}
#info-title,#info-eyebrow{width:fit-content}

/* Loading order: the eroded canvas first, content with it. Until a card's
   canvas has painted (e.g. right after a fast scroll) its plain poster stays
   hidden, so a hard-edged rectangle never shows; the canvas then fades in.
   Cards whose preview failed (.memory-fallback) keep the poster. With motion
   paused, desktop video cards never paint (their preview does not play), so
   the poster shows with a soft feathered edge instead of staying empty. */
body:not(.motion-paused) #work-grid .memory-card:not(.memory-fallback) .tile-visual:not(:has(>canvas.has-frame))>img{visibility:hidden}
body.motion-paused #work-grid .memory-card .tile-visual:not(:has(>canvas.has-frame)){
 -webkit-mask-image:linear-gradient(to right,transparent 1%,#000 11%,#000 89%,transparent 99%),linear-gradient(to bottom,transparent 1%,#000 14%,#000 86%,transparent 99%);
 -webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 1%,#000 11%,#000 89%,transparent 99%),linear-gradient(to bottom,transparent 1%,#000 14%,#000 86%,transparent 99%);mask-composite:intersect}
