/* Product sets share the same caption, frame and focus treatments across the home and case pages. */
.gallery-shell.home-shell { width:100%; margin-inline:0; background:radial-gradient(ellipse at 92% 0,#153442,transparent 49%),#0a1722; }
.gallery-shell > .mpg { width:min(var(--home-content-width),calc(100% - 2 * var(--home-inset))); margin-inline:auto; }
.mpg { --mpg-ink:#f0f8fc; --mpg-muted:#bdcdd6; --mpg-rule:#334a59; --mpg-ice:#9be5f3; color:var(--mpg-ink); scroll-margin-top:6rem; }
.mpg [hidden], .mpg-viewer [hidden] { display:none!important; }
.mpg #mpg-title, .mpg-featured.mpg-aplus .mpg-set-title { margin:0; font-size:var(--mp-heading-size); line-height:1.22; letter-spacing:-.025em; text-wrap:balance; }
.mpg .mpg-description, .mpg .mpg-note, .mpg .mpg-meta { color:var(--mpg-muted); font-size:var(--mp-body-size); line-height:1.68; margin:10px 0 0; }
.mpg .mpg-meta { font-size:1rem; margin-top:14px; color:#a9d3df; }
.mpg a { color:var(--mpg-ice); text-underline-offset:4px; }
.mpg-set { border-top:1px solid var(--mpg-rule); margin-top:clamp(28px,3.5vw,48px); padding-top:clamp(22px,3vw,38px); scroll-margin-top:6rem; }
.mpg .mpg-set-title { font-size:clamp(1.4rem,1.9vw,1.85rem); margin:0; line-height:1.32; letter-spacing:-.025em; }
.mpg-bar { min-width:0; }
.mpg-grid, .mpg-aplus-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,206px),1fr)); gap:clamp(12px,1.3vw,20px); margin-top:20px; }
.mpg-plate { min-width:0; margin:0; }
.mpg-thumb { position:relative; display:grid; place-items:center; width:100%; padding:0; margin:0; overflow:hidden; border:1px solid var(--mpg-rule); border-radius:var(--mp-media-radius); background:#112330; color:#e7fbff; cursor:zoom-in; aspect-ratio:1; text-decoration:none; }
.mpg-thumb img, .mpg-thumb video { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.mpg-zoom { display:none; }
.mpg-plate figcaption { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; margin:7px 0 0; color:#edf5f9; font-size:var(--mp-caption-size); line-height:1.45; }
.mpg-plate figcaption strong { font-weight:600; }
.mpg-plate figcaption span, .mpg-plate figcaption small { font-size:.9rem; color:var(--mpg-muted); }
.mpg-plate [data-image-source] { color:#a8d7e2; }
.mpg :is(a,button):focus-visible, .mpg-viewer button:focus-visible { outline:3px solid #91e6fa; outline-offset:3px; z-index:1; }
@media (hover:hover) {
  .mpg-thumb:hover { border-color:var(--mpg-ice); box-shadow:0 0 0 1px var(--mpg-ice); }
  #listing .mpg-collection-choice:hover { background:#162d3b; color:#fff; }
}
.mpg-aplus:not(.mpg-featured) { display:grid; grid-template-columns:minmax(0,.93fr) minmax(0,2fr); gap:clamp(24px,3vw,48px); align-items:start; }
.mpg-aplus:not(.mpg-featured) > .mpg-bar { padding-top:4px; }
.mpg-aplus-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0; }
.mpg-aplus-grid .mpg-plate:first-child { grid-column:1/-1; }
.mpg-aplus-grid .mpg-thumb { display:block; aspect-ratio:auto; }
.mpg-aplus-grid .mpg-thumb img { width:100%; height:auto; }

/* Home: each image is a complete piece of listing artwork, including its text. */
#listing .mpg-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem 1.25rem; }
.mpg-heading-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.25rem .8rem; }
.mpg-browse-hint { margin:0; font-size:var(--mp-caption-size); line-height:1.5; color:var(--mpg-muted); }
.mpg-rotation { display:inline-flex; align-items:center; gap:.35rem; min-height:44px; padding:0 .65rem; border:1px solid #365467; border-radius:8px; background:#112330; color:#bdefff; font-family:inherit; font-size:var(--mp-caption-size); font-weight:600; line-height:1.4; cursor:pointer; }
.mpg-rotation:hover { background:#183248; border-color:#6da6bc; }
.mpg-rotation:not([data-paused]) .mpg-rotation-play, .mpg-rotation[data-paused] .mpg-rotation-pause { display:none; }
.mpg-swipe-hint { display:none; }
.mpg-sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
#listing .mpg-collection-choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin-top:clamp(16px,1.7vw,26px); border-block:1px solid var(--mpg-rule); }
#listing .mpg-collection-choice { position:relative; display:flex; align-items:center; gap:clamp(8px,1vw,14px); min-width:0; min-height:56px; padding:.55rem clamp(9px,1.1vw,16px); color:#c3d3df; text-decoration:none; }
#listing .mpg-collection-choice[aria-pressed=true] { box-shadow:inset 0 -3px #84dbea; background:#173240; color:#fff; }
#listing .mpg-collection-choice img { display:block; flex:none; width:clamp(34px,3.4vw,46px); height:auto; aspect-ratio:1; object-fit:contain; background:#fafbfc; border-radius:4px; }
#listing .mpg-collection-choice strong { font-size:clamp(1rem,1.25vw,1.125rem); font-weight:650; line-height:1.35; }
#listing .mpg-featured { margin-top:clamp(15px,1.6vw,22px); padding-top:0; border:0; }
.gallery-shell .mpg-example-bar { display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"name intro more"; gap:.4rem clamp(12px,1.5vw,22px); align-items:center; }
.gallery-shell .mpg-example-bar .mpg-set-title { grid-area:name; }
#listing .mpg-example-bar .mpg-set-title { color:#dceef5; font-size:var(--mp-body-size); line-height:1.5; font-weight:650; }
.gallery-shell .mpg-example-bar .mpg-note { grid-area:intro; margin:0; max-width:46em; font-size:var(--mp-body-size); text-wrap:pretty; }
.gallery-shell .mpg-aplus .mpg-example-bar { grid-template-columns:auto auto minmax(0,1fr) auto; grid-template-areas:"name intro types more"; }
.mpg-aplus-support { grid-area:types; display:flex; flex-wrap:wrap; align-items:center; gap:.35rem .6rem; min-width:0; color:var(--mpg-muted); font-size:var(--mp-caption-size); line-height:1.45; }
.mpg-aplus-support ul { display:flex; flex-wrap:wrap; gap:.35rem; min-width:0; margin:0; padding:0; list-style:none; }
.mpg-aplus-support li { padding:.2rem .55rem; border:1px solid #365665; border-radius:999px; background:#142c39; color:#cfedf4; font-weight:600; white-space:nowrap; }
.gallery-shell .mpg-view-all { grid-area:more; justify-self:end; display:inline-flex; align-items:center; gap:.4em; min-height:44px; color:#b0deeb; font-size:var(--mp-caption-size); font-weight:600; text-decoration:none; }
.gallery-shell .mpg-view-all:is(:hover,:focus-visible) { text-decoration:underline; }
.gallery-shell .mpg-thumb { border:0; }
.gallery-shell .mpg-plate figcaption { margin-top:.5em; }
.gallery-shell .mpg-plate figcaption strong { font-weight:550; }
.gallery-shell :is(.mpg-grid,.mpg-aplus-grid) { gap:clamp(12px,1.15vw,18px); margin-top:clamp(12px,1.25vw,18px); }
#listing .mpg-grid { grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; }
.gallery-shell .mpg-aplus-grid { grid-template-columns:minmax(0,4fr) repeat(2,minmax(0,1fr)); align-items:start; }
.gallery-shell .mpg-aplus-grid .mpg-plate:first-child { grid-column:1; grid-row:span 2; }
@media (min-width:641px) and (max-width:1020px) {
  #listing .mpg-grid { grid-template-columns:minmax(0,1.9fr) repeat(2,minmax(0,1fr)); }
  #listing .mpg-grid .mpg-plate:first-child { grid-row:span 2; align-self:center; }
}
@media (max-width:1050px) {
  .gallery-shell .mpg-aplus .mpg-example-bar { grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"name name more" "intro types types"; }
  .gallery-shell .mpg-aplus-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .gallery-shell .mpg-aplus-grid .mpg-plate:first-child { grid-row:auto; grid-column:1/-1; }
}
@media (max-width:710px) {
  #listing .mpg-collection-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #listing .mpg-collection-choice:nth-child(n+3) { border-top:1px solid var(--mpg-rule); }
}
@media (max-width:640px) {
  .mpg-swipe-hint { display:inline; }
  .gallery-shell .mpg-aplus-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #listing .mpg-collection-choice { padding:6px 8px; min-height:50px; }
  #listing .mpg-collection-choice img { width:clamp(28px,8vw,34px); }
  .gallery-shell .mpg-example-bar { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"name more" "intro intro"; gap:0 8px; }
  .gallery-shell .mpg-aplus .mpg-example-bar { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"name name" "types types" "intro more"; row-gap:.35rem; }
  #listing .mpg-grid { display:flex; overflow-x:auto; scroll-snap-type:x proximity; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#81bdc9 #152734; padding:5px 4px 10px; margin:8px -4px 0; gap:12px; }
  #listing .mpg-grid .mpg-plate { flex:0 0 min(69vw,288px); scroll-snap-align:start; }
}
@media (forced-colors:active) {
  #listing .mpg-collection-choice[aria-pressed=true] { outline:3px solid Highlight; outline-offset:-4px; }
}
.mpg-viewer { width:min(960px,94vw); max-width:94vw; max-height:94vh; max-height:94dvh; box-sizing:border-box; padding:clamp(.85rem,2.1vw,1.7rem); border:1px solid #355363; border-radius:12px; color:#eef7ff; background:#0c1d29; overflow:auto; }
.mpg-viewer:not([open]) { display:none; }
.mpg-viewer::backdrop { background:#020811e6; }
.mpg-viewer-head, .mpg-viewer-foot { display:flex; gap:.75rem; align-items:center; justify-content:space-between; }
.mpg-viewer-head h3 { margin:0; font:650 clamp(1rem,1.9vw,1.3rem)/1.4 system-ui,sans-serif; }
.mpg-viewer button { flex:none; min-width:44px; min-height:44px; padding:0 .8rem; border-radius:6px; color:#c3f2ff; background:#193545; }
.mpg-viewer-frame { display:grid; place-items:center; margin:.6rem 0; }
.mpg-viewer-frame img,.mpg-viewer-frame video { display:block; width:auto; height:auto; max-width:100%; max-height:60vh; max-height:60dvh; object-fit:contain; }
.mpg-viewer-caption { color:#b9cfda; font-size:1rem; margin:.5rem 0; line-height:1.6; }
.mpg-viewer-foot { justify-content:center; }
.mpg-viewer-foot span { min-width:4.5em; text-align:center; font-variant-numeric:tabular-nums; }
.case-intro-note { align-self:center; border-inline-start:1px solid #3b6175; padding:.4rem 0 .4rem clamp(18px,3vw,46px); color:#b5c8d8; line-height:1.7; }
.case-intro-note strong { display:block; color:#a9e7f5; margin-bottom:.35rem; font-weight:650; font-size:1rem; }
.case-intro-note p { margin:0; max-width:28em; font-size:1rem; }
.case-chapter { padding-block:clamp(24px,3.4vw,48px); border-bottom:1px solid var(--discover-line); }
.case-chapter .case-label { margin:0 0 8px; color:#95d8eb; font-size:.9375rem; font-weight:650; letter-spacing:.04em; }
.case-chapter-intro, .case-empty p { color:#b9cada; line-height:1.75; max-width:50em; }
.case-empty { margin-top:1rem; display:flex; gap:.5rem 1rem; flex-wrap:wrap; align-items:baseline; padding:.9em 1.15em; border-inline-start:2px solid #538ea6; background:#0f2131; }
.case-empty strong { color:#e0f5ff; font-size:1rem; }
.case-empty p { margin:0; font-size:1rem; }
.case-guide { padding:0; margin:1.2rem 0 .4rem; list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,3vw,46px); }
.case-guide li { border-top:1px solid var(--discover-line); padding-top:12px; }
.case-guide strong { color:#dcebf4; }
.case-guide p { margin:7px 0 0; color:#b6c8d8; font-size:1rem; line-height:1.7; }
.case-film { display:block; width:min(100%,800px); height:auto; margin:1.25em 0 .75em; background:#030a10; border:1px solid var(--mpg-rule); border-radius:8px; }
.case-film-stills { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:1em; }
.case-film-stills .mpg-thumb { aspect-ratio:16/9; }
.case-chapter .resource-link { font-size:1rem; font-weight:600; }
.case-primer { display:flex; flex-wrap:wrap; gap:.55rem 1.1rem; margin-top:1rem; }
.case-primer a { display:inline-flex; align-items:center; gap:.5em; min-height:44px; font-size:1rem; }
@media (max-width:900px) {
  .mpg-aplus:not(.mpg-featured) { grid-template-columns:minmax(0,1fr); gap:18px; }
  .mpg-aplus:not(.mpg-featured) > .mpg-bar { padding-top:0; }
  .mpg-bar .mpg-note, .mpg-bar .mpg-meta { margin-top:6px; }
  .mpg-bar .mpg-view-all { margin-top:0; }
}
@media (max-width:710px) {
  .case-intro-note { padding:0 0 17px; border:0; }
  .case-intro-note strong { display:inline; margin-right:.6em; }
  .case-intro-note p { display:inline; }
  .case-guide { grid-template-columns:1fr; gap:.65rem; }
  .mpg-grid, .case-film-stills { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mpg-grid > :only-child { grid-column:1/-1; }
}
@media (max-width:640px) {
  .mpg-aplus-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .mpg-plate figcaption { margin-top:5px; }
}
@media (max-width:375px) { .mpg-viewer { padding:10px; } }
