/* OP Development LTD: "Paper-Cut Pop".
   Three inks, hard shadows, torn paper, nothing straight. Motion on twos (12 drawings a second). */

:root {
  --red: #e60012;
  --black: #0a0a0a;
  --white: #ffffff;
  --shadow-red: #a3000e;
  --tape: #efe3bf;
  --paper-back: #e9dcbb;
  --grey: #8c8c8c;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --cut: clamp(28px, 5vw, 76px); /* slanted section edges */

  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, Consolas, monospace;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;

  color-scheme: light;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--black);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Paper grain over the whole frame. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url(../img/paper-grain.svg) 0 0 / 1000px 580px;
  opacity: 0.6;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

strong {
  font-weight: 700;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  font-family: var(--display);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--red);
}
.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px dashed var(--red);
  outline-offset: 5px;
}
.world--red :focus-visible,
.world--black :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- Worlds (one dominant ink each) ---------- */

.world {
  position: relative;
  overflow: clip;
  padding: clamp(72px, 9vw, 128px) var(--gutter);
}
.world--red {
  background: var(--red);
  color: var(--white);
}
.world--black {
  background: var(--black);
  color: var(--white);
}
.world--white {
  background: var(--white);
  color: var(--black);
}

/* Slanted top edge: the next world is cut on a diagonal and slid under the last. */
.slant {
  margin-top: calc(-1 * var(--cut));
  padding-top: calc(clamp(72px, 9vw, 128px) + var(--cut));
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.slant--rev {
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%);
}

/* Halftone dots fade in from the corners (instead of gradients). */
.ht {
  position: absolute;
  z-index: 0;
  width: min(70vw, 900px);
  height: auto;
  pointer-events: none;
  user-select: none;
}
.world--white .ht {
  width: min(52vw, 660px);
}
.ht--tr {
  top: 0;
  right: 0;
}
.ht--tl {
  top: 0;
  left: 0;
}
.ht--br {
  right: 0;
  bottom: 0;
}
.ht--bl {
  left: 0;
  bottom: 0;
}

/* ---------- Paper chips ---------- */

.pose {
  --sh: var(--black);
  --d: 7px;
  display: inline-block;
  transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  filter: drop-shadow(var(--d) var(--d) 0 var(--sh));
}
.pose.ws {
  --sh: var(--white);
}

.chip {
  --bx: 0px;
  --by: 0px;
  display: inline-block;
  padding: 0.14em 0.3em 0.08em;
  line-height: 1;
  color: var(--black);
  background: var(--white) url(../img/mache-white.svg) var(--bx) var(--by) / 1200px 800px;
  box-shadow: inset -10px -12px 22px rgba(60, 40, 10, 0.3), inset 8px 8px 14px rgba(255, 255, 255, 0.9);
}
.chip.b {
  color: var(--white);
  background: var(--black) url(../img/mache-black.svg) var(--bx) var(--by) / 1200px 800px;
  box-shadow: inset -10px -12px 22px rgba(0, 0, 0, 0.6), inset 7px 7px 14px rgba(255, 255, 255, 0.2);
}
.chip.r {
  color: var(--white);
  background: var(--red) url(../img/mache-red.svg) var(--bx) var(--by) / 1200px 800px;
  box-shadow: inset -10px -12px 22px rgba(70, 0, 0, 0.45), inset 7px 7px 14px rgba(255, 255, 255, 0.28);
}
.chip.wr {
  color: var(--red);
}

/* Three skew variants. Cycle them across neighbours. */
.k1 {
  clip-path: polygon(0 4%, 97% 0, 100% 94%, 3% 100%);
}
.k2 {
  clip-path: polygon(3% 0, 100% 6%, 96% 100%, 0 95%);
}
.k3 {
  clip-path: polygon(0 0, 100% 3%, 98% 100%, 5% 96%);
}

/* Every chip gets its own patch of the papier-mache sheet. */
.pose:nth-child(5n + 1) .chip {
  --bx: -40px;
  --by: -120px;
}
.pose:nth-child(5n + 2) .chip {
  --bx: -380px;
  --by: -460px;
}
.pose:nth-child(5n + 3) .chip {
  --bx: -720px;
  --by: -60px;
}
.pose:nth-child(5n + 4) .chip {
  --bx: -210px;
  --by: -610px;
}
.pose:nth-child(5n + 5) .chip {
  --bx: -900px;
  --by: -330px;
}

/* Ransom-note faces. */
.f1 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
}
.f2 {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-style: italic;
}
.f3 {
  font-family: "League Gothic", sans-serif;
  font-weight: 400;
  font-size: 1.27em;
}
.f4 {
  font-family: "Space Mono", monospace;
  font-weight: 700;
}
.f5 {
  font-family: "EB Garamond", serif;
  font-weight: 800;
}
.f6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-style: italic;
}
.f7 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}
.f8 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}

/* Minor rips: what is torn away (mask) plus the folded flap and fibres (overlay). */
.rip-a,
.rip-b,
.rip-c,
.rip-d {
  position: relative;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.rip-a::after,
.rip-b::after,
.rip-c::after,
.rip-d::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.rip-a {
  -webkit-mask-image: url(../img/rip-a-mask.svg);
  mask-image: url(../img/rip-a-mask.svg);
}
.rip-b {
  -webkit-mask-image: url(../img/rip-b-mask.svg);
  mask-image: url(../img/rip-b-mask.svg);
}
.rip-c {
  -webkit-mask-image: url(../img/rip-c-mask.svg);
  mask-image: url(../img/rip-c-mask.svg);
}
.rip-d {
  -webkit-mask-image: url(../img/rip-d-mask.svg);
  mask-image: url(../img/rip-d-mask.svg);
}
.rip-a::after {
  background-image: url(../img/rip-a.svg);
}
.rip-b::after {
  background-image: url(../img/rip-b.svg);
}
.rip-c::after {
  background-image: url(../img/rip-c.svg);
}
.rip-d::after {
  background-image: url(../img/rip-d.svg);
}

/* Masking tape. */
.tape {
  position: absolute;
  z-index: 3;
  width: var(--w, 120px);
  height: calc(var(--w, 120px) * 0.277);
  background: url(../img/tape.svg) center / 100% 100% no-repeat;
  transform: rotate(var(--r, -30deg));
  pointer-events: none;
}

/* Marker asides: lowercase, tilted, hard shadow. */
.note {
  display: inline-block;
  font-family: var(--marker);
  font-weight: 400;
  line-height: 1.1;
  text-transform: lowercase;
  color: var(--white);
  text-shadow: 4px 4px 0 var(--black);
  transform: rotate(var(--r, -8deg));
}
.note--red {
  color: var(--red);
}
.note--black {
  color: var(--black);
  text-shadow: 3px 3px 0 var(--white);
}
.note--plain {
  text-shadow: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--black);
  color: var(--white);
  border-bottom: 4px solid var(--red);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand img {
  width: 58px;
  height: auto;
}
.brand__word {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}
.brand__word b {
  color: var(--red);
  font-weight: 400;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 6px 10px 5px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--red);
  clip-path: polygon(4% 0, 100% 8%, 96% 100%, 0 92%);
}

@media (max-width: 640px) {
  .site-header__inner {
    padding-top: 8px;
    padding-bottom: 6px;
  }
  .brand img {
    width: 46px;
  }
  .brand__word {
    font-size: 15px;
  }
  .nav {
    width: 100%;
  }
  .nav ul {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2px;
  }
  .nav a {
    padding: 5px 5px;
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }
}

/* ---------- Buttons: paper chips you can press ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 26px;
}
.btn {
  --sh: var(--black);
  --d: 7px;
  display: inline-block;
  text-decoration: none;
  filter: drop-shadow(var(--d) var(--d) 0 var(--sh));
  transition: translate 0.08s steps(1), filter 0.08s steps(1);
}
.btn > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 12px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white) url(../img/mache-white.svg) -500px -300px / 1200px 800px;
  box-shadow: inset -8px -10px 18px rgba(60, 40, 10, 0.28), inset 6px 6px 12px rgba(255, 255, 255, 0.9);
  clip-path: polygon(0 6%, 98% 0, 100% 92%, 2% 100%);
}
.btn--red > span {
  color: var(--white);
  background: var(--red) url(../img/mache-red.svg) -200px -100px / 1200px 800px;
  box-shadow: inset -8px -10px 18px rgba(70, 0, 0, 0.45), inset 6px 6px 12px rgba(255, 255, 255, 0.25);
  clip-path: polygon(2% 0, 100% 7%, 97% 100%, 0 94%);
}
.btn--black {
  --sh: var(--white);
}
.btn--black > span {
  color: var(--white);
  background: var(--black) url(../img/mache-black.svg) -700px -400px / 1200px 800px;
  box-shadow: inset -8px -10px 18px rgba(0, 0, 0, 0.6), inset 6px 6px 12px rgba(255, 255, 255, 0.18);
  clip-path: polygon(0 0, 100% 5%, 98% 100%, 3% 94%);
}
.world--white .btn--black,
.sheet .btn--black {
  --sh: var(--red);
}
.btn:hover {
  translate: -2px -2px;
  --d: 10px;
}
.btn:active {
  translate: 5px 5px;
  --d: 2px;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Cards: cut paper glued down ---------- */

.card {
  --sh: var(--black);
  --d: 10px;
  position: relative;
  filter: drop-shadow(var(--d) var(--d) 0 var(--sh));
}
.card__paper {
  position: relative;
  height: 100%;
  padding: clamp(24px, 3.4vw, 40px);
  color: var(--black);
  /* A flat white veil knocks the papier-mache back so body text stays easy to read. */
  background-color: var(--white);
  background-image: linear-gradient(rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.55)), url(../img/mache-white.svg);
  background-position: 0 0, var(--bx, -300px) var(--by, -200px);
  background-size: auto, 1200px 800px;
  box-shadow: inset -14px -16px 30px rgba(60, 40, 10, 0.22), inset 10px 10px 18px rgba(255, 255, 255, 0.9);
}
.c1 .card__paper {
  clip-path: polygon(0 10px, calc(100% - 10px) 0, 100% calc(100% - 12px), 14px 100%);
}
.c2 .card__paper {
  clip-path: polygon(8px 0, 100% 14px, calc(100% - 12px) 100%, 0 calc(100% - 10px));
}
.c3 .card__paper {
  clip-path: polygon(0 0, calc(100% - 6px) 12px, 100% 100%, 12px calc(100% - 8px));
}
.card--ws {
  --sh: var(--white);
}
.card--rs {
  --sh: var(--red);
}
.card .tape {
  z-index: 4;
}

/* ---------- Section headings: words cut out and glued on ---------- */

.sec-head {
  position: relative;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.heading {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 7.2vw, 88px);
  line-height: 1;
  text-transform: uppercase;
}
.heading .words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.16em 0.22em;
}
.heading .chip {
  padding: 0.12em 0.26em 0.06em;
}
.heading .pose {
  --d: 8px;
}
.heading .pose:nth-child(3n + 1) {
  --r: -3deg;
}
.heading .pose:nth-child(3n + 2) {
  --r: 2.5deg;
  --y: 0.06em;
}
.heading .pose:nth-child(3n + 3) {
  --r: -1.5deg;
  --y: -0.04em;
}
.sec-intro {
  max-width: 34em;
  /* Clears the tilted, shadowed heading chips, which hang below the heading's box. */
  margin-top: clamp(36px, 3.4vw, 48px);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
}
.sec-head .note {
  position: absolute;
  right: 0;
  bottom: -6px;
  font-size: clamp(22px, 2.6vw, 32px);
}
@media (max-width: 760px) {
  .sec-head .note {
    position: static;
    display: block;
    width: max-content;
    margin: 18px 0 0 auto;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(88px, 9vw, 140px);
  min-height: min(calc(100svh - 76px), 980px);
  display: flex;
  align-items: center;
}
.hero > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.rays {
  position: absolute;
  z-index: 0;
  left: var(--rx, 31%);
  top: var(--ry, 44%);
  width: 180vmax;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  animation: spin 80s steps(960) infinite;
  will-change: transform;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}

/* The lockup is built in container units so it scales as one piece. */
.lockup {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 100 / 84;
  justify-self: center;
}
.lockup__art {
  position: absolute;
  inset: 0;
  filter: url(#rough);
}
.lockup img,
.lockup svg {
  position: absolute;
  max-width: none;
}
.burst--w {
  left: -2cqw;
  top: -15cqw;
  width: 94cqw;
}
.burst--b {
  left: 5cqw;
  top: -9cqw;
  width: 88cqw;
}
.emblem {
  left: 7cqw;
  top: 6cqw;
  width: 76cqw;
  height: auto;
}
.lockup .tape {
  --w: 22cqw;
}
.lockup .tape--1 {
  left: 6cqw;
  top: 4cqw;
  --r: -34deg;
}
.lockup .tape--2 {
  left: 58cqw;
  top: 47cqw;
  --r: -24deg;
}
.lockup__dev {
  position: absolute;
  left: -1cqw;
  right: -3cqw;
  top: 57cqw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5cqw;
  font-size: 6.6cqw;
  transform: rotate(-3deg);
}
.lockup__dev .pose {
  --d: 0.75cqw;
}
.lockup__dev .chip {
  padding: 0.12em 0.18em 0.06em;
}
.lockup__tag {
  position: absolute;
  left: 22cqw;
  top: 73.5cqw;
  transform: rotate(-3deg);
  filter: drop-shadow(0.8cqw 0.8cqw 0 var(--white));
}
.band {
  display: block;
  padding: 0.5em 1.6em 0.42em 1.5em;
  font-family: var(--display);
  font-size: 2.9cqw;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  color: var(--white);
  background: var(--black) url(../img/mache-black.svg) -300px -200px / 1200px 800px;
  box-shadow: inset 0 -16px 24px rgba(0, 0, 0, 0.6), inset 0 12px 16px rgba(255, 255, 255, 0.16);
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}
.band b {
  color: var(--red);
  font-weight: 400;
}
.cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.95em;
  margin-left: 0.25em;
  vertical-align: -0.12em;
  background: var(--red);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.lockup__note {
  position: absolute;
  left: 71cqw;
  top: -10cqw;
  font-size: 5.2cqw;
  white-space: nowrap;
  --r: -9deg;
}
.lockup__arrow {
  left: 73cqw;
  top: 2cqw;
  width: 17cqw;
  height: auto;
  overflow: visible;
}

.hero__card {
  max-width: 520px;
  justify-self: center;
  transform: rotate(1.5deg);
}
.hero__card .card__paper {
  padding-top: clamp(36px, 4vw, 48px);
}
.hero__card .tape {
  --w: 132px;
  top: -14px;
  left: 50%;
  margin-left: -66px;
  --r: -4deg;
}
.kicker {
  margin: 0 0 14px;
  font-family: var(--marker);
  font-size: 22px;
  line-height: 1;
  color: var(--red);
  transform: rotate(-3deg);
  transform-origin: left;
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.hero__title .op {
  color: var(--red);
}
.hero__title .ltd {
  display: inline-block;
  margin-left: 0.1em;
  padding: 0.08em 0.2em 0.02em;
  font-size: 0.5em;
  vertical-align: 0.42em;
  color: var(--white);
  background: var(--black);
  transform: rotate(-4deg);
  clip-path: polygon(0 6%, 96% 0, 100% 94%, 4% 100%);
}
.lead {
  margin: 18px 0 0;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  font-weight: 600;
}
.lead strong {
  font-weight: 700;
  text-decoration: underline 0.14em var(--red);
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}
.reg-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}
.reg-line li {
  padding: 5px 8px 4px;
  color: var(--white);
  background: var(--black);
  clip-path: polygon(0 0, 100% 6%, 97% 100%, 2% 94%);
}
.hero__card .note {
  position: absolute;
  right: 10px;
  bottom: -40px;
  font-size: 22px;
  --r: -6deg;
  z-index: 5;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
  }
  .hero > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .rays {
    --rx: 50%;
    --ry: 24%;
  }
  .lockup {
    max-width: 600px;
    margin-top: 6vw;
  }
  .hero__card {
    transform: rotate(-1deg);
  }
}

/* ---------- What we make ---------- */

.make-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.make-grid > li:nth-child(1) {
  transform: rotate(-1.2deg);
}
.make-grid > li:nth-child(2) {
  transform: rotate(1deg) translateY(22px);
}
.make-grid > li:nth-child(3) {
  transform: rotate(-0.6deg);
}
.make .card__paper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.make__icon {
  width: 92px;
  height: 92px;
  margin: -4px 0 4px;
}
.make__verb {
  align-self: flex-start;
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.make__verb span {
  display: inline-block;
  padding: 6px 10px 5px;
  color: var(--white);
  background: var(--black);
  clip-path: polygon(0 8%, 96% 0, 100% 92%, 3% 100%);
  transform: rotate(-3deg);
}
.make li:nth-child(2) .make__verb span {
  background: var(--red);
}
.make h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  text-transform: uppercase;
}
.make .card__paper p {
  margin: 0;
}

@media (max-width: 900px) {
  .make-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin: 0 auto;
  }
  .make-grid > li:nth-child(2) {
    transform: rotate(1deg);
  }
}

/* ---------- Motto band ---------- */

.motto-world {
  padding-top: calc(clamp(56px, 7vw, 96px) + var(--cut));
  padding-bottom: clamp(80px, 9vw, 130px);
}
.motto {
  position: relative;
  z-index: 2;
  margin: 0;
}
.motto__make {
  display: block;
  max-width: var(--maxw);
  margin: 0 auto 18px;
  font-size: clamp(32px, 5.4vw, 64px);
}
.motto__make .pose {
  --d: 6px;
}
.motto__make .pose:nth-child(odd) {
  --r: -6deg;
}
.motto__make .pose:nth-child(even) {
  --r: 5deg;
  --y: 0.05em;
}
.motto__strike {
  position: relative;
  display: inline-block;
  margin-left: 0.4em;
  font-family: var(--marker);
  font-size: 0.8em;
  color: var(--white);
  text-shadow: 3px 3px 0 var(--black);
  transform: rotate(-6deg);
}
.motto__strike::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 52%;
  height: 0.14em;
  background: var(--black);
  transform: rotate(-8deg);
}
.motto__band {
  display: block;
  margin: 0 calc(-1 * var(--gutter) - 4vw);
  padding: 0.24em 0 0.18em;
  transform: rotate(-6deg);
  font-family: var(--display);
  font-size: clamp(46px, 11vw, 168px);
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--white);
  background: var(--black) url(../img/mache-black.svg) -100px -500px / 1200px 800px;
  border-top: 6px solid var(--white);
  border-bottom: 6px solid var(--white);
  box-shadow: 0 14px 0 var(--black);
  white-space: nowrap;
}
.motto__band b {
  font-weight: 400;
  color: var(--red);
}
.speed {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.speed i {
  position: absolute;
  left: var(--x);
  top: var(--t);
  width: var(--w);
  height: 4px;
  background: var(--white);
  opacity: 0.85;
  animation: speed 0.9s steps(11) infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes speed {
  from {
    translate: 30vw 0;
  }
  to {
    translate: -40vw 0;
  }
}

/* ---------- Sting ---------- */

.sting {
  max-width: 980px;
  margin: 0 auto;
  transform: rotate(-1deg);
}
.sting .card__paper {
  padding: clamp(10px, 1.6vw, 18px);
}
.sting video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.sting figcaption {
  padding: 14px 6px 4px;
  font-weight: 600;
}
.sting .tape--1 {
  --w: 150px;
  left: -34px;
  top: 6px;
  --r: -38deg;
}
.sting .tape--2 {
  --w: 150px;
  right: -34px;
  bottom: 18px;
  --r: -38deg;
}
.sting-head .note {
  right: 2%;
  bottom: 20px;
}

/* ---------- Company paperwork ---------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.slip {
  transform: rotate(-0.8deg);
}
.slip .card__paper {
  background: var(--white);
  padding: clamp(24px, 3.6vw, 44px);
}
.slip__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--black);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.slip__head span:last-child {
  color: var(--red);
}
.facts {
  margin: 0;
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr);
  gap: 4px 20px;
  padding: 14px 0;
  border-bottom: 2px dashed rgba(10, 10, 10, 0.28);
}
.facts > div:last-child {
  border-bottom: 0;
}
.facts dt {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #555;
  padding-top: 3px;
}
.facts dd {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.facts dd.big {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.01em;
}
.facts .num {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
}
.facts address {
  font-style: normal;
}
.slip .tape--1 {
  --w: 140px;
  left: -28px;
  top: -6px;
  --r: -40deg;
}
.slip .tape--2 {
  --w: 140px;
  right: -30px;
  top: -2px;
  --r: 36deg;
}
@media (max-width: 640px) {
  .slip .card__paper {
    padding-top: 46px;
  }
  .slip .tape--1,
  .slip .tape--2 {
    --w: 104px;
    top: -12px;
  }
  .slip .tape--1 {
    left: -24px;
  }
  .slip .tape--2 {
    right: -24px;
  }
}
.company-side {
  display: grid;
  gap: 28px;
}
.company-side .card {
  transform: rotate(1.4deg);
}
.company-side h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.company-side p:last-child {
  margin-bottom: 0;
}
.company-side .actions {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .company-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts .num {
    font-size: 22px;
  }
}

/* ---------- Privacy promises ---------- */

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.promise-grid > li:nth-child(odd) {
  transform: rotate(-1.4deg);
}
.promise-grid > li:nth-child(even) {
  transform: rotate(1.2deg) translateY(14px);
}
.promise .card__paper {
  padding: 26px 24px 28px;
}
.promise svg {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}
.promise h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.promise p {
  margin: 0;
  font-size: 16px;
}
.privacy-actions {
  margin-top: clamp(48px, 6vw, 72px);
}
@media (max-width: 1000px) {
  .promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .promise-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .promise-grid > li:nth-child(even) {
    transform: rotate(1deg);
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.ransom-head {
  font-size: clamp(56px, 10vw, 128px);
  line-height: 1;
}
.ransom-head .words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.06em;
  align-items: center;
}
.ransom-head .pose {
  --d: 8px;
}
.ransom-head .chip {
  padding: 0.1em 0.2em 0.04em;
}
.ransom-head .gap {
  width: 0.24em;
}
.contact-card {
  transform: rotate(1.2deg);
}
.contact-card .label {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}
.contact-card .email {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-card address {
  font-style: normal;
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-card .tape {
  --w: 140px;
  right: 18px;
  top: -16px;
  --r: 8deg;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: clamp(56px, 6vw, 80px) var(--gutter) 40px;
  background: var(--black);
  color: var(--white);
  border-top: 8px solid var(--red);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer .brand img {
  width: 96px;
}
.legal {
  max-width: 60ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #d9d9d9;
}
.legal strong {
  color: var(--white);
}
.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--red);
}
.copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 2px dashed #333;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}
@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Legal pages ---------- */

.page-title {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: calc(clamp(72px, 8vw, 110px) + var(--cut));
}
.page-title .ransom-head {
  font-size: clamp(34px, 10.5vw, 112px);
}
.page-title .ransom-head .words {
  flex-wrap: nowrap;
}
.page-title .band-line {
  display: inline-block;
  margin-top: 22px;
  transform: rotate(-2.5deg);
  filter: drop-shadow(7px 7px 0 var(--black));
}
.page-title .band {
  font-size: clamp(18px, 2.4vw, 28px);
}
.page-title .meta {
  margin: 28px 0 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-title .note {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: calc(var(--cut) + 36px);
  font-size: clamp(22px, 2.6vw, 32px);
}

.doc-world {
  padding-top: calc(clamp(56px, 6vw, 88px) + var(--cut));
}
.sheet {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  filter: drop-shadow(12px 12px 0 var(--red));
}
.sheet__paper {
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 68px) clamp(36px, 5vw, 64px);
  background: var(--white);
  color: var(--black);
  clip-path: polygon(0 8px, calc(100% - 8px) 0, 100% calc(100% - 10px), 10px 100%);
}
.sheet .tape--1 {
  --w: 150px;
  left: -30px;
  top: -10px;
  --r: -36deg;
}
.sheet .tape--2 {
  --w: 150px;
  right: -30px;
  top: -6px;
  --r: 34deg;
}
.summary {
  margin: 0 0 36px;
  padding: 20px 22px;
  background: var(--black);
  color: var(--white);
  clip-path: polygon(0 4px, 100% 0, calc(100% - 4px) 100%, 4px calc(100% - 3px));
}
.summary p:last-child {
  margin-bottom: 0;
}
.summary ul {
  margin: 0;
  padding-left: 1.2em;
}
.summary li {
  margin-bottom: 6px;
}
.summary li:last-child {
  margin-bottom: 0;
}
.summary li::marker {
  color: var(--red);
}
.summary strong {
  color: var(--white);
}
.summary .label {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--marker);
  font-size: 20px;
  color: var(--red);
}
.toc {
  margin: 0 0 40px;
  padding: 18px 0 0;
  border-top: 4px solid var(--black);
}
.toc h2 {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.toc ol {
  columns: 2 240px;
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  break-inside: avoid;
  padding: 3px 0;
  font-weight: 600;
  font-size: 16px;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: var(--mono);
  font-weight: 700;
  color: var(--red);
  white-space: pre;
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.prose {
  counter-reset: sec;
  max-width: 70ch;
}
.prose section {
  padding-top: 8px;
  margin-bottom: 34px;
}
.prose h2 {
  counter-increment: sec;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--black);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
  text-transform: uppercase;
}
.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.62em;
  font-weight: 700;
  color: var(--red);
}
.prose h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.prose ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 0.45em;
}
.prose li::marker {
  color: var(--red);
}
.prose a {
  color: var(--black);
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--red);
}
.prose table {
  width: 100%;
  margin: 0 0 1.2em;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.45;
}
.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 2px dashed rgba(10, 10, 10, 0.25);
}
.prose th {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 3px solid var(--black);
}
.table-scroll {
  overflow-x: auto;
}
.callout {
  margin: 0 0 1em;
  padding: 16px 18px;
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 var(--red);
  font-weight: 600;
}
.callout p:last-child {
  margin-bottom: 0;
}
.doc-end {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 4px solid var(--black);
  font-size: 15px;
}
.doc-end address {
  font-style: normal;
}

/* ---------- 404 ---------- */

.lost {
  min-height: calc(100svh - 300px);
  display: flex;
  align-items: center;
}
.lost .wrap {
  text-align: left;
}

/* ---------- Motion: slam in on twos ---------- */

/* Back-out overshoot, held on twos: five drawings at 12 a second. */
.slam {
  animation: slam 0.42s both;
  animation-timing-function: cubic-bezier(0.34, 1.7, 0.6, 1);
  animation-timing-function: linear(0, 0 0.5%, 0.58 0.5%, 0.58 20%, 1.12 20%, 1.12 40%, 1.03 40%, 1.03 60%, 0.99 60%, 0.99 80%, 1 80%, 1 100%);
  animation-delay: var(--dl, 0s);
}
@keyframes slam {
  from {
    scale: 2.2;
    rotate: 18deg;
    opacity: 0;
  }
  to {
    scale: 1;
    rotate: 0deg;
    opacity: 1;
  }
}
.whip {
  animation: whip 0.34s both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-timing-function: linear(0, 0 0.5%, 0.72 0.5%, 0.72 25%, 0.93 25%, 0.93 50%, 0.99 50%, 0.99 75%, 1 75%, 1 100%);
  animation-delay: var(--dl, 0s);
}
@keyframes whip {
  from {
    translate: 70vw 0;
  }
  to {
    translate: 0 0;
  }
}
.flip {
  animation: flip 0.34s both;
  animation-timing-function: cubic-bezier(0.34, 1.7, 0.6, 1);
  animation-timing-function: linear(0, 0 0.5%, 0.55 0.5%, 0.55 25%, 1.1 25%, 1.1 50%, 0.98 50%, 0.98 75%, 1 75%, 1 100%);
  animation-delay: var(--dl, 0s);
}
@keyframes flip {
  from {
    transform: perspective(500px) rotateY(-100deg);
    opacity: 0;
  }
  to {
    transform: perspective(500px) rotateY(0deg);
    opacity: 1;
  }
}

/* Hero entrance timings. */
.emblem.slam {
  --dl: 0.1s;
}
.lockup .burst.slam {
  --dl: 0.05s;
}
.lockup__dev .pose:nth-child(1) .flip { --dl: 0.5s; }
.lockup__dev .pose:nth-child(2) .flip { --dl: 0.55s; }
.lockup__dev .pose:nth-child(3) .flip { --dl: 0.6s; }
.lockup__dev .pose:nth-child(4) .flip { --dl: 0.65s; }
.lockup__dev .pose:nth-child(5) .flip { --dl: 0.7s; }
.lockup__dev .pose:nth-child(6) .flip { --dl: 0.75s; }
.lockup__dev .pose:nth-child(7) .flip { --dl: 0.8s; }
.lockup__dev .pose:nth-child(8) .flip { --dl: 0.85s; }
.lockup__dev .pose:nth-child(9) .flip { --dl: 0.9s; }
.lockup__dev .pose:nth-child(10) .flip { --dl: 0.95s; }
.lockup__dev .pose:nth-child(11) .flip { --dl: 1s; }
.lockup__tag .whip {
  --dl: 1.15s;
}
.lockup__note.slam,
.lockup__arrow.slam {
  --dl: 1.35s;
}
.hero__card.slam {
  --dl: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  body::after,
  .site-header,
  .ht,
  .tape,
  .rays {
    display: none !important;
  }
  .world,
  .sheet {
    filter: none;
    clip-path: none;
    background: #fff;
  }
}
