/* site: the page. Every colour, face and space comes from tokens.css. */

.wrap { width: min(100% - 2 * var(--space-gutter), var(--container)); margin-inline: auto; }

/* ---------- riso grain over everything ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- opening: the name flies in, then the page lifts into view ---------- */
html.intro body::before {
  content: ""; position: fixed; inset: 0; z-index: var(--z-intro);
  background: var(--color-paper);
  animation: intro-failsafe 0s linear 3.6s forwards;
}
@keyframes intro-failsafe { to { visibility: hidden; } }
html.intro .hero, html.intro .hero * { animation-play-state: paused; }
.intro-cover {
  position: fixed; inset: 0; z-index: var(--z-intro);
  display: grid; place-items: center;
  background: var(--color-paper);
  cursor: pointer;
}
.intro-cover__inner { container-type: inline-size; }
.intro-cover.is-leaving { transform: translateY(-100%); transition: transform 650ms var(--ease-in-out); }
.ransom--intro .cut { animation: fly-in 760ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes fly-in { from { opacity: 0; translate: var(--fx) var(--fy); rotate: var(--fr); scale: 1.6; } }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-body);
  line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-signal); color: var(--color-signal-ink); }
.btn--primary:hover { background: var(--color-signal-2); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn--ghost:hover { background: var(--color-ink-3); }
.btn--ink { background: transparent; color: var(--color-ink-text); border-color: var(--color-ink-text); }
.btn--ink:hover { background: var(--color-signal-2); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: 0 var(--space-gutter);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.nav.is-solid { background: var(--color-ink); border-bottom-color: var(--color-rule); }
.nav__mark {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-lead);
  text-transform: uppercase; line-height: 1; text-decoration: none; white-space: nowrap;
}
.nav__tools { display: flex; align-items: center; gap: var(--space-xs); }
.nav__motion, .nav__menu { display: none; }
html.ready .nav__menu { display: inline-flex; }
html.ready .nav__motion { display: inline-flex; }
.nav__motion {
  align-items: center; min-height: 44px;
  padding: 0 var(--space-sm);
  background: none; border: 0; cursor: pointer;
  color: var(--color-text-dim); font-size: var(--text-sm);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-rule);
  transition: color var(--dur-short) var(--ease-out);
}
.nav__motion:hover { color: var(--color-text); }
.nav .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }

/* ---------- menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: flex; flex-direction: column;
  background: var(--color-ink-2); color: var(--color-text);
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - var(--space-gutter) - 2.5rem) calc(var(--nav-h) / 2));
  transition: clip-path var(--dur-long) var(--ease-in);
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - var(--space-gutter) - 2.5rem) calc(var(--nav-h) / 2));
  transition: clip-path 640ms var(--ease-out);
}
.menu__bar {
  flex: none; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-gutter);
}
.menu__bar .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.menu__body {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--space-2xl);
  padding: var(--space-xl) 0 var(--space-2xl);
}
.menu__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.menu__links a {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-section); line-height: 1.02; text-decoration: none; white-space: nowrap;
  transition: color var(--dur-short) var(--ease-out);
}
.menu__links a:hover { color: var(--link-ink, var(--color-signal)); }
.menu__links li:nth-child(2) { --link-ink: var(--color-pink); }
.menu__links li:nth-child(3) { --link-ink: var(--color-blue); }
.menu__links li:nth-child(4) { --link-ink: var(--color-mint); }
.menu__foot a { color: var(--color-text-dim); text-underline-offset: 4px; font-size: var(--text-lead); }
.menu__foot a:hover { color: var(--color-text); }
@media (prefers-reduced-motion: no-preference) {
  .menu.is-open .menu__links li { animation: rise 520ms var(--ease-out) both; animation-delay: calc(var(--i) * 50ms + 160ms); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--color-klein);
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + var(--space-lg)) 0 var(--space-2xl);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl); align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: min(var(--text-display), 14.5svh); line-height: 1.0; letter-spacing: -0.005em;
  max-width: 14ch;
}
.hero__lede { margin-top: var(--space-lg); max-width: 40ch; font-size: var(--text-lead); color: var(--color-text); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero .btn--ghost:hover { background: var(--color-klein-2); }
.hero__copy { position: relative; }
.badge { position: absolute; bottom: -36px; right: 6%; width: 120px; height: 120px; }
.badge__disc { fill: var(--color-signal); }
.badge__star { fill: var(--color-pink); }
.badge__text { fill: var(--color-signal-ink); font-family: var(--font-body); font-weight: 700; font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .badge { animation: spin 22s linear infinite; }
  html[data-motion="paused"] .badge { animation-play-state: paused; }
}
@keyframes spin { to { rotate: 360deg; } }

.scraps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-lg); align-items: center;
}
.scrap {
  justify-self: start; max-width: 15ch;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--scrap-bg); color: var(--color-signal-ink);
  font-weight: 700; font-size: var(--text-scrap); line-height: 1.15;
  text-decoration: none; cursor: grab; user-select: none; -webkit-user-drag: none;
  touch-action: none;
  position: relative;
  transform: translate(calc(var(--nx) + var(--dx, 0px)), calc(var(--ny) + var(--dy, 0px) + var(--lift, 0px))) rotate(var(--r));
  transition: transform var(--dur-short) var(--ease-out);
}
.scrap:nth-child(even) { justify-self: end; }
.scrap:hover { --lift: -4px; }
.scrap.is-dragging { cursor: grabbing; transition: none; }
.scrap--yellow { --scrap-bg: var(--color-signal); }
.scrap--pink { --scrap-bg: var(--color-pink); }
.scrap--blue { --scrap-bg: var(--color-blue); }
.scrap--orange { --scrap-bg: var(--color-orange); }
.scrap--ink { --scrap-bg: var(--color-ink); color: var(--color-text); }
.scrap__tag { display: block; margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 400; line-height: 1; }
.scrap--mint { --scrap-bg: var(--color-mint); }
.scrap--paper { --scrap-bg: var(--color-paper); }
.hero__note {
  grid-column: 1 / -1; justify-self: start;
  display: flex; align-items: center; gap: var(--space-xs);
  font-family: var(--font-hand); font-size: var(--text-hand); line-height: 1.1;
  color: var(--color-signal);
  transform: rotate(-3deg);
}
.hero__note svg { flex-shrink: 0; }

@media (prefers-reduced-motion: no-preference) {
  html.js .hero__title, html.js .hero__lede, html.js .hero__actions { animation: rise 640ms var(--ease-out) both; }
  html.js .hero__lede { animation-delay: 90ms; }
  html.js .hero__actions { animation-delay: 160ms; }
  html.js .scrap { animation: drop 620ms var(--ease-out) both; animation-delay: calc(var(--i) * 60ms + 220ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes drop { from { opacity: 0; translate: 0 -22px; } }

/* ---------- tapes ---------- */
.tapes {
  position: relative; z-index: var(--z-raised);
  height: clamp(9rem, 5rem + 9vw, 15rem);
  background: linear-gradient(to bottom, var(--color-klein) 50%, var(--color-paper) 50%);
}
.tape {
  position: absolute; left: -5%; right: -5%; top: 50%;
  overflow: hidden; padding: var(--space-sm) 0;
}
.tape--pink { background: var(--color-pink); color: var(--color-signal-ink); transform: translateY(-50%) rotate(3deg); }
.tape--yellow { z-index: 1; background: var(--color-signal); color: var(--color-signal-ink); transform: translateY(-50%) rotate(-3deg); }
.tape__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.tape__track--rev { animation-direction: reverse; animation-duration: 46s; }
.tapes:hover .tape__track, html[data-motion="paused"] .tape__track { animation-play-state: paused; }
.tape__item {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-title); line-height: 1; white-space: nowrap;
  padding: 0 var(--space-lg);
}
.tape--pink .tape__item { font-size: var(--text-lead); }
.tape__sep { font-size: var(--text-lead); line-height: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement: things I've turned into other things ---------- */
.statement { background: var(--color-paper); color: var(--color-ink-text); padding: var(--space-section-s) 0 var(--space-section); }
.statement__title {
  font-family: var(--font-hand); font-weight: 400; font-size: var(--text-section); line-height: 1;
  color: var(--color-klein); rotate: -2deg; max-width: 22ch;
}
.turns { list-style: none; margin: var(--space-xl) 0 0; padding: 0; display: grid; gap: var(--space-2xs); }
.turn {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-statement); line-height: 1.04;
  overflow-wrap: break-word; min-width: 0;
}
.chip {
  display: inline-block; height: 0.8em; width: auto;
  vertical-align: -0.08em; margin: 0 0.04em;
  border-radius: var(--radius-md);
  rotate: var(--tilt, 0deg);
  box-shadow: 0.07em 0.07em 0 var(--hl);
}
.hl {
  padding: 0 0.08em;
  background-image: linear-gradient(to bottom, transparent 17%, var(--hl) 17%, var(--hl) 93%, transparent 93%);
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .turn .hl { animation: swipe linear both; animation-timeline: view(); animation-range: entry 70% cover 45%; }
    .turn .chip { animation: pop linear both; animation-timeline: view(); animation-range: entry 50% cover 35%; }
  }
}
@keyframes swipe { from { background-size: 0% 100%; } }
@keyframes pop { from { scale: 0.3; opacity: 0; } }


.kicker {
  margin-top: var(--space-2xl);
  display: flex; align-items: center; gap: var(--space-sm);
  font-family: var(--font-hand); font-size: var(--text-title); line-height: 1.1;
  color: var(--color-klein); rotate: -1.5deg; transform-origin: left center;
}
.kicker svg { flex: none; }
.kicker a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: color var(--dur-short) var(--ease-out); }
.kicker a:hover { color: var(--color-ink-text); }

/* ---------- cut-out letters: the hero word and the footer collage ---------- */
.cut {
  display: inline-block;
  padding: 0 0.05em 0.14em;
  line-height: 0.9;
  border-radius: 2px;
  background: var(--tile, var(--color-paper)); color: var(--tile-ink, var(--color-ink-text));
  rotate: var(--r, 0deg); translate: 0 var(--y, 0);
}
.cut--y { --tile: var(--color-signal); }
.cut--p { --tile: var(--color-pink); }
.cut--w { --tile: var(--color-paper); }
.cut--k { --tile: var(--color-ink); --tile-ink: var(--color-text); }
.cut--o { --tile: var(--color-orange); }
.cut--m { --tile: var(--color-mint); }
.cutword__tiles { display: inline-block; white-space: nowrap; }
.hero .cut { margin: 0 0.01em; }

/* ---------- index ---------- */
.index { padding: var(--space-section) 0; }
.index__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-2xl) var(--space-3xl); align-items: start;
}
.index__head {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg);
}
.index__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-section); line-height: 1.0; max-width: 14ch;
}
.scribble { position: relative; display: inline-block; }
.scribble svg {
  position: absolute; left: -3%; top: 98%; width: 106%; max-width: none; height: 0.26em;
  overflow: visible; pointer-events: none;
}
.scribble path {
  fill: none; stroke: var(--color-pink); stroke-width: 4; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scribble path { animation: draw linear both; animation-timeline: view(); animation-range: entry 80% cover 40%; }
  }
}
@keyframes draw { from { stroke-dashoffset: 1; } }
.index__intro { max-width: 30ch; font-size: var(--text-lead); color: var(--color-text-dim); }
.index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.index__row {
  display: grid; grid-template-columns: minmax(0, 6rem) minmax(0, 1fr);
  gap: var(--space-2xs) var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-rule);
  text-decoration: none;
}
.index__list li:last-child .index__row { border-bottom: 0; }
.index__client { grid-row: span 2; padding-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-text-dim); }
.index__line {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-title); line-height: 1.02;
  transition: color var(--dur-short) var(--ease-out);
}
.index__format { font-size: var(--text-sm); color: var(--color-text-dim); }
.index__row:hover .index__line, .index__row.is-active .index__line { color: var(--row-ink, var(--color-signal)); }
.index__preview {
  position: sticky; top: calc(var(--nav-h) + var(--space-xl));
  height: min(calc(100svh - var(--nav-h) - 2 * var(--space-xl)), 40rem);
  display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center;
  padding: 0 var(--space-md) var(--space-md) 0;
}
.index__preview img {
  grid-area: 1 / 1;
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  border-radius: var(--radius-md);
  rotate: var(--tilt, 0deg);
  box-shadow: 14px 14px 0 var(--shade);
  opacity: 0; transition: opacity var(--dur-long) var(--ease-out);
}
.index__preview img.is-active { opacity: 1; }

/* ---------- cases ---------- */
.case { padding: var(--space-section) 0; }
.case__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-section); line-height: 1.0; max-width: 16ch;
}
.case__meta { margin-top: var(--space-md); font-size: var(--text-lead); color: var(--color-text-dim); }
.brief {
  display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
  gap: var(--space-sm) var(--space-lg);
}
.brief dt { font-weight: 700; color: var(--color-signal); }
.brief dd { max-width: 52ch; color: var(--color-text); }
.case__lead img, .mns__fig img, .psg__fig img, .ikea__fig img { box-shadow: 12px 12px 0 var(--shade, var(--color-ink-text)); }

/* WWF: the ocean */
.case--wwf { background: var(--color-ocean); padding-bottom: var(--space-section-s); }
.case--wwf .brief { margin-top: var(--space-2xl); }
.case--wwf .brief dt { color: var(--color-mint); }
.case__lead { margin-top: var(--space-2xl); }
.case__lead img { width: 100%; border-radius: var(--radius-md); }
.strip { margin-top: var(--space-3xl); }
.strip__track {
  list-style: none; margin: 0 auto; padding: 0;
  width: min(100% - 2 * var(--space-gutter), var(--container));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-lg);
}
.strip__panel--wide { grid-column: 1 / -1; }
.strip__panel img { width: 100%; border-radius: var(--radius-md); box-shadow: 12px 12px 0 var(--color-ocean-2); }
.strip__panel--poster img { box-shadow: 12px 12px 0 var(--color-mint); }
.strip__panel figcaption { margin-top: var(--space-md); display: grid; gap: var(--space-2xs); align-content: start; }
.strip__no { font-family: var(--font-hand); font-size: var(--text-hand); line-height: 1; color: var(--color-mint); }
.strip__line {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-lead); line-height: 1.05; max-width: 22ch;
}
.strip__panel--wide .strip__line { font-size: var(--text-title); max-width: none; }
.strip__made { font-size: var(--text-sm); color: var(--color-text-dim); max-width: 44ch; }
@media (min-width: 60rem) {
  .strip__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip__panel--wide { grid-column: span 2; }
}
.strip.is-horizontal { height: var(--strip-h); margin-top: var(--space-2xl); view-timeline: --strip block; }
.strip.is-horizontal .strip__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding-top: var(--nav-h);
}
.strip.is-horizontal .strip__track {
  display: flex; align-items: center; gap: var(--space-3xl); width: max-content;
  padding: 0 var(--space-gutter);
  animation: strip-x linear both;
  animation-timeline: --strip;
  animation-range: contain 0% contain 100%;
}
.strip.is-horizontal .strip__panel { flex: none; }
.strip.is-horizontal .strip__panel--poster figure {
  display: grid; grid-template-columns: auto 15rem; gap: var(--space-xl); align-items: end;
}
.strip.is-horizontal .strip__panel--poster img { height: 66svh; width: auto; max-width: none; }
.strip.is-horizontal .strip__panel--poster .strip__line { font-size: var(--text-title); }
.strip.is-horizontal .strip__panel--wide figure { width: min-content; }
.strip.is-horizontal .strip__panel--wide img { height: 56svh; width: auto; max-width: none; }
@keyframes strip-x { to { transform: translateX(calc(var(--shift, 0px) * -1)); } }

/* IKEA */
.case--ikea { background: var(--color-signal); color: var(--color-signal-ink); }
.case--ikea .case__meta { color: var(--color-ink-text-dim); }
.case--ikea .brief { margin-top: var(--space-xl); }
.case--ikea .brief dt { color: var(--color-ink-text); }
.case--ikea .brief dd { color: var(--color-ink-text); }
.ikea { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.ikea__tabs { display: none; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xl); }
.ikea.is-picker .ikea__tabs { display: flex; }
.ikea__tab {
  min-height: 44px; padding: 0 var(--space-md);
  border: 2px solid var(--color-ink-text); border-radius: var(--radius-pill);
  background: transparent; color: var(--color-ink-text);
  font-weight: 700; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.ikea__tab:hover { background: var(--color-signal-2); }
.ikea__tab:active { transform: translateY(1px); }
.ikea__tab[aria-pressed="true"] { background: var(--color-ink-text); color: var(--color-signal); }
.ikea__stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.ikea__fig img { width: 100%; border-radius: var(--radius-md); }
.ikea__cap { margin-top: var(--space-md); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); }
.ikea__price { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1; font-variant-numeric: tabular-nums; }
.ikea__product { font-size: var(--text-body); }
.ikea.is-picker .ikea__stage { grid-template-columns: minmax(0, 1fr); }
.ikea.is-picker .ikea__fig {
  grid-area: 1 / 1; max-width: 34rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long);
}
.ikea.is-picker .ikea__fig { rotate: -1.5deg; }
.ikea.is-picker .ikea__fig.is-active { opacity: 1; visibility: visible; transition: opacity var(--dur-long) var(--ease-out); }
.ikea.is-picker .ikea__price { font-size: var(--text-section); }
.ikea.is-picker .ikea__product { font-size: var(--text-lead); }

/* M&S */
.case--mns { background: var(--color-pink); color: var(--color-ink-text); }
.case--mns .case__meta, .case--mns .brief dt, .case--mns .brief dd { color: var(--color-ink-text); }
.case--mns .brief { margin-top: var(--space-xl); grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
.case--mns .brief dd + dt { margin-top: var(--space-md); }
.mns { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: end; }
.mns__fig img { width: 100%; border-radius: var(--radius-md); }
.case--mns .case__title { font-size: var(--text-title); }

/* PSG */
.psg__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-lg); align-items: end; margin-top: var(--space-2xl);
}
.psg__fig img { width: 100%; border-radius: var(--radius-md); }
.psg__fig--land { grid-column: 1 / span 7; }
.psg__fig--square { grid-column: 8 / span 5; }
.psg__fig--cobbles { grid-column: 1 / span 5; }
.psg__fig--night { grid-column: 6 / span 7; }
.psg__brief { margin-top: var(--space-2xl); }

/* ---------- Empty Skull ---------- */
.skull { background: var(--color-mint); color: var(--color-ink-text); padding: var(--space-section) 0; }
.skull__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.poster {
  background: var(--color-paper); color: var(--color-ink-text);
  border-radius: var(--radius-sm);
  padding: var(--space-xl) var(--space-xl) 0;
  rotate: -1.2deg;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--color-ink-text);
}
.poster__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-statement); line-height: 1.0; text-align: center;
}
.poster__photo { margin-top: var(--space-lg); }
.poster__photo video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-ink); }
.poster__lede { margin-top: var(--space-lg); font-size: var(--text-lead); font-weight: 700; line-height: 1.3; }
.poster__facts { margin-top: var(--space-md); display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-2xs) var(--space-md); }
.poster__facts dt { font-weight: 700; }
.poster__facts dd { color: var(--color-ink-text-dim); }
.tabs {
  list-style: none; padding: 0;
  margin: var(--space-xl) calc(var(--space-xl) * -1) 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 2px dashed var(--color-paper-rule);
}
.tab {
  display: flex; align-items: center; justify-content: center;
  height: 10rem; padding: var(--space-sm) 0;
  border-right: 2px dashed var(--color-paper-rule);
  color: var(--color-ink-text); text-decoration: none;
  transition: transform var(--dur-long) var(--ease-in), opacity var(--dur-long) var(--ease-in), background-color var(--dur-short) var(--ease-out);
}
.tabs li:last-child .tab { border-right: 0; }
.tab span { writing-mode: vertical-rl; rotate: 180deg; font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
.tab:hover { background: var(--color-paper-2); }
.tab.is-torn { transform: translate(0, 48px) rotate(9deg); opacity: 0; }
.skull__poems-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-section); line-height: 1.0; max-width: 12ch;
}
.poems { list-style: none; padding: 0; margin: var(--space-2xl) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.poems figure {
  background: var(--color-paper); padding: var(--space-sm) var(--space-sm) 0;
  box-shadow: 6px 6px 0 var(--color-ink-text);
  rotate: var(--tilt, 0deg);
}
.poems li:nth-child(1) { --tilt: -2.5deg; }
.poems li:nth-child(2) { --tilt: 1.5deg; }
.poems li:nth-child(3) { --tilt: -1deg; }
.poems li:nth-child(4) { --tilt: 2deg; }
.poems li:nth-child(5) { --tilt: -1.5deg; }
.poems li:nth-child(6) { --tilt: 2.5deg; }
.poems img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.poems figcaption { padding: var(--space-xs) 0 var(--space-sm); text-align: center; font-family: var(--font-hand); font-size: var(--text-hand); line-height: 1.1; color: var(--color-ink-text); }

/* ---------- Player 01 ---------- */
.arcade { background: var(--color-orange); color: var(--color-ink-text); padding: var(--space-section) 0; }
.arcade__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); align-items: center; }
.arcade__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-section); line-height: 1.0;
}
.arcade__text p { margin-top: var(--space-lg); max-width: 32ch; font-size: var(--text-lead); color: var(--color-ink-text); }
.arcade__text .btn { margin-top: var(--space-xl); }
.arcade__screen {
  aspect-ratio: 16 / 10; overflow: hidden;
  border: 10px solid var(--color-ink-text); border-radius: var(--radius-md);
  background: var(--color-ink-2);
  box-shadow: 14px 14px 0 var(--color-klein);
}
.arcade__screen iframe { width: 100%; height: 100%; border: 0; }

/* ---------- the receipt ---------- */
.about { background: var(--color-klein); padding: var(--space-section) 0; }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.about__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-statement); line-height: 1.0; max-width: 11ch;
}
.about__self {
  margin-top: var(--space-xl); max-width: 26ch;
  font-family: var(--font-hand); font-size: var(--text-hand); line-height: 1.2;
  color: var(--color-signal);
  rotate: -2deg;
}
.receipt {
  justify-self: end; width: 100%; max-width: 30rem;
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  background: var(--color-paper); color: var(--color-ink-text);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm); line-height: 1.4;
  rotate: 1deg;
  box-shadow: 14px 14px 0 var(--color-signal);
}
.receipt__top { padding-bottom: var(--space-md); text-align: center; font-weight: 700; border-bottom: 2px dashed var(--color-paper-rule); }
.receipt__table { width: 100%; border-collapse: collapse; }
.receipt__table th, .receipt__table td { padding: var(--space-sm) 0; vertical-align: top; border-bottom: 1px dashed var(--color-paper-rule); }
.receipt__table th { width: 44%; padding-right: var(--space-md); text-align: left; font-weight: 700; }
.receipt__table td { text-align: right; color: var(--color-ink-text-dim); }
.receipt__total {
  display: flex; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md) 0 0;
  font-size: var(--text-body); font-weight: 700;
}
.receipt__total span:last-child { text-align: right; }

/* ---------- contact ---------- */
.contact { background: var(--color-signal); color: var(--color-signal-ink); padding: var(--space-section) 0; }
.contact__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: var(--text-statement); line-height: 1.0; max-width: 13ch;
}
.contact__lede { margin-top: var(--space-lg); font-size: var(--text-lead); }
.contact__email {
  display: inline-block; margin-top: var(--space-xl);
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.1;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
  transition: color var(--dur-short) var(--ease-out);
}
.contact__email:hover { color: var(--color-ink-3); }
.contact__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.contact__status { margin-top: var(--space-md); min-height: 1lh; font-weight: 700; }

/* ---------- footer ---------- */
.foot {
  position: relative; isolation: isolate;
  padding: var(--space-2xl) 0 0;
  background-color: var(--color-paper); color: var(--color-ink-text-dim); font-size: var(--text-sm);
}
.foot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--color-paper-rule) 1.1px, transparent 1.6px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 62%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 62%);
}
.foot__collage { container-type: inline-size; }
.ransom {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.08em 0.4em;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.5rem, 10.6cqi, 11rem); line-height: 1;
}
.ransom__word { display: inline-flex; gap: 0.04em; white-space: nowrap; }
.ransom .cut {
  padding: 0 0.07em 0.14em;
  box-shadow: 0.04em 0.04em 0 var(--color-ink-text);
  transition: rotate var(--dur-short) var(--ease-out), scale var(--dur-short) var(--ease-out), translate var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out);
}
.ransom .cut:hover { rotate: calc(var(--r, 0deg) * -1); scale: 1.08; }
.cut--body { font-family: var(--font-body); font-weight: 700; text-transform: lowercase; }
.ransom .cut--body { padding: 0.12em 0.09em 0.1em; font-size: 0.82em; line-height: 1; }
.cut--outline { --tile: transparent; color: transparent; -webkit-text-stroke: 0.03em var(--color-ink-text); border: 0.03em dashed var(--color-ink-text); }
.ransom .cut--outline { box-shadow: none; }
.cut__pic {
  display: block; color: transparent;
  padding-bottom: 0.14em; margin-bottom: -0.14em;
  background-image: var(--pic); background-size: cover; background-position: center;
  -webkit-background-clip: text; background-clip: text;
}
.cut__pic--jelly { --pic: url("assets/img/chip-jelly.jpg"); }
.cut__pic--ghost { --pic: url("assets/img/chip-ghost.jpg"); }
.cut__pic--psg { --pic: url("assets/img/chip-psg.jpg"); }
.cut__pic--cat { --pic: url("assets/img/chip-cat.jpg"); }
.cut__pic--mns { --pic: url("assets/img/chip-mns.jpg"); }
html.reveal-ready .ransom:not(.is-in) .cut { opacity: 0; translate: 0 -0.5em; }
html.reveal-ready .ransom .cut { transition-delay: calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms); }
html.reveal-ready .ransom.is-settled .cut { transition-delay: 0s; }
.foot__note {
  margin-top: var(--space-lg); text-align: center;
  font-family: var(--font-hand); font-size: var(--text-hand); line-height: 1.2; color: var(--color-ink-text);
}

/* Kilroy: Sonny peeking over the wall */
.kilroy { display: flex; justify-content: center; margin-top: var(--space-lg); padding: 0 var(--space-gutter); }
.kilroy__face { display: block; width: min(34rem, 100%); height: auto; margin-bottom: -1px; }
.pupil { fill: var(--color-ink-text); transition: transform var(--dur-micro) var(--ease-out); }
.pupil__ball { transform-box: fill-box; transform-origin: center; transition: scale var(--dur-micro) var(--ease-out); }
.kilroy__head { transition: transform 240ms var(--ease-in); }
.kilroy.is-startled .pupil__ball { scale: 0.62; }
.kilroy.is-ducked .kilroy__head { transform: translateY(400px); }
.kilroy.is-peeking .kilroy__head { animation: peek-back 1500ms var(--ease-in-out) both; }
@keyframes peek-back {
  0% { transform: translateY(400px); }
  45% { transform: translateY(190px); }
  70% { transform: translateY(190px); }
  100% { transform: translateY(0); }
}
.pupil__glint { fill: var(--color-paper); }
.wall { background: var(--color-ink); color: var(--color-text-dim); padding: var(--space-md) 0 var(--space-lg); }
.wall__tag {
  text-align: center; rotate: -2deg;
  font-family: var(--font-hand); font-size: var(--text-section); line-height: 1.1;
  color: var(--color-signal);
}
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }

/* ---------- smaller screens ---------- */
@media (max-width: 59.99rem) {
  .hero { align-items: flex-start; }
  .hero__grid, .index__grid, .ikea, .mns, .skull__grid, .arcade__grid, .about__grid { grid-template-columns: minmax(0, 1fr); }
  .scrap { cursor: pointer; touch-action: auto; }
  .hero__note { display: none; }
  .index__preview { display: none; }
  .psg__fig--land, .psg__fig--square, .psg__fig--cobbles, .psg__fig--night { grid-column: 1 / -1; }
  .arcade__screen { aspect-ratio: 3 / 4; }
  .receipt { justify-self: start; }
  .poster { rotate: none; }
  .hero__copy { display: flex; flex-direction: column; }
  .badge { position: static; order: 9; align-self: flex-end; width: 96px; height: 96px; margin-top: var(--space-md); }
  .ikea.is-picker .ikea__fig { rotate: none; }
}
@media (max-width: 40rem) {
  .scraps { gap: var(--space-md) var(--space-sm); }
  .scrap { max-width: 13ch; }
  .poems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .brief dd + dt { margin-top: var(--space-sm); }
  .tab { height: 8rem; }
  .ikea__stage { grid-template-columns: minmax(0, 1fr); }
  .ransom { font-size: 19cqi; }
}

.case--psg { --shade: var(--color-blue); }
