.print-story {
  --film-ink: #2d232b;
  --film-rose: #863d51;
  --film-paper: #fdf6f1;
  --film-rule: #e1c9c3;
  color: var(--film-ink);
  background: var(--film-paper);
}
.print-chapter {
  border-bottom: 1px solid var(--film-rule);
  padding-block: clamp(37px, 6.6vw, 96px);
}
.print-chapter--fdm-large {
  padding-block: clamp(26px, 4.1vw, 61px) 0;
  background: linear-gradient(120deg, #fffaf6, #f7e9e4);
}
.print-chapter--multicolor { background: #faf0ed; }
.print-chapter--resin-lift { background: #f2e8ed; }
.print-chapter--showcase {
  --film-ink: #fff5ef;
  --film-rose: #ffdbd7;
  --film-rule: #745461;
  background: #392934;
  color: var(--film-ink);
}
.print-layout {
  display: grid;
  grid-template-columns: minmax(245px, .77fr) minmax(0, 1.23fr);
  align-items: center;
  gap: clamp(24px, 5.2vw, 78px);
}
.print-chapter--fdm-large .print-layout { align-items: start; }
.print-chapter--fdm-large .print-copy { padding-top: clamp(7px, 4.2vw, 60px); }
.print-copy { min-width: 0; }
.print-copy h1 {
  font-size: clamp(42px, 5.4vw, 83px);
  letter-spacing: -.038em;
  line-height: 1.12;
}
.print-copy h2 {
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 790;
  letter-spacing: -.033em;
  line-height: 1.17;
  max-width: 11ch;
}
.print-copy p {
  color: #644954;
  font-size: clamp(.97rem, 1.41vw, 1.20rem);
  line-height: 1.55;
  margin-top: 14px;
  max-width: 36ch;
}
.print-chapter--showcase .print-copy p { color: #f7dce1; }
.print-copy strong { display: block; color: var(--film-rose); }
.print-copy .print-process {
  color: var(--film-rose);
  font-size: .90rem;
  font-weight: 730;
  margin-top: 0;
  margin-bottom: 11px;
}
.print-copy .actions {
  align-items: center;
  margin-top: 25px;
  gap: 8px 18px;
}
.print-copy .button.primary {
  background-color: #80364a;
  color: #fff;
  box-shadow: inset 0 1px #d1877d, 0 6px 13px #87425223;
}
.print-copy .button.primary:hover { background-color: #662b3b; }
.print-chapter--showcase .button.secondary {
  color: #ffded9;
  border-color: #c699a0;
  margin-top: 18px;
}
.print-chapter--showcase .button.secondary:hover {
  color: #392934;
  background: #fff2ec;
}
.print-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  gap: 7px;
  font-size: .9rem;
  color: var(--film-rose);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 670;
}
.print-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 10px;
}
.print-copy :focus-visible, .print-figure :focus-visible {
  outline-color: var(--film-rose);
}
.print-figure { min-width: 0; }
.print-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #cbb8bb;
  aspect-ratio: 1.5;
  border-radius: 8px;
}
.print-chapter--fdm-large .print-frame {
  background: #332f36;
  aspect-ratio: 1.52;
}
.print-poster, .print-render, .print-render canvas, .print-render iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.print-poster {
  display: block;
  object-fit: cover;
}
.print-chapter--fdm-large .print-poster { object-position: center 52%; }
.print-render { visibility: hidden; }
.print-render canvas { display: block; }
.print-is-rendered .print-render { visibility: visible; }
.print-visual-label {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 11px;
  color: #fff6ef;
  border-radius: 3px;
  background: #2e2130eb;
  font-size: .76rem;
  font-weight: 660;
  margin: 0;
  padding: 5px 8px;
  pointer-events: none;
}
.print-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 0 19px;
  padding-block: 9px 0;
}
.print-caption h2 {
  font-size: clamp(1.18rem, 1.6vw, 1.5rem);
  line-height: 1.4;
}
.print-caption p {
  color: #674951;
  max-width: 55ch;
  margin-top: 3px;
  font-size: .89rem;
  line-height: 1.48;
}
.print-caption .print-link { min-height: 36px; }
.print-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
.print-controls button {
  padding: 6px 11px;
  min-height: 44px;
  border: 1px solid #aa7b80;
  background: #fff9f6;
  color: #6c3647;
  border-radius: 6px;
  cursor: pointer;
  font: 680 .81rem/1.25 Tak, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}
.print-controls button:hover,
.print-controls button[aria-pressed="true"] {
  background: #ead0ce;
}
.print-index {
  margin-top: clamp(17px, 3.1vw, 37px);
  border-top: 1px solid var(--film-rule);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.print-index a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--film-ink);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 700;
  padding: 6px 9px 6px 0;
}
.print-index a span {
  color: var(--film-rose);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
}
.print-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
.print-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.print-swatch {
  background: var(--sample);
  width: 18px;
  height: 18px;
  border: 1px solid #52414a45;
  border-radius: 50%;
  display: block;
}
.print-swatch[aria-current] {
  outline: 2px solid #7d4052;
  outline-offset: 2px;
}
.print-swatch--0 { --sample: #ed729c; }
.print-swatch--1 { --sample: #e74f53; }
.print-swatch--2 { --sample: #f49956; }
.print-swatch--3 { --sample: #ffca5d; }
.print-swatch--4 { --sample: #78b996; }
.print-swatch--5 { --sample: #54b9d7; }
.print-swatch--6 { --sample: #9375c7; }
.print-swatch--7 { --sample: #fff0e4; }
.print-swatch--8 { --sample: #242233; }

@media (max-width: 760px) {
  .print-chapter { padding-block: 28px 33px; }
  .print-chapter--fdm-large { padding-block: 23px 0; }
  .print-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .print-chapter--fdm-large .print-copy { padding-top: 0; }
  .print-copy h1 { font-size: clamp(36px, 10vw, 64px); }
  .print-copy h2 { max-width: 14ch; }
  .print-copy p { margin-top: 9px; }
  .print-copy .actions { margin-top: 13px; gap: 7px 11px; }
  .print-copy .button { padding-inline: 12px; }
  .print-caption { gap: 4px 10px; }
  .print-caption p { font-size: .84rem; }
  .print-visual-label { inset-inline-start: 8px; bottom: 7px; font-size: .70rem; }
  .print-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-index a { min-height: 42px; }
  .print-palette { margin-top: 12px; }
}
@media (min-width: 761px) {
  .print-chapter--multicolor .print-layout {
    grid-template-columns: minmax(0, 1.23fr) minmax(245px, .77fr);
  }
  .print-chapter--multicolor .print-figure { grid-area: 1 / 1; }
  .print-chapter--multicolor .print-copy { grid-area: 1 / 2; }
}
@media (prefers-reduced-motion: reduce) {
  .print-controls, .print-is-rendered .print-render { display: none; }
}

.print-player, .print-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.print-player { background: #2e2130; }
.print-player iframe { border: 0; }
.print-is-video .print-visual-label { visibility: hidden; }
.print-close {
  margin-left: auto;
  padding: 6px 11px;
  min-height: 44px;
  color: #6c3647;
  background: #fff9f6;
  border: 1px solid #aa7b80;
  border-radius: 6px;
  font: 680 .81rem/1.25 Tak, sans-serif;
  cursor: pointer;
}
