/* Blanquet Edições — Prova de Impressão
   Night proof room, backlit paper, process inks. */

:root {
  /* room */
  --room: #0d0f12;
  --room-2: #14171c;
  --room-3: #1c2027;
  --room-line: rgba(232, 236, 242, .14);
  --room-text: #e9ecf0;
  --room-muted: #a3aab4;

  /* paper */
  --paper: #f4f5f2;
  --paper-2: #e9ebe7;
  --paper-line: rgba(17, 19, 23, .16);
  --ink-text: #121418;
  --ink-muted: #4b515a;

  /* process inks */
  --c: #00a0e3;
  --m: #e5007e;
  --y: #ffe500;
  --y-deep: #d9b800;
  --k: #121316;
  --navy: #1e3a5f;
  --magenta-action: #c8006f;
  --magenta-press: #a6005c;

  --light: #eef4f8;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-press: cubic-bezier(.2, .9, .1, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #3a404a var(--room);
}

body {
  margin: 0;
  background: var(--room);
  color: var(--room-text);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--m);
}

::selection { background: var(--m); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--room); }
::-webkit-scrollbar-thumb { background: #353b45; border-radius: 6px; border: 3px solid var(--room); }
::-webkit-scrollbar-thumb:hover { background: #4a515d; }

img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 2px; }

.defs { position: absolute; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink-text);
  padding: .6rem 1rem; border-radius: 6px; font-weight: 600;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* ---------- scroll progress: the control strip ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none;
}
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, #f4f5f2 75% 100%);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* ---------- slugs & marks ---------- */
.slug {
  font-family: var(--f-mono);
  font-size: .6875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--room-muted);
  margin: 0;
  white-space: nowrap;
}
.slug i { font-style: normal; color: var(--m); padding: 0 .35em; }
.slug--inline { display: inline-flex; align-items: center; gap: .55em; }
.reg-inline { width: 14px; height: 14px; color: currentColor; flex: none; }
.slug--paper { color: var(--ink-muted); }

/* job slugs live in the margin, printed sideways along the sheet edge */
.slug--inline {
  position: absolute; top: 0; left: calc(-1 * clamp(26px, 3vw, 40px));
  writing-mode: vertical-rl; rotate: 180deg;
  margin: 0 !important;
  color: var(--room-muted);
}
.slug--inline .reg-inline { rotate: 90deg; }
.sheet .slug--inline { top: auto; bottom: 100%; left: calc(-1 * clamp(26px, 3vw, 40px)); translate: 0 100%; }
.ticket__head, .order__intro { position: relative; }
.sheet .slug--inline { position: absolute; top: 0; bottom: auto; translate: none; left: calc(-1 * clamp(1.25rem, 5vw, 4.5rem) - clamp(22px, 2.4vw, 32px)); }
@media (max-width: 900px) {
  .slug--inline { display: none; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem;
  padding: 14px var(--gutter);
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(13, 15, 18, .92);
  border-bottom-color: var(--room-line);
}
@supports (backdrop-filter: blur(1px)) {
  .nav.is-solid { background: rgba(13, 15, 18, .9); backdrop-filter: blur(14px) saturate(1.2); }
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; justify-self: start; }
.brand img { width: 24px; height: 24px; }
.brand__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; font-variation-settings: "wdth" 86; }
.brand__name span { font-weight: 400; color: var(--room-muted); font-variation-settings: "wdth" 100; margin-left: .15em; }

.nav__links { display: flex; gap: clamp(1rem, 2.6vw, 2.4rem); }
.nav__links a {
  text-decoration: none; font-size: .9375rem; color: var(--room-muted);
  position: relative; padding: .4rem 0;
  transition: color .25s var(--ease-out);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--m);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--room-text); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { justify-self: end; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink-text);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1rem/1 var(--f-sans);
  font-variation-settings: "wdth" 104;
  padding: 1rem 1.35rem;
  border-radius: 4px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .5s var(--ease-press), background-color .25s, box-shadow .5s var(--ease-press), color .25s;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px -8px rgba(0,0,0,.5);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: 0 0 0 rgba(0,0,0,0), 0 2px 6px -3px rgba(0,0,0,.5); }

.btn--sm { padding: .7rem 1rem; font-size: .875rem; }
.btn--lg { padding: 1.15rem 1.6rem; font-size: 1.0625rem; }

.btn--ink { --bg: var(--paper); --fg: var(--ink-text); }
.btn--ink:hover { --bg: #fff; }

.btn--magenta { --bg: var(--magenta-action); --fg: #fff; }
.btn--magenta:hover { --bg: var(--magenta-press); }

.btn--line {
  --bg: transparent; --fg: var(--ink-text);
  border-color: rgba(17,19,23,.28); box-shadow: none;
}
.btn--line:hover { --bg: rgba(17,19,23,.05); border-color: rgba(17,19,23,.5); }

/* ---------- plates (misregistration → register) ---------- */
.plates {
  position: relative;
  margin: 0;
  font-weight: 800;
  font-variation-settings: "wdth" 96;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
  isolation: isolate;
}
.plate { display: block; }
.plate--c, .plate--m, .plate--y {
  position: absolute; inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}
/* C/M/Y layers are drawn from data-text, so each heading's words exist once in the HTML */
.plate--c::before, .plate--m::before, .plate--y::before { content: attr(data-text); }
.plate--c { color: var(--c); }
.plate--m { color: var(--m); }
.plate--y { color: var(--y); }
.plate--k { color: var(--k); position: relative; z-index: 1; }

/* on dark ground the plates are lit, not printed */
.plates--light .plate--k { color: var(--room-text); }
.plates--light .plate--c, .plates--light .plate--m, .plates--light .plate--y { mix-blend-mode: screen; }
.section-head--dark .plate--k { color: var(--room-text); }
.section-head--dark .plate--c, .section-head--dark .plate--m, .section-head--dark .plate--y { mix-blend-mode: screen; }

.js .plates:not(.is-registered) .plate--k { opacity: 0; }
.js .plates:not(.is-registered) .plate--c { transform: translate(calc(var(--mis, 1) * -0.11em), calc(var(--mis, 1) * -0.05em)); }
.js .plates:not(.is-registered) .plate--m { transform: translate(calc(var(--mis, 1) * 0.09em), calc(var(--mis, 1) * 0.06em)); }
.js .plates:not(.is-registered) .plate--y { transform: translate(calc(var(--mis, 1) * -0.04em), calc(var(--mis, 1) * 0.1em)); }
.js .plates .plate { transition: transform 1.5s var(--ease-out), opacity .5s ease; }
.js .plates.is-registered .plate--k { transition-delay: 1.05s; }
.plates--sm { --mis: .6; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(96px, 13vh, 128px) var(--gutter) clamp(56px, 9vh, 96px);
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1600px;
}
.room-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(233,236,240,.09) 1px, transparent 1.6px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 46%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 46%, #000 20%, transparent 75%);
}
.hero::before {
  /* the booth lamp over the sheet */
  content: ""; position: absolute; left: 50%; top: 42%; width: 140vw; height: 120vh; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(214, 224, 236, .10), rgba(214,224,236,0) 70%);
  pointer-events: none;
}

.proof {
  --mark-gap: 22px;
  position: relative;
  width: min(100%, var(--maxw));
  transform-style: preserve-3d;
  transform-origin: 50% 0%;
  transform: translate3d(0, var(--ty, 0px), 0) rotateX(var(--rx, 0deg)) scale(var(--sc, 1));
  will-change: transform;
}
.js .proof:not(.is-laid) { --rx: 14deg; --sc: .94; opacity: 0; }
.js .proof { transition: transform 1.6s var(--ease-out), opacity 1.1s var(--ease-out); }
.js .proof.is-scrolling { transition: opacity 1.1s var(--ease-out); }

.sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink-text);
  border-radius: 2px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 2px 3px rgba(0,0,0,.35),
    0 24px 48px -12px rgba(0,0,0,.6),
    0 60px 120px -30px rgba(0,0,0,.7);
}

.sheet--hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(2rem, 5.4vw, 5rem) clamp(1.5rem, 5vw, 4.8rem);
  min-height: clamp(460px, calc(100svh - 250px), 720px);
}
.hero__copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.5rem, 5.1vw, 5.75rem);
  font-variation-settings: "wdth" 84;
  letter-spacing: -.03em;
  max-width: 15ch;
}
.hero__lede {
  margin: clamp(1.25rem, 2.4vw, 2rem) 0 0;
  font-size: clamp(1.0625rem, 1.35vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 36ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }

.hero__objects {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 280px;
}
.hero__objects img {
  position: absolute;
  top: 50%; right: -52%;
  width: 190%;
  height: auto;
  max-width: none;
  translate: 0 -50%;
  filter: drop-shadow(0 30px 32px rgba(10, 12, 16, .32)) drop-shadow(0 6px 8px rgba(10,12,16,.18));
  transform: translate3d(0, var(--oy, 0px), 0);
  will-change: transform;
}
.js .proof:not(.is-laid) .hero__objects img { opacity: 0; transform: translate3d(0, 40px, 0) scale(.97); }
.js .hero__objects img { transition: opacity 1.4s var(--ease-out) .55s, transform 1.8s var(--ease-out) .55s; }
.js .proof.is-scrolling .hero__objects img { transition: none; }

/* marks around the hero sheet */
.marks { position: absolute; inset: 0; pointer-events: none; color: var(--room-muted); }
.crop { position: absolute; width: 48px; height: 48px; }
.crop--tl { left: -48px; top: -48px; }
.crop--tr { right: -48px; top: -48px; transform: scaleX(-1); }
.crop--bl { left: -48px; bottom: -48px; transform: scaleY(-1); }
.crop--br { right: -48px; bottom: -48px; transform: scale(-1, -1); }
.reg { position: absolute; width: 26px; height: 26px; }
.reg--t { left: 50%; top: -40px; translate: -50% 0; }
.reg--l { left: -40px; top: 50%; translate: 0 -50%; }
.reg--r { right: -40px; top: 50%; translate: 0 -50%; }
.slug--top { position: absolute; left: 0; top: -30px; }
.slug--side { position: absolute; right: 0; top: -30px; }
.js .proof:not(.is-laid) .marks { opacity: 0; }
.js .marks { transition: opacity 1s ease .9s; }

.colorbar {
  position: absolute; left: 0; bottom: -34px;
  display: flex; height: 14px; gap: 0;
}
.colorbar span { width: 18px; height: 14px; }
.p-c { background: var(--c); } .p-m { background: var(--m); } .p-y { background: var(--y); } .p-k { background: var(--k); outline: 1px solid rgba(255,255,255,.12); outline-offset: -1px; }
.t75 { opacity: .75; } .t50 { opacity: .5; } .t25 { opacity: .25; }
.p-cm { background: #2e3192; } .p-my { background: #ed1c24; } .p-cy { background: #00a651; }
.js .proof:not(.is-laid) .colorbar { opacity: 0; }
.js .colorbar { transition: opacity 1s ease 1.1s; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0;
  margin: 0; display: flex; align-items: center; gap: .6rem;
  font: .6875rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--room-muted);
}
.scroll-cue span { width: 1px; height: 22px; background: var(--room-muted); transform-origin: top; animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- section heads (dark ground) ---------- */
.section-head, .faq__head { position: relative; }
.section-head {
  width: min(100%, var(--maxw)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 1rem 3rem;
}
.section-head .slug--inline { grid-column: 1 / -1; }
.section-head h2 { font-size: clamp(3rem, 9vw, 8.5rem); line-height: .88; }
.section-head__sub {
  margin: 0; color: var(--room-muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.4; max-width: 26ch;
  justify-self: end; text-align: right; padding-bottom: .5em;
}

/* ---------- portfolio · light table ---------- */
.portfolio {
  padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(72px, 12vh, 140px);
  position: relative;
}
.lighttable {
  position: relative;
  width: min(100%, var(--maxw)); margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}
.lighttable__surface {
  position: relative;
  border-radius: 10px;
  background-color: var(--light);
  background-image:
    linear-gradient(rgba(0, 120, 170, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 170, .09) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.5) inset,
    0 0 0 10px #22262d,
    0 0 0 11px rgba(255,255,255,.06),
    0 40px 80px -20px rgba(0,0,0,.8),
    0 0 140px 10px rgba(200, 224, 245, .10);
  overflow: hidden;
}
.prints {
  list-style: none; margin: 0;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px);
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(270px, 38%, 520px);
  gap: clamp(20px, 3vw, 44px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(20px, 4vw, 56px);
  scrollbar-width: none;
  cursor: grab;
}
.prints::-webkit-scrollbar { display: none; }
.prints.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.prints.is-loupe { cursor: none; }
.print {
  scroll-snap-align: start;
  position: relative;
  background: #fff;
  padding: 10px 10px 34px;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(20,40,60,.18), 0 10px 24px -10px rgba(20,40,60,.35);
  rotate: var(--r, 0deg);
  transition: rotate .8s var(--ease-out), translate .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.print:nth-child(odd) { --r: -.9deg; }
.print:nth-child(even) { --r: .7deg; translate: 0 10px; }
.print:hover { --r: 0deg; box-shadow: 0 1px 2px rgba(20,40,60,.18), 0 22px 40px -14px rgba(20,40,60,.45); }
.print img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 48%;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
  background: #d9d9d9;
}
.print__cap {
  position: absolute; left: 12px; bottom: 10px;
  font: .6875rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: #5a6470;
}

.loupe {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 210px; height: 210px; margin: -105px 0 0 -105px;
  pointer-events: none;
  opacity: 0; transform: translate3d(var(--lx, 0), var(--ly, 0), 0) scale(.85);
  transition: opacity .3s ease, transform .3s var(--ease-out);
}
.loupe.is-on { opacity: 1; transform: translate3d(var(--lx, 0), var(--ly, 0), 0) scale(1); transition: opacity .3s ease, transform .08s linear; }
.loupe__lens {
  position: absolute; inset: 0; border-radius: 50%;
  background-color: #fff; background-repeat: no-repeat;
  box-shadow:
    0 0 0 6px #1b1e24,
    0 0 0 7px rgba(255,255,255,.18),
    inset 0 0 0 1px rgba(0,0,0,.3),
    inset 0 10px 24px rgba(255,255,255,.35),
    0 22px 40px -8px rgba(0,0,0,.55);
}
.loupe__lens::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%;
  background:
    linear-gradient(var(--m), var(--m)) center / 1px 100% no-repeat,
    linear-gradient(var(--m), var(--m)) center / 100% 1px no-repeat;
  opacity: .55;
}
.loupe__label {
  position: absolute; left: 50%; bottom: -34px; translate: -50% 0;
  font: .625rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--room-text); background: #1b1e24; padding: .4rem .55rem; border-radius: 3px;
}

.lighttable__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 28px;
}
.lighttable__hint { margin: 0; font-size: .9375rem; color: var(--room-muted); }
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .hint-fine { display: none; } .hint-touch { display: inline; }
  .loupe { display: none; }
}
.pager { display: flex; gap: .5rem; }
.pager__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: transparent; color: var(--room-text);
  border: 1px solid var(--room-line); cursor: pointer;
  transition: background-color .25s, border-color .25s, opacity .25s;
}
.pager__btn svg { width: 20px; height: 20px; }
.pager__btn:hover { background: var(--room-3); border-color: rgba(232,236,242,.32); }
.pager__btn:disabled { opacity: .35; cursor: default; background: transparent; }

/* ---------- services · job ticket ---------- */
.services { padding: clamp(40px, 6vh, 72px) var(--gutter) 0; position: relative; }
.sheet--ticket, .sheet--order {
  width: min(100%, var(--maxw)); margin-inline: auto;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4.5rem);
}
.marks--sheet { color: var(--room-muted); }
.marks--sheet .crop { width: 36px; height: 36px; }
.marks--sheet .crop--tl { left: -36px; top: -36px; }
.marks--sheet .crop--tr { right: -36px; top: -36px; }
.marks--sheet .crop--bl { left: -36px; bottom: -36px; }
.marks--sheet .crop--br { right: -36px; bottom: -36px; }

.js [data-impress]:not(.is-pressed) { transform: translateY(36px) scale(.985); box-shadow: 0 2px 3px rgba(0,0,0,.2), 0 80px 140px -40px rgba(0,0,0,.6); }
.js [data-impress] { transition: transform 1.2s var(--ease-press), box-shadow 1.2s var(--ease-press); }

.ticket__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end; gap: 1rem 3rem;
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 2px solid var(--ink-text);
}
.ticket__head .slug { margin-bottom: 1.1rem; }
.ticket__head h2 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: .88; }
.ticket__sub { margin: 0; font-size: clamp(1.0625rem, 1.45vw, 1.3125rem); line-height: 1.45; color: var(--ink-muted); max-width: 32ch; justify-self: end; padding-bottom: .4em; }

.jobs { list-style: none; margin: 0; padding: 0; }
.job {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1fr) 28px;
  align-items: center; gap: 1rem clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 2.6vw, 2rem) clamp(.5rem, 1.5vw, 1rem);
  border-bottom: 1px solid var(--paper-line);
  isolation: isolate;
  transition: color .5s var(--ease-press);
}
.job::before {
  /* ink flood: one press impression */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink-text);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .7s var(--ease-press);
}
.job:hover { color: var(--paper); }
.job:hover::before { clip-path: inset(0 0 0 0); }
.job__icon { width: 36px; height: 36px; color: var(--ink-text); transition: color .5s var(--ease-press); }
.job:hover .job__icon { color: var(--paper); }
.job__title { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; font-variation-settings: "wdth" 104; }
.job__desc { margin: 0; color: var(--ink-muted); font-size: 1.0625rem; max-width: 40ch; transition: color .5s var(--ease-press); }
.job:hover .job__desc { color: #c7ccd3; }
.job__swatch {
  width: 22px; height: 22px; border-radius: 50%; background: var(--ink); justify-self: end;
  box-shadow: 0 0 0 1px rgba(17,19,23,.15);
  transition: transform .6s var(--ease-press);
}
.job:hover .job__swatch { transform: scale(1.35); box-shadow: 0 0 0 1px rgba(255,255,255,.3); }

.stamps { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; align-items: center; padding-top: clamp(2rem, 4vw, 3rem); }
.stamp {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: 0;
  padding: .7rem 1.05rem;
  font: 800 .9375rem/1.15 var(--f-sans); font-variation-settings: "wdth" 112;
  text-transform: uppercase; letter-spacing: .03em;
  border: 2.5px solid currentColor; border-radius: 6px;
  outline: 1px solid currentColor; outline-offset: 3px;
  filter: url(#ink-rough);
  rotate: -2.2deg;
}
.stamp svg { width: 22px; height: 22px; flex: none; }
.stamp--m { color: var(--magenta-action); }
.stamp--c { color: #006f9e; rotate: 1.6deg; }
.js .stamps .stamp { transition: transform .55s var(--ease-press), opacity .25s; }
.js .stamps:not(.is-pressed) .stamp { opacity: 0; transform: scale(1.35); }
.js .stamps.is-pressed .stamp:nth-child(2) { transition-delay: .22s; }

/* press run ticker */
.press-run {
  width: 100%; overflow: hidden;
  margin-top: clamp(64px, 10vh, 120px);
  border-block: 1px solid var(--room-line);
  padding-block: 6px;
}
.press-run__row { display: flex; width: max-content; }
.press-run__row + .press-run__row { border-top: 1px solid var(--room-line); }
.press-run__track { display: flex; list-style: none; margin: 0; padding: 0; animation: run 42s linear infinite; }
.press-run__row--rev .press-run__track { animation-direction: reverse; animation-duration: 48s; }
.press-run__track li {
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(.9rem, 1.6vw, 1.25rem) clamp(1.25rem, 3vw, 2.5rem) clamp(.9rem, 1.6vw, 1.25rem) 0;
  white-space: nowrap;
  font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -.02em; font-variation-settings: "wdth" 112;
  color: var(--room-text);
}
.press-run__track li::after {
  content: ""; width: .5em; height: .5em; flex: none;
  background: var(--chip, var(--c));
}
.press-run__track li:nth-child(4n+2) { --chip: var(--m); }
.press-run__track li:nth-child(4n+3) { --chip: var(--y); }
.press-run__track li:nth-child(4n+4) { --chip: #f4f5f2; }
@keyframes run { to { transform: translateX(-100%); } }
.press-run:hover .press-run__track { animation-play-state: paused; }

/* ---------- FAQ ---------- */
.faq {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.faq__head { position: sticky; top: 110px; }
.faq__head .slug { margin-bottom: 1.2rem; }
.faq__head h2 { font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .92; }
.faq__head .section-head__sub { text-align: left; justify-self: start; margin-top: 1.5rem; }

.faq__list { border-top: 1px solid var(--room-line); }
.qa { border-bottom: 1px solid var(--room-line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem .25rem;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa summary:hover .qa__mark { color: var(--c); }
.qa__mark { width: 26px; height: 26px; flex: none; color: var(--room-muted); transition: transform .6s var(--ease-out), color .3s; }
.qa[open] .qa__mark { transform: rotate(45deg); color: var(--m); }
.qa__a {
  overflow: hidden;
}
.qa__a p, .qa__a ol {
  margin: 0 0 1.5rem;
  background: var(--paper); color: var(--ink-text);
  padding: 1.25rem 1.4rem;
  border-radius: 2px;
  font-size: 1.0625rem; line-height: 1.6; max-width: 62ch;
  box-shadow: 0 14px 28px -14px rgba(0,0,0,.7);
  position: relative;
}
.qa__a ol { padding-left: 2.8rem; }
.qa__a li + li { margin-top: .25rem; }
.qa__a li::marker { color: var(--m); font-weight: 700; font-variant-numeric: tabular-nums; }
.qa__a p::before, .qa__a ol::before {
  /* proofreader's insertion mark in the margin */
  content: ""; position: absolute; left: -14px; top: 1.45rem; width: 8px; height: 8px;
  border-left: 1.5px solid var(--m); border-bottom: 1.5px solid var(--m); rotate: -45deg;
}
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .55s var(--ease-out), content-visibility .55s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ---------- order form ---------- */
.order { padding: 0 var(--gutter) clamp(96px, 14vh, 160px); }
.sheet--order {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.order__intro { position: sticky; top: 110px; }
.order__intro .slug { margin-bottom: 1.1rem; }
.order h2 { font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .92; }
.order__sub { margin: 1.4rem 0 0; color: var(--ink-muted); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 30ch; }
.order__facts {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink-text);
}
.order__facts div { padding: .9rem 0 1rem; border-bottom: 1px solid var(--paper-line); }
.order__facts div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--paper-line); }
.order__facts div:nth-child(even) { padding-left: 1rem; }
.order__facts dt { font: .6875rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }
.order__facts dd { margin: .5rem 0 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -.015em; font-variant-numeric: tabular-nums lining-nums; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.75rem; position: relative; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label, .field legend {
  display: block; padding: 0; margin-bottom: .55rem;
  font-size: .875rem; font-weight: 600; color: var(--ink-text); letter-spacing: .005em;
}
.opt { font-weight: 400; color: var(--ink-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%;
  font: 400 1.0625rem/1.4 var(--f-sans);
  color: var(--ink-text);
  background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(17,19,23,.35);
  border-radius: 0;
  padding: .55rem 0 .6rem;
  transition: border-color .25s, background-color .25s;
  color-scheme: light;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 7.5rem; border: 1.5px solid rgba(17,19,23,.35); border-radius: 3px; padding: .75rem .85rem; }
.field input:hover, .field textarea:hover { border-color: rgba(17,19,23,.6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--m); background: rgba(229,0,126,.035); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1.5px 0 0 var(--m); }
.field input::placeholder, .field textarea::placeholder { color: #6b717a; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c4002a; }
.field__err { margin: .45rem 0 0; font-size: .875rem; color: #b00026; min-height: 0; }
.field__err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .55rem 1rem; border-radius: 3px;
  border: 1.5px solid rgba(17,19,23,.28);
  font-size: 1rem; font-weight: 500; font-variant-numeric: tabular-nums lining-nums;
  transition: background-color .3s var(--ease-press), color .3s, border-color .3s;
}
.chip:hover span { border-color: rgba(17,19,23,.6); }
.chip input:checked + span { background: var(--ink-text); color: var(--paper); border-color: var(--ink-text); }
.chip input:focus-visible + span { outline: 2px solid var(--c); outline-offset: 2px; }
.chips--scale span::after { content: " pág."; color: currentColor; opacity: .6; margin-left: .2em; font-weight: 400; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: .5rem; border-top: 1px solid var(--paper-line); margin-top: .25rem; padding-top: 1.75rem; }
.form__note { margin: 0; font-size: .9375rem; color: var(--ink-muted); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .75; }

.form__done {
  grid-column: 1 / -1;
  display: grid; justify-items: start; gap: 1.25rem; padding-block: 2rem;
}
.form__done[hidden] { display: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__done:focus { outline: none; }
.stamp--big { font-size: clamp(1.75rem, 4vw, 3rem); padding: 1rem 1.5rem; border-width: 4px; outline-offset: 5px; rotate: -4deg; animation: stamp .55s var(--ease-press) both; }
@keyframes stamp { from { transform: scale(1.6); opacity: 0; } to { transform: none; opacity: 1; } }
.form__done-msg { margin: 0; font-size: 1.25rem; max-width: 34ch; }
.form.is-done > :not(.form__done) { display: none; }

/* ---------- footer ---------- */
.foot { padding: 0 var(--gutter) 28px; }
.foot__sheet {
  width: min(100%, var(--maxw)); margin-inline: auto;
  background: var(--paper); color: var(--ink-text);
  border-radius: 2px;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 3rem;
}
.foot__logo { width: clamp(150px, 16vw, 210px); height: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: center; }
.foot__links a { text-decoration: none; font-weight: 500; }
.foot__links a:hover { text-decoration: underline; text-decoration-color: var(--m); }
.foot__copy { margin: 0; color: var(--ink-muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.foot__about { grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(17,19,23,.16); color: var(--ink-muted); font-size: .9375rem; line-height: 1.5; }
.slug--foot { text-align: center; margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }

  .hero { padding-top: 104px; padding-bottom: 72px; min-height: auto; }
  .sheet--hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; overflow: hidden; }
  .hero h1 { max-width: 14ch; }
  .hero__objects { min-height: 0; }
  .hero__objects img { position: relative; top: auto; right: auto; translate: none; width: 112%; margin: 0 -6% -12% auto; }
  .slug--side { display: none; }

  .section-head { grid-template-columns: 1fr; }
  .section-head__sub { justify-self: start; text-align: left; padding: 0; }

  .ticket__head { grid-template-columns: 1fr; }
  .ticket__sub { justify-self: start; }
  .job { grid-template-columns: 36px minmax(0, 1fr) 22px; align-items: start; }
  .job__icon { width: 30px; height: 30px; }
  .job__desc { grid-column: 2 / 3; }
  .job__swatch { grid-column: 3; grid-row: 1; width: 16px; height: 16px; margin-top: .4rem; }

  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }

  .sheet--order { grid-template-columns: 1fr; }
  .order__intro { position: static; }

  .foot__sheet { grid-template-columns: 1fr; justify-items: start; }
  .foot__links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__name span { display: none; }
  .nav { padding-inline: 16px; }
  .portfolio { padding-bottom: 48px; }
  .services { padding-top: 24px; }
  .proof { --mark-gap: 14px; }
  .crop { width: 28px; height: 28px; }
  .crop--tl { left: -18px; top: -26px; } .crop--tr { right: -18px; top: -26px; }
  .crop--bl { left: -18px; bottom: -26px; } .crop--br { right: -18px; bottom: -26px; }
  .reg--l, .reg--r { display: none; }
  .reg--t { top: -32px; width: 20px; height: 20px; }
  .slug--top { top: -26px; left: 16px; font-size: .5625rem; }
  .colorbar { bottom: -24px; left: 16px; }
  .colorbar span { width: 11px; height: 10px; }
  .colorbar span:nth-child(n+13) { display: none; }
  .hero { padding-inline: 16px; }
  .sheet--hero { padding: 2rem 1.25rem 0; }
  .hero h1 { font-size: clamp(2.15rem, 10.4vw, 3rem); }
  .hero__actions .btn { flex: 1 1 auto; }

  .marks--sheet .crop { display: none; }
  .services, .order, .portfolio, .foot { padding-inline: 12px; }
  .sheet--ticket, .sheet--order { padding-inline: 1.15rem; }
  .prints { grid-auto-columns: 82%; padding: 22px 18px; gap: 16px; }
  .lighttable__surface { box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset, 0 0 0 6px #22262d, 0 30px 60px -20px rgba(0,0,0,.8), 0 0 80px 6px rgba(200,224,245,.08); }
  .form { grid-template-columns: 1fr; gap: 1.5rem; }
  .form__foot .btn { width: 100%; }
  .order__facts dd { font-size: 1.125rem; }
  .stamp { font-size: .8125rem; }
  .faq { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .press-run__track { animation: none !important; }
  .press-run__row { width: auto; }
  .press-run__track { flex-wrap: wrap; }
}
