/* Editorial home, material studies and assembly viewer. */
.edition-wrap, .material-cover { width: min(100% - 2 * clamp(24px, 6vw, 98px), 1430px); margin-inline: auto; }
.overline { font: 600 11px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.material-cover {
  display: grid; position: relative; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  grid-template-rows: minmax(240px,1fr) auto; grid-template-areas: "copy art" "studies studies";
  gap: clamp(18px,2.6vw,44px); min-height: clamp(560px,79svh,790px);
  padding-block: clamp(38px,5.8svh,78px) clamp(20px,3.8svh,46px); color: var(--ink);
}
[data-film-track].is-scroll-film > .material-cover { min-height: max(560px,calc(100svh - var(--header-h) - 1px)); }
.material-cover__inner { display: contents; }
.material-cover__art { grid-area: art; position: relative; min-width: 0; overflow: clip; }
.study-screen, .study-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
  opacity: 0; pointer-events: none;
}
.study-image--film, .study-screen.is-ready { opacity: 1; }
.material-cover:has(#study-droplet:checked) .study-image--film,
.material-cover:has(#study-strip:checked) .study-image--film { opacity: 0; }
.material-cover:has(#study-droplet:checked) .study-image--droplet,
.material-cover:has(#study-strip:checked) .study-image--strip { opacity: 1; }
[data-frames-visible] .study-image, [data-frames-visible] video { visibility: hidden; }
.film-surface { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; appearance: none; color: inherit; cursor: grab; -webkit-tap-highlight-color: transparent; }
.film-surface:active { cursor: grabbing; }
.film-surface:focus-visible { outline: 3px solid var(--burgundy); outline-offset: -5px; }
.material-cover__copy { grid-area: copy; align-self: center; min-width: 0; }
.material-cover .overline { color: var(--burgundy); }
.material-cover .overline span { margin-inline: .55em; color: #866359; }
.material-cover h1, .edition-wrap h2 { font-family: var(--font); font-weight: 510; line-height: .89; letter-spacing: -.075em; margin: 0; }
.material-cover h1 { font-size: clamp(56px,8.4vw,147px); margin-block: clamp(21px,2.3vw,39px) 22px; }
.material-cover h1 em, .edition-wrap h2 em { font-family: var(--editorial); font-weight: 400; letter-spacing: -.044em; }
.material-cover h1 em { color: var(--burgundy); }
.cover-lede { max-width: 26em; color: var(--ink-soft); font-size: clamp(16px,1.32vw,21px); line-height: 1.45; }
.cover-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 23px; margin-top: 23px; }
.cover-action { display: inline-flex; align-items: center; padding: 13px 20px; color: var(--bg); background: var(--burgundy); border-radius: 999px; text-decoration: none; font-weight: 610; font-size: 14px; }
.cover-action:hover { background: var(--burgundy-deep); }
.cover-secondary { display: inline-flex; gap: .6em; align-items: center; padding: 10px 0; color: var(--burgundy); font-size: 14px; font-weight: 550; text-underline-offset: 5px; }
.material-cover :focus-visible { outline: 2px solid var(--burgundy); outline-offset: 4px; }
.material-cover__art .film-surface:focus-visible { outline-offset: -4px; }
.study-desk { grid-area: studies; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 4px 24px; border-top: 1px solid var(--line); padding-top: 11px; }
.studies { margin: 0; border: 0; padding: 0; min-width: 0; }
.studies legend { font-size: 12px; font-weight: 600; color: var(--ink-soft); padding: 0; margin-bottom: 7px; }
.studies__options, .sample-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.studies label, .sample-switch label { position: relative; cursor: pointer; }
.studies input, .sample-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.studies .gallery__tab, .sample-switch .gallery__tab {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 14px; color: var(--burgundy); font-size: 14px; font-weight: 600;
}
.studies input:checked + span, .sample-switch input:checked + span { background: var(--burgundy); color: var(--bg); border-color: var(--burgundy); }
.studies input:focus-visible + span, .sample-switch input:focus-visible + span { outline: 3px solid var(--burgundy); outline-offset: 2px; }
.study-actions > div { display: none; flex-wrap: wrap; gap: 0 18px; }
.study-desk:has(#study-film:checked) .study-actions--film,
.study-desk:has(#study-droplet:checked) .study-actions--droplet,
.study-desk:has(#study-strip:checked) .study-actions--strip { display: flex; }
.study-actions a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--burgundy); font-size: 14px; font-weight: 550; text-underline-offset: .23em; }

.instrument-story { display: grid; grid-template-columns: 4fr 6.5fr; gap: clamp(32px, 5vw, 100px); align-items: center; padding-block: clamp(76px, 9vw, 160px); }
.edition-wrap h2 { font-size: clamp(58px, 6.5vw, 110px); line-height: .95; color: #331d22; }
.instrument-story h2, .bench-story h2, .people-story h2 { margin-top: 22px; }
.instrument-story__intro > p:not(.overline), .bench-story__copy > p, .people-story__copy > p:not(.overline) { color: #574b4d; font-size: clamp(17px, 1.37vw, 22px); line-height: 1.46; }
.instrument-story__intro > p:not(.overline) { max-width: 26em; margin-block: 25px 22px; }
.editorial-link { display: inline-flex; gap: 22px; align-items: center; padding-block: 7px; border-bottom: 1px solid currentColor; color: #50262a; text-decoration: none; font-weight: 600; font-size: 15px; }
.editorial-link span { transition: transform .2s; }
.editorial-link:hover span { transform: translate(2px,-2px); }
.text-link { display: block; width: fit-content; color: #5d5350; font-size: 13px; margin-top: 13px; }
.assembly { min-width: 0; }
.assembly__stage { position: relative; }
.assembly__stage .film-surface { touch-action: pan-y pinch-zoom; }
.assembly video { display: block; width: 100%; height: auto; aspect-ratio: 20 / 13; object-fit: contain; }
.assembly .film-frames { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.assembly__caption { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.assembly__caption strong, .assembly__caption span { display: block; }
.assembly__caption strong { font-size: 18px; letter-spacing: -.035em; }
.assembly__caption span { color: var(--ink-soft); font-size: 14px; line-height: 1.45; margin-top: 3px; }

.bench-story { border-top: 1px solid var(--line); padding-block: clamp(68px, 7.5vw, 136px); }
.bench-story__grid, .people-story__grid { display: grid; align-items: end; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 110px); }
.bench-story__copy { max-width: 32em; padding-bottom: 2px; }
.bench-story__copy .editorial-link, .people-story__copy .editorial-link { margin-top: 20px; }
.sample-switch { margin: 20px 0 0; padding: 0; border: 0; }
.samples { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(12px, 2vw, 32px); margin-top: clamp(32px, 4vw, 66px); }
.sample-card { display: block; color: #382126; text-decoration: none; }
.sample-plates { aspect-ratio: 1.32; overflow: hidden; }
.sample-plates img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sample-plates .holder-plate { display: none; object-fit: contain; }
.bench-story:has(#show-holders:checked) .sample-plates img:first-child { display: none; }
.bench-story:has(#show-holders:checked) .sample-plates .holder-plate { display: block; }
.sample-card figcaption { display: flex; justify-content: space-between; gap: 6px; align-items: center; border-top: 1px solid var(--line); margin-top: 15px; padding-top: 11px; font-size: clamp(15px,1.23vw,20px); font-weight: 550; }
.sample-card:hover figcaption { text-decoration: underline; text-underline-offset: .25em; }
.portrait-strip span { display: block; font-size: 14px; font-weight: 550; margin-top: 10px; }
.people-story { border-top: 1px solid var(--line); color: var(--ink); padding-block: clamp(72px, 8vw, 144px); }
.people-story .overline { color: var(--burgundy); }
.people-story__grid { align-items: center; grid-template-columns: .8fr 1.25fr; }
.people-story__copy > p:not(.overline) { margin-top: 24px; max-width: 26em; }
.portrait-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(8px,1.2vw,22px); }
.portrait-strip img { display:block; width: 100%; height:auto; aspect-ratio: 3/4; object-fit: cover; object-position: center 27%; }
.portrait-strip li:nth-child(2) { margin-top: clamp(20px, 3.2vw, 50px); }
.portrait-strip li:nth-child(3) { margin-top: clamp(34px, 6vw, 96px); }
@media (max-width: 850px) {
  .instrument-story { grid-template-columns: .8fr 1.2fr; gap: 26px; }
}
@media (min-width: 681px) and (max-width: 900px) and (orientation: portrait) {
  .material-cover {
    grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(245px,1fr) auto;
    grid-template-areas: "copy" "art" "studies"; gap: 22px; padding-top: clamp(35px,4.8svh,62px);
  }
  .material-cover h1 { font-size: clamp(72px,10vw,90px); }
  .material-cover__art { width: 94%; justify-self: center; }
}
/* Account for the transparent margin around each silhouette in the single-column hero. */
@media (max-width: 680px), (min-width: 681px) and (max-width: 900px) and (orientation: portrait) {
  .material-cover { --study-scale: 1.045; --study-center: 50%; }
  .material-cover:has(#study-droplet:checked) { --study-scale: 1.18; --study-center: 48%; }
  .material-cover:has(#study-strip:checked) { --study-scale: 1.09; --study-center: 53%; }
  .material-cover__art :is(.study-image, .study-screen) {
    object-position: center var(--study-center); transform: scale(var(--study-scale));
  }
}
@media (max-width: 680px) {
  .edition-wrap, .material-cover { width: calc(100% - 40px); }
  .material-cover {
    grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(clamp(130px,40vw,260px),1fr) auto;
    grid-template-areas: "copy" "art" "studies"; gap: 10px; padding-block: clamp(18px,3svh,32px) 12px;
  }
  .material-cover, [data-film-track].is-scroll-film > .material-cover { min-height: min(790px,calc(100svh - var(--header-h) - 1px)); }
  .material-cover h1 { font-size: clamp(54px,17.4vw,116px); margin-block: 18px 14px; }
  .cover-lede { max-width: 27em; }
  .cover-links { margin-top: 14px; }
  .cover-action, .cover-secondary { min-height: 44px; }
  .study-desk { display: grid; gap: 2px; justify-content: stretch; padding-top: 8px; }
  .studies legend { font-size: 11px; margin-bottom: 4px; }
  .studies__options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .studies .gallery__tab { width: 100%; padding-inline: 4px; font-size: 13px; }
  .study-actions a { font-size: 13px; }
  .instrument-story, .bench-story__grid, .people-story__grid { grid-template-columns: 1fr; gap: 28px; }
  .instrument-story h2 br, .bench-story h2 br { display: none; }
  .instrument-story h2 br::after, .bench-story h2 br::after { content: " "; }
  .instrument-story__intro { max-width: 32em; }
  .instrument-story__intro > p:not(.overline) { margin-block: 18px 10px; }
  .text-link { display: inline-block; margin: 12px 0 0 16px; }
  .samples { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .sample-card:first-child { grid-column: 1 / -1; }
  .sample-card:first-child .sample-plates { aspect-ratio: 1.8; }
  .portrait-strip span { font-size: 12px; }
}
@media (max-width: 355px) {
  .cover-links { gap: 4px 12px; }
  .cover-action { padding-inline: 14px; }
  .cover-secondary { gap: .35em; font-size: 13px; }
  .studies__options { gap: 4px; }
  .study-actions > div { column-gap: 12px; }
  .text-link { display: block; margin-left: 0; }
}
@media (max-width: 680px) and (max-height: 720px) {
  .material-cover h1 { font-size: clamp(48px,14vw,72px); margin-block: 12px; }
  .cover-links { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .study-image, .studies label span, .editorial-link span { transition: none; }
}
