/* Onla Studio. Onla's own brand: off-white ground, ink type, indigo only as a
   mark and one stage, Onest set large and semibold. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/onest-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;
}

:root {
  --bg: #fdfdfc;
  --surface: #f2f2ef;
  --sand: #f1ede5;
  --sage: #e8ede6;
  --lavender: #ecebfb;
  --ink: #0b0b0a;
  --muted: #62615c;
  --accent: #221fc3;
  --accent-ink: #ffffff;

  --margin: clamp(20px, 2.2vw, 32px);
  --gap: clamp(112px, 13vw, 208px);

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1rem + 3.6vw, 4.5rem);
  --step-giant: 24.8vw;

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

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ol,
ul,
figure,
fieldset {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px; /* taste-skill-ignore: visually hidden helper */
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}

.btn__disc {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 220ms var(--ease-out);
}

.btn__disc {
  position: relative;
  overflow: clip;
}

.btn__disc svg {
  transition: transform 320ms var(--ease-out);
}

.btn__disc svg + svg {
  position: absolute;
  transform: translate(-28px, 28px);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__disc svg {
    transform: translate(28px, -28px);
  }

  .btn:hover .btn__disc svg + svg {
    transform: none;
  }
}

.btn:active {
  transform: scale(0.97);
}

/* The lockup: Onla's wordmark, then "studio" drawn from the same shapes in a
   lighter line. Both drawings share a height and a baseline. --mark is that height. */
.mark {
  --mark: 36px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--mark) * 0.196);
  color: var(--ink);
}

.wordmark {
  display: block;
  height: var(--mark);
  width: auto;
}

.wordmark__light {
  fill: var(--accent);
}

@media (max-width: 1100px) {
  .mark {
    --mark: 30px;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  /* First frame: the whole first screen of a site we built, shown small at
     the foot of the screen. --fs is how small; the frame then grows to 1. */
  --fs: 0.62;
  position: relative;
}

/* The shorter the screen, the smaller the frame, so the words above it
   always clear the menu (four lines of lead in English). */
@media (max-height: 860px) {
  .hero {
    --fs: 0.56;
  }
}

@media (max-height: 740px) {
  .hero {
    --fs: 0.5;
  }
}

@media (max-height: 650px) {
  .hero {
    --fs: 0.42;
  }
}

.hero__stage {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: clip;
  background: var(--bg);
}

.hero__pic {
  position: absolute;
  inset: 0;
  display: block;
  clip-path: inset(calc((1 - var(--fs)) * 100%) calc((1 - var(--fs)) * 50%) 0 calc((1 - var(--fs)) * 50%));
}

.hero__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 100%;
  transform: scale(var(--fs));
}

/* A clear layer over the picture: only its words take the pointer. */
.hero__text {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__title,
.hero__side {
  pointer-events: auto;
}

.hero__title {
  position: absolute;
  left: var(--margin);
  bottom: calc(var(--fs) * 100% + 40px);
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero__side {
  position: absolute;
  right: var(--margin);
  bottom: calc(var(--fs) * 100% + 40px);
  width: min(40ch, 38vw);
}

.hero__lead {
  margin-bottom: 20px;
}

.hero__caption {
  position: absolute;
  z-index: 3;
  left: var(--margin);
  bottom: var(--margin);
  max-width: calc((1 - var(--fs)) * 50vw - var(--margin) - 16px);
  font-size: var(--step-small);
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero {
    /* A window in the middle of the screen: its top, bottom and side insets. */
    --wt: 26svh;
    --wb: max(200px, calc(74svh - 97.5vw));
    --wx: 11vw;
  }

  .hero__pic {
    clip-path: inset(var(--wt) var(--wx) var(--wb) var(--wx));
  }

  .hero__pic img {
    /* First frame: the whole first screen of the site, small, in the window. */
    transform-origin: 50% calc((var(--wt) + 100svh - var(--wb)) / 2);
    transform: scale(0.82);
  }

  .hero__title {
    top: 88px;
    bottom: auto;
  }

  .hero__side {
    left: var(--margin);
    bottom: 20px;
    width: auto;
  }

  .hero__lead {
    margin-bottom: 14px;
    max-width: 44ch;
  }

  .hero__side .btn {
    display: flex;
    justify-content: space-between;
  }

  .hero__caption {
    display: none;
    max-width: none;
    right: var(--margin);
  }
}

@keyframes hero-open {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes hero-settle {
  to {
    transform: none;
  }
}

@keyframes hero-text {
  to {
    opacity: 0;
    transform: translateY(-48px);
    visibility: hidden;
  }
}

@keyframes hero-caption {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero {
      height: 200svh;
      view-timeline-name: --hero;
    }

    .hero__stage {
      position: sticky;
      top: 0;
    }

    .hero__pic {
      animation: hero-open linear both;
      animation-timeline: --hero;
      animation-range: contain 0% contain 72%;
    }

    .hero__pic img {
      animation: hero-settle linear both;
      animation-timeline: --hero;
      animation-range: contain 0% contain 72%;
    }

    .hero__text {
      animation: hero-text linear both;
      animation-timeline: --hero;
      animation-range: contain 0% contain 15%;
    }

    .hero__caption {
      display: block;
      padding: 10px 14px;
      background: var(--bg);
      color: var(--ink);
      animation: hero-caption linear both;
      animation-timeline: --hero;
      animation-range: contain 60% contain 72%;
    }
  }
}

/* ---------------------------------------------------------------- work */

.work {
  padding: var(--gap) var(--margin) 0;
}

.work__title {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.work__lead {
  margin-top: 24px;
  max-width: 34ch;
}

.view {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.view__opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.view__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.view__opt span {
  color: var(--muted);
  font-weight: 500;
  transition: color 160ms ease;
}

.view__opt:hover span {
  color: var(--ink);
}

.view__opt input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

/* Which option reads as chosen: the checked one, or the screen's own kind
   before anyone has chosen. */
.view__opt input:checked + span,
.view:not(:has(:checked)) .view__desk + span {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: var(--accent);
}

.work__index {
  display: none;
}

.work__pics {
  display: grid;
  gap: 72px;
  margin-top: 56px;
}

.work__pic {
  display: grid;
  grid-template-columns: 38fr 62fr;
  align-items: end;
  column-gap: var(--margin);
}

.work__img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: left top;
  background: var(--surface);
}

.work__img--phone {
  display: none;
}

/* The picture opens the live site; the link adds no box of its own. */
.work__open {
  display: contents;
}

.work:has(.view__phone:checked) .work__img--desk {
  display: none;
}

.work:has(.view__phone:checked) .work__img--phone {
  display: block;
  object-fit: contain;
  object-position: center;
}

.work__cap {
  grid-column: 1;
  grid-row: 1;
}

.work__cap a,
.work__cap > span,
.work__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 16px;
  min-height: 44px;
  text-decoration: none;
}

.work__name {
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.3;
  transition: transform 220ms var(--ease-out);
}

.work__kind {
  font-size: var(--step-small);
  color: var(--muted);
}

.work__out {
  display: inline-block;
  margin-left: 8px;
  color: var(--accent);
}

/* A work with no phone screenshot keeps its wide one in the phone view. */
.work:has(.view__phone:checked) .work__pic--wide .work__img--desk {
  display: block;
}

.work__cap a:hover .work__name,
.work__row:hover .work__name {
  transform: translateX(10px);
}

@media (max-width: 900px) {
  .work__pics {
    gap: 56px;
    margin-top: 40px;
  }

  .work__pic {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* The whole phone screen, uncropped: this is the site as a visitor holds it. */
  .work__img {
    aspect-ratio: 780 / 1688;
  }

  /* On a phone the phone view is the natural one. */
  .work__img--desk {
    display: none;
  }

  .work__img--phone {
    display: block;
    object-position: center top;
  }

  .work:has(.view__desk:checked) .work__img--desk {
    display: block;
    aspect-ratio: 1;
  }

  .work__pic--wide .work__img--desk,
  .work:has(.view__desk:checked) .work__pic--wide .work__img--desk {
    display: block;
    aspect-ratio: 16 / 10;
  }

  .work:has(.view__desk:checked) .work__img--phone {
    display: none;
  }

  .work:has(.view__phone:checked) .work__img--phone {
    object-fit: cover;
    object-position: center top;
  }

  .view:not(:has(:checked)) .view__desk + span {
    color: var(--muted);
    text-decoration: none;
  }

  .view:not(:has(:checked)) .view__phone + span {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    text-decoration-color: var(--accent);
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .work__pics {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--margin);
  }
}

@keyframes work-wipe {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes row-first {
  0%,
  97% {
    color: var(--ink);
  }
  100% {
    color: var(--muted);
  }
}

@keyframes row-mid {
  0% {
    color: var(--muted);
  }
  3%,
  97% {
    color: var(--ink);
  }
  100% {
    color: var(--muted);
  }
}

@keyframes row-last {
  0% {
    color: var(--muted);
  }
  3%,
  100% {
    color: var(--ink);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
    /* One frame holds while the six sites change inside it. */
    .work {
      padding: 0;
      view-timeline-name: --work;
    }

    .work__stage {
      position: sticky;
      top: 0;
      display: grid;
      grid-template-columns: 38fr 62fr;
      height: 100svh;
      min-height: 620px;
    }

    .work__left {
      display: flex;
      flex-direction: column;
      min-width: 0;
      padding: 96px var(--margin) 28px;
    }

    .work__index {
      display: block;
      margin-top: auto;
    }

    .work__pics {
      position: relative;
      display: block;
      margin: 0;
      overflow: clip;
      background: var(--surface);
    }

    .work__pic {
      position: absolute;
      inset: 0;
      display: block;
      background: var(--surface);
    }

    .work__img {
      width: 100%;
      height: 100%;
      aspect-ratio: auto;
    }

    .work:has(.view__phone:checked) .work__img--phone {
      padding: 4svh 0;
    }

    .work__cap {
      display: none;
    }

    html.js .work__pic.reveal {
      opacity: 1;
      transform: none;
    }

    .work__pic:nth-child(n + 2) {
      animation: work-wipe linear both;
      animation-timeline: --work;
    }

    .work__row {
      color: var(--muted);
      animation: row-mid linear both;
      animation-timeline: --work;
    }

    .work__row:hover {
      color: var(--ink);
    }
  }
}

/* ------------------------------------------------- a screen with notes */

.case__main img {
  width: 100%;
  height: auto;
  background: var(--surface);
}

/* --------------------------------------------------------------- steps */

.steps {
  padding: var(--gap) var(--margin) 0;
}

.steps__list {
  display: grid;
  gap: 56px;
}

/* Five steps down a stair: each starts a column and a half further right. */
.steps__item:nth-child(2) {
  margin-left: calc(100% / 12 * 1.5);
}

.steps__item:nth-child(3) {
  margin-left: calc(100% / 12 * 3);
}

.steps__item:nth-child(4) {
  margin-left: calc(100% / 12 * 4.5);
}

.steps__item:nth-child(5) {
  margin-left: calc(100% / 12 * 6);
}

.steps__line {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.steps__item:last-child .steps__line {
  color: var(--accent);
}

.steps__text {
  margin-top: 14px;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .steps__list {
    gap: 40px;
  }

  .steps__line {
    white-space: normal;
  }

  .steps__item:nth-child(2) {
    margin-left: 4.5vw;
  }

  .steps__item:nth-child(3) {
    margin-left: 9vw;
  }

  .steps__item:nth-child(4) {
    margin-left: 13.5vw;
  }

  .steps__item:nth-child(5) {
    margin-left: 18vw;
  }
}

/* ---------------------------------------------------------------- list */

.list {
  margin-top: var(--gap);
  padding: clamp(72px, 8vw, 120px) var(--margin);
  background: var(--sand);
}

.list__group + .list__group {
  margin-top: 72px;
}

.list__title {
  margin-bottom: 20px;
  font-size: var(--step-lead);
  font-weight: 400;
  line-height: 1.5;
  color: var(--accent);
}

.list__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--step-lead);
  line-height: 1.5;
}

.list__table th,
.list__table td {
  padding: 0;
  font-weight: 400;
  text-align: left;
  vertical-align: baseline;
}

.list__table tbody th {
  width: 32%;
}

.list__what {
  width: 32%;
}

.list__where {
  width: 14%;
}

.list__table .list__end {
  width: 22%;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.list__table a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 160ms ease;
}

.list__table a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .list__group + .list__group {
    margin-top: 56px;
  }

  .list__table,
  .list__table tbody {
    display: block;
  }

  .list__table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    margin-bottom: 18px;
  }

  .list__table tbody th {
    grid-column: 1 / -1;
    width: auto;
    font-size: 1.375rem;
    line-height: 1.3;
  }

  .list__table td {
    width: auto;
    font-size: var(--step-small);
    line-height: 1.6;
    color: var(--muted);
  }

  .list__what {
    grid-column: 1;
  }

  .list__where {
    display: none;
  }

  .list__table .list__end {
    grid-column: 2;
    width: auto;
    color: var(--ink);
  }

  .list__table td a {
    display: inline-block;
    padding: 12px 0;
    margin: -12px 0;
  }
}

/* ----------------------------------------------------------------- cta */

/* The closing word fills the band in each language. */
:root:lang(en) {
  --step-giant: 31vw;
}


.cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* The word never rises into the sentence above it, however short the window. */
  gap: clamp(40px, 7vw, 112px);
  min-height: 60svh;
  padding: var(--margin);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  overflow: clip;
  transition: background-color 200ms ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--ink);
}

.cta:focus-visible {
  outline-offset: -6px;
  outline-color: var(--accent-ink);
}

.cta__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.cta__text {
  max-width: 34ch;
  font-size: var(--step-lead);
  line-height: 1.35;
}

.cta__top svg {
  flex: none;
  transition: transform 220ms var(--ease-out);
}

.cta:hover .cta__top svg {
  transform: translate(6px, -6px);
}

.cta__word {
  margin-bottom: -0.04em;
  font-size: var(--step-giant);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.8;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cta {
    min-height: 46svh;
  }

  .cta__top svg {
    width: 32px;
    height: 32px;
  }
}

/* -------------------------------------------------------------- footer */

.foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  background: var(--lavender);
}

.foot__pic {
  position: relative;
  overflow: clip;
}

/* A close crop of the dancers: the picture is 2.5 panes wide and shifted so
   the lettering of the site stays outside the pane. */
.foot__pic img {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  max-width: none;
  height: auto;
  transform: translate(-56%, -22%);
}

.foot__menu {
  display: flex;
  flex-direction: column;
  padding: 80px var(--margin) var(--margin) calc(100% / 12);
}

.foot__mark {
  display: flex;
}

.foot__links {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.foot__links a {
  display: inline-block;
  font-size: var(--step-lead);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 220ms var(--ease-out),
    color 160ms ease;
}

.foot__links a:hover {
  transform: translateX(12px);
  color: var(--accent);
}

.foot__blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  margin-top: 64px;
  color: var(--muted);
  font-size: var(--step-small);
  line-height: 1.6;
}

.foot__blocks a {
  color: var(--ink);
  font-size: var(--step-body);
}

.foot__legal {
  margin-top: auto;
  padding-top: 48px;
  font-size: var(--step-small);
  color: var(--muted);
}

@media (max-width: 900px) {
  .foot {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .foot__pic {
    height: 50svh;
  }

  .foot__menu {
    padding: 48px var(--margin) var(--margin);
  }

  .foot__links a {
    padding: 6px 0;
  }
}

/* -------------------------------------------------------------- motion */

@keyframes push {
  from {
    transform: translateX(7%);
  }
  to {
    transform: none;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cta__word {
      animation: push linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
  }
}

.d1 {
  --d: 90ms;
}

.d2 {
  --d: 160ms;
}

@media (prefers-reduced-motion: no-preference) {
  /* Parts of a section rise into place as they enter. Nothing is ever hidden:
     a part that has not risen yet is only a few pixels low. */
  html.js .reveal {
    transform: translateY(24px);
  }

  html.js .reveal.is-in {
    transform: none;
    transition: transform 700ms var(--ease-out) var(--d, 0ms);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ----------------------------------------------------------------- ask */

/* Ask Amira: a launcher in the corner and a dark panel, in Onla's evening colour. */
.ask-launch {
  position: fixed;
  right: var(--margin);
  bottom: var(--margin);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 30px rgb(11 11 10 / 0.22); /* taste-skill-ignore: a floating overlay */
  transition: transform 160ms var(--ease-out);
}

.ask-launch:hover {
  transform: translateY(-2px);
}

.ask-launch:active {
  transform: scale(0.97);
}

.ask-dots {
  flex: none;
  fill: currentColor;
}

.ask-dots--small {
  width: 26px;
  height: 26px;
}

.ask-dots--big {
  width: 76px;
  height: 76px;
  margin: 8px auto 28px;
  display: block;
  color: #d9d8d2;
}

.ask-dots g {
  transform-origin: 20px 20px;
}

@keyframes ask-turn {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ask-dots__in {
    animation: ask-turn 16s linear infinite;
  }

  .ask-dots__out {
    animation: ask-turn 26s linear infinite reverse;
  }

  .ask.is-busy .ask-dots__in {
    animation-duration: 1.6s;
  }

  .ask.is-busy .ask-dots__out {
    animation-duration: 2.4s;
  }
}

.ask {
  position: fixed;
  right: var(--margin);
  bottom: var(--margin);
  z-index: 41;
  display: flex;
  flex-direction: column;
  width: min(400px, calc(100vw - 2 * var(--margin)));
  height: min(640px, calc(100svh - 2 * var(--margin)));
  border-radius: 28px;
  background: #0e0d0b;
  color: #f4f3ef;
  font-size: var(--step-small);
  line-height: 1.45;
  box-shadow: 0 24px 70px rgb(11 11 10 / 0.35); /* taste-skill-ignore: a floating overlay */
  overflow: hidden;
}

.ask[hidden],
.ask-launch[hidden],
.ask__tab[hidden],
.ask__view[hidden],
.ask__intro[hidden] {
  display: none;
}

.ask__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px 22px;
}

.ask__tabs {
  display: flex;
  gap: 18px;
}

.ask__tab {
  padding: 8px 0;
  border: 0;
  background: none;
  color: #a3a29b;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.ask__tab[aria-selected="true"] {
  color: #f4f3ef;
}

.ask__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #1f1f1d;
  color: #f4f3ef;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ask__view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.ask__log {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px 16px;
}

.ask__who,
.ask__by {
  color: #a3a29b;
}

.ask__hello {
  margin-top: 10px;
  font-size: var(--step-body);
  font-weight: 500;
}

.ask__lead {
  margin-top: 6px;
  font-size: var(--step-body);
  line-height: 1.4;
}

.ask__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ask__chip {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: #1f1f1d;
  color: #f4f3ef;
  font: inherit;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.ask__chip:hover {
  background: #f4f3ef;
  color: #0e0d0b;
}

.ask__msg {
  margin-top: 18px;
}

.ask__text {
  margin-top: 4px;
  font-size: var(--step-body);
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ask__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ask__msg--user .ask__text {
  color: #d9d8d2;
}

.ask__text.is-writing:empty::after {
  content: "···";
  letter-spacing: 0.2em;
  color: #a3a29b;
}

.ask__form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
}

.ask__input,
.ask__control {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background: #1f1f1d;
  color: #f4f3ef;
  font: inherit;
  font-size: 16px;
}

.ask__input::placeholder {
  color: #8a8983;
}

.ask__control {
  margin-top: 6px;
}

textarea.ask__control {
  min-height: 84px;
  resize: none;
}

.ask__send,
.ask__submit {
  flex: none;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: #4b48f0;
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.ask__send:active,
.ask__submit:active {
  transform: scale(0.97);
}

.ask__submit:disabled {
  opacity: 0.6;
}

.ask__meet {
  gap: 14px;
  padding: 8px 22px 22px;
  overflow-y: auto;
}

.ask__field {
  display: block;
  color: #a3a29b;
}

.ask__status {
  min-height: 1.45em;
  color: #f4f3ef;
}

.ask :focus-visible {
  outline-color: #8f8dff;
}

@media (max-width: 520px) {
  .ask {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
  }
}

/* What holds the page together: the menu that travels with the reader, the
   ground colour that changes from section to section, and the first seconds. */

/* ---------------------------------------------------------------- menu */

.top {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

html.js .top {
  position: fixed;
}

.nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--margin) var(--margin) 0;
  font-size: var(--step-small);
  pointer-events: auto;
  transition: translate 420ms var(--ease-out);
}

/* Hidden while the hero's picture fills the screen, and for the instant the
   menu changes shape. */
.top.is-away .nav {
  translate: 0 calc(-100% - var(--margin) - 24px);
  transition-duration: 260ms;
}

.top.is-snap .nav {
  transition: none;
}

.nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.nav__mark {
  display: inline-flex;
}

.nav__now {
  display: none;
}

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav__spot {
  display: none;
}

.nav__lang a {
  font-weight: 600;
}

.nav__cta a {
  margin-left: 4px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  transition:
    background-color 160ms ease,
    scale 160ms var(--ease-out);
}

.nav__cta a:active {
  scale: 0.97;
}

@media (hover: hover) and (pointer: fine) {
  .nav__links li:not(.nav__cta) a:hover {
    color: var(--accent);
  }

  .nav__cta a:hover {
    background: var(--accent);
  }
}

/* Past the hero the menu is one compact bar in the middle of the top edge. */
.top[data-shape="pill"] .nav {
  width: max-content;
  max-width: calc(100% - 2 * var(--margin));
  margin: 12px auto 0;
  padding: 6px 6px 6px 18px;
  gap: 20px;
  border: 1px solid rgb(11 11 10 / 0.1); /* taste-skill-ignore: the bar floats over pictures and needs an edge */
  border-radius: 999px;
  background: var(--bg);
}

.top[data-shape="pill"] .mark {
  --mark: 22px;
}

.top[data-shape="pill"] .nav__links li:not(.nav__cta) a {
  color: var(--muted);
}

.top[data-shape="pill"] .nav__links li:not(.nav__cta) a:hover,
.top[data-shape="pill"] .nav__links a.is-now {
  color: var(--ink);
}

/* The patch that slides under the section the reader is in. */
.top[data-shape="pill"] .nav__spot {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--surface);
  opacity: 0;
  transition:
    transform 380ms var(--ease-out),
    width 380ms var(--ease-out),
    opacity 200ms ease;
}

.top[data-shape="pill"] .nav__spot.is-on {
  opacity: 1;
}

.top[data-shape="pill"] .nav__links a {
  position: relative;
}

@media (max-width: 1100px) {
  .nav__wide {
    display: none;
  }

  .top[data-shape="pill"] .nav {
    width: auto;
    margin: 10px var(--margin) 0;
    gap: 10px;
    padding-left: 16px;
  }

  .top[data-shape="pill"] .nav__links li:first-child + li {
    display: none;
  }

  .top[data-shape="pill"] .nav__spot {
    display: none;
  }

  /* On a small screen the bar names the section instead of listing them all. */
  .top[data-shape="pill"] .nav__now {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .nav__now.is-swap {
    animation: now-in 320ms var(--ease-out) both;
  }
}

@keyframes now-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

/* --------------------------------------------------------------- tone */

/* With the script running, sections give up their own bands and the whole
   ground takes the colour of the section in the middle of the screen. */
body {
  transition: background-color 700ms ease;
}

html[data-tone="surface"] body {
  background: var(--surface);
}

html[data-tone="lavender"] body {
  background: var(--lavender);
}

html[data-tone="sage"] body {
  background: var(--sage);
}

html[data-tone="sand"] body {
  background: var(--sand);
}

html.js .list {
  margin-top: 0;
  padding-top: var(--gap);
  padding-bottom: clamp(72px, 8vw, 120px);
  background: none;
}

/* ------------------------------------------------------- first seconds */

.hero__line {
  display: block;
  /* The line's own box, plus room below for descenders. */
  clip-path: inset(0 0 -0.14em 0);
}

.hero__line > span {
  display: block;
}

@keyframes line-up {
  from {
    transform: translateY(118%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 20px;
  }
}

@keyframes frame-in {
  from {
    translate: 0 56px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__line > span {
    animation: line-up 900ms var(--ease-out) both;
  }

  .hero__line + .hero__line > span {
    animation-delay: 90ms;
  }

  .hero__side,
  .pg-hero__side {
    animation: rise-in 800ms var(--ease-out) 260ms both;
  }

  .pg-hero__kind {
    animation: rise-in 800ms var(--ease-out) 160ms both;
  }

  .facts {
    animation: rise-in 800ms var(--ease-out) 380ms both;
  }

  .hero__pic {
    animation: frame-in 1100ms var(--ease-out) both;
  }

  .top .nav {
    animation: rise-in 700ms var(--ease-out) 120ms backwards;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* The scroll-led opening and the one-off arrival run side by side. */
    .hero__pic {
      animation:
        hero-open linear both,
        frame-in 1100ms var(--ease-out) both;
      animation-timeline: --hero, auto;
      animation-range:
        contain 0% contain 72%,
        normal;
    }
  }
}

/* Switching language fades one page into the other. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

/* ------------------------------------------------- work: where we are */

.work__meta {
  display: none;
}

/* The digits' keyframes depend on how many works there are: site/css.mjs writes them. */

@keyframes meter {
  from {
    transform: scaleX(0.02);
  }
  to {
    transform: scaleX(1);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
    .work__meta {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-top: auto;
      padding-bottom: 14px;
      font-size: var(--step-small);
      font-variant-numeric: tabular-nums;
      color: var(--muted);
    }

    .work__count {
      height: 1.5em;
      overflow: clip;
      color: var(--ink);
      font-weight: 600;
    }

    .work__digits {
      display: grid;
      animation: digits linear both;
      animation-timeline: --work;
      animation-range: contain 0% contain 100%;
    }

    .work__digits span {
      height: 1.5em;
    }

    .work__meter {
      position: relative;
      flex: 1;
      align-self: center;
      height: 2px; /* taste-skill-ignore: a progress line, not a rule */
      margin-left: 12px;
      background: rgb(11 11 10 / 0.12);
    }

    .work__meter::after {
      content: "";
      position: absolute;
      inset: 0;
      background: var(--accent);
      transform-origin: 0 50%;
      animation: meter linear both;
      animation-timeline: --work;
      animation-range: contain 0% contain 100%;
    }

    .work__index {
      margin-top: 0;
    }

    @media (max-height: 760px) {
      .work__left {
        padding-top: 84px;
      }

      .work__lead {
        display: none;
      }
    }
  }
}

.hover-only {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .hover-only {
    display: inline;
  }
}

/* On a narrow phone the open menu keeps the mark, the language and the button. */
@media (max-width: 520px) {
  .top[data-shape="open"] .nav__links li:first-child + li,
  .top:not([data-shape]) .nav__links li:first-child + li {
    display: none;
  }

  .top[data-shape="pill"] .mark__studio {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .top.is-away .nav {
    transition: none;
  }

  body {
    transition: none;
  }
}

/* On a phone the first screen ends in the main button: the chat launcher
   waits until the reader has scrolled past it. */
.ask-launch {
  transition:
    transform 160ms var(--ease-out),
    opacity 200ms ease,
    translate 320ms var(--ease-out);
}

@media (max-width: 900px) {
  html.is-top .ask-launch {
    translate: 0 16px;
    opacity: 0;
    pointer-events: none;
  }
}

/* The parts that explain the work: numbered notes on a screen, the week a
   landing page takes, an enquiry arriving in a chat, screens on hover. */

/* ---------------------------------------------------------------- pins */

.case__shot {
  position: relative;
}

.pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 999px;
  outline: 2px solid var(--bg);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  pointer-events: auto;
  transition:
    scale 220ms var(--ease-out),
    opacity 200ms ease;
}

.pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: inherit;
  opacity: 0;
}

.pin:nth-child(2) { --i: 1; }
.pin:nth-child(3) { --i: 2; }
.pin:nth-child(4) { --i: 3; }
.pin:nth-child(5) { --i: 4; }

/* Where each note sits on its screen comes from the content: site/css.mjs writes it. */

.pin.is-on {
  scale: 1.3;
}

.pins:has(.is-on) .pin:not(.is-on) {
  opacity: 0.35;
}

@keyframes pin-ring {
  from {
    opacity: 0.8;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: 2.6;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .case__main:not(.is-in) .pin {
    scale: 0.4;
    opacity: 0;
  }

  html.js .case__main.is-in .pin {
    transition:
      scale 520ms var(--ease-out) calc(500ms + var(--i, 0) * 110ms),
      opacity 240ms ease calc(500ms + var(--i, 0) * 110ms);
  }

  /* Once they have arrived, hover answers at once. */
  html.js .case__main.is-in .pin.is-set {
    transition:
      scale 220ms var(--ease-out),
      opacity 200ms ease;
  }

  html.js .case__main.is-in .pin::after {
    animation: pin-ring 1300ms var(--ease-out) calc(1100ms + var(--i, 0) * 110ms) 2 both;
  }
}

.case__what {
  margin-top: 16px;
}

.legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px var(--margin);
  margin-top: 20px;
  line-height: 1.4;
}

.legend__item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  cursor: default;
}

.legend__n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.legend__item.is-on .legend__n {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

@media (max-width: 1100px) {
  .legend {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .legend {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pin {
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    outline-width: 1.5px;
  }
}

/* --------------------------------------------------------------- zoom */

[data-zoom] {
  cursor: zoom-in;
}

.zoom {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px);
  border: 0;
  background: rgb(11 11 10 / 0.94);
  cursor: zoom-out;
}

.zoom::backdrop {
  background: none;
}

.zoom img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: scale 160ms var(--ease-out);
}

.zoom__close:active {
  scale: 0.94;
}

::view-transition-group(zoom) {
  animation-duration: 380ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------- week */

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  max-width: 760px;
  margin-top: 28px;
}

.week li {
  display: flex;
  align-items: flex-end;
  height: clamp(56px, 6vw, 88px);
  padding: 8px 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.week li:last-child {
  background: var(--accent);
}

@keyframes day-off {
  from {
    background: var(--surface);
    color: var(--muted);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .week li {
      animation: day-off linear both;
      animation-timeline: view();
      animation-range: cover 22% cover 27%;
    }

    .week li:nth-child(2) { animation-range: cover 26% cover 31%; }
    .week li:nth-child(3) { animation-range: cover 30% cover 35%; }
    .week li:nth-child(4) { animation-range: cover 34% cover 39%; }
    .week li:nth-child(5) { animation-range: cover 38% cover 43%; }
    .week li:nth-child(6) { animation-range: cover 42% cover 47%; }
    .week li:nth-child(7) { animation-range: cover 46% cover 52%; }
  }
}

@media (max-width: 900px) {
  .week {
    margin-left: -13.5vw;
  }
}

/* --------------------------------------------------------------- demo */

.demo {
  padding: var(--gap) var(--margin) 0;
}

.demo__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
}

.demo__title {
  grid-column: 1 / span 7;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.demo__lead {
  grid-column: 8 / -1;
  max-width: 40ch;
}

.demo__stage {
  display: grid;
  grid-template-columns: 5fr auto 7fr;
  align-items: stretch;
  margin-top: clamp(40px, 5vw, 72px);
}

.demo__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 44px);
  border-radius: 24px;
  background: var(--surface);
}

.demo__site {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step-small);
  color: var(--muted);
}

.demo__site::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.demo__ask {
  margin-top: 8px;
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.demo__field {
  display: grid;
  gap: 6px;
  font-size: var(--step-small);
  color: var(--muted);
}

.demo__field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgb(11 11 10 / 0.16);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: var(--step-body);
  transition: border-color 160ms ease;
}

.demo__field input:focus-visible {
  border-color: var(--accent);
  outline-offset: 0;
}

.demo__form .btn {
  align-self: flex-start;
  margin-top: 8px;
  border: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.demo__form .btn:disabled {
  cursor: default;
}

.demo__wire {
  position: relative;
  align-self: center;
  width: clamp(40px, 6vw, 96px);
  height: 2px; /* taste-skill-ignore: the line an enquiry travels along */
  background: rgb(11 11 10 / 0.14);
}

.demo__wire span {
  position: absolute;
  inset: -4px 0;
  opacity: 0;
}

.demo__wire span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

@keyframes wire {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes wire-down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

.demo__stage.is-sending .demo__wire span {
  animation: wire 520ms cubic-bezier(0.77, 0, 0.175, 1) both;
}

.demo__chat {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 24px;
  background: #0e0d0b;
  color: #f4f3ee;
}

.demo__chat-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1); /* taste-skill-ignore: the header of a chat window */
}

.demo__chat-name {
  font-weight: 600;
}

.demo__chat-sub {
  font-size: var(--step-small);
  color: #a3a29b;
}

.demo__log {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.demo__msg {
  display: grid;
  gap: 2px;
  align-self: flex-start;
  min-width: min(100%, 26ch);
  max-width: min(100%, 40ch);
  padding: 12px 16px;
  border-radius: 18px 18px 18px 6px;
  background: #1d1c19;
  transform-origin: 0 100%;
}

.demo__msg-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step-small);
  color: #a3a29b;
}

.demo__msg.is-new .demo__msg-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8f8dff;
}

.demo__msg-body {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.demo__msg-time {
  justify-self: end;
  font-size: 0.75rem;
  color: #a3a29b;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .demo__msg.is-new {
    animation: msg-in 420ms var(--ease-out) both;
  }
}

@media (max-width: 900px) {
  .demo__head {
    display: block;
  }

  .demo__lead {
    margin-top: 20px;
  }

  .demo__stage {
    grid-template-columns: 1fr;
  }

  .demo__wire {
    justify-self: center;
    width: 2px; /* taste-skill-ignore: the line an enquiry travels along */
    height: 40px;
  }

  .demo__wire span {
    inset: 0 -4px;
  }

  .demo__wire span::after {
    top: -5px;
    left: 0;
  }

  .demo__stage.is-sending .demo__wire span {
    animation-name: wire-down;
  }

  .demo__chat {
    min-height: 320px;
  }

  .demo__form .btn {
    display: flex;
    align-self: stretch;
    justify-content: space-between;
  }
}

/* ---------------------------------------------------------- list head */

.list__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.list__count {
  grid-column: 1 / span 8;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.list__n {
  color: var(--accent);
}

/* The hidden header row is the table's first row, so it sets the columns. */
@media (min-width: 901px) {
  .list__table thead th:nth-child(1) {
    width: 27%;
  }

  .list__table thead th:nth-child(2) {
    width: 37%;
  }

  .list__table thead th:nth-child(3) {
    width: 14%;
  }

  .list__table thead th:nth-child(4) {
    width: 22%;
  }
}

.list__lead {
  grid-column: 9 / -1;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .list__head {
    display: block;
  }

  .list__lead {
    margin-top: 20px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .list__table tbody tr {
    transition: color 160ms ease;
  }

  .list__table tbody:hover tr:not(:hover) {
    color: var(--muted);
  }
}

/* ----------------------------------------------- what follows the cursor */

.peek {
  position: fixed;
  z-index: 35;
  top: 0;
  left: 0;
  pointer-events: none;
}

.peek__box {
  translate: 20px 20px;
  scale: 0.9;
  opacity: 0;
  transform-origin: 0 0;
  transition:
    opacity 160ms ease,
    scale 240ms var(--ease-out);
}

.peek.is-on .peek__box {
  scale: 1;
  opacity: 1;
}

.peek__img {
  width: 320px;
  height: 200px;
  outline: 1px solid rgb(11 11 10 / 0.12);
  background: var(--surface);
  object-fit: cover;
  object-position: left top;
}

.peek.is-tall .peek__img {
  width: 168px;
  height: 340px;
  border-radius: 24px;
  object-position: center top;
}

.peek__label {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--step-small);
  font-weight: 500;
  white-space: nowrap;
}

/* On the indigo band the label turns light. */
.peek.is-light .peek__label {
  background: var(--bg);
  color: var(--ink);
}

.peek[hidden],
.peek [hidden] {
  display: none;
}

/* A product's own page: what it is, its main screen with notes, the decisions
   behind the design, colour and type, the rest of the screens, the next project. */

/* ------------------------------------------------------------ opening */

.pg-hero {
  padding: clamp(104px, 11vw, 168px) var(--margin) 0;
}

.pg-hero__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
}

.pg-hero__name {
  grid-column: 1 / span 8;
}

.pg-hero__kind {
  margin-top: 16px;
  font-size: var(--step-lead);
  line-height: 1.3;
  color: var(--muted);
}

.pg-hero__title {
  font-size: clamp(2.75rem, 1rem + 6vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
}

.pg-hero__side {
  grid-column: 9 / -1;
  display: grid;
  justify-items: start;
  gap: 24px;
  padding-bottom: 6px;
}

.pg-hero__lead {
  max-width: 40ch;
}

.facts {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  margin-top: clamp(40px, 5vw, 72px);
}

.facts > div {
  grid-column: span 3;
}

.facts a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.facts dt {
  font-size: var(--step-small);
  color: var(--muted);
}

.facts dd {
  margin: 2px 0 0;
  font-weight: 500;
}

.pg-shot {
  margin-top: clamp(28px, 3.4vw, 48px);
}

/* The picture a visitor followed here from the page before. */
.pg-shot__img {
  view-transition-name: shot;
}

/* A screen close to square keeps its notes beside it, not under it. */
@media (min-width: 901px) {
  .pg-shot--side {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--margin);
    align-items: start;
  }

  .pg-shot--side .case__shot {
    grid-column: 1 / span 7;
  }

  .pg-shot--side figcaption {
    grid-column: 9 / -1;
    position: sticky;
    top: 104px;
  }

  .pg-shot--side .case__what {
    margin-top: 0;
  }

  .pg-shot--side .legend {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .facts a:hover {
    color: var(--accent);
  }
}

/* ---------------------------------------------------------- decisions */

.decs,
.sys,
.shots,
.next {
  padding: var(--gap) var(--margin) 0;
}

.decs__title,
.sys__title,
.shots__title {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.decs__rows {
  display: grid;
  row-gap: clamp(56px, 7vw, 104px);
  margin-top: clamp(40px, 5vw, 72px);
}

.dec {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: start;
}

/* The words stay in view while their screen passes. */
.dec__text {
  grid-column: 1 / span 4;
  position: sticky;
  top: 104px;
}

.dec__title {
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.dec__body {
  margin-top: 12px;
  max-width: 38ch;
}

.dec__pic {
  grid-column: 6 / -1;
}

.dec__pic img,
.shot img {
  width: 100%;
  height: auto;
  background: var(--surface);
}

.decs__phones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px var(--margin);
  margin-top: clamp(72px, 9vw, 128px);
}

.dec-phone__img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: clamp(20px, 2.6vw, 40px);
  background: var(--surface);
}

.dec-phone .dec__title {
  font-size: var(--step-body);
  letter-spacing: -0.01em;
}

.dec-phone .dec__body {
  margin-top: 6px;
}

/* ----------------------------------------------------- colour and type */

.sys__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
  margin-top: clamp(40px, 5vw, 72px);
}

.sys__swatches {
  grid-column: 1 / span 8;
  display: flex;
}

.sw {
  flex: 1 1 0;
  display: grid;
  min-width: 0;
  font-size: var(--step-small);
  line-height: 1.4;
  transition: flex-grow 420ms var(--ease-out);
}

.sw__chip {
  height: clamp(120px, 15vw, 224px);
  margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px rgb(11 11 10 / 0.08); /* taste-skill-ignore: a white swatch needs an edge on a white page */
}

.sw__hex {
  font-weight: 600;
  text-transform: uppercase;
}

.sw__role {
  color: var(--muted);
}

.sys__notes {
  grid-column: 10 / -1;
  display: grid;
  gap: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .sw:hover {
    flex-grow: 1.7;
  }
}

/* -------------------------------------------------------- more screens */

/* Wide and tall screens share a row at one height: each takes width in
   proportion to its shape. */
.shots__row {
  display: flex;
  align-items: flex-start;
  gap: var(--margin);
  margin-top: clamp(40px, 5vw, 72px);
}

.shot--wide {
  flex: 1.6 1 0;
}

.shot--tall {
  flex: 0.462 1 0;
}

.shot--tall img {
  border-radius: clamp(10px, 1.2vw, 18px);
}

.shot figcaption {
  margin-top: 14px;
  max-width: 44ch;
}

.shot__name {
  font-weight: 600;
}

/* ---------------------------------------------------------------- next */

.next {
  padding-bottom: clamp(72px, 8vw, 120px);
}

.next__link {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
  text-decoration: none;
}

.next__text {
  grid-column: 1 / span 6;
  display: grid;
  gap: 10px;
}

.next__kind {
  color: var(--muted);
}

.next__name {
  display: flex;
  align-items: center;
  gap: 0.28em;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.next__arrow {
  display: inline-flex;
  color: var(--accent);
  transition: translate 320ms var(--ease-out);
}

.next__arrow svg {
  width: 0.62em;
  height: 0.62em;
}

.next__img {
  grid-column: 8 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
  background: var(--surface);
}

.next__link:active .next__img {
  scale: 0.99;
}

@media (hover: hover) and (pointer: fine) {
  .next__link:hover .next__arrow {
    translate: 12px 0;
  }
}

/* From one page into the next the picture travels and the rest fades. */
::view-transition-group(shot) {
  animation-duration: 520ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-old(shot),
::view-transition-new(shot) {
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* ---------------------------------------------------- the list's links */

.list__open {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .list__open:hover {
    color: var(--accent);
  }
}

/* -------------------------------------------------------------- narrow */

@media (max-width: 900px) {
  .pg-hero__head,
  .facts,
  .dec,
  .sys__body,
  .next__link {
    display: block;
  }

  .pg-hero__side {
    margin-top: 20px;
  }

  .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px var(--margin);
  }

  .facts > div {
    grid-column: auto;
  }

  .dec__text {
    position: static;
  }

  .dec__pic {
    margin-top: 20px;
  }

  .decs__phones {
    grid-template-columns: 1fr 1fr;
    gap: 40px 12px;
  }

  .sys__notes {
    margin-top: 28px;
  }

  .shots__row {
    flex-wrap: wrap;
    row-gap: 40px;
  }

  .shot--wide {
    flex: 1 1 100%;
  }

  .shot--tall {
    flex: 0 0 calc(50% - var(--margin) / 2);
  }

  .next__img {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .sys__swatches {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .sw {
    flex: 1 1 33%;
  }

  .sw__chip {
    height: 88px;
  }
}

/* The film on the home page: it plays silently as it comes into view, and
   one button starts it again with sound. */

.film {
  padding: var(--gap) var(--margin) 0;
}

.film__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
}

.film__title {
  grid-column: 1 / span 7;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.film__lead {
  grid-column: 8 / -1;
  max-width: 44ch;
}

.film__stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 72px);
  background: var(--ink);
}

.film__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}

/* Without the script the film keeps its own controls and needs no button. */
.film__play {
  display: none;
}

.film__stage.is-ready .film__play {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  transition:
    scale 160ms var(--ease-out),
    opacity 200ms ease;
}

.film__disc {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  transition: scale 220ms var(--ease-out);
}

.film__length {
  color: var(--muted);
}

.film__play:active {
  scale: 0.97;
}

.film__stage.is-loud .film__play {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .film__play:hover .film__disc {
    scale: 1.08;
  }
}

@media (max-width: 900px) {
  .film__head {
    display: block;
  }

  .film__lead {
    margin-top: 20px;
  }
}

/* On a phone the film is its tall cut. */
@media (max-width: 800px) {
  .film__stage.is-tall .film__video {
    aspect-ratio: 9 / 16;
  }

  .film__stage.is-ready .film__play {
    left: 12px;
    bottom: 12px;
  }

  .film__length {
    display: none;
  }
}

/* ------------------------------------------------------- integrations */

/* What we have already connected: where it starts, where it ends, and a
   dot travelling the line between them. */
.hooks {
  padding: var(--gap) var(--margin) 0;
}

.hooks__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: end;
}

.hooks__title {
  grid-column: 1 / span 7;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hooks__lead {
  grid-column: 8 / -1;
  max-width: 44ch;
}

.hooks__list {
  display: grid;
  row-gap: clamp(28px, 3.4vw, 48px);
  margin-top: clamp(40px, 5vw, 72px);
}

.hooks__note {
  margin-top: 28px;
  font-size: var(--step-small);
  color: var(--muted);
}

.hook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--margin);
  align-items: center;
}

.hook__say {
  grid-column: 1 / span 5;
}

.hook__title {
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.hook__text {
  margin-top: 10px;
  max-width: 44ch;
  color: var(--muted);
}

/* One end, the wire, the other end. What arrives is drawn on the dark card. */
.hook__flow {
  grid-column: 7 / -1;
  display: flex;
  align-items: stretch;
}

.hook__card {
  flex: 1 1 0;
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 104px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  line-height: 1.35;
}

.hook__label {
  font-size: var(--step-small);
  color: var(--muted);
}

.hook__line {
  font-weight: 500;
}

.hook__card--out {
  background: var(--ink);
  color: var(--bg);
}

.hook__card--out .hook__label {
  color: rgb(253 253 252 / 0.6);
}

.hook__done {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: var(--step-small);
  font-weight: 600;
}

.hook__done::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #8f8dff;
}

.hook__wire {
  position: relative;
  flex: 0 0 clamp(48px, 6vw, 96px);
  align-self: center;
  height: 2px; /* taste-skill-ignore: the wire between two systems, not a rule */
  background: rgb(11 11 10 / 0.14);
}

.hook__wire span {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 999px;
  background: var(--accent);
}

@keyframes hook-run {
  0% {
    left: 0;
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes hook-drop {
  0% {
    top: 0;
    opacity: 0;
  }
  12%,
  88% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes hook-land {
  0%,
  78% {
    scale: 1;
  }
  86% {
    scale: 1.025;
  }
  100% {
    scale: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* What arrives stays faint until its row is on screen and the first dot has crossed. */
  html.js .hook:not(.is-in) .hook__card--out {
    opacity: 0.25;
    translate: -10px 0;
  }

  html.js .hook .hook__card--out {
    transition:
      opacity 500ms ease 900ms,
      translate 700ms var(--ease-out) 900ms;
  }

  .hook.is-in .hook__wire span {
    animation: hook-run 2400ms cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }

  /* Each time the dot lands, the far end answers. */
  .hook.is-in .hook__card--out {
    animation: hook-land 2400ms var(--ease-out) infinite;
  }

  .hook:nth-child(even).is-in .hook__wire span,
  .hook:nth-child(even).is-in .hook__card--out {
    animation-delay: 1200ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hook__wire span {
    left: 100%;
  }
}

@media (max-width: 900px) {
  .hooks__head,
  .hook {
    display: block;
  }

  .hooks__lead {
    margin-top: 20px;
  }

  .hook__flow {
    flex-direction: column;
    margin-top: 16px;
  }

  /* Stacked, each end takes the height of its words. */
  .hook__card {
    flex: none;
    min-height: 0;
    padding: 14px 18px;
  }

  .hook__wire {
    flex: none;
    align-self: flex-start;
    width: 2px; /* taste-skill-ignore: the wire between two systems, not a rule */
    height: 28px;
    margin-left: 28px;
  }

  .hook__wire span {
    top: 0;
    left: -4px;
    margin: -5px 0 0;
  }

  .hook.is-in .hook__wire span {
    animation-name: hook-drop;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hook__wire span {
    top: 100%;
    left: -4px;
  }
}

/* Generated by site/css.mjs from the content. */

[data-pin="onlaai-1"].pin { left: 36%; top: 15.5%; }
[data-pin="onlaai-2"].pin { left: 22.6%; top: 22%; }
[data-pin="onlaai-3"].pin { left: 32%; top: 50.5%; }
[data-pin="onlaai-4"].pin { left: 31.4%; top: 61.6%; }
[data-pin="onlaai-5"].pin { left: 31.4%; top: 96%; }
[data-pin="reserve-1"].pin { left: 53.6%; top: 22.6%; }
:root:lang(en) [data-pin="reserve-1"].pin { left: 34.6%; }
[data-pin="reserve-2"].pin { left: 66%; top: 30.5%; }
[data-pin="reserve-3"].pin { left: 15%; top: 58.8%; }
[data-pin="reserve-4"].pin { left: 21%; top: 81.3%; }
[data-pin="reserve-5"].pin { left: 12.5%; top: 86.2%; }
[data-pin="school-1"].pin { left: 32%; top: 15.2%; }
[data-pin="school-2"].pin { left: 52.6%; top: 27.4%; }
[data-pin="school-3"].pin { left: 72.8%; top: 15%; }
[data-pin="school-4"].pin { left: 27.6%; top: 46.8%; }
[data-pin="school-5"].pin { left: 80%; top: 46.8%; }
[data-pin="hq-1"].pin { left: 48.8%; top: 8.8%; }
[data-pin="hq-2"].pin { left: 44.6%; top: 18.7%; }
[data-pin="hq-3"].pin { left: 74.6%; top: 53.4%; }
[data-pin="hq-4"].pin { left: 22.8%; top: 46.4%; }
[data-pin="hq-5"].pin { left: 29.4%; top: 94.6%; }
[data-pin="dis-1"].pin { left: 62%; top: 55%; }
[data-pin="dis-2"].pin { left: 97%; top: 12%; }
[data-pin="dis-3"].pin { left: 2.4%; top: 36.6%; }
[data-pin="dis-4"].pin { left: 21%; top: 41.9%; }
[data-pin="dis-5"].pin { left: 82.4%; top: 2.8%; }
[data-pin="kontora-1"].pin { left: 2.3%; top: 41%; }
[data-pin="kontora-2"].pin { left: 55.5%; top: 51.3%; }
[data-pin="kontora-3"].pin { left: 64.8%; top: 68.8%; }
[data-pin="kontora-4"].pin { left: 89%; top: 8.6%; }
[data-pin="kontora-5"].pin { left: 27.8%; top: 25.5%; }

[data-sw="onlaai-1"] { background: #0a0a0b; }
[data-sw="onlaai-2"] { background: #232325; }
[data-sw="onlaai-3"] { background: #f4f4f2; }
[data-sw="onlaai-4"] { background: #221fc3; }
[data-sw="reserve-1"] { background: #221fc3; }
[data-sw="reserve-2"] { background: #ff7a5a; }
[data-sw="reserve-3"] { background: #c5f04d; }
[data-sw="reserve-4"] { background: #f2a6d9; }
[data-sw="reserve-5"] { background: #0b0b0a; }
[data-sw="school-1"] { background: #f2f4f7; }
[data-sw="school-2"] { background: #ffffff; }
[data-sw="school-3"] { background: #121417; }
[data-sw="school-4"] { background: #0b3a82; }
[data-sw="school-5"] { background: #b83d2a; }
[data-sw="hq-1"] { background: #0b0b0d; }
[data-sw="hq-2"] { background: #121215; }
[data-sw="hq-3"] { background: #ececf0; }
[data-sw="hq-4"] { background: #9b99ff; }
[data-sw="hq-5"] { background: #f0a63a; }
[data-sw="dis-1"] { background: #f0edea; }
[data-sw="dis-2"] { background: #191615; }
[data-sw="dis-3"] { background: #a3cbeb; }
[data-sw="dis-4"] { background: #341411; }
[data-sw="kontora-1"] { background: #000000; }
[data-sw="kontora-2"] { background: #282828; }
[data-sw="kontora-3"] { background: #ffffff; }
[data-sw="kontora-4"] { background: #fbb703; }

@keyframes digits {
  0%, 11.8% { transform: translateY(calc(0% / 7)); }
  16.8%, 26.1% { transform: translateY(calc(-100% / 7)); }
  31.1%, 40.4% { transform: translateY(calc(-200% / 7)); }
  45.4%, 54.6% { transform: translateY(calc(-300% / 7)); }
  59.6%, 68.9% { transform: translateY(calc(-400% / 7)); }
  73.9%, 83.2% { transform: translateY(calc(-500% / 7)); }
  88.2%, 100% { transform: translateY(calc(-600% / 7)); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
    .work { height: 530svh; }
    .work__pic:nth-child(2) { animation-range: contain 11.8% contain 16.8%; }
    .work__pic:nth-child(3) { animation-range: contain 26.1% contain 31.1%; }
    .work__pic:nth-child(4) { animation-range: contain 40.4% contain 45.4%; }
    .work__pic:nth-child(5) { animation-range: contain 54.6% contain 59.6%; }
    .work__pic:nth-child(6) { animation-range: contain 68.9% contain 73.9%; }
    .work__pic:nth-child(7) { animation-range: contain 83.2% contain 88.2%; }
    .work__index li:nth-child(1) .work__row { animation-name: row-first; animation-range: contain 0% contain 14.8%; }
    .work__index li:nth-child(2) .work__row { animation-range: contain 13.8% contain 29.1%; }
    .work__index li:nth-child(3) .work__row { animation-range: contain 28.1% contain 43.4%; }
    .work__index li:nth-child(4) .work__row { animation-range: contain 42.4% contain 57.6%; }
    .work__index li:nth-child(5) .work__row { animation-range: contain 56.6% contain 71.9%; }
    .work__index li:nth-child(6) .work__row { animation-range: contain 70.9% contain 86.2%; }
    .work__index li:nth-child(7) .work__row { animation-name: row-last; animation-range: contain 85.2% contain 100%; }
  }
}
