.bd-print {
  padding-block: clamp(2rem, 4vw, 5rem) clamp(4rem, 7vw, 8.5rem);
}
.bd-print__layout {
  display: grid;
  gap: 1.5rem;
}
.bd-print__title {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.4rem, 5.05vw, 5.65rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.bd-print__figure, .bd-print__lead, .bd-print__formats { margin: 0; }
.bd-print__figure { min-width: 0; }
.bd-print__stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background: #aa9784;
}
.bd-print__photo {
  display: block;
  width: 100%;
  height: auto;
}
.bd-print__workbench {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bd-print__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem 1rem;
  margin-top: .7rem;
  font-size: .9375rem;
  line-height: 1.45;
}
.bd-print__caption strong {
  margin-right: .5em;
  font-weight: 700;
}
.bd-print__caption-note { color: var(--text-readable); }
.bd-print__play {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  min-height: 44px;
  padding: .35rem .25rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  line-height: 1.35;
}
.bd-print__play svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bd-print__lead {
  max-width: 43ch;
  color: var(--text-readable);
  font-size: clamp(1rem, 1.22vw, 1.375rem);
  line-height: 1.55;
}
.bd-print__formats {
  max-width: 36rem;
  margin-top: clamp(1.25rem, 2vw, 2.4rem);
  padding: 0;
  list-style: none;
}
.bd-print__formats li {
  padding-block: .62em;
  border-top: 1px solid var(--border);
  font-size: clamp(1rem, 1.16vw, 1.25rem);
  line-height: 1.4;
}
.bd-print__formats li:last-child { border-bottom: 1px solid var(--border); }
.bd-print__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  margin-top: clamp(1.5rem, 2.4vw, 3rem);
  padding: .9em 1.45em;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--background);
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .bd-print__cta:hover { background: #edff9c; }
  .bd-print__play:hover { color: var(--primary); }
}
.bd-print__cta:active { background: #c5e748; }
@media (prefers-reduced-motion: no-preference) {
  .bd-print__cta { transition: background-color 180ms ease, transform 160ms ease; }
  .bd-print__play { transition: color 180ms ease; }
  .bd-print__cta:active { transform: translateY(1px); }
}
@media (min-width: 680px) and (max-width: 1023px) {
  .bd-print__details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
    align-items: start;
  }
  .bd-print__formats { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .bd-print__cta { justify-self: start; margin: 0; }
}
@media (min-width: 1024px) {
  .bd-print__layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    gap: clamp(1.25rem, 2.1vw, 2.5rem) clamp(1rem, 1.8vw, 2.1rem);
    align-items: start;
  }
  .bd-print__title, .bd-print__details { grid-column: 1 / 6; }
  .bd-print__details { grid-row: 2; padding-right: min(2vw, 2rem); }
  .bd-print__figure { grid-column: 6 / 13; grid-row: 1 / 3; }
  .bd-print__caption { min-height: 44px; }
}

/* Geometry uses the coordinates of the 1536 × 1024 photograph. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bd-print__stage:is([data-state="ready"], [data-state="playing"]) .bd-print__workbench { display: block; }
  .bd-print__workbench {
    --print-time: 4.8s;
    --print-move: cubic-bezier(.77, 0, .175, 1);
    /* Inverse perspective maps the four photographed corners onto a flat A3 sheet. */
    --print-flat: matrix3d(1.006957, .140342, 0, .000025708,
                           -.065681, 1.000492, 0, .000067597,
                           0, 0, 1, 0, 501.271, -9.895, 0, 1);
  }
  .bd-print__workbench text { fill: #494840; font: 26px var(--mono); }
  .bd-print__sheet { transform-origin: 0 0; transform: var(--print-flat); }
  .bd-print__grid {
    fill: none;
    stroke: #718ba4;
    stroke-opacity: .62;
    stroke-width: 1.4;
  }
  .bd-print__marks { stroke: #555954; stroke-width: 1.5; }
  .bd-print__bleed { fill: none; stroke: #ae315e; stroke-width: 2; stroke-dasharray: 7 5; }
  .bd-print__proof, .bd-print__shadow, .bd-print__prepress, .bd-print__bleed, .bd-print__bleed-fill { opacity: 0; }
  .bd-print__impression { clip-path: inset(0 0 100%); }
  .bd-print__stage[data-state="playing"] .bd-print__workbench :is(g, rect, use, path, polygon) {
    animation-duration: var(--print-time);
    animation-timing-function: var(--print-move);
    animation-fill-mode: both;
  }
  [data-state="playing"] .bd-print__sheet { animation-name: bdPrintLift; }
  [data-state="playing"] .bd-print__proof { animation-name: bdPrintCompose; }
  [data-state="playing"] :is(.bd-print__bleed, .bd-print__bleed-fill, .bd-print__prepress) { animation-name: bdPrintPrepress; }
  [data-state="playing"] .bd-print__marks, [data-state="playing"] .bd-print__notation { animation-name: bdPrintClearMarks; }
  [data-state="playing"] .bd-print__grid { animation-name: bdPrintClearGrid; }
  [data-state="playing"] .bd-print__impression { animation-name: bdPrintImpress; }
  [data-state="playing"] .bd-print__press-edge { animation-name: bdPrintEdge; }
  [data-state="playing"] .bd-print__shadow { animation-name: bdPrintShadow; }
  [data-state="playing"] .bd-print__desk-mask { animation-name: bdPrintReveal; }
}
@keyframes bdPrintCompose {
  0%, 12% { opacity: 0; clip-path: inset(0 0 100%); }
  29%, 100% { opacity: 1; clip-path: inset(0); }
}
@keyframes bdPrintPrepress {
  0%, 29%, 69%, 100% { opacity: 0; }
  36%, 56% { opacity: 1; }
}
@keyframes bdPrintClearMarks {
  0%, 56% { opacity: 1; }
  69%, 100% { opacity: 0; }
}
@keyframes bdPrintClearGrid {
  0%, 26% { opacity: 1; }
  41%, 100% { opacity: 0; }
}
@keyframes bdPrintImpress {
  0%, 48% { clip-path: inset(0 0 93%); }
  69%, 100% { clip-path: inset(0); }
}
@keyframes bdPrintLift {
  0%, 62% { transform: var(--print-flat); }
  72% { transform: translate(-4px, -15px) scale(1.015) var(--print-flat); }
  93%, 100% { transform: none; }
}
@keyframes bdPrintEdge {
  0%, 48% { transform: none; }
  69%, 100% { transform: translateY(952px); }
}
@keyframes bdPrintShadow {
  0%, 50%, 98%, 100% { opacity: 0; }
  71%, 84% { opacity: .46; }
}
@keyframes bdPrintReveal {
  0%, 72% { transform: none; }
  100% { transform: translateX(-1920px); }
}
@media (forced-colors: active) {
  .bd-print__cta { border: 1px solid LinkText; }
}
