/* slopgelost — één plaat, zes nummers */

@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bagel-fat-one-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bagel Fat One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bagel-fat-one-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens ---------- */

:root {
  --ink: #1d1a17;
  --paper: #fffaf3;
  --skin-print: #f6dcc0;

  /* per page, overridden below */
  --ground: #ec5b0e;
  --fg: var(--ink);
  --relief: var(--paper);

  --display: "Bagel Fat One", "Jost", sans-serif;
  --text: "Jost", "Futura", "Century Gothic", sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

:root:has(body[data-page="home"])      { --ground: #ec5b0e; --fg: var(--ink);   --relief: var(--paper); }
:root:has(body[data-page="diensten"])  { --ground: #0f9f98; --fg: var(--ink);   --relief: var(--paper); }
:root:has(body[data-page="cases"])     { --ground: #d12a62; --fg: var(--paper); --relief: var(--paper); }
:root:has(body[data-page="werkwijze"]) { --ground: #f4c20d; --fg: var(--ink);   --relief: var(--ink); }
:root:has(body[data-page="contact"])   { --ground: #2347d6; --fg: var(--paper); --relief: var(--paper); }
:root:has(body[data-page="team"])      { --ground: #9b7bea; --fg: var(--ink);   --relief: var(--paper); }

body {
  --quiet: var(--fg);
  --rule: color-mix(in oklab, var(--fg) 35%, var(--ground));
  --played: color-mix(in oklab, var(--fg) 62%, var(--ground));
}

/* ---------- base ---------- */

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

html {
  background: var(--ground);
  scrollbar-gutter: stable;
  scrollbar-color: var(--fg) var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--fg);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 420;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--fg); color: var(--ground); }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.sr-only {
  position: absolute; 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: var(--gutter); top: -100px; z-index: 10;
  background: var(--fg); color: var(--ground); padding: .6em 1em; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- page change: the next single's ground floods from where you clicked ---------- */

.flood {
  /* a real circle scaled on the compositor: no per-frame repaint */
  position: fixed; z-index: 100;
  left: var(--x); top: var(--y);
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border-radius: 50%;
  pointer-events: none;
  background: var(--to, var(--ground));
  transform: scale(0);
  will-change: transform;
  animation: flood 560ms cubic-bezier(.7, 0, .25, 1) forwards;
}
@keyframes flood {
  to { transform: scale(1); }
}

/* arrival after a flood: the screen is already the new ground, the sleeve fades up out of it.
   Only when arriving via a transition (html.arriving is set before first paint by arrive.js). */
@media (prefers-reduced-motion: no-preference) {
  html.arriving .cover > * { animation: part-in 520ms var(--ease-out) both; }
  html.arriving .cover > .cat    { animation-delay: 40ms; }
  html.arriving .cover > .photo  { animation-delay: 80ms; }
  html.arriving .cover > .single { animation-delay: 120ms; }
  html.arriving .cover > .tracks { animation-delay: 160ms; }
}
@keyframes part-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: none; }
}

/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

/* ---------- the front of the sleeve ---------- */

.cover {
  min-height: 100svh;
  padding: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "logo   logo"
    "cat    cat"
    "photo  single"
    "photo  tracks";
  column-gap: clamp(24px, 4vw, 72px);
}

.logo {
  grid-area: logo;
  justify-self: start;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: .86;
  padding-bottom: .16em;
  letter-spacing: -0.02em;
  color: var(--relief);
  text-decoration: none;
  margin-left: -0.04em;
}
.logo:hover { text-decoration: none; }

.cat {
  grid-area: cat;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25em 1.5em;
  margin-top: .2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--fg);
  font-size: .95rem;
  font-weight: 560;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.photo {
  grid-area: photo;
  align-self: start;
  justify-self: start;
  margin-top: clamp(24px, 4vh, 48px);
  width: min(100%, 60vh, 620px);
}

.single {
  grid-area: single;
  padding-top: clamp(24px, 4vh, 48px);
}

.single h1 {
  font-family: var(--text);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 13ch;
}

.single .lede {
  margin-top: 1.1rem;
  max-width: 40ch;
  font-size: var(--step-1);
  line-height: 1.45;
  text-wrap: pretty;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: 1.6rem;
  padding: .85em 1.45em .9em;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 600 1.05rem/1 var(--text);
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.pill svg { width: 1.1em; height: 1.1em; transition: transform 220ms var(--ease-out); }
.pill:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.pill:hover svg { transform: translateX(3px); }
.pill:active { transform: translateY(1px); }
.pill:focus-visible { outline-color: var(--fg); }

/* ---------- tracklist (the navigation) ---------- */

.tracks {
  grid-area: tracks;
  margin-top: clamp(28px, 5vh, 56px);
  align-self: end;
  justify-self: end;
  width: min(100%, 25rem);
  font-variant-numeric: tabular-nums;
}
.tracks .side {
  display: inline-block;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  margin-bottom: .35rem;
}
.tracks .side, .tracks .side:hover { border: 0; padding: 0; }
.tracks .side:hover { text-decoration: underline; }
body[data-page="home"] .tracks .side { text-decoration: underline; text-decoration-thickness: 2px; }
.tracks ol { counter-reset: none; }
.tracks a {
  display: grid;
  grid-template-columns: 1.5em 1fr auto;
  align-items: baseline;
  gap: .5em;
  padding: .32em 0;
  border-top: 1px solid var(--rule);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg);
  transition: color 160ms var(--ease-out), padding 220ms var(--ease-out);
}
.tracks li:last-child a { border-bottom: 1px solid var(--rule); }
.tracks a .n { font-weight: 700; }
.tracks a .d { font-size: .92rem; }
.tracks a:hover { padding-left: .35em; }
.tracks a.played { color: var(--played); }
.tracks a[aria-current="page"] {
  color: var(--fg);
  font-weight: 700;
}
.tracks a[aria-current="page"] .t::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .5em; border-radius: 50%; background: currentColor; vertical-align: .1em; }
.tracks .bonus a { border-top-style: dashed; }

/* ---------- the portrait: square, cropped, printed warm ---------- */

.portrait {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  background: var(--skin-print);
  box-shadow: 0 22px 48px -22px rgb(0 0 0 / .5);
  isolation: isolate;
}
.portrait::after {
  /* the print: a warm cast and a whisper of halftone */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgb(70 30 0 / .16) .7px, transparent 1.1px) 0 0 / 4px 4px,
    linear-gradient(rgb(255 170 90 / .12), rgb(255 120 40 / .1));
  mix-blend-mode: multiply;
  z-index: 3;
}
.photo figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
  margin-top: .7rem;
  font-size: .95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.icon-btn {
  display: inline-flex; align-items: center; gap: .45em;
  border: 2px solid var(--fg);
  background: transparent; color: var(--fg);
  border-radius: 999px;
  padding: .38em .9em .42em;
  font: 600 .9rem/1 var(--text);
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.icon-btn svg { width: 1em; height: 1em; }
.icon-btn:hover { background: var(--fg); color: var(--ground); }
.btn-row { display: flex; gap: .5rem; flex-wrap: wrap; }

/* home: the press — a mini website that keeps getting re-pressed */

.mini {
  position: absolute; inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: var(--m-bg, #fff);
  color: var(--m-ink, #1b1b1b);
  font-family: var(--m-font, var(--text));
  padding: 6% 7% 0;
  transform-origin: 50% 0;
}
.mini.pressing { animation: press 520ms var(--ease-out); }
@keyframes press {
  0%   { transform: scaleY(1); filter: none; }
  18%  { transform: scaleY(.965); filter: brightness(1.25) saturate(.4); }
  100% { transform: scaleY(1); filter: none; }
}
.mini-nav { display: flex; align-items: center; justify-content: space-between; gap: 6%; }
.mini-logo { display: flex; align-items: center; gap: .45em; font-weight: 700; font-size: clamp(.7rem, 1.6vh, .95rem); }
.mini-logo i { width: 1.4em; height: 1.4em; border-radius: var(--m-radius, 50%); background: var(--m-accent); display: block; }
.mini-links { display: flex; gap: .7em; }
.mini-links b { display: block; width: 2.6em; height: .42em; border-radius: 99px; background: currentColor; opacity: .25; }
.mini-hero {
  align-self: center;
  display: grid;
  gap: .9em;
  text-align: var(--m-align, left);
  justify-items: var(--m-justify, start);
}
.mini-hero h3 {
  font-size: clamp(1.1rem, 3.3vh, 1.9rem);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
}
.mini-hero p { font-size: clamp(.62rem, 1.35vh, .8rem); line-height: 1.4; max-width: 34ch; opacity: .72; }
.mini-hero span {
  display: inline-block;
  padding: .55em 1.1em;
  border-radius: var(--m-btn-radius, 999px);
  background: var(--m-accent);
  color: var(--m-on-accent, #fff);
  font-size: clamp(.6rem, 1.3vh, .78rem);
  font-weight: 700;
}
.mini-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; padding-bottom: 6%; }
.mini-blocks div { aspect-ratio: 4 / 3; border-radius: var(--m-radius-s, 8px); background: color-mix(in oklab, var(--m-accent) 16%, var(--m-bg)); display: grid; place-items: center; }
.mini-blocks div::before { content: ""; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--m-accent); opacity: .55; }
.mini-foot { height: 5%; margin: 0 -8%; background: var(--m-ink); opacity: .9; }

/* diensten: the stack */
.stack { position: absolute; inset: 0; background: #e8f0ee; }
.stack .sheet {
  position: absolute;
  width: 56%; aspect-ratio: 3 / 4;
  left: 10%; top: 12%;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .45);
  padding: 5%;
  display: grid; align-content: start; gap: 6%;
  transform: translate(calc(var(--i) * 9%), calc(var(--i) * 6.5%)) rotate(calc(var(--i) * 2.2deg - 4deg));
}
.stack .sheet b { display: block; height: .5rem; border-radius: 99px; background: #1d1a17; opacity: .18; }
.stack .sheet b:first-child { height: 1.1rem; width: 70%; opacity: .75; background: var(--a, #0f9f98); }
.stack .sheet b:nth-child(3) { width: 80%; }
.stack .sheet b:nth-child(4) { width: 60%; }
.stack .sheet i { display: block; aspect-ratio: 16 / 9; border-radius: 3px; background: color-mix(in oklab, var(--a, #0f9f98) 30%, #fff); }
.stack .count {
  position: absolute; right: 6%; bottom: 6%;
  font-family: var(--display); font-size: clamp(1.4rem, 4.2vh, 2.4rem); line-height: 1;
  color: #1d1a17; text-align: right; z-index: 2;
}
.stack .count small { display: block; font-family: var(--text); font-size: .4em; font-weight: 600; letter-spacing: .02em; margin-bottom: .3em; }

/* cases: 404, opgelost */
.fix { position: absolute; inset: 0; background: #faf3ec; display: grid; grid-template-rows: auto 1fr; }
.fix .chrome { display: flex; gap: 6px; align-items: center; padding: 3.5% 4%; background: #eadfd4; }
.fix .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #c9b8a8; }
.fix .chrome span { margin-left: 3%; flex: 1; height: 14px; border-radius: 99px; background: #fff; }
.fix .stage { position: relative; display: grid; place-items: center; }
.fix .err {
  font-family: var(--display);
  font-size: clamp(5rem, 17vh, 10rem);
  line-height: 1; color: #1d1a17; position: relative;
}
.fix .err::after {
  content: ""; position: absolute; left: -6%; right: -6%; top: 52%;
  height: .09em; background: #d12a62; transform: rotate(-8deg); border-radius: 99px;
}
.fix .sticker {
  position: absolute; right: 5%; bottom: 5%;
  width: 36%; aspect-ratio: 1; border-radius: 50%;
  background: #d12a62; color: var(--paper);
  display: grid; place-content: center; text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 10px 22px -10px rgb(0 0 0 / .5);
}
.fix .sticker b { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 7vh, 4.2rem); line-height: .9; }
.fix .sticker small { font-weight: 700; font-size: clamp(.7rem, 1.6vh, .95rem); letter-spacing: .03em; }

/* werkwijze: de knop */
.knop-stage { position: absolute; inset: 0; background: var(--ink); display: grid; place-items: center; }
.knop-stage::before {
  content: ""; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: #3a332c; box-shadow: inset 0 6px 14px rgb(0 0 0 / .55);
}
.knop {
  position: relative; z-index: 1;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 0; cursor: pointer;
  background: radial-gradient(circle at 38% 32%, #e8402c, #c81d12 50%, #8f1209);
  box-shadow: 0 14px 0 -2px #7d0f08, 0 26px 40px -12px rgb(0 0 0 / .7);
  color: var(--paper);
  font-family: var(--display); font-size: clamp(2.2rem, 7.5vh, 4.4rem); line-height: 1;
  transform: translateY(-6px);
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
}
.knop:hover { filter: brightness(1.06); }
.knop:active, .knop.down { transform: translateY(6px); box-shadow: 0 2px 0 -2px #7d0f08, 0 10px 20px -10px rgb(0 0 0 / .7); }
.knop:focus-visible { outline: 4px solid var(--ground); outline-offset: 6px; border-radius: 50%; }

/* contact: postmark */
.stamp-stage { position: absolute; inset: 0; background: #f4ede2; display: grid; place-items: center; }
.stamp-stage svg { width: 84%; color: #2347d6; transform: rotate(-9deg); }

/* team: the lead portrait */
.face-stage { position: absolute; inset: 0; }
.face-stage svg { width: 100%; height: 100%; }

/* ---------- the back of the sleeve: liner notes ---------- */

.back {
  padding: clamp(64px, 12vh, 140px) var(--gutter) clamp(48px, 8vh, 96px);
  display: grid;
  gap: clamp(72px, 12vh, 128px);
}

.note {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: clamp(24px, 4vw, 72px);
  row-gap: 1.25rem;
  align-items: start;
}
.note > h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: .95;
  letter-spacing: -0.01em;
  color: var(--relief);
  text-wrap: balance;
  max-width: 11ch;
}
.note > .body { display: grid; gap: 1.1rem; max-width: 64ch; }
.note p { text-wrap: pretty; }
.note .big { font-size: var(--step-1); line-height: 1.45; font-weight: 500; }
.note strong { font-weight: 700; }

.list-dash li { padding: .7rem 0; border-top: 1px solid var(--rule); }
.list-dash li:last-child { border-bottom: 1px solid var(--rule); }

/* credits with dotted leaders */
.credits-dl { display: grid; gap: .1rem; font-variant-numeric: tabular-nums; }
.credits-dl div { display: flex; align-items: baseline; gap: .5em; padding: .3rem 0; }
.credits-dl dt { font-weight: 600; white-space: nowrap; }
.credits-dl div::after { content: none; }
.credits-dl .lead { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-.3em); min-width: 1.5em; }
.credits-dl dd { text-align: right; }

blockquote.quote {
  font-size: var(--step-2);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.quote-by { margin-top: .6rem; font-size: 1rem; font-weight: 600; color: var(--quiet); }
.quotes { display: grid; gap: 2.4rem; }

/* diensten: the price list as a tracklist */
.pricelist li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: .25rem 1.25rem;
  padding: 1.25rem 0;
  border-top: 2px solid var(--fg);
  align-items: baseline;
}
.pricelist li:last-child { border-bottom: 2px solid var(--fg); }
.pricelist .n { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--relief); }
.pricelist h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
.pricelist .p { font-weight: 700; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricelist .desc { grid-column: 2 / 4; max-width: 58ch; }
.pricelist .meta { grid-column: 2 / 4; font-size: .95rem; font-weight: 560; color: var(--quiet); font-variant-numeric: tabular-nums; }

/* cases: each case a single */
.case-list { display: grid; }
.case {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  column-gap: clamp(24px, 4vw, 72px);
  padding: clamp(28px, 5vh, 48px) 0;
  border-top: 2px solid var(--fg);
}
.case:last-child { border-bottom: 2px solid var(--fg); }
.case h3 {
  font-family: var(--display); font-weight: 400;
  font-size: var(--step-2); line-height: 1; color: var(--relief);
  text-wrap: balance;
}
.case .client-meta { margin-top: .6rem; font-size: .95rem; font-weight: 560; }
.case dl { display: grid; gap: 1rem; max-width: 60ch; }
.case dt { font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.case dd { margin-top: .15rem; }
.case .side-effect dd { font-weight: 600; }

/* cases: de projectmachine */
.slot { display: flex; align-items: center; margin-top: .6rem; max-width: 36rem; }
.slot-body {
  flex: 1; min-width: 0;
  background: var(--paper); color: var(--ink);
  border-radius: 28px 28px 10px 10px;
  padding: 1.1rem clamp(.8rem, 2.5vw, 1.3rem) 1.1rem;
  box-shadow: 0 22px 44px -24px rgb(0 0 0 / .55);
}
.slot-title { font-family: var(--display); font-size: 1.6rem; line-height: 1; text-align: center; color: #d12a62; }
.slot-window {
  --cell: 3.6rem;
  margin-top: .9rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  background: var(--ink); padding: 6px; border-radius: 10px;
}
.reel { position: relative; height: var(--cell); overflow: hidden; background: var(--paper); border-radius: 6px; }
.reel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgb(29 26 23 / .28), transparent 32%, transparent 68%, rgb(29 26 23 / .28));
}
.reel ul { transform: translateY(calc(var(--cell) * var(--pos, 0) * -1)); will-change: transform; }
.reel li {
  height: var(--cell); display: grid; place-items: center; padding: 0 .3em;
  font-family: var(--display); font-size: clamp(.9rem, 2.4vw, 1.25rem); line-height: 1;
  white-space: nowrap; overflow: hidden; color: var(--ink);
}
.slot.win .slot-window { animation: jackpot 900ms steps(2, jump-none) 2; }
@keyframes jackpot { 50% { background: #d12a62; } }
.slot-out { margin-top: .8rem; font-weight: 600; font-size: .98rem; line-height: 1.4; text-align: center; min-height: 2.8em; text-wrap: balance; }

.slot-lever {
  position: relative; flex: none;
  width: 4.4rem; height: 11rem; margin-left: -2px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--fg);
}
.slot-lever::before { /* the hub on the machine's flank */
  content: ""; position: absolute; left: 0; top: 6.6rem; width: 1.6rem; height: 2.2rem;
  background: var(--paper); border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 20px -12px rgb(0 0 0 / .5);
}
.slot-lever .stick {
  position: absolute; left: 1.2rem; top: 1.4rem; width: 10px; height: 6.4rem;
  background: var(--ink); border-radius: 99px; transform-origin: 50% 100%;
}
.slot-lever .knob {
  position: absolute; left: calc(1.2rem + 5px - 1.25rem); top: 0; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #f4c20d 55%, #c99a00);
  border: 3px solid var(--ink);
}
.slot-lever .trek { position: absolute; left: .2rem; bottom: 0; font-weight: 700; font-size: .95rem; }
.slot-lever:hover .knob { transform: translateY(3px); transition: transform 160ms var(--ease-out); }
.slot-lever:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; border-radius: 12px; }
.slot-lever[aria-disabled="true"] { cursor: progress; }
.slot-lever.pulled .knob { animation: knob-pull 640ms var(--ease-out); }
.slot-lever.pulled .stick { animation: stick-pull 640ms var(--ease-out); }
@keyframes knob-pull { 35% { transform: translateY(5.2rem); } 100% { transform: none; } }
@keyframes stick-pull { 35% { transform: scaleY(.2); } 100% { transform: none; } }

.case { scroll-margin-top: 24px; }
.case.hit { animation: hit 1800ms var(--ease-out); }
@keyframes hit { 0%, 35% { background: rgb(255 250 243 / .16); } 100% { background: transparent; } }

/* werkwijze: the lyric sheet */
.lyrics { display: grid; gap: 2.2rem; max-width: 46ch; }
.verse .label { display: block; font-weight: 700; font-size: .95rem; letter-spacing: .02em; margin-bottom: .4rem; }
.verse p { font-size: var(--step-1); line-height: 1.5; }
.verse.chorus p { font-weight: 700; font-size: var(--step-2); line-height: 1.3; }
.verse.chorus { padding-left: 1.4rem; border-left: 0; position: relative; }
.verse.chorus::before { content: ""; position: absolute; left: 0; top: .2rem; bottom: .2rem; width: 6px; border-radius: 99px; background: var(--fg); }
.verse.fade p span:nth-child(3) { font-size: .82em; }
.verse.fade p span:nth-child(5) { font-size: .66em; }

/* contact: the mail-order coupon */
.coupon {
  position: relative;
  border: 3px dashed var(--fg);
  border-radius: 6px;
  padding: clamp(20px, 4vw, 44px);
  background: color-mix(in oklab, var(--ground) 88%, var(--ink));
}
.coupon .scissors {
  position: absolute; top: -0.95rem; left: 1.5rem;
  width: 1.8rem; height: 1.8rem;
  padding: .2rem; background: var(--ground); color: var(--fg);
}
.coupon h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-2); line-height: 1; color: var(--relief); }
.coupon .hint { margin-top: .5rem; color: var(--quiet); }
.form-grid { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.field { display: grid; gap: .35rem; }
.field.wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 650; font-size: .98rem; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%;
  font: 500 1.05rem/1.4 var(--text);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: .65em .8em;
  caret-color: #d12a62;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field ::placeholder { color: #6e655c; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--paper); outline-offset: 2px; }
.field .err { font-weight: 600; font-size: .95rem; min-height: 0; }
.field.invalid input { border-color: #ffd24a; box-shadow: 0 0 0 3px #ffd24a; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: .5em 1em; border-radius: 999px;
  border: 2px dashed var(--fg); font-weight: 560; font-size: .98rem;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.choice input:checked + span { background: var(--paper); color: var(--ink); border-style: solid; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 2px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--paper); }
.form-actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-actions .pill { margin-top: 0; cursor: pointer; }
.form-actions .pill[aria-busy="true"] { opacity: .75; cursor: progress; }
.fine { font-size: .92rem; color: var(--quiet); }

.reply {
  margin-top: 1.6rem;
  padding: clamp(20px, 3vw, 32px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  display: grid; gap: .9rem;
}
.reply[hidden] { display: none; }
.reply h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-2); color: var(--ink); line-height: 1; }
.reply .slogan { font-weight: 700; font-size: var(--step-1); }
.reply .fine { color: #5a4f45; }
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.reply .pill { margin-top: 0; }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: #d12a62; color: var(--paper); border-color: #d12a62; }
.status-live { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem; }
.status-live i { width: .6em; height: .6em; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 0 rgb(31 157 85 / .5); animation: live 1.6s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 .5em rgb(31 157 85 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 157 85 / 0); } }

.addr { display: grid; gap: 1rem; }

/* team: the contact sheet */
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px) clamp(12px, 2vw, 28px);
}
.member .face { aspect-ratio: 1; overflow: hidden; position: relative; box-shadow: 0 14px 30px -18px rgb(0 0 0 / .5); }
.member .face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgb(70 30 0 / .14) .7px, transparent 1.1px) 0 0 / 4px 4px;
  mix-blend-mode: multiply;
}
.member .face svg { width: 100%; height: 100%; }
.member h3 { margin-top: .7rem; font-size: var(--step-1); font-weight: 700; line-height: 1.2; }
.member .role { font-weight: 600; font-size: .95rem; color: var(--relief); }
body[data-page="team"] .member .role { color: var(--ink); opacity: .85; }
.member p { margin-top: .35rem; font-size: 1rem; line-height: 1.45; }

/* ---------- footer: the label credits ---------- */

.label {
  padding: clamp(40px, 7vh, 72px) var(--gutter) calc(var(--gutter) + 8px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 2.5rem;
  align-items: end;
  border-top: 2px solid var(--fg);
  margin: 0 var(--gutter);
  padding-left: 0; padding-right: 0;
}
.label .mark {
  font-family: var(--display); font-size: 2.6rem; line-height: .9; color: var(--relief);
  text-decoration: none;
}
.label p { font-size: .95rem; max-width: 62ch; }
.label .small { font-size: .92rem; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
  .cover {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "logo"
      "cat"
      "single"
      "photo"
      "tracks";
    min-height: auto;
  }
  .single { padding-top: 1.6rem; }
  .tracks { justify-self: stretch; width: 100%; margin-top: 2.4rem; }
  .photo { width: min(100%, 460px); margin-top: 2rem; }
  .note { grid-template-columns: minmax(0, 1fr); }
  .case { grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; }
  .sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .label { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .label .small { text-align: left; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .pricelist li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .pricelist .p { grid-column: 2; text-align: left; }
  .pricelist .desc, .pricelist .meta { grid-column: 2; }
  .cat { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .flood { display: none; }
  .status-live i { animation: none; }
  .mini.pressing { animation: none; }
  .slot-lever.pulled .knob, .slot-lever.pulled .stick, .slot.win .slot-window, .case.hit { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
