/* Print-on-demand page: CMYK plate modules, printing-press journey, approved proof sheets. Prefix pr-. */
:root { --pr-c: #00a3e0; --pr-m: #e5007e; --pr-y: #ffd400; --pr-k: #1d1d1f; --pr-ink: #1d1d1f; --pr-muted: #5d6170; --pr-line: rgba(29, 29, 31, .12); }
.ink-c { --ink: var(--pr-c); }
.ink-m { --ink: var(--pr-m); }
.ink-y { --ink: var(--pr-y); }
.ink-k { --ink: var(--pr-k); }

/* ---- CMYK plates ---- */
.pr-plates { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: 28px; }
.pr-plate-scene { height: 440px; perspective: 1200px; display: grid; place-items: center; }
.pr-stack { position: relative; width: 300px; height: 300px; transform: rotateX(48deg) rotateZ(-30deg); transform-style: preserve-3d; }
.pr-plate { position: absolute; inset: 0; padding: 0; border: 2px solid color-mix(in srgb, var(--ink) 60%, #fff); border-radius: 10px; background: color-mix(in srgb, var(--ink) 8%, rgba(255, 255, 255, .3)); cursor: pointer; transform: translateZ(calc(var(--k) * 26px)); transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .35); backdrop-filter: blur(1px); }
.pr-plate[aria-pressed="true"] { transform: translateZ(140px) translateX(120px); background: #fff; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .45); }
.pr-plate-art { position: absolute; inset: 0; mix-blend-mode: multiply; }
.pr-plate-art i { position: absolute; background: var(--ink); opacity: .85; }
.ink-c .pr-plate-art i:nth-child(1) { left: 30px; top: 40px; width: 120px; height: 120px; border-radius: 50%; }
.ink-c .pr-plate-art i:nth-child(2) { left: 170px; top: 200px; width: 90px; height: 16px; border-radius: 8px; }
.ink-m .pr-plate-art i:nth-child(1) { left: 100px; top: 90px; width: 120px; height: 120px; border-radius: 50%; }
.ink-m .pr-plate-art i:nth-child(2) { left: 40px; top: 220px; width: 120px; height: 16px; border-radius: 8px; }
.ink-y .pr-plate-art i:nth-child(1) { left: 60px; top: 120px; width: 120px; height: 120px; border-radius: 50%; }
.ink-y .pr-plate-art i:nth-child(2) { left: 180px; top: 40px; width: 70px; height: 70px; border-radius: 10px; }
.ink-k .pr-plate-art i:nth-child(1) { left: 30px; top: 260px; width: 160px; height: 10px; border-radius: 5px; }
.ink-k .pr-plate-art i:nth-child(2) { left: 30px; top: 18px; width: 90px; height: 12px; border-radius: 6px; }
.pr-plate-art i:nth-child(3) { display: none; }
.pr-plate-tag { position: absolute; left: 12px; bottom: -34px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--pr-ink); background: #fff; padding: 3px 10px 3px 4px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.pr-plate-tag b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; }
.ink-y .pr-plate-tag b { color: var(--pr-ink); }
.pr-plate[aria-pressed="true"] .pr-plate-tag { opacity: 1; }
.pr-reg { position: absolute; right: 8px; top: 8px; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; }
.pr-reg::before, .pr-reg::after { content: ""; position: absolute; background: var(--ink); }
.pr-reg::before { left: 50%; top: -6px; bottom: -6px; width: 2px; transform: translateX(-50%); }
.pr-reg::after { top: 50%; left: -6px; right: -6px; height: 2px; transform: translateY(-50%); }
.pr-plate-card { background: #fff; border: 1px solid var(--pr-line); border-top: 5px solid var(--ink); border-radius: 16px; padding: 22px 24px; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); animation: pr-in .35s ease; }
.pr-plate-card small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pr-muted); }
.pr-plate-card h3 { margin: 8px 0 12px; font-size: 22px; }
.pr-plate-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pr-plate-card li { position: relative; padding-left: 22px; font-size: 15px; }
.pr-plate-card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.pr-plate-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pr-plate-tabs button { font: inherit; font-size: 14px; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--pr-line); border-radius: 999px; background: #fff; color: var(--pr-ink); cursor: pointer; }
.pr-plate-tabs button[aria-pressed="true"] { border-color: var(--pr-ink); font-weight: 600; }
.pr-plate-tabs i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
@keyframes pr-in { from { opacity: 0; transform: translateY(8px); } }

/* ---- Printing press journey ---- */
.pr-press { --n: 5; margin-top: 28px; padding: 40px 22px 22px; border-radius: 20px; background: linear-gradient(#f3f4f6, #e5e7eb); box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .45); }
.pr-line { position: relative; height: 110px; margin: 0 calc(50% / var(--n)); }
.pr-belt { position: absolute; left: -20px; right: -20px; top: 72px; height: 14px; border-radius: 7px; background: repeating-linear-gradient(90deg, #4b5563 0 10px, #374151 10px 20px); animation: pr-belt 1s linear infinite paused; }
.pr-press.is-running .pr-belt { animation-play-state: running; }
@keyframes pr-belt { to { background-position: 20px 0; } }
.pr-sheet { position: absolute; top: 0; left: 0; width: 84px; height: 64px; margin-left: -42px; background: #fff; border-radius: 3px; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .4); transition: left .9s cubic-bezier(.4, 0, .2, 1); overflow: hidden; }
.pr-sheet i { position: absolute; opacity: 0; mix-blend-mode: multiply; transition: opacity .5s; }
.pr-sheet .c { left: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--pr-c); }
.pr-sheet .m { left: 20px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--pr-m); }
.pr-sheet .y { left: 32px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--pr-y); }
.pr-sheet .k { left: 8px; bottom: 6px; width: 54px; height: 4px; background: var(--pr-k); }
.pr-sheet.l1 .c, .pr-sheet.l2 .m, .pr-sheet.l3 .y, .pr-sheet.l4 .k { opacity: 1; }
.pr-stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; }
.pr-stations li { text-align: center; padding: 0 4px; }
.pr-roller { display: block; width: 58px; height: 58px; margin: -40px auto 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--ink) 50%, #fff), var(--ink) 70%); box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .4), 0 0 0 5px #d1d5db; position: relative; }
.pr-roller i { position: absolute; inset: 10px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .55); }
.pr-stations li.is-on .pr-roller i { animation: pr-spin 1.2s linear infinite; }
@keyframes pr-spin { to { transform: rotate(360deg); } }
.pr-stations b { display: block; font-size: 16px; color: var(--pr-ink); opacity: .5; transition: opacity .3s; }
.pr-stations small { display: block; margin-top: 4px; font-size: 13px; color: var(--pr-muted); opacity: .6; transition: opacity .3s; }
.pr-stations li.is-on b, .pr-stations li.is-on small, .pr-stations li.is-done b, .pr-stations li.is-done small { opacity: 1; }
.pr-replay { display: block; margin: 18px auto 0; font: inherit; font-size: 14px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--pr-line); background: #fff; color: var(--pr-ink); cursor: pointer; }
.pr-replay:hover { border-color: var(--pr-ink); }

/* ---- Approved proof sheets ---- */
.pr-proofs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pr-proofs li { position: relative; padding: 30px 22px 26px; background: #fff; border-radius: 4px; box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .45), 0 0 0 1px var(--pr-line); transform: rotate(calc((var(--i) - 1.5) * 1.2deg)); }
.pr-crop i { position: absolute; width: 14px; height: 14px; border-color: #9ca3af; border-style: solid; border-width: 0; }
.pr-crop i:nth-child(1) { left: 6px; top: 6px; border-left-width: 1px; border-top-width: 1px; }
.pr-crop i:nth-child(2) { right: 6px; top: 6px; border-right-width: 1px; border-top-width: 1px; }
.pr-crop i:nth-child(3) { left: 6px; bottom: 6px; border-left-width: 1px; border-bottom-width: 1px; }
.pr-crop i:nth-child(4) { right: 6px; bottom: 6px; border-right-width: 1px; border-bottom-width: 1px; }
.pr-proofs small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pr-m); }
.pr-proofs li:nth-child(4n+2) small { color: var(--pr-c); }
.pr-proofs li:nth-child(4n+3) small { color: #b38f00; }
.pr-proofs li:nth-child(4n+4) small { color: var(--pr-k); }
.pr-proofs h3 { margin: 8px 0 6px; font-size: 18px; }
.pr-proofs p { margin: 0; font-size: 14px; color: var(--pr-muted); }
.pr-ok { position: absolute; right: 12px; top: 14px; padding: 3px 10px; border: 2px solid #16a34a; border-radius: 6px; color: #16a34a; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-12deg) scale(2.2); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; transition-delay: calc(.3s + var(--i) * .35s); }
.pr-proofs.in .pr-ok { transform: rotate(-12deg); opacity: .9; }

@media (max-width: 900px) {
    .pr-plates { grid-template-columns: 1fr; gap: 20px; }
    .pr-proofs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pr-plate-scene { height: 330px; }
    .pr-stack { width: 210px; height: 210px; }
    .pr-plate[aria-pressed="true"] { transform: translateZ(120px) translateX(70px); }
    .pr-plate-art { transform: scale(.7); transform-origin: 0 0; }
    .pr-line { display: none; }
    .pr-stations { grid-template-columns: 1fr; gap: 14px; }
    .pr-stations li { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; align-items: center; }
    .pr-roller { width: 44px; height: 44px; margin: 0; grid-row: span 2; box-shadow: 0 0 0 4px #d1d5db; }
    .pr-proofs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .pr-plate, .pr-sheet, .pr-ok { transition: none; }
    .pr-stations li.is-on .pr-roller i { animation: none; }
}
