/* Klankbeeld's page: night blue with Joshmar's Aurora colours, mobile first (one column), the make screen in two from
   900 px. Space comes from the shop's spacing scale (/theme/web/spacing.css). */
:root {
  --night: #0d1a36;
  --night-2: #16264a;
  --ink: #eef2f8;
  --soft: #aab6cc;
  --line: rgba(238, 242, 248, 0.16);
  --aurora: linear-gradient(90deg, #4fd8ec, #49a6f2, #6d7cf3, #a071f0, #e488e6, #ff9fca);
  --rec: #ff5e7a;
  --error: #ffb4a8;
  --radius: 18px;
  --f: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--night);
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font: 400 17px/1.5 var(--f);
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(109, 124, 243, 0.28), transparent 70%),
    radial-gradient(80% 40% at 100% 100%, rgba(228, 136, 230, 0.12), transparent 70%), var(--night);
  -webkit-font-smoothing: antialiased;
}
h1,
h2 {
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3, 12px);
}
h1 {
  font-size: clamp(44px, 13vw, 84px);
}
h1 em {
  font-style: normal;
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(26px, 7vw, 36px);
}
.lede {
  color: var(--soft);
  margin: 0 0 var(--space-5, 24px);
  max-width: 34em;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.error {
  color: var(--error);
  min-height: 0;
  margin: var(--space-3, 12px) 0 0;
}
.error:empty {
  display: none;
}

/* ---- header */
.stallbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3, 12px) var(--space-4, 16px);
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 21px;
  letter-spacing: -0.01em;
  min-height: 44px;
}
.logo__bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.logo__bars i {
  width: 4px;
  border-radius: 2px;
  background: var(--aurora);
  background-size: 40px 100%;
}
.logo__bars i:nth-child(1) {
  height: 40%;
  background-position: 0 0;
}
.logo__bars i:nth-child(2) {
  height: 90%;
  background-position: -8px 0;
}
.logo__bars i:nth-child(3) {
  height: 60%;
  background-position: -16px 0;
}
.logo__bars i:nth-child(4) {
  height: 100%;
  background-position: -24px 0;
}
.logo__bars i:nth-child(5) {
  height: 45%;
  background-position: -32px 0;
}
.lang {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 3px;
}
.lang__btn {
  min-width: 44px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font: 600 14px var(--f);
  cursor: pointer;
}
.lang__btn[aria-pressed='true'] {
  background: var(--ink);
  color: var(--night);
}

/* ---- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: 650 18px var(--f);
  cursor: pointer;
  transition:
    transform 0.15s cubic-bezier(0.3, 1.6, 0.5, 1),
    translate 0.2s cubic-bezier(0.3, 1.6, 0.5, 1),
    box-shadow 0.2s,
    background-color 0.2s,
    filter 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.96);
}
.btn--main {
  color: #0b0b13;
  background: var(--aurora);
  box-shadow: 0 10px 30px -10px rgba(160, 113, 240, 0.7);
}
.btn--second {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--wide {
  width: 100%;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
/* a pointer over anything you can press: it lifts or lights a little, as a press shrinks it (only where there's a
   pointer to hover with, so a phone's tap leaves nothing lit) */
@media (hover: hover) {
  .btn:hover:not(:disabled) {
    translate: 0 -2px;
  }
  .btn--main:hover:not(:disabled) {
    filter: brightness(1.07) saturate(1.1);
    box-shadow: 0 16px 36px -10px rgba(160, 113, 240, 0.95);
  }
  .btn--second:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 0 1.5px rgba(238, 242, 248, 0.45);
  }
  .link-btn:hover {
    text-decoration-color: #ff9fca;
  }
  .lang__btn:not([aria-pressed='true']):hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ink);
  }
  .thing:not([aria-pressed='true']):hover,
  .style:not([aria-pressed='true']):hover {
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 0 0 1.5px rgba(238, 242, 248, 0.4);
  }
  .swatch:not([aria-pressed='true']):hover {
    box-shadow: inset 0 0 0 1.5px rgba(238, 242, 248, 0.6);
    scale: 1.06;
  }
  .stepper button:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.18);
  }
  .rec-btn:hover,
  .play-btn:hover {
    scale: 1.05;
  }
}
.swatch,
.rec-btn,
.play-btn,
.thing,
.style,
.stepper button,
.lang__btn {
  transition-property: transform, scale, background-color, box-shadow, color;
  transition-duration: 0.15s, 0.2s, 0.2s, 0.2s, 0.2s;
  transition-timing-function: cubic-bezier(0.3, 1.6, 0.5, 1), cubic-bezier(0.3, 1.6, 0.5, 1), ease, ease, ease;
}
.link-btn {
  transition: text-decoration-color 0.2s;
}
.btn:focus-visible,
.link-btn:focus-visible,
.swatch:focus-visible,
.thing:focus-visible,
.rec-btn:focus-visible,
.song__window:focus-visible {
  outline: 3px solid #ff9fca;
  outline-offset: 3px;
}
.btn__icon {
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.btn__icon--mic {
  --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="8" y="2" width="8" height="13" rx="4"/><path d="M5 11a7 7 0 0 0 14 0" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"/><path d="M12 18v4" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>');
}
/* a sound file: a page with its corner folded and a note on it, for "Kies een bestand" (it opens the file picker) */
.btn__icon--file {
  --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2.5H7A2 2 0 0 0 5 4.5v15a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7.5z" fill="none" stroke="black" stroke-width="2" stroke-linejoin="round"/><path d="M14 2.5v5h5" fill="none" stroke="black" stroke-width="2" stroke-linejoin="round"/><path d="M12.6 17.2V11l2.9 1.2" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><circle cx="10.9" cy="17.2" r="2.1"/></svg>');
}
.btn__icon--play {
  --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4l13 8-13 8z"/></svg>');
}
[aria-pressed='true'] > .btn__icon--play {
  --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="5" y="4" width="5" height="16" rx="1"/><rect x="14" y="4" width="5" height="16" rx="1"/></svg>');
}
.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 16px var(--f);
  text-decoration: underline;
  text-decoration-color: rgba(238, 242, 248, 0.4);
  text-underline-offset: 4px;
  cursor: pointer;
}
.back::before {
  content: '←';
  margin-right: 8px;
  text-decoration: none;
}

/* ---- screens */
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-4, 16px) var(--space-7, 48px);
}
.screen {
  display: none;
  animation: rise 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.screen.is-on {
  display: block;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .screen {
    animation: none;
  }
}

/* start */
.start__stage {
  position: relative;
  height: 300px;
  margin: 0 calc(-1 * var(--space-4, 16px)) var(--space-4, 16px);
}
.start__bars {
  position: absolute;
  inset: 22% 0 32%;
  width: 100%;
  height: 46%;
  opacity: 0.5;
}
.start__mug {
  position: absolute;
  left: 50%;
  top: 0;
  width: 340px;
  height: 300px;
  transform: translateX(-50%);
}
.start__ways {
  display: flex;
  flex-direction: column;
  gap: var(--space-3, 12px);
  margin-bottom: var(--space-3, 12px);
}
.start__ways .btn {
  width: 100%;
}
.start__nomic {
  display: none;
  color: var(--soft);
}
body:has([data-no-mic]) .start__nomic {
  display: block;
}
#recordStart[data-no-mic] {
  display: none;
}
.start__private,
.record__private,
.song__rights {
  color: var(--soft);
  font-size: 15px;
  margin: var(--space-3, 12px) 0 0;
  padding-left: 26px;
  background: no-repeat 0 3px / 16px
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23aab6cc" stroke-width="2"><rect x="4" y="10" width="16" height="11" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/></svg>');
}
.start__prices {
  color: var(--soft);
  font-size: 15px;
  margin-top: var(--space-2, 8px);
}

/* record */
.record,
.song {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.record .back,
.song .back {
  float: left;
}
.record h2,
.song h2 {
  clear: both;
  padding-top: var(--space-3, 12px);
}
.record .lede {
  margin-inline: auto;
}
/* the lock beside its words, not at the column's edge: the line as wide as its words, centred */
.record__private,
.song__rights {
  width: fit-content;
  margin-inline: auto;
  text-align: left;
}
.record__live {
  display: block;
  width: 100%;
  height: 180px;
  margin: var(--space-4, 16px) 0;
}
.record__time {
  font: 600 18px var(--f);
  font-variant-numeric: tabular-nums;
  color: var(--soft);
  margin: 0 0 var(--space-4, 16px);
}
.rec-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.rec-btn:active {
  transform: scale(0.93);
}
.rec-btn__dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rec);
  transition:
    width 0.25s cubic-bezier(0.3, 1.5, 0.5, 1),
    height 0.25s cubic-bezier(0.3, 1.5, 0.5, 1),
    border-radius 0.25s;
}
.rec-btn[aria-pressed='true'] .rec-btn__dot {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.is-recording .rec-btn {
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 14px rgba(255, 94, 122, 0.16);
  }
}
.record__hint {
  color: var(--soft);
}

/* song */
.song h2 {
  overflow-wrap: anywhere;
}
.song__bars {
  display: block;
  width: 100%;
  height: 170px;
  margin: var(--space-4, 16px) 0;
}
.song__strip {
  position: relative;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  touch-action: none;
  cursor: grab;
}
/* song.ts sets data-grip to what a press takes there, and data-held while a drag holds it */
.song__strip[data-grip='start'],
.song__strip[data-grip='end'] {
  cursor: ew-resize;
}
.song__strip[data-held][data-grip='move'] {
  cursor: grabbing;
}
.song__strip canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.song__window {
  position: absolute;
  top: -4px;
  bottom: -4px;
  border-radius: 12px;
  box-shadow:
    inset 0 0 0 3px #ff9fca,
    0 0 0 9999px rgba(13, 26, 54, 0.55);
  clip-path: inset(-8px -9999px -8px -9999px);
}
/* the pink handles, centred on the window's edges, or as far outside them as song.ts sets (--start-out, --end-out)
   when the window is too narrow for a finger to take its edges there */
.song__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
}
.song__edge::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: #ff9fca;
  transform: translate(-50%, -50%);
}
.song__edge[data-edge='start'] {
  left: calc(-14px - var(--start-out, 0px));
}
.song__edge[data-edge='end'] {
  right: calc(-14px - var(--end-out, 0px));
}
.song__at {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  margin: var(--space-3, 12px) 0 0;
}
.song__hint {
  color: var(--soft);
  margin: 0 0 var(--space-4, 16px);
}
.song__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3, 12px);
  justify-content: center;
  margin-bottom: var(--space-3, 12px);
}

/* make */
.make__stage {
  position: relative;
}
.make__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.stage {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.86;
  touch-action: pan-y;
  border-radius: var(--radius);
  background: radial-gradient(70% 60% at 50% 45%, #f3efe8, #ddd6cb);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
body[data-screen='make'] .stage {
  cursor: grab;
}
.play-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--night);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}
.stage-wrap {
  position: relative;
}
.play-btn::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  margin: auto;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4l13 8-13 8z"/></svg>')
    center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 4l13 8-13 8z"/></svg>')
    center / contain no-repeat;
}
.play-btn[aria-pressed='true']::before {
  -webkit-mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="5" y="4" width="5" height="16" rx="1"/><rect x="14" y="4" width="5" height="16" rx="1"/></svg>');
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="5" y="4" width="5" height="16" rx="1"/><rect x="14" y="4" width="5" height="16" rx="1"/></svg>');
}
.make__legend,
.make__example {
  color: var(--soft);
  font-size: 15px;
  margin: var(--space-3, 12px) 0 0;
}
.make__example {
  color: #ffd27a;
}
.make__panel {
  margin-top: var(--space-5, 24px);
}
.things {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.thing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 600 15px var(--f);
  text-align: left;
  cursor: pointer;
}
.thing[aria-pressed='true'] {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 2px #ff9fca;
}
.thing__price {
  color: var(--soft);
  font-weight: 500;
  font-size: 14px;
}
.make__about {
  color: var(--soft);
  font-size: 15px;
  margin: var(--space-2, 8px) 0 var(--space-4, 16px);
}
.field {
  display: block;
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-4, 16px);
}
.field legend,
.field > span {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 500 18px var(--f);
}
.field input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #ff9fca;
}
.field input::placeholder {
  color: rgba(170, 182, 204, 0.7);
}
.styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.style {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 5px 5px 8px;
  border-radius: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink);
  font: 600 14px var(--f);
  cursor: pointer;
}
.style:active {
  transform: scale(0.96);
}
.style[aria-pressed='true'] {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 2px #ff9fca;
}
.style__art {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
}
/* the looks in one row across the column's whole width, however many there are; on a phone in two rows of four */
.swatches {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}
.swatch {
  width: 100%;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
}
.swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.swatch[aria-pressed='true'] {
  box-shadow: inset 0 0 0 2.5px var(--ink);
  transform: scale(1.06);
}
.order {
  margin-top: var(--space-5, 24px);
  padding: var(--space-4, 16px);
  border-radius: var(--radius);
  background: var(--night-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.order h2 {
  font-size: 22px;
}
.order__rows {
  list-style: none;
  padding: 0;
  margin: 0;
}
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.order-row small {
  color: var(--soft);
  margin-left: 6px;
}
.order-row {
  flex-wrap: wrap;
}
.order-row .order-row__warn {
  flex-basis: 100%;
  margin: -2px 0 4px;
  font-size: 13px;
  line-height: 1.35;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stepper button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: 600 20px var(--f);
  cursor: pointer;
}
.stepper button:disabled {
  opacity: 0.3;
  cursor: default;
}
.stepper output {
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.order__rule {
  display: inline-block;
  margin: 0 0 var(--space-2, 8px);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--aurora);
  color: var(--night);
  font-size: 14px;
  font-weight: 650;
}
.order-row .order-row__off {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(160, 113, 240, 0.28);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.order__total s {
  color: var(--soft);
  font-size: 18px;
}
.order__total s:empty {
  display: none;
}
.order__total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 18px;
}
.order__total strong {
  font-size: 28px;
}
.order__total small {
  flex-basis: 100%;
  color: var(--soft);
  font-size: 14px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: var(--space-3, 12px) 0 var(--space-4, 16px);
  cursor: pointer;
}
.check input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  flex: none;
  accent-color: #a071f0;
}

/* an order's own page */
.order-page {
  display: none;
  max-width: 560px;
  margin: var(--space-6, 32px) auto;
  padding: 0 var(--space-4, 16px);
}
body.on-order .order-page {
  display: block;
}
body.on-order main {
  display: none;
}
.order-card {
  padding: var(--space-5, 24px);
  border-radius: var(--radius);
  background: var(--night-2);
}
.order-card__kicker {
  font-weight: 700;
  color: var(--soft);
}
.order-card a {
  color: var(--ink);
}

/* footer */
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-5, 24px) var(--space-4, 16px) var(--space-7, 48px);
  color: var(--soft);
  font-size: 14px;
  border-top: 1px solid var(--line);
}
.footer a {
  color: var(--soft);
  display: inline-block;
  padding: 6px 0;
}

/* ---- one column (a phone, a tablet upright): the stage stays at the top of the window while the choices and words
   scroll under it, so every change shows as it's made. It's held to under two fifths of the window's height, on a band
   of the page's night as wide as the window (behind its rounded corners too), and whatever is focused below it, a
   field the keyboard brings into view or a button tabbed to, stops below it. */
@media (max-width: 899.98px) {
  /* the theme's section spacing would put a band of empty night above Back and the preview */
  .make {
    padding-top: var(--space-2, 8px);
  }
  .make__stage {
    display: contents;
  }
  /* the looks in one row, with room between them to tap */
  .swatches {
    gap: 12px;
  }
  .stage-wrap {
    --held: calc(var(--shop-screen, 100svh) * 0.38);
    position: sticky;
    top: var(--space-2, 8px);
    z-index: 2;
    width: min(100%, var(--held) / 0.86);
    margin: var(--space-2, 8px) auto 0;
    background: var(--night);
    box-shadow: 0 0 0 100vmax var(--night);
    clip-path: inset(calc(-1 * var(--space-2, 8px)) -100vmax);
  }
  .make__panel * {
    scroll-margin-top: calc(var(--shop-screen, 100svh) * 0.38 + var(--space-6, 32px));
  }
}

/* a phone's column is too narrow for eight in a row to tap: two rows of four */
@media (max-width: 599.98px) {
  .swatches {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 16px;
  }
}

/* ---- wider screens: the start side by side, the make screen in two columns */

@media (min-width: 900px) {
  .start {
    display: none;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-6, 32px);
    align-items: center;
    min-height: 70vh;
  }
  .start.is-on {
    display: grid;
  }
  .start__stage {
    order: 2;
    height: 460px;
    margin: 0;
  }
  .start__mug {
    width: 480px;
    height: 440px;
  }
  .start__ways {
    flex-direction: row;
  }
  .start__ways .btn {
    width: auto;
  }
  .make.is-on {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: var(--space-6, 32px);
    align-items: start;
  }
  .make__stage {
    position: sticky;
    top: var(--space-4, 16px);
  }
  .make__panel {
    margin-top: 44px;
  }
}
