:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --white: #fff;
  --ink: #222322;
  --dim: #5b5c58;
  --dark: #222423;
  --rule: #dddcd6;
  --accent: #9c412d;
  --focus: #356cc2;
  --edge: clamp(20px, 5.6vw, 90px);
  --section: clamp(65px, 9vw, 136px);
  font-family: "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { background: var(--paper); color: var(--ink); margin: 0; font-size: 16px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .27em; }
button { font: inherit; color: inherit; cursor: pointer; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.6vw, 7.1rem); font-weight: 760; letter-spacing: -.064em; }
h2 { font-size: clamp(1.9rem, 4.25vw, 4.35rem); font-weight: 720; letter-spacing: -.045em; }
h3 { font-size: clamp(1.22rem, 2.35vw, 2rem); letter-spacing: -.025em; }
.shell { width: min(calc(100% - var(--edge) * 2), 1256px); margin-inline: auto; }
.long-gallery { width: 100%; }
.skip { position: fixed; clip-path: inset(50%); padding: 8px; background: white; top: 7px; left: 7px; z-index: 1; }
.skip:focus { clip-path: none; }

.masthead { background: #222423; color: #f6f4ec; }
.mast { min-height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.mast a, .footer a { text-decoration: none; }
.wordmark { width: fit-content; font-size: 15px; font-weight: 700; white-space: nowrap; }
.mast nav { display: flex; align-items: center; gap: clamp(14px, 2.7vw, 38px); }
.mast nav a, .mast-link { min-height: 46px; color: #c9c8c1; display: inline-grid; align-items: center; white-space: nowrap; font-size: 13px; }
.mast-link { justify-self: end; }
.mast a[aria-current=page], .mast a:hover { color: #fff; }
.mast a[aria-current=page] { box-shadow: inset 0 -2px #d97d5f; }
.mast a:focus-visible { outline-color: #aecbff; outline-offset: 2px; }
.text-link { color: var(--accent); font-weight: 650; text-decoration: none; }
.text-link:hover, .product-links a:hover { text-decoration: underline; }
.action { min-height: 42px; display: inline-flex; align-items: center; padding: 7px 15px; border: 1px solid var(--rule); border-radius: 5px; font-weight: 650; text-decoration: none; }
.action:hover { border-color: var(--accent); color: var(--accent); }

.museum-hero {
  color: #f9f5eb;
  background: radial-gradient(ellipse at 75% 43%, #515345, #2b2d28 53%, #181a17 92%);
  --dim: #ded9cb;
  --accent: #ffc4a7;
}
.museum-hero-photo img { filter: drop-shadow(0 25px 32px #12140f88); }
.museum-hero-inner { min-height: min(84svh, 820px); display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 84px); padding-block: clamp(38px, 7vw, 100px); }
.museum-title h1 { max-width: 6em; }
.museum-title p { color: var(--dim); margin: 22px 0 26px; font-size: clamp(1rem, 1.6vw, 1.28rem); word-spacing: .2em; }
.museum-hero-photo img { width: 100%; max-height: min(68svh, 660px); object-fit: contain; }
.home-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-story { grid-column: 1 / -1; padding-block: var(--section); background: var(--white); }
.home-story:nth-child(3n) { background: #edece7; }
.home-story:nth-child(3n + 1) { background: var(--paper); }
.home-story.home-half { grid-column: auto; background: #efe5da; }
.home-story.home-half + .home-half { background: #e4eae6; }
.home-story.home-half .home-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  height: 100%;
  text-align: center;
}
.home-story.home-half .home-story-inner > * { grid-area: auto; }
.home-half .home-links { justify-content: center; }
.home-half .home-art { align-self: start; }
.home-half .home-art .artwork:not(.artwork-crop) img { max-height: clamp(290px, 40vw, 510px); }
.home-immersive .home-story-inner > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.home-immersive .home-story-inner .home-links { margin-top: 0; }
.home-story-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.55fr); gap: clamp(22px, 5vw, 80px); align-items: center; }
.home-story:nth-child(even) .home-story-inner { grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); }
.home-story:nth-child(even) header { grid-column: 2; grid-row: 1; }
.home-story:nth-child(even) .home-art { grid-row: 1; }
.home-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 17px; }
.home-art > .artwork { width: min(100%, calc(530px * var(--aspect, 1))); }
.home-art > .artwork:not(.artwork-crop) img { max-height: 560px; object-fit: contain; }
.home-story.home-icon-room { background: var(--dark); color: #fffdf6; }
.home-story.home-immersive .home-story-inner { display: block; }
.home-immersive .home-art { display: block; margin-top: clamp(26px, 5vw, 64px); }
.home-immersive .home-art .artwork:not(.artwork-crop) img { width: 100%; max-height: min(70svh, 720px); }
.home-icon-room .text-link { color: #f1ab92; }
.home-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: clamp(18px, 5vw, 55px); padding-block: 13px; }
.home-icons img { width: clamp(64px, 10vw, 124px); filter: drop-shadow(0 12px 12px #0005); }

.chapter-cover {
  overflow: clip;
  background: radial-gradient(ellipse at 76% 40%, #dbe7ea, #edf1ed 56%, #d1dde0);
}
.chapter-cover-inner {
  min-height: min(73svh, 730px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  align-items: center;
  padding-block: clamp(45px, 7.5vw, 115px);
  gap: clamp(30px, 5vw, 85px);
}
.chapter-title .text-link { display: inline-block; margin-top: 18px; }
.chapter-art { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(14px, 2vw, 28px); min-width: 0; }
.chapter-art:has(> .exhibit:nth-child(2)) { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
.chapter-art > .exhibit .art-frame { width: min(100%, calc(520px * var(--ratio, 1))); margin-inline: auto; }
.chapter-art > .exhibit .artwork:not(.artwork-crop) img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.chapter-art > .exhibit + .exhibit { margin-top: 10%; }
.chapter-art figcaption { display: none; }
:is(body[data-view="os"], div[data-room="os"]) .chapter-art > .exhibit { align-self: start; }
:is(body[data-view="os"], div[data-room="os"]) .chapter-art > .exhibit + .exhibit { align-self: center; }
:is(body[data-view="os"], div[data-room="os"]) .chapter-art img { filter: drop-shadow(0 15px 25px #31546932); }
:is(body[data-view="ui"], div[data-room="ui"]) .chapter-cover { background: #e9dfd2; }
:is(body[data-view="ui"], div[data-room="ui"]) .chapter-art > .exhibit:nth-child(2) img { filter: drop-shadow(0 15px 22px #241c2f44); max-height: 540px; }
:is(body[data-view="screens"], div[data-room="screens"]) .chapter-cover { background: #dce6dc; }
:is(body[data-view="ux"], div[data-room="ux"]) .chapter-cover { background: #252d31; color: #f4f1ec; }
:is(body[data-view="icons"], div[data-room="icons"]) .chapter-cover {
  background: radial-gradient(ellipse at 76% 45%, #525649, #2c302b 55%, #242724);
  color: #faf6ee;
  --accent: #ffc4a7;
}
:is(body[data-view="icons"], div[data-room="icons"]) .chapter-art:has(> .exhibit) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 4vw, 65px);
  row-gap: clamp(17px, 4.5vw, 68px);
  align-items: end;
}
:is(body[data-view="icons"], div[data-room="icons"]) .chapter-art .exhibit { margin: 0; }
:is(body[data-view="icons"], div[data-room="icons"]) .chapter-art .exhibit img { height: auto; max-height: 152px; object-fit: scale-down; filter: drop-shadow(0 13px 12px #13171166); }
:is(body[data-view="icons"], div[data-room="icons"]) .chapter-art figcaption { display: block; color: #f2eadc; }

.story-intro { padding-block: clamp(57px, 8vw, 112px) clamp(37px, 5.6vw, 78px); }
.story-intro p { margin-top: 17px; color: var(--dim); font-size: clamp(1rem, 1.7vw, 1.28rem); }
.story-intro .text-link { display: inline-block; margin-top: 18px; }
.story-scene { padding-block: clamp(54px, 7.5vw, 108px); background: #faf9f6; }
.story-scene:nth-child(even) { background: #eeeee9; }
.story-scene[data-theme="white"] { background: var(--white); }
.story-scene[data-theme="sand"] { background: #ebe1d6; }
.story-scene[data-theme="blue"] { background: #e7eef0; }
.story-scene[data-theme="ink"] { background: #262b2e; color: #faf7ef; --dim: #e7e0d5; }
.story-inner { display: grid; gap: clamp(29px, 4.2vw, 62px); }
.story-copy { max-width: 58rem; }
.story-copy h2 { font-size: clamp(1.8rem, 4.15vw, 3.55rem); }
.story-copy p { margin-top: 13px; max-width: 38em; font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--dim); }
.story-sources { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 11px; }
.story-sources a { color: var(--dim); font-size: .84rem; text-decoration-thickness: 1px; }
.story-poster .story-copy { margin-inline: auto; text-align: center; }
.story-poster .story-copy p { margin-inline: auto; }
.story-photos, .story-bitmaps { min-width: 0; display: grid; gap: clamp(16px, 2.6vw, 37px); }
.story-photos {
  --art-height: clamp(240px, 31vw, 430px);
  grid-template-columns: var(--tracks);
  align-items: start;
}
.story-photos[data-count="1"] { --art-height: clamp(300px, 44vw, 565px); }
.story-photos[data-count="2"]:not(:has(.wide)) { width: min(100%, 950px); margin-inline: auto; }
.story-photos .art-stage {
  min-width: 0;
  height: var(--art-height);
  display: grid;
  place-items: center;
}
.story-photos .art-frame { width: min(100%, calc(var(--art-height) * var(--ratio, 1))); }
.story-photos .artwork:not(.artwork-crop) img { width: 100%; height: auto; max-height: var(--art-height); object-fit: contain; }
.story-photos .artwork-crop { filter: drop-shadow(0 10px 16px #28251822); }
.story-photos .exhibit figcaption { margin-top: 13px; }
.story-scene.workflow-scene {
  --rule: #d9dfd9;
  background: radial-gradient(ellipse at 67% 65%, #f7f9f5 2%, #e7ede8 95%);
}
.workflow-scene.story-scene .story-photos { --art-height: clamp(250px, 28vw, 382px); }
.workflow-scene .art-stage { align-items: end; }
.story-bitmaps { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.story-bitmaps .exhibit img { width: 100%; height: clamp(65px, 13vw, 126px); object-fit: scale-down; }
.exhibit { min-width: 0; }
.art-frame { position: relative; }
.artwork-view { display: block; width: 100%; border: 0; background: transparent; padding: 0; cursor: zoom-in; }
.artwork-view:hover { opacity: .92; }
.artwork { display: block; width: 100%; margin-inline: auto; }
.artwork img { margin-inline: auto; }
.artwork-crop { overflow: hidden; position: relative; isolation: isolate; aspect-ratio: var(--aspect); border-radius: var(--crop-radius); }
.artwork-crop img {
  position: absolute; left: var(--pic-left); top: var(--pic-top);
  width: var(--pic-width) !important; height: var(--pic-height) !important;
  max-width: none !important; max-height: none !important; object-fit: fill !important;
  margin: 0;
}
.artwork-blend { mix-blend-mode: multiply; }
.exhibit figcaption { color: var(--dim); font-size: 13px; line-height: 1.4; text-align: center; margin: 10px auto 0; overflow-wrap: anywhere; }
.exhibit-detail {
  width: 41px; height: 41px; padding: 0;
  display: inline-grid; place-items: center;
  border: 1px solid #bdbbb2; border-radius: 50%;
  background: #fdfcf8; color: #30312c;
}
.exhibit-detail:hover { border-color: var(--accent); color: var(--accent); }
.exhibit-hotspot {
  position: absolute; left: var(--point-x); top: var(--point-y);
  transform: translate(70%, -82%);
  box-shadow: 0 3px 9px #14151337;
}
.caption-detail { margin: -6px 0 -9px 6px; vertical-align: middle; border-color: transparent; background: transparent; color: inherit; }
.magnifier { width: 14px; height: 14px; border: 1.65px solid currentColor; border-radius: 50%; position: relative; }
.magnifier::after { content: ""; position: absolute; width: 6px; height: 1.6px; background: currentColor; left: 9px; top: 11px; transform: rotate(47deg); }
summary { width: fit-content; min-height: 44px; padding: 10px 4px; cursor: pointer; }

:is(body[data-view="os"], div[data-room="os"]) .story-scene:first-child { padding-top: clamp(46px, 6vw, 85px); }
.story-bitmaps[data-count="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.story-scene[data-theme="ink"] .story-bitmaps img { filter: drop-shadow(0 9px 11px #0006); }

.materials-cover { background: radial-gradient(ellipse at 70% 45%, #eeebe1, #e2ded3); padding-block: clamp(55px, 9vw, 128px); }
.materials-cover nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.materials-cover .action { background: #fcfaf5; }
.materials-body { padding-block: clamp(34px, 6vw, 78px); }
.materials-body > header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 24px; }
.materials-body h2 { font-size: clamp(1.72rem, 3vw, 2.85rem); }
.materials-group { border-top: 1px solid var(--rule); }
.materials-group summary { width: 100%; min-height: 50px; padding-block: 13px; font-weight: 640; overflow-wrap: anywhere; }
.materials-group:last-child { border-bottom: 1px solid var(--rule); }
.materials-group .story-bitmaps { padding-block: 14px 28px; }
.materials-group .story-bitmaps .art-stage { border: 1px solid var(--rule); border-radius: 8px; padding: 12px; background: #e9e7e0; }
.materials-group .story-bitmaps :is(.art-frame,.artwork) { width: 100%; }

:is(body[data-view="apps"], div[data-room="apps"]) .story-intro { background: #272d25; color: #f8f4e9; padding-bottom: 0; }
.icon-room { padding-block: clamp(55px, 8vw, 108px); background: #efebe2; }
.icon-room:first-child { background: #272d25; color: #fffdf7; --dim: #e1dccf; padding-top: clamp(28px, 5vw, 65px); }
.icon-room:last-child { background: #f9f7f1; }
.icon-room h2 { font-size: clamp(1.65rem, 3.5vw, 3.3rem); }
.icon-wall { margin-top: clamp(22px, 3.5vw, 47px); display: grid; justify-items: center; column-gap: clamp(14px, 3.4vw, 44px); row-gap: clamp(30px, 5.3vw, 73px); }
.icon-wall.icon-spotlight {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 100%;
  padding: clamp(23px, 4vw, 56px) clamp(10px, 4vw, 48px);
  border-radius: 5px;
  background: radial-gradient(ellipse at 51% 0%, #454d3f, #32382d 72%);
  border: 1px solid #ffffff16;
}
.icon-spotlight .exhibit img { height: clamp(80px, 13vw, 164px); }
.icon-wall .exhibit { width: 100%; text-align: center; }
.icon-wall img { width: 100%; height: clamp(77px, 10vw, 122px); object-fit: scale-down; filter: drop-shadow(0 10px 10px #0003); }
.icon-wall figcaption { font-size: clamp(.78rem, 1.1vw, .98rem); font-weight: 580; margin-top: 17px; }
.icon-room:first-child .exhibit button:focus-visible { outline-color: #aecbff; }

.product-scene { padding-block: clamp(36px, 6.7vw, 96px); background: var(--white); }
.product-scene + .product-scene { border-top: 1px solid #2328321b; }
.product-stage {
  display: grid;
  grid-template: "hero copy" / minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(21px, 4vw, 62px);
  min-height: clamp(408px, 48vw, 630px);
  padding: clamp(25px, 4.5vw, 66px);
  background: radial-gradient(ellipse at 25% 41%, #fbfbfc, #f4f5f6 58%, #e9eaec);
  border: 1px solid #24293214;
  border-radius: 3px;
}
.product-stage h2 { font-size: clamp(2.18rem, 4.75vw, 4.85rem); }
.product-copy { grid-area: copy; min-width: 0; }
.product-stage > .product-hero { grid-area: hero; --art-height: clamp(300px, 37vw, 496px); }
.product-stage > .exhibit .art-stage { display: grid; place-items: center; }
.product-stage > .exhibit .art-frame { width: min(100%, calc(var(--art-height) * var(--ratio, 1))); }
.product-stage > .exhibit .artwork:not(.artwork-crop) img { width: 100%; height: auto; max-height: var(--art-height); object-fit: contain; }
.product-stage > .exhibit .artwork:not(.artwork-blend) { filter: drop-shadow(0 12px 21px #21242b19); }
.product-stage > .exhibit figcaption { display: none; }
.product-date { font-size: .85rem; font-variant-numeric: tabular-nums; letter-spacing: .045em; color: var(--dim); margin-bottom: 12px; }
.product-line { font-size: clamp(1.08rem, 2.02vw, 1.68rem); font-weight: 680; margin: clamp(13px, 2vw, 26px) 0 10px; line-height: 1.35; text-wrap: balance; }
.product-copy > p:not(.product-date,.product-line) { color: var(--dim); max-width: 34em; }
.product-feature { border-top: 1px solid var(--rule); padding-top: clamp(21px, 3vw, 38px); margin-top: clamp(28px, 5vw, 64px); }
.product-feature dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(18px, 4vw, 64px); }
.product-feature dt { color: var(--ink); font-size: clamp(1rem, 1.45vw, 1.24rem); font-weight: 680; }
.product-feature dd { color: var(--dim); margin-top: 6px; max-width: 23em; }
.product-media {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 3.1vw, 44px);
  margin-top: clamp(24px, 4.5vw, 62px);
}
.product-media > .exhibit { --art-height: clamp(170px, 27vw, 330px); grid-column: span var(--span, 6); }
.product-media > .product-banner { --art-height: clamp(210px, 42vw, 560px); }
.product-media .art-stage { display: grid; place-items: center; min-height: var(--art-height); }
.product-media .art-frame { width: min(100%, var(--photo-width, 100%), calc(var(--art-height) * var(--ratio, 1))); }
.product-media .product-banner .art-stage { min-height: 0; }
.product-media .artwork:not(.artwork-crop) img { width: 100%; height: auto; max-height: var(--art-height); object-fit: contain; }
.product-media .exhibit figcaption { min-height: 1.4em; color: var(--dim); }
.product-note { max-width: 46em; margin-top: clamp(20px, 3vw, 42px); color: var(--dim); }
.product-note strong { color: var(--ink); margin-right: .5em; }
.product-links { display: flex; flex-wrap: wrap; gap: 3px 21px; margin-top: clamp(16px, 2.5vw, 32px); font-size: 14px; font-weight: 610; color: var(--accent); }
.product-links a { display: inline-grid; min-height: 40px; align-items: center; text-decoration: none; }

.gallery-end { padding-block: clamp(30px, 5vw, 66px); }
.gallery-end > .shell, .footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.gallery-end > .shell > a:not(.action) { min-height: 44px; display: inline-grid; align-items: center; }
.footer { border-top: 1px solid var(--rule); padding: 16px 0 25px; color: var(--dim); font-size: 13px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { text-decoration: underline; }

dialog { width: min(94vw, 1000px); max-height: 92dvh; overflow-y: auto; border: 1px solid var(--rule); border-radius: 8px; padding: 17px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 45px #14151b33; }
dialog::backdrop { background: #151615c9; }
dialog header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
dialog h2 { font-size: clamp(17px, 3vw, 24px); }
dialog button { min-height: 42px; padding: 6px 10px; background: var(--white); border: 1px solid var(--rule); border-radius: 5px; }
dialog img { width: 100%; height: min(63dvh, 650px); object-fit: contain; background: var(--white); }
dialog[data-bitmap=true] img { height: min(43dvh, 320px); object-fit: scale-down; }
dialog p { color: var(--dim); font-size: 13px; padding-top: 8px; overflow-wrap: anywhere; }
dialog a { font-size: 13px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 9px; }
.variant-options button { min-height: 36px; font-size: 13px; }
.variant-options button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); background: #f7eae3; }
#lightbox[data-detail="true"] { width: min(92vw, 620px); }
#lightbox[data-detail="true"][data-bitmap="true"] #media-image { height: min(37dvh, 265px); object-fit: contain; }
#media-detail-art { padding: 13px; background: #e8e5dd; border-radius: 7px; }
#media-detail-art .artwork { width: min(100%, 360px); }

@media (max-width: 680px) {
  .home-stories { grid-template-columns: minmax(0, 1fr); }
  .home-story.home-half { grid-column: 1 / -1; }
  .chapter-cover-inner { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .chapter-art > .exhibit img { max-height: 430px; }
  :is(body[data-view="os"], div[data-room="os"]) .chapter-art > .exhibit img { max-height: 390px; }
  :is(body[data-view="ui"], div[data-room="ui"]) .chapter-art > .exhibit:nth-child(2) img { max-height: 380px; }
  :is(body[data-view="icons"], div[data-room="icons"]) .chapter-art .exhibit img { max-height: 78px; }
  .icon-wall.icon-spotlight { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .museum-hero { background: radial-gradient(ellipse at 62% 70%, #515345, #232620 56%, #181a17 93%); }
  .mast { grid-template-columns: 1fr auto; min-height: 0; gap: 0 8px; }
  .mast nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 5px; border-top: 1px solid #ffffff20; }
  .mast-link { grid-column: 2; grid-row: 1; }
  .museum-hero-inner, .home-story .home-story-inner { grid-template-columns: minmax(0, 1fr); }
  .museum-hero-inner { min-height: auto; }
  .museum-title h1 { max-width: 11em; }
  .museum-hero-photo img { max-height: 480px; }
  .home-story:nth-child(even) .home-story-inner { grid-template-columns: minmax(0, 1fr); }
  .home-story:nth-child(even) :is(header, .home-art) { grid-area: auto; }
  .story-bitmaps { row-gap: 25px; }
  .story-bitmaps[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .product-stage {
    grid-template: "copy" "hero" / minmax(0, 1fr);
    min-height: 0;
    gap: clamp(18px, 5.3vw, 36px);
    padding: clamp(18px, 5.6vw, 35px);
    background: radial-gradient(ellipse at 50% 73%, #fbfbfc, #f2f3f5 65%, #e9eaec);
  }
  .product-stage h2 { font-size: clamp(1.95rem, 7.9vw, 3.42rem); }
  .product-stage > .product-hero { --art-height: clamp(215px, 73vw, 460px); }
  .product-media { grid-template-columns: minmax(0, 1fr); gap: clamp(21px, 6vw, 40px); }
  .product-media > .exhibit { --art-height: clamp(235px, 75vw, 420px); grid-column: 1; }
  .product-media .art-stage { min-height: 0; }
  .product-feature dl { grid-template-columns: minmax(0, 1fr); }
  .product-feature dl > div + div { padding-top: 13px; border-top: 1px solid var(--rule); }
}

@media print {
  @page { size: A4 landscape; margin: 12mm; }
  .shell { width: 100%; }
  .masthead, .footer, .gallery-end, dialog { display: none !important; }
  .story-intro { padding: 0 0 14px; }
  .story-scene, .product-scene { padding: 0; break-after: page; background: white !important; }
  .story-scene:last-child, .product-scene:last-child { break-after: auto; }
}

.collection-cover {
  color: #fbf5e7;
  background: radial-gradient(ellipse at 73% 48%, #474638, #272c27 55%, #1c211e);
  --dim: #ddd8c8;
}
.collection-cover-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  align-items: center;
  min-height: min(70svh, 700px);
  gap: clamp(22px, 5vw, 77px);
  padding-block: clamp(40px, 6.2vw, 94px);
}
.collection-cover p { margin-top: 19px; color: var(--dim); font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 23em; }
.collection-hero-art img { width: 100%; max-height: 510px; object-fit: contain; filter: drop-shadow(0 24px 25px #1013107a); }
.collection-room { padding-block: var(--section); background: #efebe2; }
.collection-room:nth-child(2) { background: #e5e9e1; }
.collection-room:nth-child(3) { background: #f4ede4; }
.collection-room:nth-child(4) { background: #e7ebf0; }
.collection-room-title { border-bottom: 1px solid #28282230; padding-bottom: clamp(22px, 4vw, 44px); }
.collection-exhibits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 7vw, 104px); }
.collection-exhibit { display: grid; align-content: start; gap: clamp(17px, 3vw, 41px); min-width: 0; padding-block: clamp(32px, 5.6vw, 76px); border-bottom: 1px solid #28282228; }
.collection-exhibit h3 { font-size: clamp(1.45rem, 2.5vw, 2.5rem); margin-bottom: 10px; letter-spacing: -.037em; width: fit-content; }
.collection-copy > p:not(.collection-label) { max-width: 40em; color: var(--dim); }
.collection-copy .collection-label { color: var(--dim); font-size: .85rem; margin-bottom: 9px; }
.collection-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(15px, 2.5vw, 31px); }
.collection-media[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.collection-media img { height: clamp(145px, 23vw, 285px); width: 100%; object-fit: contain; }
.collection-media[data-count="1"] img { height: clamp(200px, 30vw, 370px); }
.collection-media:is([data-count="3"], [data-count="5"]) > .exhibit:first-child { grid-column: 1 / -1; }
.collection-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.42fr);
  align-items: center;
  column-gap: clamp(24px, 6vw, 82px);
}
.collection-featured h3 { font-size: clamp(2rem, 4.15vw, 4.4rem); }
.collection-featured .collection-media img { height: clamp(155px, 25vw, 325px); }
.collection-exhibit.collection-text { grid-template-columns: 1fr; }
.collection-featured .collection-media[data-count="3"] .exhibit:not(.wide) img { height: clamp(240px, 32vw, 445px); }

@media (min-width: 681px) {
  .collection-featured .collection-media[data-count="1"] img { height: clamp(310px, 39vw, 495px); }
}
@media (max-width: 680px) {
  .collection-cover-inner, .collection-exhibits, .collection-featured { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .collection-hero-art img { max-height: 330px; }
  .collection-featured .collection-media[data-count="1"] img { height: clamp(230px, 68vw, 400px); }
  .collection-media .exhibit.wide img { height: auto; max-height: 310px; }
}


@media (max-width: 680px) {
  .story-photos { --art-height: clamp(190px, 51vw, 345px); }
  .story-photos[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-photos[data-count="3"], .story-photos:has(.wide) { grid-template-columns: minmax(0, 1fr); }
  .story-photos[data-count="3"]:not(:has(.wide)) { --art-height: clamp(242px, 66vw, 365px); }
  .story-photos[data-mixed="true"] { --art-height: clamp(240px, 65vw, 330px); }
  .story-photos .wide .art-stage { height: auto; min-height: min(31vw, 190px); }
  .story-photos .wide .art-frame { width: min(100%, 530px); }
  .story-photos .wide .artwork:not(.artwork-crop) img { max-height: none; }
  .story-photos[data-count="1"] { --art-height: clamp(285px, 74vw, 460px); }
  .workflow-scene.story-scene .story-photos { --art-height: clamp(255px, 57vw, 335px); }
  .collection-media:is([data-count="3"], [data-count="5"]), .collection-media:has(> .wide) { grid-template-columns: minmax(0, 1fr); }
  .exhibit-hotspot { transform: translate(25%, -112%); }
}

/* Keep icon walls centered and move a single trailing icon onto a shared row. */
.icon-wall:not(.icon-spotlight) {
  --wall-columns: 7;
  --wall-gap: clamp(14px, 3.4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--wall-gap);
}
.icon-wall:not(.icon-spotlight) > .exhibit {
  flex: 0 0 calc((100% - (var(--wall-columns) - 1) * var(--wall-gap)) / var(--wall-columns) - .1px);
}
.icon-wall:not(.icon-spotlight) .art-frame { width: min(100%, 146px); margin-inline: auto; }
@media (min-width: 851px) {
  .icon-wall:not(.icon-spotlight) > .exhibit:nth-last-child(2):nth-child(7n) { margin-inline-start: 2px; }
}
@media (681px <= width <= 850px) {
  .icon-wall:not(.icon-spotlight) { --wall-columns: 5; }
  .icon-wall:not(.icon-spotlight) > .exhibit:nth-last-child(2):nth-child(5n) { margin-inline-start: 2px; }
}
@media (max-width: 680px) {
  .icon-wall:not(.icon-spotlight) { --wall-columns: 3; }
  .icon-wall:not(.icon-spotlight) > .exhibit:nth-last-child(2):nth-child(3n) { margin-inline-start: 2px; }
}

body[data-view] .masthead { background:linear-gradient(#343a3c,#252a2c);border-bottom:1px solid #121719; }
.museum-wordmark { color:#d0d8d3;font-size:.83em;font-weight:560; }
.museum-credit { flex-basis:100%;font-size:.86rem; }
.museum-credit a { display:inline;min-height:0;text-decoration:underline; }
