.record { --record-gap: clamp(32px, 6vw, 90px); padding-bottom: 36px; overflow-wrap: anywhere; }
.record h1, .record h2, .record button, .record figcaption, .record summary { font: inherit; }
.record h1, .record h2, .record figure { margin: 0; }
.record button { appearance: none; border: 0; background: none; color: inherit; padding: 0; cursor: pointer; }
.record .record-image-button { display: block; width: 100%; cursor: zoom-in; }
.record .record-image-button img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.record .record-introduction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--record-gap); align-items: start; }
.record .record-identity { width: min(100%, 490px); }
.record .record-identity > .record-image-button { width: min(100%, 43svh); }
.record .record-identity img { aspect-ratio: 4/5; object-fit: contain; object-position: left top; }
.record .record-heading { margin-top: 14px; }
.record .record-heading h1 { font-style: italic; }
.record .record-date { margin-top: 3px; }
.record .record-sections { display: flex; flex-wrap: wrap; gap: 0 17px; margin-top: 12px; }
.record .record-sections button { min-height: 44px; text-align: left; }
.record .record-sections button:hover, .record .record-links a { text-decoration: underline; text-underline-offset: 3px; }
.record .record-section { margin-top: var(--record-gap); scroll-margin-top: 70px; }
.record .record-section h2 { margin-bottom: 15px; }
.record .record-introduction > .record-section { margin-top: clamp(160px, 46svh, 510px); }
.record .record-introduction > .record-section h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
.record .record-text { max-width: 62ch; }
.record .record-text p { white-space: pre-line; margin-bottom: 1em; }
.record .record-links { display: grid; justify-items: start; gap: 8px; margin-top: 18px; }
.record .record-gallery { columns: 3; column-gap: clamp(12px, 2vw, 30px); }
.record > .record-gallery, .record > .record-photo { margin-top: var(--record-gap); }
.record .record-photo { min-width: 0; break-inside: avoid; }
.record .record-gallery figure { display: inline-block; width: 100%; margin-bottom: clamp(12px, 2vw, 30px); vertical-align: top; }
.record .record-photo figcaption { margin: 6px 0 0; }
.record .record-text .record-photo { margin: 20px 0; }
.record .record-video iframe { display: block; width: min(100%, 940px); aspect-ratio: 16/9; border: 0; }

.record-shop { text-align: center; width: min(100%, 800px); margin: 0 auto; }
.record .product-stage { padding-top: 10px; }
.record .product-stage > .record-image-button { width: min(100%, 55svh); margin: 0 auto; touch-action: pan-y pinch-zoom; }
.record .product-stage > .record-image-button img { width: 100%; height: clamp(230px, 51svh, 580px); object-fit: contain; }
.record .product-controls, .record .product-indicators { display: flex; align-items: center; justify-content: center; }
.record .product-controls { gap: 10px; }
.record .product-controls > button { width: 44px; height: 44px; }
.record .product-indicators button { width: 19px; min-height: 44px; display: grid; place-items: center; }
.record .product-indicators button::after { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: #bababa; }
.record .product-indicators [aria-current=true]::after { background: currentColor; }
.record .product-info { margin: 14px auto 0; width: min(100%, 52ch); }
.record .record-price { margin-top: 4px; }
.record .product-details { display:grid; grid-template-rows:1fr; margin:3px auto 0; }
.record .product-details[inert] { grid-template-rows:0fr; }
.product-details-body { min-height:0; overflow:hidden; }
@media (prefers-reduced-motion:no-preference) {
  .record .product-details { transition:grid-template-rows 240ms var(--ease); }
}
.record .product-actions { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:10px; }
.record .product-actions button { display:grid; place-items:center; min-width:44px; min-height:44px; }
.record .product-actions button:hover svg, .record .product-actions [aria-expanded=true] svg { stroke-width:2.2; }
.record .product-purchase { display:flex; align-items:center; }
.record .add-to-cart .basket-symbol { font-size:24px; }
.record .product-quantity { width:3.4em; height:44px; padding:0 4px; border:0; background:transparent; color:inherit; font:inherit; text-align:center; }
.record .product-quantity:not(:read-only) { border-bottom:1px solid var(--print-edge); border-radius:0; }
.record .product-quantity:read-only { appearance:textfield; }
.record .product-quantity:read-only::-webkit-inner-spin-button { display:none; }
.record .product-details .record-date { margin-bottom: 12px; }
.record .product-details .record-links { justify-items: center; }

html:has(.record-viewer[open]) { overflow: hidden; }
.record .record-viewer { position: fixed; inset: 0; padding: 0; margin: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #fff; color: inherit; }
.record .record-viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.record-viewer::backdrop { background: white; }
.record .viewer-stage { min-width: 0; min-height: 0; padding: 36px 56px 10px; touch-action: pan-y pinch-zoom; display: grid; place-items: center; }
.record .viewer-stage img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.record .viewer-caption { text-align: center; margin: 0 auto; padding: 6px 48px max(14px, env(safe-area-inset-bottom)); }
.record .record-viewer > button { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; }
.record .viewer-close { right: max(10px, env(safe-area-inset-right)); top: max(5px, env(safe-area-inset-top)); }
.record .viewer-prev, .record .viewer-next { top: 50%; transform: translateY(-50%); }
.record .viewer-prev { left: max(5px, env(safe-area-inset-left)); }
.record .viewer-next { right: max(5px, env(safe-area-inset-right)); }

@media (max-width: 1000px) { .record .record-gallery { columns: 2; } }
@media (max-width: 690px) {
  .record .product-indicators button { width:clamp(24px, 7.5vw, 30px); }
  .record .record-introduction { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .record .record-identity { width: 100%; }
  .record .record-identity > .record-image-button { width: min(100%, 45svh); }
  .record .record-introduction > .record-section { margin-top: 0; }
  .record .record-sections { margin-top: 2px; }
  .record .record-gallery { columns: 1; }
  .record .viewer-stage { padding: 48px 10px; }
  .record .viewer-caption { padding: 5px 10px max(50px, env(safe-area-inset-bottom)); }
  .record .viewer-prev, .record .viewer-next { top: auto; bottom: max(3px, env(safe-area-inset-bottom)); transform: none; }
}

/* Both hangs use the same native horizontal scroller and controls. */
.record .record-gallery-strip { --rail-height: clamp(126px, 21svh, 228px); --rail-gap: clamp(25px, 3.7vw, 62px); }
.record .record-gallery-rail {
  display: grid; row-gap: clamp(22px, 3.5svh, 44px); overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y pinch-zoom; scrollbar-width: thin; padding: 3px 3px 14px;
}
.record .record-gallery-row { display: flex; align-items: flex-start; width: max-content; gap: var(--rail-gap); }
.record .record-gallery-row .record-photo { flex: 0 0 auto; width: calc(var(--rail-height) * var(--photo-ratio)); }
.record .record-gallery-row .record-image-button img { width: 100%; height: var(--rail-height); object-fit: contain; object-position: left center; }
.record .record-gallery-row figcaption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.record .installation-wall {
  --hang-unit: clamp(184px, 27svh, 306px);
  display: flex;
  align-items: flex-start;
  width: max-content;
  gap: calc(.17 * var(--hang-unit));
}
.record .installation-group {
  display: grid;
  justify-items: start;
  gap: calc(.13 * var(--hang-unit));
}
.record .installation-group:nth-child(4n + 1) {
  --scale: 1.3;
  margin-top: calc(.22 * var(--hang-unit));
  margin-right: calc(.09 * var(--hang-unit));
}
.record .installation-group:nth-child(4n + 2) { --scale: .75; }
.record .installation-group:nth-child(4n + 2) > :last-child:not(:first-child) {
  --scale: .96;
  margin-left: calc(.29 * var(--hang-unit));
}
.record .installation-group:nth-child(4n + 3) {
  --scale: 1.04;
  margin-top: calc(.75 * var(--hang-unit));
  margin-right: calc(.24 * var(--hang-unit));
}
.record .installation-group:nth-child(4n) {
  --scale: .87;
  margin-top: calc(.10 * var(--hang-unit));
  gap: calc(.21 * var(--hang-unit));
}
.record .installation-group:nth-child(4n) > :first-child { margin-left: calc(.42 * var(--hang-unit)); }
.record .installation-group:nth-child(4n) > :nth-child(2) { --scale: .64; }
.record .installation-group .record-photo { width: calc(var(--scale) * var(--hang-unit) * var(--photo-ratio)); }
.record .installation-group .record-image-button img { height: calc(var(--scale) * var(--hang-unit)); object-fit: contain; }
.record .rail-controls { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 7px; }
.record .rail-controls button { width: 44px; height: 44px; }
.record .rail-controls button:disabled { color: #aaa; cursor: default; }
.record .viewer-viewport { position: relative; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.record .product-stage > .record-image-button { overflow: hidden; position: relative; }
.record .photo-slide-copy { position: absolute; pointer-events: none; object-fit: contain; }
.record-viewer::backdrop { background: transparent; }
.record .viewer-work[open] { grid-template-columns: minmax(0,2fr) minmax(245px,1fr); grid-template-rows: minmax(0,1fr); }
.record .viewer-work .viewer-stage { padding-right: 16px; }
.record .viewer-work .viewer-caption {
  align-self: center; text-align: left; justify-self: stretch; margin: 44px 48px 44px 0; padding: 12px;
  overflow-y: auto; min-height: 0; max-height: calc(100dvh - 88px); white-space: pre-line; overscroll-behavior: contain;
}
.record .work-title { font-style: italic; }
.record .work-field { margin-top: 12px; }
.record .work-views { display:flex; flex-wrap:wrap; gap:4px; margin-top:8px; }
.record .work-views button { min-width:44px; min-height:44px; color:var(--muted); }
.record .work-views [aria-pressed="true"] { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 690px) {
  .record .record-gallery-strip { --rail-height: clamp(116px, 20svh, 182px); --rail-gap: 24px; }
  .record .installation-wall { --hang-unit: clamp(112px, min(25svh, 34vw), 175px); }
  .record .viewer-work[open] { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; padding-bottom: 46px; }
  .record .viewer-work .viewer-stage { padding: 46px 12px 6px; }
  .record .viewer-work .viewer-caption { margin: 0 16px; max-height: 29dvh; padding: 10px 0; }
}
