:root {
  --paper: #faf4e8;
  --white: #fffaf0;
  --ink: #2b1c2c;
  --plum: #4c2f50;
  --muted: #645462;
  --line: #cfbdae;
  --coral: #ae4938;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header a[aria-current="page"] { text-decoration: underline; }
.proof-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(26px, 5.5vw, 82px);
  padding-top: clamp(38px, 6vw, 84px);
  padding-bottom: clamp(32px, 5vw, 70px);
}
.proof-intro .eyebrow { color: #77383a; letter-spacing: .07em; }
.proof-intro h1 {
  margin: 16px 0 20px;
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: .96;
  letter-spacing: -.065em;
  max-width: 11ch;
}
.proof-intro h1 em { color: #963b32; font-style: normal; }
.proof-summary { margin: 0; max-width: 41ch; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.proof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.proof-actions .text-link { padding: 10px 0; }
.proof-privacy { margin: 15px 0 0; color: var(--muted); font-size: .84rem; }
.proof-cover { margin: 0; padding: 0; border: 1px solid var(--line); background: var(--white); }
.proof-cover img { width: 100%; height: auto; display: block; }
.proof-cover figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 12px;
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.proof-cover figcaption strong { color: var(--ink); }
.guide-head { gap: clamp(28px, 5vw, 75px); }
.guide-head h1 { max-width: 12ch; }
.guide-head .intro { max-width: 43ch; }
.guide-head figure.proof-cover img { border: 0; }
.guide-head figure.proof-cover figcaption { margin: 0; }
.guide-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 0; margin-bottom: 44px; }
.guide-paths a { display: flex; flex-direction: column; gap: 5px; min-height: 108px; padding: 18px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.guide-paths a:hover strong, .guide-paths a:focus-visible strong { text-decoration: underline; }
.guide-paths strong { font: 800 1.24rem/1.2 var(--heading); }
.guide-paths a > span { color: var(--muted); font-size: .875rem; }
.keep-image { margin: 0 0 12px; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .proof-hero { grid-template-columns: 1fr; }
  .proof-intro h1 { max-width: 12ch; font-size: clamp(2.65rem, 9.7vw, 4.5rem); }
  .proof-cover { max-width: 610px; }
  .guide-paths { grid-template-columns: 1fr; gap: 8px; margin-bottom: 25px; }
  .guide-paths a { min-height: 0; padding: 14px; }
}
@media print {
  .guide-paths { display: none; }
}

.production-media { margin-top: clamp(28px, 5vw, 64px); margin-bottom: clamp(28px, 5vw, 64px); }
.production-media > h2 { margin: 0 0 18px; }
.production-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; max-width: 1160px; }
.production-video, .production-illustration-grid figure { margin: 0; min-width: 0; border: 1px solid var(--line); background: var(--white); }
.production-video { max-width: 650px; }
.production-video h3 { margin: 0; padding: 16px; font-size: clamp(1.02rem, 2.5vw, 1.45rem); }
.production-video video { width: 100%; height: auto; display: block; background: var(--paper); }
.production-video figcaption, .production-illustration-grid figcaption { padding: 12px 16px; color: var(--ink); }
.production-video figcaption p, .production-illustration-grid figcaption p { margin: 0 0 4px; color: var(--muted); font-size: .88rem; }
.production-video summary, .production-illustrations summary { cursor: pointer; font-weight: 700; padding: 10px 0; min-height: 44px; }
.production-video ol { margin: 0 0 8px; padding-left: 24px; }
.production-illustrations { margin-top: 14px; }
.production-illustration-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 10px; }
.production-illustration-grid img { width: 100%; height: auto; }
@media print {
  .production-media { display: none; }
}

/* Registration marks echo the poster's sheet guides without moving the artwork. */
.proof-feedback {
  min-block-size: calc(2.8em + .9rem);
  margin: 0;
  padding: .45rem .75rem;
  color: var(--plum);
  background: var(--white);
  font: .8rem/1.4 var(--mono, monospace);
}
.proof-busy-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgb(238 229 236 / .86);
  pointer-events: none;
}
.proof-register-grid {
  display: grid;
  grid-template-columns: repeat(2, 1.6rem);
  gap: .18rem;
  padding: .8rem;
  border: 1px dashed #805585;
  background: var(--white);
}
.proof-register-grid i {
  height: 2rem;
  border: 1px solid #805585;
  border-bottom: 2px solid var(--coral);
}
.proof-busy-mask .proof-register-grid,
.proof-waiting .proof-register-grid {
  animation: proof-register 220ms ease-out both;
}
.proof-waiting .proof-register-grid { animation-delay: 140ms; }
@keyframes proof-register {
  from { opacity: .35; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
.studio .dropzone:focus-within,
.studio button:focus-visible,
.studio select:focus-visible,
.studio input:focus-visible {
  outline: 3px solid #743a55;
  outline-offset: 3px;
}
.studio .check:has(input:checked) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #805585;
  text-underline-offset: .19em;
}
.studio button:not(:disabled):active,
.studio .dropzone label:active {
  transform: translateY(1px);
  box-shadow: inset 0 -2px #a75a42;
}
.studio [data-proof-cancel] { min-block-size: 44px; margin: .35rem 0 0; }
@media (hover: hover) and (pointer: fine) {
  .studio button:not(:disabled):hover { box-shadow: inset 0 -2px #a75a42; }
}
[data-proof-accent="seen"] { animation: proof-figure .38s ease-out; }
@keyframes proof-figure {
  from { box-shadow: 0 0 0 3px rgb(174 73 56 / .34); }
  to { box-shadow: 0 0 0 3px rgb(174 73 56 / 0); }
}
@media (prefers-reduced-motion: reduce) {
  [data-proof-accent="seen"],
  .proof-busy-mask .proof-register-grid,
  .proof-waiting .proof-register-grid { animation: none; }
  .studio button:not(:disabled):active,
  .studio .dropzone label:active { transform: none; }
}

/* Poster Studio layout. Its presentation stops at the input and preview frame. */
.poster-workbench {
  --studio-paper: #fffaf1;
  --studio-ink: #392939;
  --studio-rule: #d8c5b8;
  --studio-tint: #eee2ed;
}
.poster-workbench .workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 23rem);
}
.poster-workbench .preview-panel {
  order: initial;
  justify-content: flex-start;
  min-width: 0;
  background: #f6efe8;
  padding: clamp(.6rem, 2vw, 1.4rem);
  border-bottom: 0;
}
.poster-workbench .control-panel {
  order: initial;
  min-width: 0;
  padding: clamp(.75rem, 2.2vw, 1.5rem);
  background: var(--studio-paper);
  border-right: 0;
  border-left: 1px solid var(--studio-rule);
}
.poster-workbench .studio-heading a,
.poster-workbench .studio-foot a,
.poster-workbench .studio-minor,
.poster-workbench #print,
.poster-workbench .studio-pick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.poster-workbench [data-studio-icon] {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--studio-icon) center / contain no-repeat;
}
.poster-workbench [data-studio-icon="upload"] { --studio-icon: url('./interface/upload-image-into-frame.png'); }
.poster-workbench [data-studio-icon="print"] { --studio-icon: url('./interface/open-tiled-print-sheets.png'); }
.poster-workbench [data-studio-icon="guide"] { --studio-icon: url('./interface/continue-to-print-guide.png'); }
.poster-workbench [data-studio-icon="seams"] { --studio-icon: url('./interface/show-poster-tile-seams.png'); }

.poster-workbench .studio-stage {
  position: relative;
  min-width: 0;
  overflow: clip;
  border: 1px solid var(--studio-rule);
  border-radius: .45rem;
  background: var(--studio-paper);
}
.poster-workbench .studio-stage.dragging { outline: 3px solid #954861; outline-offset: -3px; }
.poster-workbench .studio-file-input,
.poster-workbench .studio-segments input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  clip-path: inset(50%);
  overflow: hidden;
}
.poster-workbench .studio-stage:has(#upload:focus-visible) :is(.studio-pick, #replace-image):not([hidden]),
.poster-workbench .studio-segments input:focus-visible + span {
  outline: 3px solid #743a55;
  outline-offset: 3px;
}
.poster-workbench .studio-stage-head,
.poster-workbench .studio-stage-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  padding: .65rem .85rem;
}
.poster-workbench .studio-stage-head > div:first-child { min-width: 0; }
.poster-workbench .studio-stage-head h3 { margin: 0; font-size: 1rem; }
.poster-workbench #file-name { overflow-wrap: anywhere; margin: .15rem 0 0; line-height: 1.3; }
.poster-workbench .studio-stage-actions,
.poster-workbench .studio-entry-actions { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; }
.poster-workbench .studio-stage-actions:empty { display: none; }
.poster-workbench .studio-minor {
  min-height: 44px;
  padding: .35rem .55rem;
  border: 1px solid var(--studio-rule);
  border-radius: .28rem;
  background: transparent;
  color: var(--studio-ink);
  font: inherit;
  font-size: .8rem;
  font-weight: 650;
}
.poster-workbench .preview-desk {
  position: relative;
  min-height: clamp(13rem, 24vw, 21rem);
  padding: clamp(.65rem, 2vw, 1.25rem);
  border-block: 1px solid var(--studio-rule);
  flex: 0 0 auto;
}
.poster-workbench .studio-empty { text-align: center; }
.poster-workbench .studio-empty p { margin: .45rem 0; }
.poster-workbench .studio-entry-actions { justify-content: center; }
.poster-workbench .studio-pick { min-height: 44px; cursor: pointer; padding: .55rem .85rem; }
.poster-workbench .studio-output { width: 100%; display: grid; justify-items: center; min-width: 0; }
.poster-workbench .dimension-line { margin: 0 0 .65rem; font-size: .72rem; }
.poster-workbench .poster-stage { max-width: 100%; }
.poster-workbench .poster-stage canvas { max-height: clamp(220px, 48vh, 500px); }
.poster-workbench .studio-stage-foot #grid-label { font: .7rem var(--mono, monospace); }
.poster-workbench .studio-stage-foot .check { min-height: 44px; margin: 0; }
.poster-workbench #image-problems .error { margin: .5rem .8rem; }
.poster-workbench #keep-image { margin: .15rem .8rem .75rem; }
.poster-workbench .result-bar { min-width: 0; margin-top: .5rem; padding: .65rem; }
.poster-workbench .result-bar strong { font-size: clamp(.82rem, 1.35vw, 1rem); overflow-wrap: anywhere; }
.poster-workbench .studio-file-info { margin: .5rem .2rem .15rem; color: #68586a; }
.poster-workbench .quality-note { margin: .3rem 0 0; padding: .45rem .65rem; }

.poster-workbench .control-panel > fieldset { padding: 0; margin: 0 0 .8rem; border: 0; }
.poster-workbench .control-panel > fieldset > legend { margin-bottom: .45rem; padding: 0; font-size: .97rem; }
.poster-workbench .control-panel label { min-width: 0; }
.poster-workbench .studio-inline { display: grid; grid-template-columns: minmax(0, 1fr) 4.35rem; gap: .65rem; }
.poster-workbench .studio-unit select { padding-inline: .38rem; }
.poster-workbench .studio-segments { display: flex; gap: .25rem; min-width: 0; padding: 0; margin: 0; border: 0; }
.poster-workbench .studio-segments legend { padding: 0; margin: 0 0 .3rem; font-size: .75rem; }
.poster-workbench .studio-segments label { position: relative; flex: 1 1 0; margin: 0; }
.poster-workbench .studio-segments label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  min-height: 44px;
  padding: .25rem .3rem;
  border: 1px solid var(--studio-rule);
  border-radius: .25rem;
  background: #fffdf9;
  cursor: pointer;
}
.poster-workbench .studio-segments input:checked + span { background: var(--studio-tint); border-color: #845878; }
.poster-workbench .studio-segments input:active + span { box-shadow: inset 0 -2px #a75a42; }
.poster-workbench .studio-dimensions { margin-top: .4rem; }
.poster-workbench .studio-dimensions input[readonly] { background: #f1ebe5; border-style: dashed; }
.poster-workbench .studio-paper-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: .2rem; }
.poster-workbench .paper-shape { display: inline-block; width: .6rem; height: .8rem; border: 1px solid currentColor; border-radius: 1px; }
.poster-workbench .paper-shape.wide { width: .8rem; height: .6rem; }
.poster-workbench .proof-feedback { background: transparent; min-block-size: 2.85em; padding: .1rem 0 .35rem; }
.poster-workbench .control-actions { padding-top: .45rem; }
.poster-workbench .control-actions .micro { margin: .32rem 0 .5rem; }
.poster-workbench .studio-advanced { border-top: 1px solid var(--studio-rule); padding: .3rem 0 0; }
.poster-workbench .studio-advanced summary { min-height: 44px; cursor: pointer; align-content: center; font-weight: 700; }
.poster-workbench .studio-advanced .check { min-height: 44px; }
.poster-workbench [data-proof-cancel] { display: block; padding-inline: .25rem; }

@media (max-width: 740px) {
  .poster-workbench .workbench { display: block; }
  .poster-workbench .preview-panel { border-bottom: 1px solid var(--studio-rule); }
  .poster-workbench .control-panel { border-left: 0; }
  .poster-workbench .preview-desk { min-height: 12rem; }
  .poster-workbench .poster-stage canvas { max-height: 280px; }
  .poster-workbench .result-bar { grid-template-columns: 1fr 1fr; }
}

/* Poster Studio registration and choice feedback. */
.poster-workbench .studio-entry-tiles {
  position: relative;
  display: grid;
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
  gap: .24rem;
  width: 8rem;
  height: 3.65rem;
  margin: 0 auto .78rem;
  pointer-events: none;
}
.poster-workbench .studio-entry-tiles i {
  border: 1px solid #785477;
  border-radius: .2rem;
  background: #faf0e5;
  box-shadow: 0 2px 0 #d4b9cd;
}
.poster-workbench .studio-entry-tiles i:nth-child(1) { --tile-x: -16px; --tile-y: -10px; }
.poster-workbench .studio-entry-tiles i:nth-child(2) { --tile-x: 16px; --tile-y: -10px; background: #ead8e8; }
.poster-workbench .studio-entry-tiles i:nth-child(3) { --tile-x: -16px; --tile-y: 10px; background: #ead8e8; }
.poster-workbench .studio-entry-tiles i:nth-child(4) { --tile-x: 16px; --tile-y: 10px; }
.poster-workbench .studio-entry-seam {
  position: absolute;
  inset-inline: -.3rem;
  top: calc(50% - 1px);
  height: 2px;
  background: #a24c38;
  transform-origin: left center;
}
.poster-workbench [data-print-entry-state="registering"] i {
  animation: studio-entry-tile 540ms cubic-bezier(.24,.65,.24,1) both;
}
.poster-workbench [data-print-entry-state="registering"] .studio-entry-seam {
  animation: studio-entry-seam 540ms cubic-bezier(.24,.65,.24,1) both;
}
@keyframes studio-entry-tile {
  from { transform: translate(var(--tile-x), var(--tile-y)); }
  to { transform: translate(0, 0); }
}
@keyframes studio-entry-seam {
  0%, 24% { transform: scaleX(.12); }
  100% { transform: scaleX(1); }
}
.poster-workbench [data-print-choice] { position: relative; }
.poster-workbench .studio-choice-ink {
  position: absolute;
  inset-inline: .55rem;
  bottom: .12rem;
  height: 3px;
  border-radius: 2px;
  background: #a24c38;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 170ms ease-out;
  pointer-events: none;
}
.poster-workbench [data-print-choice-current] .studio-choice-ink,
.poster-workbench [data-print-choice]:has(select:focus-visible, select:active) .studio-choice-ink {
  transform: scaleX(1);
}
.poster-workbench [data-print-choice] select:active { background-color: #f2e5ef; }
@media (hover: hover) and (pointer: fine) {
  .poster-workbench [data-print-choice]:hover .studio-choice-ink { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .poster-workbench [data-print-entry-state="registering"] i,
  .poster-workbench [data-print-entry-state="registering"] .studio-entry-seam { animation: none; }
  .poster-workbench .studio-choice-ink { transition: none; }
}
@media print {
  .poster-workbench .studio-entry-tiles,
  .poster-workbench .studio-choice-ink { display: none; }
}
