/* The three plates share one registration point and the exact 48 × 40 source grid. */
.bead-spread {
  --bead-paper: #e8ede2;
  --bead-rule: #bdc9b9;
  --bead-blue: #343cc2;
  --spread-bg: var(--bead-paper);
}
.bead-edition {
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
}
.bead-edition .spread-intro { align-items: flex-start; }
.bead-edition .spread-intro h3 { margin-top: 0; }
.bead-sample-info {
  display: grid;
  gap: 10px;
  margin-top: clamp(38px, 4.7vw, 72px);
  font-size: 14px;
  color: #4c5e50;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.bead-inks { display: flex; width: 96px; height: 5px; overflow: hidden; }
.bead-inks i { flex: 1; background: var(--pigment); }

.bead-proof { min-width: 0; margin: 0; align-self: stretch; display: grid; grid-template-rows: 1fr auto; }
.bead-print {
  --cut-a: 35%;
  --cut-b: 65%;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  min-width: 0;
  aspect-ratio: 1.8;
  width: 100%;
  background: #e9eee3;
}
.bead-plane {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.bead-plane img {
  position: absolute;
  display: block;
  inset: 3%;
  height: 94%;
  width: 94%;
  max-width: none;
  object-fit: contain;
  z-index: 1;
}
.bead-plane-source {
  background: #eff2e8;
  clip-path: inset(0 calc(100% - var(--cut-a)) 0 0);
}
.bead-plane-source::before {
  content: "";
  position: absolute;
  left: 5%;
  top: 19%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid #adbda8;
  border-radius: 50%;
}
.bead-plane-source img { image-rendering: pixelated; }
.bead-plane-mapped {
  clip-path: inset(0 calc(100% - var(--cut-b)) 0 var(--cut-a));
  background-color: #f9f9ef;
  background-image: linear-gradient(#74887825 1px, transparent 1px),
                    linear-gradient(90deg, #74887825 1px, transparent 1px);
  background-size: 17px 17px;
  background-position: center;
}
.bead-plane-beads {
  background: #d2ddca;
  clip-path: inset(0 0 0 var(--cut-b));
}
.bead-plane-beads::before {
  content: "";
  position: absolute;
  width: 53%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 7%;
  right: -16%;
  background: #e4eadb;
  border: 1px solid #a8b8a0;
}
.bead-plane-beads img { filter: drop-shadow(1px 2px 1px #22422b3a); }
.bead-register {
  position: absolute;
  inset: 8% 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, transparent calc(var(--cut-a) - .5px),
      #4b629069 var(--cut-a), transparent calc(var(--cut-a) + 1px),
      transparent calc(var(--cut-b) - .5px), #4b629082 var(--cut-b), transparent calc(var(--cut-b) + 1px));
}
.bead-register::before, .bead-register::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bead-blue);
  left: var(--cut-a);
  top: -2px;
  transform: translateX(-50%);
}
.bead-register::after { left: var(--cut-b); top: auto; bottom: -2px; background: #d7b52d; }

.bead-proof figcaption { color: #364939; margin: 0; background: #f4f6ed; }
.bead-captions { display: grid; grid-template-columns: 35fr 30fr 35fr; border-top: 1px solid var(--bead-rule); }
.bead-captions span {
  text-align: center;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.5;
}
.bead-captions span + span { border-left: 1px solid var(--bead-rule); }
.bead-modes { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }

.bead-archive { border-top: 1px solid var(--bead-rule); }
.bead-archive summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--spread-pad);
  gap: 14px;
  min-height: 48px;
  color: #344c3d;
  font-size: 15px;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}
.bead-archive summary::-webkit-details-marker { display: none; }
.bead-archive summary::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translate(-2px,-2px);
}
.bead-archive[open] summary::after { transform: rotate(225deg); }
.bead-archive summary:focus-visible { outline: 2px solid var(--bead-blue); outline-offset: -4px; }
.bead-archive chapter-sample { display: block; padding: 0 var(--spread-pad) 20px; }
.bead-archive .project-gallery { max-width: 700px; margin: 0 auto; overflow: hidden; border: 1px solid var(--bead-rule); border-radius: 12px; }
.bead-archive .project-plates { max-height: 400px; }
.bead-archive .spread-visual img { object-fit: contain; }

.bd-case .bead-case-cover {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  background: #e6ecdf;
  border: 1px solid #d2dccc;
  border-radius: 18px;
}
.bead-case-full, .bead-case-crop { min-width: 0; position: relative; overflow: hidden; }
.bead-case-full { background: #284033; }
.bead-case-cover .bead-case-full img { width: 100%; height: 100%; object-fit: cover; }
.bead-case-crop {
  background-color: #dae3cf;
  background-image: linear-gradient(#7b8e731f 1px, transparent 1px), linear-gradient(90deg,#7b8e731f 1px, transparent 1px);
  background-size: 19px 19px;
  border-left: 3px solid #f8f9f1;
}
.bead-case-cover .bead-case-crop img {
  position: absolute;
  width: auto;
  max-width: none;
  height: 178%;
  left: 50%;
  top: 50%;
  transform: translate(-49%, -40%);
  filter: drop-shadow(1px 2px 1px #293c4336);
}
.bd-case .bead-case-cover figcaption {
  grid-column: 1 / -1;
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 0;
  color: #415444;
  text-shadow: none;
}
.bd-case .bead-case-cover figcaption span {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  padding: 8px 12px;
}
.bd-case .bead-case-cover figcaption span + span { border-left: 3px solid #f8f9f1; }

@media (min-width: 701px) and (max-width: 960px) {
  .bead-edition { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
  .bead-edition .spread-intro { padding: 25px clamp(20px, 3vw, 30px); }
  .bead-edition .spread-action { white-space: nowrap; gap: 8px; padding-inline: 15px; }
  .bead-edition .bead-sample-info { margin-top: 24px; }
  .bead-print { min-height: 100%; }
}
@media (max-width: 700px) {
  .bead-edition { grid-template-columns: 1fr; }
  .bead-edition .spread-intro { position: relative; }
  .bead-edition .bead-sample-info { margin-top: 18px; gap: 5px; }
  .bead-print { aspect-ratio: 1.52; }
  .bead-print .bead-plane { clip-path: none; visibility: hidden; }
  .bead-print .bead-register, .bead-captions { display: none; }
  .bead-proof:has(input[value=source]:checked) .bead-plane-source,
  .bead-proof:has(input[value=mapped]:checked) .bead-plane-mapped,
  .bead-proof:has(input[value=beads]:checked) .bead-plane-beads { visibility: visible; }
  .bead-modes { display: flex; border-top: 1px solid var(--bead-rule); }
  .bead-modes span { flex: 1; position: relative; }
  .bead-modes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .bead-modes label {
    display: grid;
    place-items: center;
    min-height: 46px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
  }
  .bead-modes input:checked + label { color: #273e2d; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; font-weight: 700; }
  .bead-modes input:focus-visible + label { outline: 2px solid var(--bead-blue); outline-offset: -4px; }
  .bead-archive summary { min-height: 46px; }
  .bead-archive chapter-sample { padding-inline: 12px; }
  .bd-case .bead-case-cover { border-radius: 13px; }
}
@media (max-width: 450px) {
  .bead-sample-info { display: none; }
  .bead-print { aspect-ratio: 1.32; }
  .bd-case .bead-case-cover figcaption span { font-size: 14px; padding: 6px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  .bead-proof:has(input[value=source]:checked) .bead-plane-source img,
  .bead-proof:has(input[value=mapped]:checked) .bead-plane-mapped img,
  .bead-proof:has(input[value=beads]:checked) .bead-plane-beads img {
    animation: bead-plate-exposure .23s ease-out;
  }
  @keyframes bead-plate-exposure { from { opacity: .72; } }
}
