/* Pop17: the app's colours (ios/Pop17/UI/Theme.swift, web/app/globals.css).
   Ink on paper; the board's paper is a warm off-white; colour comes only from
   the clothes, and once a day from the day's colours.
   Type: Bodoni Moda with its optical sizes (hairline contrast at display sizes;
   the logotype's POP in its heaviest weight) and Instrument Sans for text.
   Both SIL Open Font License, self-hosted (Latin). */
@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --board: #f3f2ee;
  --mist: #f6f6f4;
  --line: #e6e6e6;
  --stone: #767676;
  --display: "Bodoni Moda", Didot, "Bodoni 72", serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --margin: clamp(20px, 4vw, 56px);
  --day: #c0392b; /* the day's colour, set by main.js */
  --day-ink: #ffffff;
}

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

html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--text);
  letter-spacing: 0.003em;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
p,
figure,
ol,
ul,
dl,
dd {
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--margin);
  top: -60px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.mark {
  width: 1em;
  height: 1em;
  display: block;
  color: currentColor;
}

/* ───────── Nav: quiet, over everything, legible on any ground ───────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--margin);
  color: var(--ink);
  pointer-events: none;
  transition: color 0.4s;
}
.nav.on-day {
  color: var(--day-ink);
}
.nav a {
  pointer-events: auto;
  text-decoration: none;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 22px/1 var(--display);
}
.nav-brand .mark {
  font-size: 20px;
}
.nav-get {
  font: 500 11.5px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  line-height: 1;
}

/* ───────── Buttons: the app's ink button, in sentence case ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  background: var(--ink);
  color: var(--paper);
  font: 500 12px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.btn svg {
  width: 14px;
  height: 17px;
  margin-top: -3px;
}
.btn:hover {
  background: #2a2a2a;
}

/* ───────── 1 · Hero ───────── */
.hero {
  position: relative;
  height: 290vh;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}

/* The board's paper behind today's look (placed by main.js). */
.hero-board {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--board);
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: opacity, transform;
}

/* The wardrobe: the logo at size, on its 100-unit grid. */
.wardrobe {
  --s: 240px;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s);
  height: var(--s);
  perspective: calc(var(--s) * 2.6);
  will-change: transform, opacity;
  z-index: 3;
}
.hero-board {
  z-index: 4;
}
.wardrobe > * {
  position: absolute;
}
.wd-shadow {
  left: 9%;
  top: 101%;
  width: 82%;
  height: 6%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  filter: blur(calc(var(--s) * 0.03));
}
.wd-inside {
  left: 4%;
  top: 2%;
  width: 92%;
  height: 56%;
  background: linear-gradient(#fff, #ecebe6);
  box-shadow: inset 0 calc(var(--s) * 0.02) calc(var(--s) * 0.05)
    rgba(0, 0, 0, 0.12);
  opacity: 0;
}
.wd-door {
  top: 0;
  width: 47.4%;
  height: 59.4%;
  background: var(--ink);
  backface-visibility: visible;
  transform-style: preserve-3d;
}
.wd-door::after {
  /* the lacquer's sheen as the door turns */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: var(--sheen, 0);
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.28) 45%,
    transparent 70%
  );
}
.wd-door.l {
  left: 0;
  border-top-left-radius: 31.6% 25.25%;
  transform-origin: 0 50%;
}
.wd-door.r {
  left: 52.6%;
  border-top-right-radius: 31.6% 25.25%;
  transform-origin: 100% 50%;
}
.wd-handle {
  position: absolute;
  left: 13.5%;
  top: 69%;
  width: 11%;
  height: 20.2%;
  background: var(--paper);
}
.wd-drawer {
  left: 0;
  top: 65%;
  width: 100%;
  height: 35%;
  background: var(--ink);
  border-bottom-left-radius: 15% 42.9%;
  border-bottom-right-radius: 15% 42.9%;
  transform-origin: 50% 100%;
}

.pieces {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pieces img {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.06));
  user-select: none;
  z-index: 5;
}
.pieces img.behind {
  z-index: 1;
}

.hero-copy {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wordmark {
  position: absolute;
  left: 50%;
  bottom: -0.11em;
  z-index: 2;
  transform: translateX(-50%);
  font: 400 min(25vw, 36vh)/1 var(--display);
  letter-spacing: 0;
  white-space: nowrap;
  will-change: transform, opacity;
}
.wordmark .ch {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-foot {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  top: calc(68px + 2vh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: auto;
  z-index: 30;
}
.hero-line {
  font: italic 400 clamp(19px, 1.7vw, 24px)/1.3 var(--display);
  max-width: 22ch;
}
.hero-foot .btn {
  flex: none;
}

.today {
  position: absolute;
  z-index: 20;
  left: var(--margin);
  top: 50%;
  width: min(30vw, 430px);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
}
.today-day {
  font: 400 15px/1.4 var(--text);
}
.today-weather {
  font: 400 15px/1.4 var(--text);
  color: var(--stone);
  margin-bottom: 28px;
}
.today-title {
  font: 400 clamp(40px, 4.6vw, 72px)/1 var(--display);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.today-note {
  color: var(--stone);
  max-width: 34ch;
}

.scroll-hint {
  position: absolute;
  z-index: 4;
  right: var(--margin);
  bottom: 22px;
  font-size: 13px;
  color: var(--stone);
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  margin: 10px auto 0;
  background: linear-gradient(var(--stone), transparent);
  animation: hint 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes hint {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

/* ───────── Chapters ───────── */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  padding: clamp(96px, 16vh, 180px) var(--margin);
  max-width: 1440px;
  margin: 0 auto;
}
.chapter h2 {
  font: 400 clamp(46px, 6vw, 100px)/0.96 var(--display);
  letter-spacing: -0.025em;
  margin-bottom: 30px;
  max-width: 9ch;
}
.chapter-copy p {
  max-width: 40ch;
}
.chapter-copy p + p {
  margin-top: 14px;
}
.quiet {
  color: var(--stone);
}

/* 2 · Photo → piece */
.photos {
  border-top: 1px solid var(--line);
}
.lifts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  align-items: end;
}
.lift:nth-child(2) {
  transform: translateY(-14%);
}
.lift-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--board);
}
.lift-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 1s ease 0.9s,
    filter 1s ease 0.9s,
    transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s;
}
.lift-box {
  position: absolute;
  inset: var(--box, 9% 12%);
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  clip-path: inset(0 100% 100% 0);
  transition:
    clip-path 0.8s cubic-bezier(0.6, 0, 0.2, 1) 0.15s,
    opacity 0.5s ease 1.4s;
}
.lift-piece {
  position: absolute;
  left: 12%;
  top: 9%;
  width: 76%;
  height: 82%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(6%) scale(0.94);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.08));
  transition:
    opacity 0.9s ease 1.25s,
    transform 1.2s cubic-bezier(0.3, 1.4, 0.5, 1) 1.25s;
}
.lift.on .lift-box {
  clip-path: inset(0 0 0 0);
  opacity: 0;
}
.lift.on .lift-photo {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(6px);
}
.lift.on .lift-piece {
  opacity: 1;
  transform: none;
}
.lift figcaption {
  font-size: 14px;
  color: var(--stone);
  margin-top: 12px;
}

/* Boards: the outfit on its paper, two columns, pieces placed by main.js. */
.board {
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--board);
  overflow: hidden;
}
.board img {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.06));
}

/* 3 · Stylist, in a phone */
.stylist {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}
.phone {
  justify-self: center;
  width: min(380px, 82vw, calc(88vh * 9 / 19.5));
  aspect-ratio: 9 / 19.5;
  border-radius: 58px;
  padding: 12px;
  background: var(--ink);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.35);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 47px;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: 58px 18px 0;
}
.app-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.app-day {
  font: 400 26px/1 var(--display);
}
.app-meta {
  font-size: 12px;
  color: var(--stone);
}
.app-board {
  width: 100%;
  flex: none;
  aspect-ratio: 2 / 2.55;
}
.chat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 66px;
  padding: 18px 16px 12px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(105%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stylist.open .chat {
  transform: none;
}
.msg {
  font-size: 13px;
  line-height: 1.45;
  max-width: 86%;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.msg.me {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 13px;
}
.msg.them {
  align-self: flex-start;
}
.msg.typing {
  display: flex;
  gap: 4px;
  padding: 6px 0;
}
.msg.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--stone);
  animation: dot 1s infinite;
}
.msg.typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.msg.typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
.msg.show {
  opacity: 1;
  transform: none;
}
.msg.gone {
  display: none;
}
.app-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  padding: 0 26px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.app-bar .mark {
  font-size: 22px;
}
.bar-menu,
.bar-add {
  position: relative;
  width: 18px;
  height: 18px;
}
.bar-menu {
  background:
    linear-gradient(var(--ink) 0 0) 0 3px / 100% 1.5px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 8.5px / 100% 1.5px no-repeat,
    linear-gradient(var(--ink) 0 0) 0 14px / 100% 1.5px no-repeat;
}
.bar-add {
  background:
    linear-gradient(var(--ink) 0 0) 50% 50% / 1.5px 100% no-repeat,
    linear-gradient(var(--ink) 0 0) 50% 50% / 100% 1.5px no-repeat;
}
.replay {
  margin-top: 30px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font: 400 14px/1 var(--text);
  color: var(--ink);
  padding: 12px 0;
  cursor: pointer;
}

/* 4 · The week */
.week {
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: none;
}
.week .chapter-copy.wide {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  flex-wrap: wrap;
}
.week .chapter-copy h2 {
  margin-bottom: 0;
  max-width: none;
}
.days {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  padding-bottom: 8px;
  scrollbar-width: none;
}
.days::-webkit-scrollbar {
  display: none;
}
.day {
  scroll-snap-align: start;
}
.day-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.day-name {
  font: 400 22px/1 var(--display);
}
.day-temp {
  font-size: 13px;
  color: var(--stone);
}
.day .board {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.day:hover .board {
  transform: translateY(-6px);
}
.day.is-today .day-name::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  margin: 0 0 4px 7px;
  vertical-align: middle;
}

/* 5 · The day's colours */
.colours {
  background: var(--day);
  color: var(--day-ink);
  transition: background 1s;
}
.colours-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) var(--margin);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.colours-date {
  grid-column: 1 / -1;
  font-size: 15px;
  margin-bottom: 18px;
  opacity: 0.85;
}
.colours-title {
  grid-column: 1 / -1;
  font: 400 clamp(64px, 13vw, 220px)/0.88 var(--display);
  letter-spacing: -0.035em;
}
.colours-names {
  grid-column: 1 / 7;
  font: italic 400 clamp(22px, 2.2vw, 32px)/1.3 var(--display);
  margin-top: 24px;
}
.swatches {
  grid-column: 7 / -1;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
}
.swatches li {
  width: clamp(72px, 9vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  margin-left: -18px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--day-ink) 35%, transparent);
}
.colours-more {
  grid-column: 1 / 7;
  display: flex;
  gap: 48px;
  margin-top: 64px;
}
.colours-more dt {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 4px;
}
.colours-more dd {
  font-size: 16px;
}
.colours-note {
  grid-column: 8 / -1;
  margin-top: 64px;
  font-size: 15px;
  opacity: 0.85;
  max-width: 44ch;
}

/* 6 · Get it */
.get {
  text-align: center;
  padding: clamp(110px, 20vh, 220px) var(--margin) clamp(90px, 14vh, 160px);
}
.get-mark {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 64px;
}
.get-mark .wardrobe {
  --s: 120px;
  position: absolute;
  left: 0;
  top: 0;
}
/* The piece starts in the middle of the inside (its centre on the inside's
   centre) in front of the doors, and comes out towards you (mark.js). */
.get-pop {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 62px;
  z-index: 5;
  transform: translate(-50%, -50%) scale(0.12);
  transform-origin: 50% 50%;
  opacity: 0;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12));
}
.get h1,
.get h2 {
  font: 400 clamp(46px, 6.4vw, 104px)/0.98 var(--display);
  letter-spacing: -0.03em;
  margin: 0 auto 24px;
  max-width: 14ch;
}
.get-line {
  color: var(--stone);
  margin: 0 auto 44px;
  max-width: 44ch;
}

/* The waiting list: one underlined field and the ink button. */
.join {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.join-label {
  display: block;
  font: 500 11.5px/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.join-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.join-row[hidden] {
  display: none;
}
.join input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font: 400 18px/1 var(--text);
  color: var(--ink);
  padding: 0;
}
.join input[type="email"]::placeholder {
  color: var(--ash, #b5b5b5);
}
.join input[type="email"]:focus {
  outline: none;
  border-bottom-width: 2px;
}
.join input[type="email"]:focus-visible {
  outline: none;
}
.join .btn {
  border: 0;
  cursor: pointer;
  min-width: 120px;
}
.join .btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.join-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--stone);
  min-height: 1.6em;
}
.join[data-state="error"] .join-note {
  color: #9e1b1b;
}
.join[data-state="error"] input[type="email"] {
  border-bottom-color: #9e1b1b;
}
.join[data-state="done"] .join-note {
  font: italic 400 clamp(19px, 1.6vw, 22px)/1.45 var(--display);
  color: var(--ink);
  text-align: center;
  overflow-wrap: anywhere;
}
.join[data-state="done"] .join-label {
  display: none;
}
.join-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* The logotype: POP in Bodoni's heaviest capitals, 17 small beside it on the baseline. */
.logo {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.logo-pop {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.logo-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: 0.04em;
  margin-left: 0.12em;
}
.wordmark .w-pop {
  font-weight: 900;
  letter-spacing: -0.005em;
}
.wordmark .w-num {
  font-weight: 400;
  font-size: 0.28em;
  letter-spacing: 0.02em;
  margin-left: 0.1em;
}

/* The standalone waiting-list page. */
.page-waitlist .solo {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.page-waitlist .get {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}
.solo-pieces img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  transform: translate(-50%, -50%) rotate(var(--r));
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.06));
  opacity: 0.92;
}
@media (max-width: 860px) {
  .solo-pieces img {
    opacity: 0.35;
  }
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px var(--margin) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--stone);
}
.foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding: 10px 0 2px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 18px/1 var(--display);
  color: var(--ink);
}
.foot-brand .mark {
  font-size: 16px;
}

/* ───────── Smaller screens ───────── */
@media (max-width: 860px) {
  body {
    font-size: 16px;
  }
  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    top: 70px;
  }
  .hero-line {
    max-width: 18ch;
  }
  .today {
    left: var(--margin);
    right: var(--margin);
    width: auto;
    top: 76px;
    transform: none;
  }
  .today-weather {
    margin-bottom: 10px;
  }
  .today-title {
    font-size: 30px;
    margin-bottom: 8px;
  }
  .today-note {
    display: none;
  }
  .scroll-hint {
    display: none;
  }
  .chapter,
  .stylist {
    grid-template-columns: 1fr;
  }
  .stylist .phone {
    order: 2;
  }
  .lift:nth-child(2) {
    transform: none;
  }
  .days {
    grid-template-columns: repeat(7, 62vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--margin) * -1);
    padding: 0 var(--margin) 8px;
    scroll-padding: 0 var(--margin);
  }
  .colours-names,
  .swatches,
  .colours-more,
  .colours-note {
    grid-column: 1 / -1;
  }
  .swatches {
    justify-content: flex-start;
    margin-top: 36px;
    padding-left: 18px;
  }
  .colours-more {
    margin-top: 40px;
  }
  .colours-note {
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    height: auto;
  }
  .hero-stage {
    position: relative;
  }
  .scroll-hint::after,
  .msg.typing span {
    animation: none;
  }
  .lift-photo,
  .lift-box,
  .lift-piece,
  .chat,
  .msg,
  .day .board {
    transition: none;
  }
}

/* The phone's island. */
.phone-screen::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 31%;
  height: 30px;
  border-radius: 20px;
  background: var(--ink);
  transform: translateX(-50%);
  z-index: 2;
}
