/* Client quotes, print-and-apply (Success stories). Quotes are shown word for word; only size changes with length. */
.tq-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px 6vw; align-items: end; margin-bottom: 34px; }
.tq-head h2 { font-size: clamp(28px, 3.8vw, 50px); font-weight: 600; margin: 18px 0 0; max-width: 18ch; }
.tq-head p { color: var(--text-dim); font-size: clamp(14px, 1.25vw, 17px); line-height: 1.75; max-width: 52ch; margin: 0; }

/* without JavaScript (and for screen readers) the quotes are a plain list */
.tq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tq-list li { border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.tq-list blockquote { margin: 0 0 14px; font: 500 clamp(16px, 1.4vw, 19px)/1.6 'Space Grotesk', sans-serif; }
.tq-list blockquote p { margin: 0; }
.tq-list blockquote p + p { margin-top: .7em; }
.tq-list .tq-who { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.tq-list .tq-who b { color: var(--text); font-weight: 500; }
.tq.on .tq-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* the machine */
.pa-stage { position: relative; height: 400px; max-width: 960px; margin: 0 auto; overflow: hidden; }
.pa-printer { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; width: min(700px, calc(100% - 8px)); height: 66px; z-index: 3; border-radius: 10px;
  background: #1d241a; border: 1px solid rgba(239,243,233,.14); }
.pa-led { position: absolute; left: 16px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #B3D230; box-shadow: 0 0 10px #B3D230; }
.pa-name { position: absolute; left: 32px; top: 10px; font: 500 10px 'IBM Plex Mono', monospace; letter-spacing: .2em; color: rgba(239,243,233,.5); }
.pa-slot { position: absolute; left: 16px; right: 16px; bottom: 10px; height: 5px; border-radius: 5px; background: #050705; box-shadow: inset 0 2px 3px rgba(0,0,0,.8); }   /* the open bar the label feeds out of: as wide as the widest label */
.pa-belt { position: absolute; left: 0; right: 0; bottom: 22px; height: 14px; border-radius: 14px; background: repeating-linear-gradient(90deg, #1a2016 0 18px, #0c100a 18px 22px); }
.pa-belt.run { animation: paRoll .49s linear infinite; }
.pa-belt.run.rev { animation-direction: reverse; }
@keyframes paRoll { to { background-position: -22px 0; } }
.pa-box { position: absolute; left: 0; right: 0; bottom: 36px; margin: 0 auto; width: min(470px, calc(100% - 16px)); height: 176px; border-radius: 6px; background: #16130c; border: 1px solid rgba(210,170,90,.35); z-index: 1; }
.pa-box::before { content: ""; position: absolute; left: 50%; top: 0; height: 40px; width: 40px; transform: translateX(-50%); background: rgba(210,170,90,.12); }
.pa-box.long { width: min(740px, calc(100% - 8px)); }
.pa-label { position: absolute; left: 0; right: 0; top: 56px; margin: 0 auto; width: min(400px, calc(100% - 46px)); z-index: 4; background: #F2EFE4; color: #141a10; border-radius: 4px;
  padding: 14px 18px 12px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.pa-label.long { width: min(660px, calc(100% - 46px)); }
.pa-label .h { display: flex; justify-content: space-between; font: 500 10px 'IBM Plex Mono', monospace; letter-spacing: .14em; border-bottom: 1.5px solid #141a10; padding-bottom: 5px; }
.pa-label p { font: 500 20px/1.45 'Space Grotesk', sans-serif; margin: 10px 0 8px; white-space: pre-line; }
.pa-label.long p { font-size: 18px; line-height: 1.55; }
/* name and company logo share one row, so the logo barely adds height; printed black like a thermal label */
.pa-label .ft { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(20,26,16,.35); }
.pa-label .ft img { max-height: 30px; max-width: 120px; width: auto; height: auto; flex: none; filter: brightness(0); opacity: .85; }
/* who said it: name bold with a lime marker, role on its own line */
.pa-label .who { min-width: 0; }
.pa-label .who b { display: inline; font: 600 17px/1.3 'Space Grotesk', sans-serif; color: #141a10; padding: 0 3px;
  background: linear-gradient(transparent 58%, rgba(179,210,48,.75) 58%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pa-label .who span { display: block; margin-top: 3px; font: 500 15px/1.35 'Space Grotesk', sans-serif; color: #2f352b; }
.pa-label .bars { height: 22px; margin-top: 8px; background: repeating-linear-gradient(90deg, #141a10 0 2px, transparent 2px 4px, #141a10 4px 5px, transparent 5px 8px, #141a10 8px 11px, transparent 11px 13px); }
.pa-label .st { position: absolute; right: 6px; bottom: calc(100% + 11px); background: rgba(245,240,226,.92); border: 2px solid #3f7d1c; color: #3f7d1c; font: 500 11px 'IBM Plex Mono', monospace; letter-spacing: .12em;
  padding: 2px 6px; border-radius: 3px; transform: rotate(-6deg) scale(2); opacity: 0; transition: transform .3s cubic-bezier(.3,1.6,.5,1), opacity .2s; }
.pa-label.done .st { transform: rotate(-6deg) scale(1); opacity: .9; }

/* arrows and position dots */
.pa-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.pa-nav[hidden] { display: none; }
.pa-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239,243,233,.22); background: transparent; color: var(--text); cursor: pointer;
  font: 500 24px/1 'Space Grotesk', sans-serif; display: grid; place-items: center; padding: 0 0 3px; transition: border-color .2s, color .2s; }
.pa-arrow:hover { border-color: #B3D230; color: #B3D230; }
.pa-arrow:focus-visible, .pa-dot:focus-visible { outline: 2px solid #B3D230; outline-offset: 3px; }
.pa-dots { display: flex; gap: 8px; }
.pa-dot { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: rgba(239,243,233,.25); cursor: pointer; transition: width .3s, background .3s; }
.pa-dot[aria-current="true"] { width: 24px; background: #B3D230; }

@media (max-width: 900px) { .tq-head { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pa-label .ft img { max-height: 24px; max-width: 92px; } .pa-label .who b { font-size: 15px; } .pa-label .who span { font-size: 13.5px; } .pa-label p { font-size: 16px; } .pa-label.long p { font-size: 14.5px; line-height: 1.5; } .pa-label { padding: 12px 14px 10px; } }
@media (prefers-reduced-motion: reduce) { .pa-belt.run { animation: none; } }

/* light mode: the machine keeps its look, the surroundings go light */
html[data-theme="light"] .pa-belt { background: repeating-linear-gradient(90deg, #D5D8D3 0 18px, #EEF0EC 18px 22px); }
html[data-theme="light"] .pa-box { background: #EAD9B8; border-color: rgba(140,100,40,.35); }
html[data-theme="light"] .pa-box::before { background: rgba(140,100,40,.12); }
html[data-theme="light"] .pa-printer { box-shadow: 0 10px 24px rgba(18,24,15,.18); }
html[data-theme="light"] .pa-label { box-shadow: 0 6px 16px rgba(18,24,15,.18); }
html[data-theme="light"] .tq-list li { border-color: #E5E7E4; background: #FFFFFF; }
html[data-theme="light"] .pa-arrow { border-color: #D5D8D3; background: #FFFFFF; color: #12180F; }
html[data-theme="light"] .pa-arrow:hover { border-color: #467D00; color: #467D00; }
html[data-theme="light"] .pa-arrow:focus-visible, html[data-theme="light"] .pa-dot:focus-visible { outline-color: #467D00; }
html[data-theme="light"] .pa-dot { background: #D5D8D3; }
html[data-theme="light"] .pa-dot[aria-current="true"] { background: #9DC21F; }
