/* Legacy & Pixel: the job jacket */

@font-face { font-family: "Big Shoulders"; src: url(/fonts/bigshoulders-500-900-normal.woff2) format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url(/fonts/atkinson-next-400-800-normal.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url(/fonts/atkinson-next-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Mono"; src: url(/fonts/atkinson-mono-400-700-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Kalam"; src: url(/fonts/kalam-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --manila: #EBCB80;
  --manila-lt: #F2D898;
  --manila-dk: #DDB466;
  --kraft: #C49448;
  --canary: #F6DE5A;
  --pink: #F3A8B8;
  --sheet: #FCF8EC;
  --ink: #211B14;
  --ink-soft: #3B2F22;
  --form: #5A3F1A;
  --violet: #4733C2;
  --red: #C42619;
  --red-dk: #9E1C11;

  --f-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --f-body: "Atkinson Next", system-ui, sans-serif;
  --f-mono: "Atkinson Mono", ui-monospace, monospace;
  --f-hand: "Kalam", "Comic Sans MS", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --shadow-paper: 0 1px 2px rgb(74 48 12 / .25), 0 18px 34px -16px rgb(74 48 12 / .55);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--form) var(--manila-dk); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--manila);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .23 0 0 0 0 .07 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.22'/%3E%3C/svg%3E");
  caret-color: var(--violet);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--violet); color: var(--canary); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--violet); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--canary); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

/* shared type */
.lbl { display: block; font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); }
h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 4.4vw, 3.75rem); line-height: .95; letter-spacing: -.005em; }
h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; letter-spacing: .01em; }
.note { font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: var(--ink-soft); }

/* stamps: one ink, one grammar */
.stamp {
  --r: -6deg;
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  line-height: 1;
  color: var(--violet);
  border: 3.5px solid currentColor;
  border-radius: 9px;
  outline: 1.5px solid currentColor;
  outline-offset: -8px;
  padding: .42em .8em .38em;
  transform: rotate(var(--r));
  filter: url(#ink);
  mix-blend-mode: multiply;
  white-space: nowrap;
  user-select: none;
}
.stamp.is-armed { opacity: 0; transform: rotate(var(--r)) scale(1.55); filter: url(#ink) blur(3px); }
.stamp.is-down { animation: thunk .42s var(--ease-out) both; }
@keyframes thunk {
  0% { opacity: 0; transform: rotate(var(--r)) scale(1.55); filter: url(#ink) blur(3px); }
  62% { opacity: 1; transform: rotate(var(--r)) scale(.95); filter: url(#ink) blur(0); }
  100% { opacity: 1; transform: rotate(var(--r)) scale(1); filter: url(#ink); }
}

/* the claim stamp: the only red on the page */
.claim-stamp {
  position: relative;
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  font-size: 1.55rem; line-height: 1;
  color: #FFF4E2;
  background: var(--red);
  border: 0;
  border-radius: 10px;
  padding: .72em 1.05em .66em;
  text-decoration: none;
  cursor: pointer;
  transform: rotate(-1.5deg);
  box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 4.5px #FFF4E2;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s;
}
.claim-stamp svg { width: 1em; height: 1em; transition: transform .25s var(--ease-out); }
.claim-stamp:hover { background: var(--red-dk); box-shadow: inset 0 0 0 3px var(--red-dk), inset 0 0 0 4.5px #FFF4E2; }
.claim-stamp:hover svg { transform: translateX(4px); }
.claim-stamp:active { transform: rotate(-1.5deg) scale(.97); }
.claim-stamp:focus-visible { outline-offset: 5px; }

/* paper */
.sheet { position: relative; }
.slip { position: relative; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-paper); }
.slip--canary { background-color: var(--canary); }
.slip--pink { background-color: var(--pink); }
.staple { position: absolute; top: -6px; left: 50%; width: 64px; height: 14px; margin-left: -32px; color: #8b8f94; filter: drop-shadow(0 1px 0 rgb(0 0 0 / .35)); }

/* header: the folder tab */
.top { background: var(--manila-dk); border-bottom: 2px solid var(--kraft); }
.top__inner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter) 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.mark { display: inline-flex; align-items: center; gap: .14em; text-decoration: none; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; letter-spacing: .02em; color: var(--ink); background: var(--manila); padding: 12px 22px 12px; border-radius: 12px 12px 0 0; margin-bottom: -2px; border: 2px solid var(--kraft); border-bottom-color: var(--manila); }
.mark__amp { width: .62em; height: .8em; fill: var(--violet); margin: 0 .08em; }
.tabs { display: flex; align-items: flex-end; gap: 6px; }
.tabs a { font-family: var(--f-mono); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); padding: 10px 16px 9px; border-radius: 9px 9px 0 0; background: color-mix(in srgb, var(--manila) 55%, var(--manila-dk)); transition: background-color .2s, transform .2s var(--ease-out); }
.tabs a:hover { background: var(--manila); transform: translateY(-2px); }
.tabs .tabs__claim { background: var(--red); color: #FFF4E2; }
.tabs .tabs__claim:hover { background: var(--red-dk); }

/* hero: the jacket front */
.jacket { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(22px, 2.6vw, 36px) var(--gutter) clamp(56px, 7vw, 96px); }
.order { padding-top: 6px; }
.order__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; }
.order__brand { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .08em; color: var(--form); }
.order__brand em { font-style: normal; font-weight: 600; opacity: .8; margin-left: .5em; }
.order__no { font-family: var(--f-mono); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.order__no .lbl { display: inline; margin-right: .4em; }

.order__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: var(--form); border: 2px solid var(--form); }
.cell { position: relative; background: var(--manila); padding: 12px 16px 14px; min-width: 0; }
.cell .val { display: block; font-family: var(--f-mono); font-size: 1.12rem; line-height: 1.35; margin-top: 4px; color: var(--ink); }
.val--big { font-family: var(--f-display) !important; font-weight: 900; font-size: 2.6rem !important; line-height: 1 !important; }
.cell--cust { grid-column: 1 / 10; }
.cell--date { grid-column: 10 / 13; }
.cell--job { grid-column: 1 / 10; padding: 16px clamp(16px, 2.4vw, 32px) clamp(24px, 3vw, 40px); }
.cell--stages { grid-column: 10 / 13; grid-row: 2; }
.cell--setup { grid-column: 1 / 4; }
.cell--monthly { grid-column: 4 / 6; }
.cell--pay { grid-column: 6 / 10; }
.cell--approve { grid-column: 10 / 13; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: space-between; }
.cell--job { grid-row: 2; }
.cell--fee, .cell--pay, .cell--approve { grid-row: 3; }

.cell--job h1 {
  margin-top: 6px;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.1rem, 6.3vw, 6rem);
  line-height: .9;
  letter-spacing: -.012em;
  max-width: 20ch;
}
.free { position: relative; display: inline-block; white-space: nowrap; }
.free::after {
  content: ""; position: absolute; inset: -.12em -.22em -.1em -.2em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M150 12C108 0 30 6 12 40c-14 28 22 52 82 52 64 0 100-20 96-46-3-20-38-34-92-32' fill='none' stroke='%234733C2' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.note--hero { display: flex; align-items: flex-end; gap: 6px; margin: 6px 0 0 clamp(300px, 34vw, 470px); transform: rotate(-3deg); }
.scribble { width: 46px; height: 38px; flex: none; color: var(--ink-soft); transform: translateY(-14px); }

.stages { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.stages li { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .06em; }
.stages .box { width: 26px; height: 26px; border: 2.5px solid var(--form); border-radius: 3px; flex: none; }
.stages__here { font-size: 1.05rem; text-transform: none; letter-spacing: 0; transform: rotate(-6deg); margin-left: 2px; }

.order__foot { margin-top: 14px; font-family: var(--f-mono); font-size: .92rem; font-weight: 700; letter-spacing: .03em; color: var(--form); }

.stamp--hero1 { --r: -8deg; position: absolute; font-size: clamp(1.25rem, 1.8vw, 1.65rem); right: 22px; bottom: 26px; }
.stamp--hero2 { --r: 6deg; position: absolute; font-size: 1.1rem; left: calc(41.6% + 6px); bottom: 58px; }

/* why */
.why { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.why .slip { transform: rotate(-1.2deg); max-width: 680px; }
.why h2 { margin-bottom: 18px; }
.why .slip p + p { margin-top: 12px; }
.why__aside .note { font-size: clamp(1.4rem, 2.2vw, 1.9rem); transform: rotate(-3deg); }

/* how: production log on the back of the jacket */
.how { background: var(--manila-lt); border-block: 2px solid var(--manila-dk); }
.log { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter); }
.log__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.log__head p { max-width: 34ch; font-size: 1.15rem; color: var(--ink-soft); }
.log__rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--form); }
.row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; padding: 26px 0; border-bottom: 2px solid var(--form); }
.row__what h3 { margin-bottom: 6px; }
.row__what p { max-width: 58ch; color: var(--ink-soft); }
.stamp--stage { font-size: 1.7rem; justify-self: start; }
.row:nth-child(1) .stamp--stage { --r: -5deg; }
.row:nth-child(2) .stamp--stage { --r: 3deg; }
.row:nth-child(3) .stamp--stage { --r: -2deg; }
.row:nth-child(4) .stamp--stage { --r: 6deg; }

/* finished jobs: the file drawer */
.work { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gutter); }
.work__intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.work__intro p { max-width: 38ch; font-size: 1.15rem; color: var(--ink-soft); }

.drawer__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; align-items: end; padding: 0 10px; }
.drawer__tabs button {
  position: relative;
  appearance: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink);
  background: color-mix(in srgb, var(--manila-lt) 70%, var(--manila-dk));
  border-radius: 10px 10px 0 0;
  padding: 16px 14px 12px;
  display: grid; gap: 3px;
  box-shadow: inset 0 5px 0 var(--shop);
  transition: transform .25s var(--ease-out), background-color .2s;
}
.drawer__tabs button:hover { transform: translateY(-4px); }
.drawer__tabs button[aria-selected="true"] { background: var(--manila-lt); transform: translateY(-8px); padding-bottom: 20px; margin-bottom: -8px; }
.t-shop { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.12rem; line-height: 1.12; letter-spacing: .02em; }
.t-town { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--form); }

.folder { background: var(--manila-lt); border-radius: 0 0 14px 14px; border-top: 2px solid var(--form); box-shadow: var(--shadow-paper); padding: 0 clamp(18px, 3vw, 40px) clamp(28px, 4vw, 48px); }
.folder[hidden] { display: none; }
.folder.is-open { animation: pull .45s var(--ease-out) both; }
@keyframes pull { from { transform: translateY(18px); opacity: .4; } to { transform: none; opacity: 1; } }
.label { margin: 0 calc(-1 * clamp(18px, 3vw, 40px)) clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1.4fr 1.3fr .8fr .9fr; border-bottom: 2px solid var(--form); }
.code { display: inline-block; width: 14px; height: 22px; margin-right: 10px; vertical-align: -4px; background: var(--shop); border-radius: 2px; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35); }
.label div { padding: 12px 18px 14px; border-right: 2px solid var(--form); min-width: 0; }
.label div:last-child { border-right: 0; }
.label dt { font-family: var(--f-mono); font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); }
.label dd { margin: 2px 0 0; font-family: var(--f-mono); font-size: 1.05rem; font-weight: 700; overflow-wrap: anywhere; }
.pill { display: inline-block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; color: var(--violet); border: 2.5px solid currentColor; border-radius: 6px; padding: 1px 8px; transform: rotate(-3deg); mix-blend-mode: multiply; }

.folder__body { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.proofs { position: relative; margin: 0 9% 48px 0; }
.proof { background: var(--sheet); padding: 10px 10px 12px; box-shadow: var(--shadow-paper); }
.proof--desk { transform: rotate(-.8deg); }
.proof--phone { position: absolute; right: -11%; bottom: -48px; width: 25%; padding: 8px 8px 10px; transform: rotate(3deg); }
.proof__bar { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--form); padding: 0 2px 8px; white-space: nowrap; overflow: hidden; }
.proof__bar span:last-child { overflow: hidden; text-overflow: ellipsis; }
.proof__img { width: 100%; outline: 1px solid rgb(90 63 26 / .3); }
.stamp--proof { --r: -7deg; position: absolute; left: 5%; bottom: -22px; font-size: 1.05rem; background: transparent; }
.folder__notes h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.folder__notes p { color: var(--ink-soft); margin-bottom: 22px; }
.open { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: 1.2rem; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 3px solid var(--violet); }
.open svg { width: 20px; height: 20px; color: var(--violet); transition: transform .25s var(--ease-out); }
.open:hover svg { transform: translate(3px, -3px); }

/* what's in the job: the invoice */
.items { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.invoice { background: var(--sheet); box-shadow: var(--shadow-paper); max-width: 920px; margin: 0 auto; padding: clamp(28px, 4vw, 56px); transform: rotate(.6deg); }
.invoice h2 { margin-bottom: 24px; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--form); }
.invoice td { padding: 16px 12px; border-bottom: 1px solid rgb(90 63 26 / .35); vertical-align: middle; }
.invoice td:first-child { font-family: var(--f-mono); width: 56px; color: var(--form); }
.invoice td:last-child, .invoice th:last-child { text-align: right; width: 150px; }
.invoice td strong { font-weight: 800; }
.mini-stamp { display: inline-block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .09em; font-size: .95rem; color: var(--violet); border: 2.5px solid currentColor; border-radius: 6px; padding: 2px 8px; transform: rotate(-4deg); filter: url(#ink); mix-blend-mode: multiply; }
tbody tr:nth-child(even) .mini-stamp { transform: rotate(3deg); }
.invoice tfoot th { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: .06em; color: var(--ink); text-align: right; border: 0; padding-top: 22px; }
.invoice tfoot td { border: 0; padding-top: 22px; }
.total { font-family: var(--f-display); font-weight: 900; font-size: 3rem; line-height: 1; }
.note--total { text-align: right; margin-top: 4px; transform: rotate(-2deg); }

/* partner */
.partner { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.partner .slip { transform: rotate(1deg); }
.partner h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.partner .slip p + p { margin-top: 12px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.flow li { position: relative; background: var(--sheet); padding: 16px 20px; box-shadow: var(--shadow-paper); display: grid; gap: 2px; }
.flow li:nth-child(1) { transform: rotate(-1.5deg); }
.flow li:nth-child(2) { transform: rotate(1deg); margin-left: 8%; }
.flow li:nth-child(3) { transform: rotate(-.6deg); margin-left: 16%; }
.flow li + li::before { content: ""; position: absolute; top: -32px; left: 28px; width: 28px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 30'%3E%3Cpath d='M8 2c6 6 10 13 9 24m0 0-6-6m6 6 6-5' fill='none' stroke='%233B2F22' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.flow__v { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.45rem; letter-spacing: .02em; line-height: 1.05; }

/* small print */
.print { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.small { background: var(--canary); box-shadow: var(--shadow-paper); padding: clamp(28px, 4vw, 56px); transform: rotate(-.5deg); }
.small h2 { margin-bottom: 6px; }
.small__lead { color: var(--ink-soft); margin-bottom: 28px; }
.faq { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.faq div { padding: 18px 0; border-top: 2px solid rgb(90 63 26 / .55); }
.faq dt { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; line-height: 1.05; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--ink-soft); }

/* people: shipping tags */
.people { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 9vw, 128px); }
.people__lead { max-width: 46ch; color: var(--ink-soft); font-size: 1.15rem; margin: 12px 0 36px; }
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px); }
.tag { position: relative; background: var(--sheet); padding: 32px 30px 30px 72px; clip-path: polygon(0 18px, 18px 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px)); filter: drop-shadow(0 14px 18px rgb(74 48 12 / .35)); }
.tag:nth-child(1) { transform: rotate(-2deg); }
.tag:nth-child(2) { transform: rotate(1.5deg); margin-top: 28px; }
.tag:nth-child(3) { transform: rotate(1deg); }
.tag:nth-child(4) { transform: rotate(-1.5deg); margin-top: 28px; }
.tag__hole { position: absolute; left: 22px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--manila); box-shadow: 0 0 0 6px #e9dcc0, inset 0 2px 3px rgb(0 0 0 / .3); }
.tag__mono { position: absolute; right: 26px; top: 22px; font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--violet); border: 3px solid currentColor; border-radius: 50%; width: 1.6em; height: 1.6em; display: grid; place-items: center; transform: rotate(-8deg); filter: url(#ink); mix-blend-mode: multiply; }
.tag h3 { font-size: 1.9rem; }
.tag__role { font-family: var(--f-mono); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--form); margin: 4px 0 12px; }
.tag p:last-child { color: var(--ink-soft); }

/* claim: the carbon set */
.claim { background: var(--manila-dk); border-top: 2px solid var(--kraft); padding: clamp(72px, 9vw, 128px) var(--gutter); overflow-x: clip; }
.carbon { position: relative; max-width: 940px; margin: 0 auto; }
.carbon__copy { position: absolute; inset: 0; box-shadow: var(--shadow-paper); }
.carbon__copy--pink { background: var(--pink); transform: rotate(2.4deg) translate(14px, 12px); }
.carbon__copy--canary { background: var(--canary); transform: rotate(1.1deg) translate(7px, 6px); }
.wo { background: var(--sheet); box-shadow: var(--shadow-paper); padding: clamp(24px, 4vw, 52px); }
.wo__head { margin-bottom: 26px; }
.wo__head p { color: var(--ink-soft); margin-top: 8px; }
.wo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--form); border: 2px solid var(--form); }
.f { display: block; background: var(--sheet); padding: 10px 14px 6px; min-width: 0; }
.f--wide { grid-column: 1 / -1; }
.f .lbl i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }
.f input, .f select, .f textarea {
  display: block; width: 100%; margin-top: 2px;
  font-family: var(--f-mono); font-size: 1.12rem; color: var(--ink);
  background: transparent; border: 0; border-radius: 0; padding: 6px 0 8px;
  outline: none;
}
.f textarea { resize: vertical; min-height: 84px; line-height: 1.4; }
.f select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235A3F1A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 20px no-repeat; padding-right: 28px; cursor: pointer; }
.f input::placeholder { color: rgb(90 63 26 / .72); }
.f:focus-within { background: #fff3c4; box-shadow: inset 0 0 0 3px var(--violet); }
.f.is-bad { background: #fde3dc; }
.f.is-bad .lbl::after { content: " · needed"; color: var(--red-dk); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wo__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.wo__msg { font-weight: 700; max-width: 46ch; }
.wo__msg.is-error { color: var(--red-dk); }
.claim-stamp[disabled] { opacity: .6; cursor: progress; }
.stamp--received { --r: -12deg; position: absolute; right: clamp(20px, 6vw, 72px); top: clamp(20px, 4vw, 48px); font-size: clamp(2.2rem, 5vw, 3.6rem); display: none; }
.wo.is-sent .stamp--received { display: inline-block; }
.wo.is-sent .wo__grid { opacity: .55; }

/* footer */
.foot { background: var(--kraft); color: var(--ink); padding: 40px var(--gutter) 48px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.mark--foot { background: transparent; border: 0; padding: 0; margin: 0 0 6px; font-size: 1.7rem; }
.foot p { font-size: 1rem; }

/* tablet */
@media (max-width: 1040px) {
  .row { grid-template-columns: 170px minmax(0, 1fr); }
    .drawer__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .drawer__tabs button[aria-selected="true"] { transform: translateY(-4px); margin-bottom: -4px; }
  .folder__body { grid-template-columns: 1fr; }
  .shots { margin-right: 12%; }
}

/* phone */
@media (max-width: 760px) {
  body { font-size: 1.125rem; }
  .top__inner { padding-top: 10px; }
  .mark { font-size: 1.3rem; padding: 9px 12px; }
  .top__inner { gap: 6px; padding-right: 0; }
  .tabs { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding-right: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { font-size: .74rem; padding: 9px 11px 8px; white-space: nowrap; flex: none; }
  .tabs .tabs__claim { order: -1; }
  .order__brand { font-size: .95rem; white-space: nowrap; }
  .order__no { font-size: .95rem; white-space: nowrap; }
  .mark { flex: none; }

  .order__brand em { display: none; }
  .order__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--cust, .cell--job, .cell--approve, .cell--pay, .cell--stages { grid-column: 1 / -1; }
  .cell--date { grid-column: 1 / -1; }
  .cell--setup, .cell--monthly { grid-column: span 1; }
  .cell--cust { grid-row: 1; } .cell--date { grid-row: 2; } .cell--job { grid-row: 3; } .cell--approve { grid-row: 4; }
  .cell--fee { grid-row: 5; } .cell--pay { grid-row: 6; } .cell--stages { grid-row: 7; }
  .cell--job h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); max-width: none; margin-top: 10px; }
  .note--hero { margin: 14px 0 0; transform: rotate(-2deg); }
  .cell--approve { flex-direction: column; align-items: stretch; }
  .cell--approve .claim-stamp { justify-content: center; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .stages li.is-next { flex-wrap: wrap; row-gap: 2px; }
  .stages__here { flex-basis: 100%; margin-left: 38px; }
  .stamp--hero1 { position: static; margin-top: 18px; font-size: 1.05rem; }
  .stamp--hero2 { display: none; }

  .why, .partner { grid-template-columns: 1fr; }
  .why__aside { padding-left: 8px; }

  .row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
    .stamp--stage { font-size: 1.4rem; }

  .drawer__tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 0; gap: 6px; scrollbar-width: none; }
  .drawer__tabs::-webkit-scrollbar { display: none; }
  .drawer__tabs button { flex: 0 0 auto; width: 150px; scroll-snap-align: start; }
  .label { grid-template-columns: 1fr 1fr; }
  .label div:nth-child(2) { border-right: 0; }
  .label div:nth-child(-n+2) { border-bottom: 2px solid var(--form); }
  .proofs { margin: 0 12% 64px 0; }
  .proof--phone { right: -14%; width: 34%; padding: 5px 5px 7px; }
  .proof__bar { font-size: .62rem; }
  .proof--phone .proof__bar { display: none; }
  .proof--desk .proof__bar span:first-child { display: none; }
  .stamp--proof { bottom: -18px; left: 3%; font-size: .9rem; }
  .proof--phone { bottom: -30px; }

  .invoice td:last-child, .invoice th:last-child { width: 108px; }
  .invoice td:first-child, .invoice th:first-child { display: none; }
  .faq { grid-template-columns: 1fr; }
  .tags { grid-template-columns: 1fr; }
  .tag:nth-child(2), .tag:nth-child(4) { margin-top: 0; }
  .wo__grid { grid-template-columns: 1fr; }
  .wo__foot .claim-stamp { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .stamp.is-armed { opacity: 1; transform: rotate(var(--r)); filter: url(#ink); }
  .stamp.is-down, .folder.is-open { animation: none; }
  .claim-stamp, .claim-stamp svg, .tabs a, .drawer__tabs button, .open svg { transition: none; }
}

/* paper tooth: last, so it layers over every sheet's flat colour */
.slip, .small, .invoice, .wo, .tag, .proof, .flow li { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.13'/%3E%3C/svg%3E"); }
