/* The page is a print job: white paper, the four process inks, nothing else. */
:root {
  color-scheme: light;
  --paper: #fcfcfa;
  --key: #000000;
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #fff200;
  --soft: #4a4a4a;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Archivo', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--key);
  font-family: var(--body);
  font-size: 1.1875rem;
  line-height: 1.5;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--key); outline-offset: 4px; }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 5; padding: .7rem 1rem; background: var(--key); color: var(--paper); }
.skip-link:focus { top: 10px; }

/* Display type: one family, set narrow and heavy. */
h1, h2, h3, .way-big, .way-mid, .step-number {
  font-family: var(--display);
  font-stretch: 68%;
  font-weight: 800;
  letter-spacing: -.015em;
  word-spacing: .09em;
  line-height: .9;
}

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.wordmark { font-weight: 700; font-size: 1.05rem; text-decoration: none; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .1rem .55rem; min-height: 44px; }
.wordmark-studio { background: var(--key); color: var(--paper); padding: .05rem .5rem .1rem; font-weight: 600; }
.top-call { gap: .35em; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 3px solid var(--magenta); }
.top-call:hover { border-bottom-color: var(--cyan); }

/* Hero */
.hero { position: relative; padding-block: clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.plates {
  position: relative;
  font-size: clamp(3.6rem, 21vw, 13.5rem);
  line-height: .84;
  letter-spacing: -.025em;
  white-space: nowrap;
  margin-left: -.04em;
}
.plates-text { display: block; }
.plate { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; will-change: transform; user-select: none; }
.plate-c { color: var(--cyan); }
.plate-m { color: var(--magenta); }
.plate-y { color: var(--yellow); }
.is-printing .plates-text { color: transparent; }

.hero-foot { display: grid; gap: 1.75rem; margin-top: clamp(1.75rem, 4vw, 3rem); }
.hero-lede { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.4; max-width: 34ch; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; }
@media (min-width: 860px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* Crop marks, the kind a print shop trims to. */
.crop { position: absolute; top: 0; width: 26px; height: 26px; display: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--key); }
.crop::before { width: 16px; height: 1px; top: 25px; }
.crop::after { width: 1px; height: 16px; top: 0; }
.crop-tl { left: -34px; } .crop-tl::before { left: 0; } .crop-tl::after { left: 25px; }
.crop-tr { right: -34px; } .crop-tr::before { right: 0; } .crop-tr::after { right: 25px; }
@media (min-width: 1400px) { .crop { display: block; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: .6rem 1.7rem;
  background: var(--key); color: var(--paper);
  font-weight: 700; font-size: 1.2rem; text-decoration: none;
  box-shadow: 7px 7px 0 var(--magenta);
  transition: box-shadow .16s ease, transform .16s ease;
}
.button:hover { box-shadow: 7px 7px 0 var(--cyan); }
.button:active { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--cyan); }
.button-on-colour { box-shadow: 7px 7px 0 var(--yellow); }
.button-on-colour:hover { box-shadow: 7px 7px 0 var(--magenta); }
.button-on-colour:active { box-shadow: 3px 3px 0 var(--magenta); }
.plain-link { font-weight: 700; font-size: 1.1rem; text-underline-offset: .28em; text-decoration-thickness: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.plain-link:hover { text-decoration-color: var(--magenta); text-decoration-thickness: 4px; }

/* Printer's colour bar */
.strip { display: grid; grid-template-columns: repeat(10, 1fr); height: clamp(22px, 3vw, 40px); }
.strip i:nth-child(1) { background: var(--cyan); }
.strip i:nth-child(2) { background: var(--magenta); }
.strip i:nth-child(3) { background: var(--yellow); }
.strip i:nth-child(4) { background: var(--key); }
.strip i:nth-child(5) { background: #2e3192; }
.strip i:nth-child(6) { background: #ed1c24; }
.strip i:nth-child(7) { background: #00a651; }
.strip i:nth-child(8) { background: #404040; }
.strip i:nth-child(9) { background: #808080; }
.strip i:nth-child(10) { background: #c8c8c8; }

/* Shared section rhythm */
.block { padding-block: clamp(4rem, 9vw, 8rem); }
h2 { font-size: clamp(2.6rem, 7.5vw, 6rem); margin-bottom: clamp(1.75rem, 4vw, 3.25rem); text-wrap: balance; }

/* What we make: three rows, the word does the talking */
.make { border-top: 3px solid var(--key); padding-block: clamp(1.25rem, 2.6vw, 2.1rem); display: grid; gap: .7rem; }
.make:last-child { border-bottom: 3px solid var(--key); }
.make h3 { font-size: clamp(2.7rem, 9.5vw, 7.5rem); transition: text-shadow .18s ease; }
.make p { max-width: 32ch; color: var(--soft); font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
@media (min-width: 860px) {
  .make { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; column-gap: 2.5rem; }
  .make p { padding-bottom: .5rem; }
}
@media (hover: hover) {
  .make:hover h3 { text-shadow: -5px -2px 0 var(--cyan), 5px 2px 0 var(--magenta); }
}

/* Proof: a full sheet of cyan */
.proof { background: var(--cyan); padding-block: clamp(4rem, 9vw, 8rem); }
.proof h2 { font-size: clamp(3rem, 10vw, 8.5rem); margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 11ch; }
.proof-body { display: grid; gap: 2rem; justify-items: start; }
.proof-body p { max-width: 38ch; font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 500; }
@media (min-width: 860px) {
  .proof-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 3rem; align-items: end; }
  .proof h2 { margin-bottom: 0; }
}

/* How it goes: three steps, one ink each */
.steps { display: grid; gap: 2.5rem; }
.step { border-top: 12px solid var(--key); padding-top: 1.1rem; }
.step-c { border-top-color: var(--cyan); }
.step-m { border-top-color: var(--magenta); }
.step-y { border-top-color: var(--yellow); }
.step-number { display: block; font-size: clamp(4.5rem, 9vw, 7.5rem); line-height: .8; margin-bottom: 1rem; }
.step h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: .7rem; }
.step p { max-width: 30ch; color: var(--soft); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.price-note { margin-top: clamp(2.5rem, 5vw, 4rem); font-family: var(--display); font-stretch: 68%; word-spacing: .09em; font-weight: 800; line-height: 1; font-size: clamp(1.7rem, 3.6vw, 3rem); max-width: 20ch; }

/* Contact: a full sheet of yellow */
.contact { background: var(--yellow); padding-block: clamp(4rem, 9vw, 8rem); }
.contact h2 { font-size: clamp(3.4rem, 13vw, 11rem); margin-bottom: 1.25rem; }
.contact-lede { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 500; max-width: 34ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.ways li { border-top: 3px solid var(--key); padding-block: 1.25rem 1.5rem; display: grid; gap: .35rem; }
.ways li:last-child { border-bottom: 3px solid var(--key); }
.way-label { font-weight: 700; font-size: 1rem; }
.way-big, .way-mid { text-decoration: none; justify-self: start; display: inline-flex; align-items: center; min-height: 48px; overflow-wrap: anywhere; }
.way-big { font-size: clamp(3rem, 12.5vw, 9.5rem); }
.way-mid { font-size: clamp(1.9rem, 5vw, 3.75rem); line-height: 1; }
.way-big:hover, .way-mid:hover { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .12em; }
.way-note { font-size: 1.05rem; }
@media (min-width: 860px) {
  .ways li { grid-template-columns: 7rem minmax(0, 1fr); align-items: baseline; column-gap: 1.5rem; }
  .way-note { grid-column: 2; }
}

/* Footer */
.foot { background: var(--key); color: var(--paper); padding-block: 1.75rem; font-size: 1rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; align-items: center; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: .25em; }
.foot a:focus-visible { outline-color: var(--paper); }

/* 404 */
.lost { padding-block: clamp(3rem, 10vw, 8rem); }
.lost h1 { font-size: clamp(3.4rem, 14vw, 11rem); margin-bottom: 1.5rem; }
.lost p { font-size: 1.3rem; margin-bottom: 2rem; max-width: 30ch; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .make h3 { transition: none; }
}
