/* The About page: frei-mkt "About us r2" (desktop 4397:783, phone 4397:891), 2026-12-03. A white
   page with a sky at the top: the title, the photo of the founders, "Why?" with the statement in a
   grey card, the timeline with its line, the team and the rows of the close. css/shared.css comes
   first: it has the font, the tokens, the button component, the nav bar and the footer. The sizes are
   the sizes of the desktop frame of 1470 px; a phone has its own block near the end. */
.about-page {
  /* The page clips what goes past the right edge of the window: the sky and the clouds are wider
     than the window, for the open menu (see below). */
  overflow-x: clip;
  background: var(--color-white);
  color: #111214;
}
.about h1,
.about h2 {
  font-weight: 400;
}
/* The German titles are longer: their lines get the same length, so no word stands alone. The
   English titles keep the line breaks of Figma. */
:lang(de) .about h1,
:lang(de) .about h2 {
  text-wrap: balance;
}

/* The sky: about-hero-sky-a.png behind the nav bar, the title and the top of the photo of the
   founders (frei-mkt 4398:926). The photo is 1040 px high and covers its box, so the clouds of the
   sky start just above the photo of the founders. A gradient fades it to white from 613 px to
   949 px. No text has a shadow or a scrim. */
.about-sky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: var(--sky-fade-end);
  overflow: hidden;
  pointer-events: none;
  --sky-height: 1040px;
  --sky-fade-start: 613px;
  --sky-fade-end: 1093px;
}
.about-sky img {
  width: 100%;
  height: var(--sky-height);
  object-fit: cover;
  object-position: 50% 50%;
}
.about-sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--sky-fade-start);
  bottom: 0;
  background: linear-gradient(
    rgb(255 255 255 / 0) 0%,
    rgb(255 255 255 / 0.45) 20%,
    rgb(255 255 255 / 0.8) 45%,
    var(--color-white) 70%
  );
}
/* The open menu (a desktop): the menu pushes the page 455 px to the left (css/shared.css). The sky
   and the clouds go on 475 px past the right edge of the window, so the push shows more of the
   same sky, and the white of the page below it. The backdrop of the menu is clear on this page.
   Nothing moves but the page and the menu. */
@media (min-width: 761px) {
  .about-page {
    --menu-backdrop: transparent;
  }
  .about-sky {
    right: -475px;
  }
}

.about-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 70px 24px 0;
  text-align: center;
  color: var(--color-white);
}
/* The title has the two lines of Figma. */
.about-head h1 {
  max-width: 620px;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.about-head p {
  max-width: 640px;
  font-size: 21px;
  line-height: 30px;
}

/* The photo of the founders: 880 px wide in the middle, 3:2, in a frame of 11 px of white at 60 %
   (frei-mkt 4397:789): the sky shows through it. The frame has no blur and no shadow. The photo
   has the radius of the frame less the width of the frame, and the frame clips it. The photo and
   its frame turn 2.5 degrees counter-clockwise. Under 910 px the photo is 15 px from each side of
   the window.
   The clouds (cloud-bank-a.png) lie over the lower quarter of the photo, from edge to edge of the
   window, and their lower half fades to the white of the page. The script lets the photo sink
   into them with the scroll (translate only). --photo-h is the height of the photo for the place
   of the end of the hero. */
.about-hero {
  --frame: 11px;
  --cloud-h: 420px;
  --photo-h: calc((min(880px, 100vw - 30px) - 2 * var(--frame)) * 2 / 3 + 2 * var(--frame));
  position: relative;
  margin: 0;
  /* The hero ends where the clouds end, so the space to "Why?" starts at the white under them. */
  padding: 72px 15px calc(0.62 * var(--cloud-h) - 0.25 * var(--photo-h));
}
.hero-stage {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}
.hero-photo {
  display: block;
  overflow: hidden;
  border: var(--frame) solid rgb(255 255 255 / 0.6);
  border-radius: 28px;
  rotate: -2.5deg;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(28px - var(--frame));
}
.about-clouds {
  position: absolute;
  left: calc(50% - 50vw);
  width: 100vw;
  bottom: calc(25% - 0.62 * var(--cloud-h));
  height: var(--cloud-h);
  pointer-events: none;
}
.clouds-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
/* The lower half of the clouds fades to white (white at 90 % of their height), and the white goes
   on under them for the height of the photo, so that the photo never shows under the clouds when it
   sinks to its deepest place. */
.about-clouds::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: calc(-1 * var(--photo-h));
  background: linear-gradient(rgb(255 255 255 / 0) 0, var(--color-white) calc(0.4 * var(--cloud-h)));
}
@media (min-width: 761px) {
  .about-clouds {
    width: calc(100vw + 475px);
  }
}

/* The section titles: "Why?", the timeline and the team. One size on the page: the size of the
   title of the page (Guilherme, 2026-12-03: "make Why larger"). */
.why h2,
.timeline h2,
.team h2 {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-align: center;
}

/* "Why?" and the statement: a grey card 15 px from each side, as the other cards of the site, with
   a radius of 40 px (frei-mkt 4398:929). The text works as the sentence card of the start page
   (.sentence in css/site.css): 54 px, and it runs edge to edge in the card, with a side padding of
   max(24px, (100% - 1232px) / 2). Its lines are closer than the 82 px of the start page, which
   makes room for its icons. At the end, the white button to the manifesto. */
/* A lot of space around "Why?" (Guilherme, 2026-12-03), and "Why?" larger than the title of the
   page: 120 px (72 px on a phone). The section lies over the white under the clouds of the hero. */
.why h2 {
  font-size: 120px;
  line-height: 1;
}
.why {
  position: relative;
  z-index: 1;
  margin-top: 200px;
}
.statement {
  margin: 96px 15px 0;
  padding: 120px max(24px, (100% - 1232px) / 2);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  font-size: 54px;
  line-height: 68px;
  letter-spacing: -2.16px;
  color: var(--color-text-muted);
  text-align: center;
}
.statement p + p {
  margin-top: 34px;
}
/* The symbol at the top of the card: the crumpled paper ball with the yellow tab, as the paper of
   the manifesto (A2-paper-ball-yellow.png, its empty margin cut off, 280 px for 2x). It does not
   move. */
.statement-symbol {
  display: block;
  width: 140px;
  margin: 0 auto 40px;
}
.statement-symbol img {
  width: 100%;
  height: auto;
}
/* The white button of the component. On the grey card its hover is the darker grey, so it does not
   disappear into the card. */
.statement-link {
  --button-fill-hover: var(--color-surface-hover);
  width: fit-content;
  margin: 64px auto 0;
  letter-spacing: normal;
}

/* The timeline: the free layout of the desktop frame. Each moment has its place (--x, --y) and its
   width (--w) in px of the frame of 1470 px (frei-mkt 4397:794). The frame scales with the window
   from 1200 px to 1470 px; the type does not. Under 1200 px the moments are one column (see
   below). */
.timeline {
  container-type: inline-size;
  max-width: 1470px;
  margin: 200px auto 0;
}
.timeline-body {
  position: relative;
  margin-top: 120px;
}
.moments {
  position: relative;
  height: calc((2934 - 40) * 100cqw / 1470);
  margin: 0;
  padding: 0;
  list-style: none;
}
.moment {
  position: absolute;
  left: calc(var(--x) * 100cqw / 1470);
  top: calc((var(--y) - 40) * 100cqw / 1470);
  width: calc(var(--w) * 100cqw / 1470);
}
.moment img {
  width: calc(var(--pw, var(--w)) * 100cqw / 1470);
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: cover;
  border-radius: 20px;
}
.moment-big img,
.moment-app img {
  border-radius: 28px;
}
.moment-forest { --x: 35; --y: 40; --w: 360; --ar: 360 / 640; }
.moment-agents { --x: 455; --y: 160; --w: 520; --ar: 520 / 335; }
.moment-scout { --x: 595; --y: 640; --w: 840; --ar: 840 / 473; }
.moment-lunch { --x: 120; --y: 940; --w: 280; --ar: 280 / 158; }
.moment-stage { --x: 640; --y: 1300; --w: 240; --pw: 210; --ar: 210 / 280; }
.moment-river { --x: 1110; --y: 1480; --w: 300; --ar: 300 / 169; }
.moment-ads { --x: 35; --y: 1780; --w: 720; --ar: 720 / 404; }
.moment-call { --x: 815; --y: 1980; --w: 608.6; --pw: 596.4; --ar: 596.4 / 328.7; }
.moment-app { --x: 367.7; --y: 2428.6; --w: 427; --pw: 298.8; --ar: 298.8 / 474.5; }
.moment-beer-hall { --x: 986.2; --y: 2628.1; --w: 190.7; --pw: 167.4; --ar: 167.4 / 169; }
.moment-scout .moment-line,
.moment-ads .moment-line {
  max-width: 560px;
}
.moment-date {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  color: #111214;
}
.moment-line {
  margin-top: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--color-text-muted);
}
.moment-big .moment-date {
  font-size: 13px;
}
.moment-big .moment-line {
  font-size: 17px;
  line-height: 26px;
  color: #2b2e35;
}
.moment-app .moment-line {
  margin-top: 12px;
}
/* The box clips the photo, so the photo that grows in the motion never makes the page wider. */
.moment-video {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}
/* The play button: a round primary button of the component, 72 px, with a white triangle
   (frei-mkt 4397:806). It has the hover and the press of the component. */
.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  translate: -50% -50%;
}
.play svg {
  width: 100%;
  height: 100%;
}
.moment-watch {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-blue);
}

/* The line of the timeline: five thin strands that weave from moment to moment, under the photos
   (frei-mkt 4401:926). public/js/about.js draws the paths from the places of the photos and grows
   them with the scroll. With no script the line does not show. */
.thread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.moments {
  z-index: 1;
}
.strand {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strand-blue { stroke: #0a7aff; }
.strand-orange { stroke: #ff5102; }
.strand-yellow { stroke: #ffc400; }
.strand-green { stroke: #2bc46b; }
.strand-pink { stroke: #ff5fa2; }
/* After the first frame, the dash follows the scroll in 0.3 s, so a fast scroll does not make it
   jump. The script adds the class "live" only then, so the line never animates on load. */
.thread.live .strand {
  transition: stroke-dashoffset 0.3s var(--ease-out);
}

/* The team: the two founders and the hiring card on three steps, 400 px wide with 100 px between
   them. */
.team {
  max-width: 1470px;
  margin: 200px auto 0;
  padding: 0 35px;
}
.team h2 {
  padding: 0;
}
.team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  justify-content: space-between;
  align-items: start;
  margin-top: 160px;
}
/* The three steps: Jakob at the left, Guilherme in the middle (the highest card), the hiring card at
   the right (Guilherme, 2026-12-03). */
.person-jakob {
  margin-top: 120px;
}
.person-hiring {
  margin-top: 200px;
}
.person img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}
/* The photo links fade less than a text link: a photo at 60 % is too loud. */
.hiring-photo {
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .hiring-photo:hover {
    opacity: 0.85;
  }
  /* The entrance animations of the text links fill their opacity, so the fade of css/shared.css
     cannot show. These links fade in their colour: the blue at 60 %. */
  .person-line a:hover,
  .close-row a:hover,
  .moment-watch:hover {
    opacity: 1;
    color: rgb(10 122 255 / 0.6);
  }
}
.person-name {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: #111214;
}
.person-role::before {
  content: ", ";
}
.person-line {
  max-width: 340px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-text-muted);
}
.person-line a,
.close-row a {
  color: var(--color-blue);
}

/* The close: three rows between hairlines, the question at the left and its link at the right. */
.close {
  max-width: 1470px;
  margin: 0 auto;
  padding: 200px 35px 160px;
}
.close-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(17, 18, 20, 0.12);
}
.close-row:last-child {
  border-bottom: 1px solid rgba(17, 18, 20, 0.12);
}
.close-row p {
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.close-row a {
  flex: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

/* The video window (frei-mkt 4400:926): the video in the middle, 1200 px wide at most, with a
   radius of 28 px, the page dim behind it, and the round white close button above its right
   corner. public/js/about.js opens and closes it. */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}
.video-modal[hidden] {
  display: none;
}
.video-scrim {
  position: absolute;
  inset: 0;
  background: rgb(11 11 15 / 0.5);
}
.video-box {
  position: relative;
  width: min(1200px, 100%, (100dvh - 2 * 96px) * 1440 / 898);
}
.video-frame {
  overflow: hidden;
  border-radius: 28px;
  background: #0b0b0f;
}
.video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 898;
}
.video-close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 16px);
}
.video-close img {
  width: 21.4px;
  height: 21.4px;
}
:root.video-open {
  overflow: hidden;
}

/* Under 1200 px the timeline is one column, as on the phone: each moment under the one before, at
   the left or at the right, 56 px after a large moment and 40 px after a small one. The line runs
   in the 24 px at each side and under the photos. */
@media (max-width: 1199px) {
  .timeline {
    max-width: calc(600px + 48px);
    padding: 0 24px;
  }
  .timeline h2 {
    padding: 0;
  }
  .timeline-body {
    margin-top: 56px;
  }
  .moments {
    height: auto;
  }
  .moment {
    position: static;
    width: var(--fw, 100%);
    margin-bottom: 40px;
  }
  .moment img {
    width: 100%;
  }
  .moment-big {
    margin-bottom: 56px;
  }
  .moment:last-child {
    margin-bottom: 0;
  }
  .moment-forest { --fw: 76%; --ar: 260 / 462; }
  .moment-agents { --ar: 342 / 220; }
  .moment-scout { --ar: 342 / 192; }
  .moment-lunch { --fw: 64.3%; --ar: 220 / 124; }
  .moment-stage { --fw: 64.3%; --ar: 220 / 293; margin-left: auto; }
  .moment-river { --fw: 64.3%; --ar: 220 / 124; }
  .moment-ads { --ar: 342 / 192; }
  .moment-call { --ar: 342 / 206; }
  .moment-app { --fw: 64.3%; }
  .moment-beer-hall { --fw: 64.3%; --ar: 220 / 124; margin-left: auto; }
}

/* A phone: the desktop design, stacked. */
@media (max-width: 760px) {
  /* The sky: the centre crop, 880 px high, so the title and the company line stay on the blue and
     the clouds start at the photo of the founders. */
  .about-sky {
    --sky-height: 880px;
    --sky-fade-start: 560px;
    --sky-fade-end: 900px;
  }
  .about-head {
    gap: 16px;
    padding-top: 56px;
  }
  .about-head h1 {
    font-size: 44px;
  }
  .about-head p {
    font-size: 19px;
    line-height: 28px;
  }
  /* The photo of the founders: 8 px from each side, the crop of Figma, a frame of 8 px. The
     clouds are the centre crop, 220 px high. */
  .about-hero {
    --frame: 8px;
    --cloud-h: 220px;
    --photo-h: calc((100vw - 16px - 2 * var(--frame)) * 382 / 374 + 2 * var(--frame));
    padding: 40px 8px calc(0.62 * var(--cloud-h) - 0.25 * var(--photo-h));
  }
  .hero-photo img {
    aspect-ratio: 374 / 382;
  }
  /* The section titles have the size of the title of the page. "Why?" is larger. */
  .timeline h2,
  .team h2 {
    font-size: 44px;
  }
  .why h2 {
    font-size: 72px;
  }
  .why {
    margin-top: 100px;
  }
  /* The sentence card of the start page on a phone: 34 px, 20 px from the sides of the card. */
  .statement {
    margin: 48px 8px 0;
    padding: 56px 20px;
    border-radius: var(--radius-card-phone);
    font-size: 34px;
    line-height: 42px;
    letter-spacing: -1.3px;
    word-spacing: -1px;
  }
  .statement p + p {
    margin-top: 24px;
  }
  .statement-link {
    margin-top: 40px;
    word-spacing: normal;
  }
  .statement-symbol {
    width: 96px;
    margin-bottom: 28px;
  }
  .timeline {
    margin-top: 120px;
  }
  .timeline-body {
    margin-top: 40px;
  }
  .moment img {
    border-radius: 16px;
  }
  .moment-big img,
  .moment-app img,
  .moment-video {
    border-radius: 20px;
  }
  .moment-line {
    font-size: 12px;
    line-height: 16px;
  }
  .moment-big .moment-line {
    font-size: 16px;
    line-height: 24px;
  }
  .play {
    width: 52px;
    height: 52px;
  }
  .moment-watch {
    font-size: 14px;
  }

  /* The team: the founders in two columns, the hiring card under them at full width. */
  .team {
    margin-top: 120px;
    padding: 0 24px;
  }
  .team-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 40px;
    margin-top: 40px;
  }
  .person-jakob,
  .person-hiring {
    margin-top: 0;
  }
  .person-hiring {
    grid-column: 1 / -1;
  }
  .person img {
    aspect-ratio: 165 / 206;
    border-radius: 20px;
  }
  .person-hiring img {
    aspect-ratio: 342 / 192;
  }
  .person-role {
    display: block;
    font-weight: 400;
    color: var(--color-text-muted);
  }
  .person-role::before {
    content: none;
  }
  .person-line {
    font-size: 14px;
    line-height: 20px;
  }

  .close {
    padding: 104px 24px 96px;
  }
  .close-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 0;
  }
  .close-row p {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  /* The video window: the video 8 px from each side, the close button above it. */
  .video-modal {
    padding: 8px;
  }
  .video-frame {
    border-radius: 20px;
  }
}

/* A small phone: the size of the sentence card of the start page under 400 px. */
@media (max-width: 400px) {
  .statement {
    font-size: 30px;
    line-height: 38px;
  }
}

/* The motion of creative.inc (round 28). public/new/js/about.js adds the class "motion" to the
   html element before the body shows, and "in" to a part when it comes into view. Each start state
   below needs both: with no script or with reduced motion, the page shows everything at once.
   The values are the values of creative.inc: the curve cubic-bezier(0.22, 1, 0.36, 1), and the
   durations, distances and delays of their style sheet. Only transform, opacity and clip-path move. */
@keyframes about-tilt-rise {
  to {
    transform: none;
  }
}
@keyframes about-media {
  from {
    opacity: 0;
    clip-path: inset(14% 10% round var(--radius));
  }
  to {
    opacity: 1;
    clip-path: inset(0 round var(--radius));
  }
}
@keyframes about-media-img {
  from {
    transform: scale(1.12);
  }
  to {
    transform: none;
  }
}
@keyframes about-rise {
  from {
    opacity: 0;
    transform: translateY(var(--rise, 28px));
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes about-play {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes about-appear {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}
@keyframes about-fade {
  from {
    opacity: 0;
  }
}
@keyframes about-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes about-slide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* A text in lines: the script puts each line in a mask, and the line rises from under it with a
   small turn. */
.line-mask {
  display: block;
  margin-bottom: -0.12em;
  padding-bottom: 0.12em;
  overflow: hidden;
}
.line-mask-inner {
  display: block;
  transform-origin: 0 100%;
}

@media (prefers-reduced-motion: no-preference) {
  /* The hero (Guilherme, 2026-12-03): the title and the company line fade in and rise 10 px in
     0.45 s, 70 ms apart. Then the photo with its frame appears: it comes up 24 px, grows from 96 %
     and fades in, in 0.7 s, to its turned place. The sky and the clouds do
     not move on load. With the scroll the script lets the photo sink into the clouds. */
  .motion :is(.about-head h1, .about-head > p) {
    --rise: 10px;
    animation: about-rise 0.45s var(--ease-out) var(--step, 0s) both;
  }
  .motion .about-head > p { --step: 0.07s; }
  .motion .hero-photo {
    animation: about-appear 0.7s var(--ease-out) 0.2s both;
  }

  /* "Why?" and then the statement card fade in and rise 24 px in 0.7 s when they come into view
     (Guilherme, 2026-12-03). The script adds "in" and gives the card its delay. The other section
     titles have no motion. */
  .motion :is(.why h2, .statement):not(.in) {
    opacity: 0;
    transform: translateY(24px);
  }
  .motion :is(.why h2, .statement).in {
    --rise: 24px;
    animation: about-rise 0.7s var(--ease-out) var(--start, 0s) both;
  }

  /* Until the script has made the lines (when the font is ready), the questions of the close wait
     unseen. */
  .motion .close-row p:not(.split, .lines-done) {
    opacity: 0;
  }

  /* The questions of the close: lines that rise from a mask with a turn of 4 degrees in 0.8 s,
     220 ms apart, when they come into view. */
  .motion .split .line-mask-inner {
    transform: translateY(120%) rotate(4deg);
  }
  .motion .split.in .line-mask-inner {
    animation: about-tilt-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s) forwards;
  }

  /* The Scout demo: the media of creative.inc. The box opens from an inset of 14% and 10% and fades
     in (0.9 s), the photo inside settles from a scale of 1.12 (1.2 s), and the texts rise 28 px
     (0.7 s, after 1.05 s). */
  .motion .moment-scout .moment-video {
    --radius: 28px;
  }
  .motion .moment-scout:not(.in) .moment-video {
    opacity: 0;
    clip-path: inset(14% 10% round var(--radius));
  }
  .motion .moment-scout:not(.in) .moment-video img {
    transform: scale(1.12);
  }
  .motion .moment-scout:not(.in) :is(.moment-date, .moment-line, .moment-watch),
  .motion .moment-scout:not(.in) .play {
    opacity: 0;
  }
  .motion .moment-scout.in .moment-video {
    animation: about-media 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--start, 0s) both;
  }
  .motion .moment-scout.in .moment-video img {
    animation: about-media-img 1.2s cubic-bezier(0.22, 1, 0.36, 1) var(--start, 0s) both;
  }
  .motion .moment-scout.in :is(.moment-date, .moment-line, .moment-watch) {
    animation: about-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--start, 0s) + 1.05s) both;
  }
  /* The play button rises after the video box. "backwards": when it is done, the press of the
     button component can scale it again. */
  .motion .moment-scout.in .play {
    animation: about-play 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
  }

  /* The other moments: the photos of the collage of creative.inc. The script moves them with the
     scroll: each rises 60 px, grows from a scale of 0.92 and fades in. Their start state: */
  .motion .moment:not(.moment-scout) {
    opacity: 0;
  }

  /* The team cards: the formats of creative.inc. Each part rises 12 px and fades in, 0.45 s for a
     text and 0.55 s for a photo, 100 ms apart. */
  .motion .person:not(.in) :is(.person-name, .person-line, img) {
    opacity: 0;
  }
  .motion .person.in :is(.person-name, .person-line, img) {
    --rise: 12px;
    animation: about-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--start, 0s) + var(--step, 0s)) both;
  }
  .motion .person.in img {
    animation-duration: 0.55s;
  }
  .motion .person-line { --step: 0.1s; }
  .motion .person img { --step: 0.2s; }

  /* The rows of the close: the newsletter form of creative.inc. The question rises in lines, and
     the link slides in from 10 px at the left (0.5 s, after 0.55 s). */
  .motion .close-row:not(.in) a {
    opacity: 0;
  }
  .motion .close-row.in a {
    animation: about-slide 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--start, 0s) + 0.55s) both;
  }

  /* The video window fades in (0.2 s) and the video grows from 96 % (0.3 s, the strong ease-out). */
  .video-modal:not([hidden]) .video-scrim {
    animation: about-fade 0.2s var(--ease-out) both;
  }
  .video-modal:not([hidden]) .video-box {
    animation: about-pop 0.3s var(--ease-out) both;
  }
}
