/* ClaimClout, version 6: the story, with more to do.
   The look is version 4's (one ruled sheet, one typeface, one accent). What is new here:
   - a menu that floats over the page, marks the section being read and shows how far down it is;
   - a first screen with something to type into (the product's link carries into the form);
   - what you get, said once and large, its words coming up as the page scrolls;
   - how it works as ONE band of the brand's colour that stays in place: all five steps stand in
     a list, the one being read is lit, and the picture beside them changes with it;
   - an end where the visitor chooses (kind of videos, how to pay, how much) and sees the price.
   script.js sets a few numbers as the page scrolls (--a and --b on the story, --p on the page);
   everything that moves is drawn from them here. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* One handwritten face, for two small notes only. */
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15133f;
  --ink-2: rgba(21, 19, 63, .62);
  --line: rgba(21, 19, 63, .1);
  --edge: rgba(21, 19, 63, .24);
  --wash: #f5f6ff;
  --tint: #ecebff;
  --paper: #fff;
  --accent: #3d38f5;
  --accent-deep: #2c27d6;
  /* The one warm colour. On the blue it marks what is the customer's; on white it is only a
     stroke under words, never the colour of words. */
  --sun: #ffd84a;
  --green: #0f9d52;
  --night: #08071a;

  /* The three platforms' own signs, as small pictures. The account pages in "How it works" and the
     campaign report (report.html) both draw them. */
  --sign-ig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='ig-g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23feda75'/%3E%3Cstop offset='.3' stop-color='%23fa7e1e'/%3E%3Cstop offset='.6' stop-color='%23d62976'/%3E%3Cstop offset='.85' stop-color='%23962fbf'/%3E%3Cstop offset='1' stop-color='%234f5bd5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='2.2' y='2.2' width='19.6' height='19.6' rx='5.6' fill='none' stroke='url(%23ig-g)' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4.4' fill='none' stroke='url(%23ig-g)' stroke-width='2'/%3E%3Ccircle cx='17.4' cy='6.6' r='1.3' fill='%23d62976'/%3E%3C/svg%3E");
  --sign-yt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(.5 3.95) scale(.805)'%3E%3Cpath fill='%23f03' d='M27.97 3.12A3.58 3.58 0 0 0 25.45.6C23.22 0 14.29 0 14.29 0S5.35 0 3.12.6A3.58 3.58 0 0 0 .6 3.12C0 5.35 0 10 0 10s0 4.65.6 6.88a3.58 3.58 0 0 0 2.52 2.52C5.35 20 14.29 20 14.29 20s8.93 0 11.16-.6a3.58 3.58 0 0 0 2.52-2.52c.6-2.23.6-6.88.6-6.88s0-4.65-.6-6.88Z'/%3E%3Cpath fill='%23fff' d='M10.5 15.36 19.78 10 10.5 4.64Z'/%3E%3C/g%3E%3C/svg%3E");
  --sign-fb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.9' fill='%231877f2'/%3E%3Cpath fill='%23fff' d='M10.3 21.75V14.7H8.4V11.9h1.9V9.9C10.3 7 11.8 5.4 14.6 5.4h1.3v2.9h-1c-1 0-1.4.6-1.4 1.6v2h2.1l-.4 2.8h-1.7v7.09Z'/%3E%3C/svg%3E");

  --r: 10px;
  --r-l: 14px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --t1: 160ms;
  --t2: 320ms;

  --pad: 40px;
  /* How wide the sheet is: as it always was on smaller windows, a little wider where there is room. */
  --sheet: clamp(1202px, calc(100vw - 160px), 1360px);
  --display: 560;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

/* The smooth wheel (vendor/lenis.min.js) asks for these. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
/* While a video is open the page cannot scroll, and its scrollbar goes. The room the scrollbar
   took (--bar, measured by script.js; 0 where scrollbars lie over the page) is kept free, or
   the whole page would jump sideways by half of it. */
.lenis.lenis-stopped { overflow: clip; padding-right: var(--bar, 0px); }
.lenis.lenis-stopped .nav { margin-left: calc(var(--bar, 0px) / -2); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
img, video, svg { display: block; }
i { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 60;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  transform: translateY(-300%);
}

.skip:focus { transform: none; }

/* A part of the page that the skip link or a menu link went to takes the keyboard without a ring around the whole part. */
section[tabindex="-1"]:focus { outline: 0; }

/* ---------- the sheet: one column between two hairlines, sections ruled off ---------- */

.wrap {
  width: 100%;
  max-width: var(--sheet);
  margin-inline: auto;
  border-inline: 1px solid var(--line);
}

main > section + section { border-top: 1px solid var(--line); }

h1, h2 {
  font-weight: var(--display);
  letter-spacing: -.038em;
  line-height: 1.02;
  text-wrap: balance;
}

h2 { font-size: clamp(30px, 3.5vw, 46px); }

/* No text ends with one word left alone on its last line: every short text breaks into lines of
   about the same length. (The first screen's headline sets its own breaks and is not touched.) */
p, li, h3, dd, label, .step__t, .snt, .qa button { text-wrap: balance; }

.head { padding: 88px var(--pad) 36px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--r);
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: var(--display);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color var(--t1) var(--ease), scale var(--t1) var(--ease);
}

.btn:hover { background: var(--accent-deep); }
.btn:active { scale: .97; }
.btn:focus-visible { outline-color: var(--accent); }
.btn--small { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; }
.btn--wide { width: 100%; }

/* ---------- the menu: three pieces at the top of the page, one once it scrolls ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  translate: -50% 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  width: var(--nav-w, max-content);
  max-width: calc(100vw - 24px);
  white-space: nowrap;
  pointer-events: none;
  transition: width 620ms var(--ease);
}

/* As wide as the page's text while it stands apart (script.js gives the exact widths). */
.nav.is-top { width: var(--nav-w, min(calc(var(--sheet) - 80px), calc(100% - 80px))); }

/* The one pill the pieces join into. It comes up once they have met. */
.nav__bg,
.nav__part::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 999px;
  /* Solid white. (It was nine tenths white with a blur of what lay behind. A blurred pane over
     something that moves, the field of tiny videos or the band's steps, is blurred again for
     every frame, and at nine tenths white the blur could hardly be seen. Without the blur a
     see-through pane shows the page's words sharp behind the menu's own, so it is not see-through
     at all.) */
  background: #fff;
  box-shadow: 0 1px 2px rgba(21, 19, 63, .05), 0 14px 34px -20px rgba(21, 19, 63, .4);
}

.nav__bg { overflow: hidden; transition: opacity 220ms var(--ease) 300ms; }
.nav.is-top .nav__bg { opacity: 0; transition: opacity 160ms var(--ease); }

/* A piece: its own pill while the menu stands apart. */
.nav__part {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  height: 54px;
  pointer-events: auto;
}

/* Joining: a piece keeps its own pill until the pieces have met. Parting: it has it back at once. */
.nav__part::before { content: ""; opacity: 0; transition: opacity 220ms var(--ease) 340ms; }
.nav.is-top .nav__part::before { opacity: 1; transition: opacity 160ms var(--ease); }

.nav__part--mark { padding: 0 22px 0 18px; }
/* While apart, the links stand on the page's middle (the two outer pieces differ in width). */
.nav__part--links { padding: 0 8px; transition: translate 620ms var(--ease); }
.nav.is-top .nav__part--links { translate: var(--nav-mid, 0px) 0; }
.nav__part--cta { padding: 0 7px; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: var(--display);
  letter-spacing: -.02em;
}

.mark--small { font-size: 16px; gap: 8px; }
.mark__icon { flex: none; }

/* The name. Its "o" is a play button: a round the height of the small letters, standing on
   their line. "Clout" stands on the stroke that is under "views" on the first screen. */
.wm { letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.wm__u { position: relative; display: inline-block; }
.wm__o { display: inline-block; width: .575em; height: .575em; margin: 0 .034em 0 .036em; vertical-align: -.014em; }
.wm__o svg { display: block; width: 100%; height: 100%; }
.wm__o circle { fill: var(--accent); }
.wm__o path { fill: #fff; stroke: #fff; stroke-width: 5; stroke-linejoin: round; }

.wm__swash {
  position: absolute;
  left: -4%;
  bottom: -.3em;
  width: 109%;
  height: .38em;
  overflow: visible;
  fill: var(--accent);
  pointer-events: none;
}

.nav__links { position: relative; display: flex; gap: 2px; }

.nav__links a {
  position: relative;
  z-index: 1;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color var(--t1) var(--ease);
}

.nav__links a:hover,
.nav__links a.is-on { color: var(--ink); }

/* The mark behind the section being read: it slides from one link to the next. */
.nav__glide {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--w, 0px);
  translate: var(--x, 0px) 0;
  border-radius: 999px;
  background: var(--tint);
  opacity: 0;
  transition: translate var(--t2) var(--ease), width var(--t2) var(--ease), opacity var(--t1) var(--ease);
}

.nav.has-on .nav__glide { opacity: 1; }

/* How far down the page the reader is. */
.nav__line {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* ---------- a video tile ---------- */

.tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--r-l);
  background: #e7e8f5;
}

.tile img,
.tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile video { opacity: 0; transition: opacity var(--t2) var(--ease); }
.tile.is-live video { opacity: 1; }

/* The videos are for watching here: a long press on a phone opens no sheet to save a still or a
   video, and neither can be dragged out of the page. (script.js closes the right-click menu.) */
.tile,
.viewer__frame {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.tile img,
.viewer__frame video { -webkit-user-drag: none; }

.tile__play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 7, 26, .62);
  transition: background-color var(--t1) var(--ease), scale var(--t1) var(--ease);
}

.tile__play::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}

.tile:hover .tile__play,
.tile:focus-visible .tile__play { background: var(--accent); scale: 1.1; }

/* ---------- the two handwritten notes ---------- */

.hand {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font: 600 25px/1 "Caveat", "Segoe Print", cursive;
  color: var(--accent);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- 1. the first screen ---------- */

.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); }

/* The column is measured (cqw below is a hundredth of its inner width). */
.hero__text { container-type: inline-size; min-width: 0; padding: 112px 18px 26px; }

h1 {
  font-size: clamp(27px, 8.6vw, 66px);
  line-height: 1;
  letter-spacing: -.042em;
  text-wrap: wrap;
}

/* The first screen's headline is two sentences, one to a line, and the lines end on the rhyme.
   Its size follows the column, so the longer sentence (11.3 times the type size) always fits on
   its line: no sentence breaks, at any window width. The first value is for a browser that does
   not know cqw. */
.hero__text h1 {
  font-size: clamp(18px, 6.9vw, 66px);
  font-size: clamp(18px, 8.6cqw, 66px);
  white-space: nowrap;
}

h1 > span { display: block; color: var(--ink-2); }

/* The one word the page is about: in the accent, on a stroke drawn a little uphill. */
h1 em { font-style: normal; color: var(--accent); }
h1 b { position: relative; display: inline-block; font-weight: inherit; }

.swash {
  position: absolute;
  left: -4%;
  bottom: -.29em;
  width: 110%;
  height: .38em;
  overflow: visible;
  fill: currentColor;
  pointer-events: none;
}

/* The product's link and the action, as one control. */
.send {
  display: flex;
  gap: 6px;
  max-width: 480px;
  margin-top: 30px;
  padding: 6px;
  border: 1px solid var(--edge);
  border-radius: 14px;
  background: var(--paper);
  transition: border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease);
}

.send:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61, 56, 245, .14); }

.send input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 0;
  background: none;
  font-size: 17px;
  outline: none;
}

.send input::placeholder { color: var(--ink-2); }
.send .btn { flex: none; min-height: 48px; padding: 0 20px; }

/* Under the field, belonging to it: the visitor is not tied in. */
.hero__note { margin-top: 10px; padding-left: 2px; font-size: 15px; line-height: 20px; color: var(--ink-2); }
.hero__note + .cue { margin-top: 4px; }

/* The way into the story. */
.cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 500;
}

.cue i {
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  rotate: 45deg;
}

/* Three videos held like a hand of cards: the middle one upright and in front, the two beside it
   a little smaller, turned a few degrees and tucked behind. They drift against each other as the
   page scrolls (--y) and come up one after another at load. */
.hero__reel {
  --y: 0;
  position: relative;
  /* No wider than 444px. The videos' height follows this box's width, and in a wider box they
     stand out of its 300px: over the field above them and over the names below. */
  width: min(100%, 444px);
  height: 300px;
  margin: 8px auto 62px;
}

/* Behind the three: a field of tiny videos, all playing, so the three read as a few out of
   many. It fills the three's side of the first screen from rule to rule and thins out to
   nothing above and below. It is one video (tools/make-wall.mjs: 12 tiles across, 7 down, and
   that grid twice, one copy over the other). The video lies a little turned (.hero__roll),
   larger than its window, moves less than the three as the page scrolls, and comes in once it
   plays (script.js).
   It rolls upwards without end: the strip that holds the video slides up by one copy's height,
   slowly, and starts again. The second copy then stands where the first stood and shows the
   same frame, so no eye catches the start. New tiles come up out of the fade at the foot and
   leave into the fade at the top. It rolls only while it plays.
   Nothing here is cut out or seen through. The tiles are parted by a white grid laid over the
   video (media/wall-grid.svg, made by the same tool), and the fade above and below and the
   paleness of the whole field are one white veil over that. The page behind is white, so it
   looks exactly as cutting and fading did, and the browser has a plain video and two plain
   pictures to draw. (Until 2026-11-19 it was two masks and a see-through group, which a browser
   works out anew for every frame of a field that never stands still: the first screen was the
   heaviest part of the page, and the owner felt it lag each time he came back up to it.) */
.hero__reel { isolation: isolate; }

.hero__wall {
  position: absolute;
  z-index: -1;
  inset: -30px -18px -74px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1200ms var(--ease);
}

.hero__wall.is-live { opacity: 1; }

/* The veil: white where the field is gone (its top and its foot), a quarter white between. */
.hero__wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fff 0, rgba(255, 255, 255, .26) 22%, rgba(255, 255, 255, .26) 74%, #fff 100%);
}

/* One copy of the grid in size, turned, in the middle of the window. */
.hero__roll {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: max(118%, 520px);
  aspect-ratio: 864 / 896;
  transform: translate3d(-50%, calc(-50% + var(--y) * -.02px), 0) rotate(-6deg);
}

/* The strip: both copies of the grid, one over the other, and the white grid over them. */
.hero__strip { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 200%; }
.hero__strip video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; }
.hero__strip::after { content: ""; position: absolute; inset: 0; background: url(media/wall-grid.svg) 0 0 / 100% 100% no-repeat; }

@media (prefers-reduced-motion: no-preference) {
  .hero__wall.is-live .hero__strip { animation: roll 48s linear infinite; }
  .hero__wall.is-resting .hero__strip { animation-play-state: paused; }
}

@keyframes roll { to { transform: translate3d(0, -50%, 0); } }

/* Under "reduce motion" nothing plays and nothing rolls: the field is its still (one copy of
   the grid, laid twice). */
@media (prefers-reduced-motion: reduce) {
  .hero__wall { opacity: 1; }
  .hero__wall video { background: url(media/poster/wall-0b0a3f.webp) 0 0 / 100% 50% repeat-y; }
}

.hero__reel .tile {
  position: absolute;
  top: 50%;
  width: 31%;
  box-shadow: 0 22px 44px -24px rgba(21, 19, 63, .5);
  transform: translate3d(0, calc(-50% + var(--off) + var(--y) * var(--k) * 1px), 0);
  transition: rotate var(--t2) var(--ease), scale var(--t2) var(--ease);
}

.hero__reel .tile:nth-child(1) { left: 5%; rotate: -5deg; --off: 10px; --k: -.03; }
.hero__reel .tile:nth-child(3) { right: 5%; rotate: 5deg; --off: 16px; --k: -.05; }

.hero__reel .tile:nth-child(2) {
  left: 31%;
  z-index: 1;
  width: 38%;
  --off: -4px;
  --k: -.1;
  box-shadow: 0 30px 60px -28px rgba(21, 19, 63, .6);
}

/* A card under the pointer (or the keyboard) straightens and comes forward. */
.hero__reel .tile:hover,
.hero__reel .tile:focus-visible { z-index: 2; rotate: 0deg; scale: 1.04; }

.hero__reel .tile:nth-child(3) .tile__play { left: auto; right: 10px; }

.hand--reel {
  position: absolute;
  left: 7%;
  bottom: -44px;
  flex-direction: row-reverse;
  rotate: -3deg;
}

/* The words lie over the field of tiny videos: a soft clearing behind them keeps them easy to
   read. */
.hand--reel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -26px -44px -22px -38px;
  background: radial-gradient(closest-side, var(--paper) 58%, rgba(255, 255, 255, 0));
}

/* ---------- the companies we posted videos for: a band of its own, their names large ---------- */

.names { position: relative; isolation: isolate; background: var(--wash); }

/* The same squares as the band further down, drawn faintly and clearest in the middle. */
.names::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(61, 56, 245, .075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(61, 56, 245, .075) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 58% 130% at 50% 50%, #000 10%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 130% at 50% 50%, #000 10%, transparent 100%);
  pointer-events: none;
}

.names__in {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 34px 18px 34px;
}

/* "We've worked with": handwritten, in the band's top left corner, above the companies. Its
   letters are placed one by one (tools/make-note.mjs): on a shallow arc, all at nearly one slant,
   no two alike. They are a little heavier than the typeface draws them, so the words hold their
   own over the companies' names. After the last word stand three small ticks, in the words' own
   colour. The whole note climbs a little. No arrow, and no stroke under the words: the brand's
   stroke stands in enough places on the page (the owner's word, 2026-11-19). */
.names__label { line-height: 0; color: var(--accent); }

.names__note {
  display: block;
  width: 228px;
  height: auto;
  overflow: visible;
}

/* The letters are shapes (see the tool): filled, with a thin edge of the same colour that
   brings them to the weight of a felt pen. The picture turns itself; nothing here turns it. */
.names__words { fill: currentColor; stroke: currentColor; stroke-linejoin: round; paint-order: stroke; }

.names__ticks { fill: none; stroke: currentColor; stroke-width: 3px; stroke-linecap: round; }

.names__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.names__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: var(--display);
  letter-spacing: -.035em;
  line-height: 1.2;
  color: var(--ink);
}

/* Each company's own sign, set in the same small tile, so five different signs read as one row. */
.names__list img {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line), 0 7px 14px -9px rgba(21, 19, 63, .5);
}

/* ---------- 2. what you get, said once and large ---------- */

.say .wrap { padding: 52px 18px 58px; }

.say__text {
  max-width: 17.5em;
  font-size: clamp(31px, 4.9vw, 68px);
  font-weight: var(--display);
  letter-spacing: -.042em;
  line-height: 1.07;
}

.say__text strong { font-weight: inherit; color: var(--accent); }
/* "get.": the word the statement ends on has a mark no other word on the page has, a ring drawn
   round it with a marker in the brand's colour (tools/make-ring.mjs makes it). The ring is a
   filled shape, a stroke with a hand's pressure in it, and it keeps clear of the letters; the
   word stands a little further from the word before it, to leave the ring room. (The word was
   green until 2026-11-19, which broke the page's colours, and then had a thin even line hugging
   it: "there has to be a better version of it".) Its size is the word's box and what the tool
   says it is wider and taller by. */
.say__text em { position: relative; display: inline-block; margin-left: .17em; font-style: normal; }

.say__ring {
  position: absolute;
  left: -.4em;
  top: -.18em;
  width: calc(100% + .838em);
  height: calc(100% + .57em);
  overflow: visible;
  fill: var(--accent);
  pointer-events: none;
}

/* The ring is written, not shown at once: a mask travels the pen's way through the middle of
   the stroke and uncovers it, once the word has popped into place. The mask's line is one dash
   as long as itself; pushed off its path, nothing of the ring shows. */
.say__ring mask path { fill: none; stroke: #fff; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 3; stroke-dashoffset: 0; transition: stroke-dashoffset 640ms cubic-bezier(.6, .05, .3, 1) 220ms; }
.say__text .w--pop:not(.is-in) + .say__ring mask path { stroke-dashoffset: 1.06; transition: stroke-dashoffset 100ms linear; }

/* A sentence never starts at the end of a line: one that does not fit after the sentence before
   it moves to the next line whole. In the large statement each sentence has a line of its own. */
.snt { display: inline-block; }
.say__text .snt { display: block; }

/* Each word waits pale and comes up as the page scrolls (script.js sets --o). */
.say__text .w { opacity: var(--o, 1); transition: opacity 180ms linear; }

/* "get." does not wait pale: it is not there, so the sentence seems to end before it. When the
   page reaches it, it pops up into its place; scrolled back above it, it goes again. */
.say__text .w--pop {
  display: inline-block;
  opacity: 0;
  transform: translateY(.2em) scale(.72);
  transform-origin: 50% 90%;
  transition: opacity 120ms linear, transform 160ms ease-in;
}

.say__text .w--pop.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 140ms linear, transform 340ms cubic-bezier(.3, 1.5, .5, 1);
}

/* ---------- 3. how it works: one tall band, what it holds stays in place ---------- */

/* The band is one tall block in the brand's colour, as tall as the scroll its steps take. It
   scrolls with the page like any other part, so its ground of fine squares moves up the screen
   as the wheel turns; what it holds (.story__pin) stays in place meanwhile. It fills the window
   and runs on under the menu. */
.story {
  position: relative;
  --steps: 5;
  /* Each step holds for two fifths of the window's height of scrolling. The fourth holds for
     .72 of a step more: its accounts come up one by one meanwhile, and stand a moment (DEAL and
     HELD in script.js). */
  height: calc(100vh + (var(--steps) + .72) * 40vh);
  height: calc(100svh + (var(--steps) + .72) * 40svh);
  /* No rule along its top: the band's own edge is the divider. */
  border-top: 0;
}

/* The band's ground: the brand's colour and fine squares, a few of them lit, clearest in the
   middle of its width. It opens as it comes up the screen (--open, set by script.js: 0 when its
   top is at the foot of the screen, 1 once it has arrived): it starts narrower, with rounder
   corners, and widens to its full size. Its foot is square: the fade hangs from it. */
.story__ground {
  /* How far shut it still is as it comes up the screen. */
  --shut: calc(1 - var(--open, 1));
  position: absolute;
  inset: 0 8px;
  background:
    linear-gradient(to right, rgba(61, 56, 245, .5), rgba(61, 56, 245, 0) 28%, rgba(61, 56, 245, 0) 72%, rgba(61, 56, 245, .5)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='896' height='672'%3E%3Cdefs%3E%3Cpattern id='g' width='56' height='56' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 .5H56M.5 0V56' stroke='%23fff' stroke-opacity='.11' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3Crect x='113' y='57' width='55' height='55' fill='%23fff' fill-opacity='0.04'/%3E%3Crect x='505' y='1' width='55' height='55' fill='%23fff' fill-opacity='0.06'/%3E%3Crect x='729' y='169' width='55' height='55' fill='%23fff' fill-opacity='0.04'/%3E%3Crect x='281' y='281' width='55' height='55' fill='%23fff' fill-opacity='0.06'/%3E%3Crect x='57' y='449' width='55' height='55' fill='%23fff' fill-opacity='0.04'/%3E%3Crect x='617' y='393' width='55' height='55' fill='%23fff' fill-opacity='0.04'/%3E%3Crect x='393' y='561' width='55' height='55' fill='%23fff' fill-opacity='0.06'/%3E%3Crect x='841' y='505' width='55' height='55' fill='%23fff' fill-opacity='0.04'/%3E%3Crect x='225' y='169' width='55' height='55' fill='%23fff' fill-opacity='0.028'/%3E%3Crect x='561' y='225' width='55' height='55' fill='%23fff' fill-opacity='0.028'/%3E%3C/svg%3E") 50% 100% / 896px 672px,
    var(--accent);
  clip-path: inset(0 calc(var(--shut) * 14%) 0 calc(var(--shut) * 14%) round calc(var(--band-r, 24px) + var(--shut) * 34px) calc(var(--band-r, 24px) + var(--shut) * 34px) 0 0);
  pointer-events: none;
}

/* The band's foot fades out into the page: under its edge a strip of the band's own colour and
   squares runs on and thins to nothing. It hangs from the band's foot and comes up the screen
   with it, over the next part's rules. */
.story__tail {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 100%;
  height: 160px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px) calc(50% + 28px) 0 / 56px 56px,
    linear-gradient(to bottom, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--accent);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .86) 12%, rgba(0, 0, 0, .66) 25%, rgba(0, 0, 0, .45) 39%, rgba(0, 0, 0, .27) 53%, rgba(0, 0, 0, .13) 66%, rgba(0, 0, 0, .045) 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .86) 12%, rgba(0, 0, 0, .66) 25%, rgba(0, 0, 0, .45) 39%, rgba(0, 0, 0, .27) 53%, rgba(0, 0, 0, .13) 66%, rgba(0, 0, 0, .045) 78%, transparent 100%);
  pointer-events: none;
}

/* Room for the fade before the next part's title; the fade is the divider, so no rule there. */
.choose { border-top: 0; }
.choose .head { padding-top: 132px; }

/* What stays in place while the band scrolls: a frame as tall as the window, with room for the
   menu above what it holds. */
.story__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 76px 8px 8px;
}

/* What the band holds, laid out in that frame: on a phone the picture over the step being read. */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  position: relative;
  color: #fff;
}

/* The steps and the picture come up once the band is half open: script.js sets the band's own
   opacity and place while it opens, on this one part and on nothing inside it. */

.band :focus-visible { outline-color: #fff; }

.band__label { display: none; }

/* On a phone only the step being read shows, under the picture; five marks say where it is. */
.band__text { padding: 16px 20px 18px; }

.steps { display: grid; grid-template-columns: minmax(0, 1fr); }

.step {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t2) var(--ease);
}

.step.is-on { opacity: 1; pointer-events: auto; }

.step button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  text-align: left;
  cursor: default;
}

/* The step's number is the large thing in its row: about twice the size of its words, and
   lighter, like the numbers of a list set in print. */
.step__n {
  flex: none;
  font-size: clamp(38px, 11vw, 46px);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, .7);
}

.step__t {
  font-size: clamp(20px, 5.6vw, 24px);
  font-weight: var(--display);
  letter-spacing: -.032em;
  line-height: 1.14;
}

.step__more > p:not(.vh) {
  margin-top: 8px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .82);
}

.dots { display: flex; gap: 6px; margin-top: 16px; }

.dots i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .28);
  transition: background-color var(--t2) var(--ease);
}

.dots i.is-on { background: var(--sun); }

/* The stage: a white card in the band. Its picture changes with the step. */
.stage {
  order: -1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
  min-height: 0;
  padding: 10px 10px 0;
}

.stage__card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 2px 6px rgba(8, 7, 26, .14), 0 44px 70px -44px rgba(8, 7, 26, .7);
  color: var(--ink);
  container-type: inline-size;
}

.stage__card > * { grid-area: 1 / 1; }

/* The line under the picture. At every step it is as tall as the button the last step puts in
   it, so the picture above never changes size when the button comes. */
.stage__cap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  color: rgba(255, 255, 255, .8);
}

/* At the last step a button stands beside the words: the way to the example report, a page of
   its own, in a new tab, so the reader keeps the place here. It is a button and not a word in
   the line, so that it is not missed (the owner, 2026-11-19: "it's very easy to miss it"). On
   the brand's colour a button is white, as "Get a proposal" is in the price card. */
.stage__link {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px 0 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(8, 7, 26, .16), 0 14px 24px -14px rgba(8, 7, 26, .7);
  color: var(--accent-deep);
  font-size: 14px;
  font-weight: var(--display);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color var(--t1) var(--ease), scale var(--t1) var(--ease);
}

/* A finger gets more room than the button shows. */
.stage__link::after { content: ""; position: absolute; inset: -5px 0; }
.stage__link:hover { background: var(--tint); }
.stage__link:active { scale: .97; }
.stage__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate var(--t1) var(--ease); }
.stage__link:hover svg { translate: 1.5px -1.5px; }

/* It comes up into its place each time the last step is reached. */
@media (prefers-reduced-motion: no-preference) {
  .stage__link { animation: link-in 440ms var(--ease) backwards; }
}

@keyframes link-in { from { opacity: 0; translate: 0 7px; scale: .96; } }

/* The screen is a window on a wall of fifteen videos. At first the camera is so close that the
   middle one fills it; at step three it pulls back and the others come in around it; at step
   four the wall is put away and the accounts take its place. */
.screen {
  position: absolute;
  inset: 14px;
  overflow: hidden;
  border-radius: 12px;
}

/* How close the camera is, and how far the wall has drawn back at step four, are written on the
   wall itself by script.js (its transform and its opacity), frame by frame. What stands here is
   where it starts: close up, on the middle video. --zoom is that closeness as a number, for the
   keyboard's ring below; script.js writes it when the picture has come to rest. */
.world {
  --zoom: 3.09375;
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  aspect-ratio: 48 / 49.5;
  translate: -50% 0;
  transform: scale(3.09375);
  will-change: transform;
}

.cell {
  position: absolute;
  left: calc(var(--col) * 20.3125%);
  top: calc(var(--row) * 33.8384%);
  width: 18.75%;
  height: 32.3232%;
  aspect-ratio: auto;
  border-radius: 5px;
}

/* The videos round the middle one are not there until the camera pulls back (script.js writes
   each one's opacity). */
.cell:not(.film) { opacity: 0; }

/* The middle video. At step one only its lower half shows: the product's own screen. */
.film {
  clip-path: inset(calc(52.6% * (1 - var(--a, 0))) 0 0 0 round 5px);
  will-change: clip-path;
}

/* A video in the picture that has the keyboard: a ring drawn inside it, over the video. (The
   band's white ring does not show on the white card, and a ring outside the video is cut by the
   frame.) Its width is divided by the camera's zoom, so it is 3px on screen at every step. */
.cell:focus-visible { outline: 0; }

.cell:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: calc(3px / var(--zoom, 1)) solid var(--accent);
  border-radius: inherit;
  box-shadow: inset 0 0 0 calc(2px / var(--zoom, 1)) #fff;
  pointer-events: none;
}

.film:focus-visible::after { top: calc(52.6% * (1 - var(--a, 0))); }

/* Step three: every video on the wall is a post. The middle one keeps the large drawing it
   has from step two (.post, below), which shrinks with it. Each of the others wears the same
   drawing as one picture, laid over the video, and a small round face cut from its own still
   where the drawing leaves the account's picture blank. A video's box is its own measure
   (cqw, cqh), so the face sits right at any size. */
.cell { container-type: size; }

.cell:not(.film)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 160' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3E%3Ctext x='4.86' y='10.9' font-family='ui-sans-serif,system-ui,Segoe UI,Helvetica,Arial,sans-serif' font-size='5.76' font-weight='700' letter-spacing='-.12' fill='%23fff' stroke='none'%3EReels%3C/text%3E%3Cg transform='translate(78.12 5.28) scale(.2925)' stroke-width='1.9'%3E%3Cpath d='M3.2 9a2.8 2.8 0 0 1 2.8-2.8h2.1l1.3-1.9h5.2l1.3 1.9H18A2.8 2.8 0 0 1 20.8 9v8A2.8 2.8 0 0 1 18 19.8H6A2.8 2.8 0 0 1 3.2 17z'/%3E%3Ccircle cx='12' cy='12.8' r='3.5'/%3E%3C/g%3E%3Cg stroke='%23000' stroke-opacity='.3' stroke-width='4.4'%3E%3Cpath transform='translate(77.94 96.27) scale(.33)' d='M12 20.4s-7.7-4.7-7.7-10.4A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.7 2.7c0 5.7-7.7 10.4-7.7 10.4z'/%3E%3Cpath transform='translate(77.94 112.1) scale(.33)' d='M20.5 11.7a8.3 8.3 0 0 1-12.4 7.2L3.5 20.5l1.6-4.5A8.3 8.3 0 1 1 20.5 11.7z'/%3E%3Cpath transform='translate(77.94 127.93) scale(.33)' d='M21 3.3 10.3 13.7M21 3.3l-6.7 17.3-4-7.3L3 9.3z'/%3E%3C/g%3E%3Cg stroke-width='1.9'%3E%3Cpath transform='translate(77.94 96.27) scale(.33)' d='M12 20.4s-7.7-4.7-7.7-10.4A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.7 2.7c0 5.7-7.7 10.4-7.7 10.4z'/%3E%3Cpath transform='translate(77.94 112.1) scale(.33)' d='M20.5 11.7a8.3 8.3 0 0 1-12.4 7.2L3.5 20.5l1.6-4.5A8.3 8.3 0 1 1 20.5 11.7z'/%3E%3Cpath transform='translate(77.94 127.93) scale(.33)' d='M21 3.3 10.3 13.7M21 3.3l-6.7 17.3-4-7.3L3 9.3z'/%3E%3C/g%3E%3Cg fill='%23fff' stroke='none'%3E%3Cg fill-opacity='.86'%3E%3Crect x='79.02' y='105.27' width='5.76' height='1.71' rx='.86'/%3E%3Crect x='79.02' y='121.1' width='5.76' height='1.71' rx='.86'/%3E%3Crect x='79.02' y='136.93' width='5.76' height='1.71' rx='.86'/%3E%3C/g%3E%3Ccircle cx='79.59' cy='147.72' r='.5'/%3E%3Ccircle cx='81.9' cy='147.72' r='.5'/%3E%3Ccircle cx='84.21' cy='147.72' r='.5'/%3E%3Crect x='16.74' y='137.75' width='18' height='2.43' rx='1.21' fill-opacity='.94'/%3E%3Crect x='4.86' y='145.98' width='66.24' height='2.16' rx='1.08' fill-opacity='.6'/%3E%3Crect x='4.86' y='150.48' width='37.09' height='2.16' rx='1.08' fill-opacity='.6'/%3E%3Ctext x='46.06' y='140.3' font-family='ui-sans-serif,system-ui,Segoe UI,Helvetica,Arial,sans-serif' font-size='3.78' font-weight='700' text-anchor='middle'%3EFollow%3C/text%3E%3C/g%3E%3Crect x='37.26' y='135.72' width='17.6' height='6.48' rx='1.98' stroke-width='.45' stroke-opacity='.9'/%3E%3C/svg%3E") 50% 50% / 100% 100% no-repeat,
    linear-gradient(to top, rgba(0, 0, 0, .56), rgba(0, 0, 0, 0) 32%),
    linear-gradient(to bottom, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 15%);
  pointer-events: none;
}

.who {
  position: absolute;
  z-index: 1;
  left: 5.4cqw;
  bottom: calc(4.6cqh + 10cqw);
  width: 10.4cqw;
  height: 10.4cqw;
  border: .7cqw solid #fff;
  border-radius: 50%;
  background: #2a2a33 var(--face) var(--at, 50% 36%) / var(--size, 280%) auto no-repeat;
  pointer-events: none;
}

/* Step four: the accounts. The wall of videos is put away and three account pages come up one
   after another, like cards out of a holder: an Instagram, a YouTube and a Facebook account. A
   page is one account as such an app shows it: a face with our own play button on it, the
   platform's sign and name, and three of the account's videos, all of one creator. The holder
   they come out of is in the brand's colour and says whose they are. No name and no count
   stands anywhere: nothing here is made up.
   --d brings it in: the frame turns to the page's wash, the holder comes up and the first page
   rises out of it. Then the wheel deals the rest (--e, 0 to 1 through the step's own stay): the
   second page rises in front of the first, then the third in front of the second. A page that
   gets one in front of it steps back: it moves up, a little smaller, and keeps its head in
   view. The wheel turned back puts them away again in the same way. */
.accts {
  position: absolute;
  inset: 0;
  container: accts / size;
  overflow: hidden;
  border-radius: inherit;
  /* At step five the accounts are put away (--g). */
  opacity: calc(1 - clamp(0, calc(var(--g, 0) * 2.6), 1));
  pointer-events: none;
}

.accts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wash);
  opacity: clamp(0, calc(var(--d, 0) * 3.2 - .5), 1);
}

/* The deck: the three pages and their holder, as one thing in the middle of the frame. Sizes
   inside it are shares of its own width (cqw), which is a page's width. From the top: two
   places for the pages that stepped back (--lift each: a little less than a head, so no video
   of theirs shows), the front page (its head 24, its videos 50.73), 2.2 of air, and the holder
   (21): 2 lifts and 97.93 in all.
   --r0, --r1 and --r2 say how far each page has come up, 0 to 1, slow at both ends. While only
   the first is up, the deck stands higher by one lift, so what shows is in the middle. */
.deck {
  --lift: 20.6;
  --tall: calc((2 * var(--lift) + 97.93) / 100);
  --w: min(80cqw, (100cqh - 28px) / var(--tall));
  --in: clamp(0, calc((var(--d, 0) - .3) * 4), 1);
  --t0: clamp(0, calc((var(--d, 0) - .46) / .54), 1);
  --t1: clamp(0, calc((var(--e, 0) - .04) / .36), 1);
  --t2: clamp(0, calc((var(--e, 0) - .48) / .36), 1);
  --r0: calc(var(--t0) * var(--t0) * (3 - 2 * var(--t0)));
  --r1: calc(var(--t1) * var(--t1) * (3 - 2 * var(--t1)));
  --r2: calc(var(--t2) * var(--t2) * (3 - 2 * var(--t2)));
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  height: calc(var(--w) * var(--tall));
  container-type: inline-size;
  opacity: var(--in);
  translate: -50% calc(-50% + (1 - var(--in)) * 5% - (1 - (var(--r1) + var(--r2)) / 2) * var(--lift) / 100 * var(--w));
}

/* A tall frame (a phone's) has room to show more of the pages that stepped back: their videos
   too, most of them. */
@container accts (max-aspect-ratio: 72 / 100) {
  .deck { --lift: 56; --w: min(82cqw, (100cqh - 24px) / var(--tall)); }
}

/* The pages' own layer. It is cut along its foot, inside the holder, so a page on its way up
   shows only above the holder, like a card coming out of a slot. */
.deck__cards {
  position: absolute;
  inset: 0 0 1.5cqw;
  clip-path: inset(-100vmax -100vmax 0 -100vmax);
}

/* One account's page. --r is how far it has come up; --back is how many pages have come up in
   front of it (fractions while one is on its way). */
.pf {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(2 * var(--lift) * 1cqw);
  height: 79.73cqw;
  border-radius: 6cqw;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 19, 63, .06), 0 -1.4cqw 3.4cqw -1.8cqw rgba(21, 19, 63, .28), 0 5cqw 10cqw -6cqw rgba(21, 19, 63, .3);
  color: var(--ink);
  transform-origin: 50% 0;
  translate: 0 calc(((1 - var(--r)) * 78 - var(--back) * var(--lift)) * 1cqw);
  scale: calc(1 - .055 * var(--back));
}

.pf:nth-child(1) { --r: var(--r0); --back: calc(var(--r1) + var(--r2)); }
.pf:nth-child(2) { --r: var(--r1); --back: var(--r2); }
.pf:nth-child(3) { --r: var(--r2); --back: 0; }

.pf__head { display: flex; align-items: center; gap: 4.2cqw; height: 24cqw; padding: 0 5cqw; }

/* The account's picture: a face cut from the still of one of its creator's videos (--face is
   the still, --size and --at where the face is in it). */
.pf__face {
  position: relative;
  flex: none;
  width: 15cqw;
  height: 15cqw;
  border-radius: 50%;
  background: #2a2a33 var(--face) var(--at) / var(--size) auto no-repeat;
  box-shadow: 0 0 0 .8cqw #fff, 0 0 0 1.3cqw rgba(61, 56, 245, .26);
}

/* Our mark on the picture, the play button of our name: the account is ours. */
.pf__face::after {
  content: "";
  position: absolute;
  right: -1.5cqw;
  bottom: -1.5cqw;
  width: 6.4cqw;
  height: 6.4cqw;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50' fill='%233d38f5'/%3E%3Cpath d='M41.5 32.5v35L70 50z' fill='%23fff' stroke='%23fff' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50% / 100% 100% no-repeat;
  box-shadow: 0 0 0 .7cqw #fff;
}

/* The platform: its sign, then its name. */
.pf__on { display: flex; align-items: center; gap: 2cqw; min-width: 0; font-size: 6.4cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.pf__on::before { content: ""; flex: none; width: 7.2cqw; height: 7.2cqw; background: 50% 50% / contain no-repeat; }
.pf--ig .pf__on::before { background-image: var(--sign-ig); }
.pf--yt .pf__on::before { background-image: var(--sign-yt); }
.pf--fb .pf__on::before { background-image: var(--sign-fb); }

/* The account's videos, as its page lists them (--v is a video's still). */
.pf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2cqw; padding: 0 5cqw; }
.pf__grid i { aspect-ratio: 9 / 16; border-radius: 2.6cqw; background: #2a2a33 var(--v) 50% 50% / cover no-repeat; }

/* The holder the pages come out of, and on it whose accounts these are, said large: "Run by"
   and our name as the top of the page writes it, in white. It is a little wider than a page
   and lies over the pages' feet. Its shape is a pocket's, square above and round below, so it
   is not taken for a button. */
.deck__by {
  position: absolute;
  left: -4cqw;
  right: -4cqw;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4cqw;
  height: 21cqw;
  border-radius: 2.4cqw 2.4cqw 8cqw 8cqw;
  background: var(--accent);
  box-shadow: inset 0 .45cqw 0 rgba(255, 255, 255, .2), 0 -1.8cqw 3.6cqw -1.6cqw rgba(21, 19, 63, .4), 0 4cqw 7cqw -4.4cqw rgba(21, 19, 63, .45);
  color: #fff;
  font-size: 8cqw;
  font-weight: var(--display);
  line-height: 1;
  white-space: nowrap;
}

.deck__run { font-size: .8em; font-weight: 450; letter-spacing: -.015em; color: rgba(255, 255, 255, .86); }
.deck__by .wm__o circle { fill: #fff; }
.deck__by .wm__o path { fill: var(--accent); stroke: var(--accent); }
.deck__by .wm__swash { fill: var(--sun); }

/* Step two: the one video, drawn as a post on a short-video app. It stands exactly over the
   video while that fills the screen and shows once the whole video is in view (--a). At step
   three it shrinks with the video as the camera pulls back and stays on it, a post among the
   others; at step four it goes with the wall (--d). Its sizes are shares of its own box (cqw,
   cqh), so it fits the video at any size. It takes no presses: the video under it still opens. */
.post {
  --seen: calc(clamp(0, calc((var(--a, 0) - .72) * 4), 1) * (1 - clamp(0, calc(var(--d, 0) * 2.6), 1)));
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  aspect-ratio: 9 / 16;
  translate: -50% 0;
  /* It shrinks with the video as the camera starts to pull back, so it never stands wider
     than the video under it. (The same sum as the wall's own zoom, as a share of its start.) */
  scale: calc((1 + 2.09375 * (1 - var(--b, 0))) * (1 - .07 * clamp(0, calc(var(--d, 0) * 2.6), 1)) / 3.09375);
  container-type: size;
  overflow: hidden;
  border-radius: 15px;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .56), rgba(0, 0, 0, 0) 32%),
    linear-gradient(to bottom, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 15%);
  color: #fff;
  opacity: var(--seen);
  pointer-events: none;
}

/* A soft dark edge keeps the drawn buttons readable over a light part of a video. */
.post svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 1.1cqw rgba(0, 0, 0, .5)); }

.post__top {
  position: absolute;
  left: 5.4cqw;
  right: 5.4cqw;
  top: 3.3cqh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 6.4cqw;
  letter-spacing: -.02em;
  line-height: 1;
}

.post__top b { font-weight: 600; }
.post__top svg { width: 7.8cqw; height: 7.8cqw; }

.post__rail { position: absolute; right: 4.6cqw; bottom: 5.2cqh; display: grid; justify-items: center; gap: 3.2cqh; }
/* Like, comment, share: each sign with the small mark under it where a count stands. The marks
   are blank on purpose, like the name: no figure of ours is written that is not a real one. */
.post__rail span { display: grid; justify-items: center; gap: 1.2cqw; }
.post__rail i { width: 6.4cqw; height: 1.9cqw; border-radius: 99px; background: rgba(255, 255, 255, .86); }
.post__rail svg { width: 8.8cqw; height: 8.8cqw; }
.post__dots circle { fill: currentColor; stroke: none; }

.post__foot { position: absolute; left: 5.4cqw; right: 21cqw; bottom: 4.6cqh; display: grid; gap: 2.6cqw; }
.post__who { display: flex; align-items: center; gap: 2.8cqw; font-size: 4.2cqw; line-height: 1; }
.post__who b { padding: 1.5cqw 3cqw; border: 1px solid rgba(255, 255, 255, .9); border-radius: 2.2cqw; font-weight: 600; }
/* The profile picture: the person in the video, cut from the video's own first frame. */
.post__face { width: 10.4cqw; height: 10.4cqw; flex: none; border: .7cqw solid #fff; border-radius: 50%; background: #2a2a33 url("media/poster/v19.webp") 72.3% 21.4% / 240% auto no-repeat; }
.post__name { width: 20cqw; height: 2.7cqw; border-radius: 99px; background: rgba(255, 255, 255, .94); }
.post__line { height: 2.4cqw; border-radius: 99px; background: rgba(255, 255, 255, .6); }
.post__line--short { width: 56%; }

/* Step three: the posts are noticed (the band has .is-posted while the wall stands: script.js).
   Two things say so, and neither carries a name or a number: nothing here is made up.
   1. A like on each post. A red heart lights up on the post's own heart, two small ones rise
      from it and are gone, and after a while it goes out again. Every post has its own moment,
      set by where it stands on the wall (--col, --row), so the wall is never all lit or all dark. */
.luv {
  position: absolute;
  z-index: 2;
  left: 91%;
  top: 62.6%;
  width: 8.8cqw;
  height: 8.8cqw;
  translate: -50% -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.4s-7.7-4.7-7.7-10.4A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.7 2.7c0 5.7-7.7 10.4-7.7 10.4z' fill='%23ff3355' stroke='%23ff3355' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50% / contain no-repeat;
  opacity: 0;
  pointer-events: none;
}

.luv::before,
.luv::after { content: ""; position: absolute; inset: 0; background: inherit; opacity: 0; }

/* 2. Four notes at the card's edges: a like, a comment, a share, a follower. One comes as the
      one before leaves. Each lies over a row's edge, where a post shows its drawn buttons and
      not a face. */
.buzz { position: absolute; inset: 0; z-index: 3; opacity: calc(1 - clamp(0, calc(var(--d, 0) * 2.6), 1)); pointer-events: none; }

.note {
  --wall: calc(100% - 28px);
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px 0 5px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(21, 19, 63, .08), 0 12px 24px -10px rgba(8, 7, 26, .6);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  rotate: var(--tilt);
  opacity: 0;
}

.note i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c) var(--sign) 50% 50% / 14px 14px no-repeat; }

.note--like {
  --c: #ff3355;
  --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.4s-7.7-4.7-7.7-10.4A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.7 2.7c0 5.7-7.7 10.4-7.7 10.4z' fill='%23fff' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --tilt: -4deg;
  --at: .4s;
  left: 5px;
  top: calc(14px + var(--wall) * .3308 - 17px);
}

.note--talk {
  --c: var(--accent);
  --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.7a8.3 8.3 0 0 1-12.4 7.2L3.5 20.5l1.6-4.5A8.3 8.3 0 1 1 20.5 11.7z' fill='%23fff' stroke='%23fff' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --tilt: 3deg;
  --at: 2.8s;
  right: 5px;
  top: 19px;
}

.note--share {
  --c: var(--green);
  --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 3.3 10.3 13.7M21 3.3l-6.7 17.3-4-7.3L3 9.3z'/%3E%3C/svg%3E");
  --tilt: 2deg;
  --at: 5.2s;
  right: 5px;
  top: calc(14px + var(--wall) * .6692 - 17px);
}

.note--fan {
  --c: var(--sun);
  --sign: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315133f' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9.5' cy='8' r='3.6'/%3E%3Cpath d='M3 19.6c.6-3.7 3.2-5.7 6.5-5.7 1.7 0 3.2.5 4.4 1.5M18.6 12.6v6M15.6 15.6h6'/%3E%3C/svg%3E");
  --tilt: -3deg;
  --at: 7.6s;
  left: 5px;
  bottom: 19px;
}

@media (prefers-reduced-motion: no-preference) {
  .is-posted .luv,
  .is-posted .luv::before,
  .is-posted .luv::after { animation: 7.6s calc(var(--col) * 1.37s + var(--row) * 2.63s + .5s) infinite backwards; }
  .is-posted .luv { animation-name: luv; }
  .is-posted .luv::before { animation-name: luv-up; }
  .is-posted .luv::after { animation-name: luv-up-2; }
  .is-posted .note { animation: note 9.6s var(--at) infinite backwards; }
}

@keyframes luv {
  0% { opacity: 0; scale: .2; }
  3% { opacity: 1; scale: 1.55; }
  6% { scale: 1; }
  42% { opacity: 1; scale: 1; }
  50%, 100% { opacity: 0; scale: 1; }
}

@keyframes luv-up {
  0%, 2% { opacity: 0; transform: none; }
  5% { opacity: 1; }
  22% { opacity: 0; transform: translate(-80%, -430%) scale(2.1) rotate(-14deg); }
  100% { opacity: 0; transform: translate(-80%, -430%) scale(2.1) rotate(-14deg); }
}

@keyframes luv-up-2 {
  0%, 6% { opacity: 0; transform: none; }
  9% { opacity: 1; }
  27% { opacity: 0; transform: translate(50%, -350%) scale(1.6) rotate(12deg); }
  100% { opacity: 0; transform: translate(50%, -350%) scale(1.6) rotate(12deg); }
}

@keyframes note {
  0% { opacity: 0; translate: 0 10px; scale: .86; }
  3.2% { opacity: 1; translate: 0 -1px; scale: 1.03; }
  5% { translate: 0 0; scale: 1; }
  27% { opacity: 1; translate: 0 0; scale: 1; }
  31%, 100% { opacity: 0; translate: 0 -7px; scale: .98; }
}

/* Where nothing moves by itself, the wall is shown as noticed: every other post liked, and two
   of the notes standing. */
@media (prefers-reduced-motion: reduce) {
  .is-posted .cell:nth-child(odd) .luv,
  .is-posted .note--like,
  .is-posted .note--share { opacity: 1; }
}

/* Step one: the link that was sent, over the product it leads to. */
.link {
  position: absolute;
  left: 50%;
  top: 27%;
  translate: -50% -50%;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 12px 28px -18px rgba(21, 19, 63, .55);
  font-size: clamp(16px, 3.7cqw, 21px);
  font-weight: 500;
  letter-spacing: -.015em;
  white-space: nowrap;
  opacity: clamp(0, calc(1 - var(--a, 0) * 3.2), 1);
}

.link i { width: 2px; height: 1.15em; background: var(--accent); }
/* The product's own sign beside its address. */
.link__sign { flex: none; width: 1.3em; height: 1.3em; margin: 0 .45em 0 -.3em; border-radius: .32em; }

/* A line from the link down to the product it leads to. */
.lead {
  position: absolute;
  left: 50%;
  top: calc(27% + 31px);
  bottom: calc(47.4% + 10px);
  width: 1.5px;
  margin-left: -.75px;
  background: var(--edge);
  opacity: clamp(0, calc(1 - var(--a, 0) * 3.2), 1);
}

/* ---------- 4. choose, and the price ---------- */

.q { padding: 30px 18px 34px; border-top: 1px solid var(--line); }

.q h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 22px;
  font-weight: var(--display);
  letter-spacing: -.025em;
  line-height: 1.2;
}

.q__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

/* What to expect where the bar stands, as two figures side by side with a rule between them:
   on the left the minimum we guarantee, in ink; on the right what the campaign can reach, in
   the brand's colour and ending in a plus (script.js works both out and rolls their digits).
   One line under them says what they count. Type sizes are shares of the block's own width
   (cqw), so the longest pair of figures still fits and the bar under it never moves. */
.q { container-type: inline-size; }

.views {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 22px;
  font-variant-numeric: tabular-nums;
}

/* A cell: its label, and right under it its figure. */
.views__cell { display: grid; justify-items: center; gap: 6px; }
.views__cell--max { border-left: 1px solid var(--line); }
.views__k { font-size: clamp(11.5px, 4.4cqw, 15px); line-height: 1.35; color: var(--ink-2); white-space: nowrap; }
.views__n { font-size: clamp(20px, 7.6cqw, 50px); font-weight: var(--display); letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.views__cell--max .views__n { color: var(--accent); }
/* What the figures count: one small tag, an eye and two words. The same tag stands on the
   campaign report (report.html), where it is on the blue card. */
.views .unit { grid-column: 1 / -1; justify-self: center; margin-top: 16px; }

.unit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px 0 10px;
  border-radius: 99px;
  background: var(--tint);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
}

.unit svg { flex: none; width: 17px; height: 17px; fill: currentColor; }
/* On the blue: white, on a lighter step of the blue. */
.quote__card .unit { background: rgba(255, 255, 255, .17); color: #fff; }

/* A figure whose characters change one by one (script.js): each stands in its own column, and a
   column shows only what is inside its own line. */
.roll { display: inline-flex; align-items: baseline; }
.roll__c { display: inline-grid; clip-path: inset(-.08em -1px); }
.roll__c > span { grid-area: 1 / 1; }
/* A column that is opening or closing shows nothing beyond its own width. */
.roll__c.is-moving { clip-path: inset(-.08em 0); }

.slide { position: relative; }

/* The handle moves with the pointer and rests on the nearest stop when let go (script.js).
   --fill is how far along it is, 0 to 1; the colour ends under the handle's middle. */
.range {
  --fill: .2857;
  --thumb: 28px;
  display: block;
  width: 100%;
  height: 34px;
  margin: 14px 0 0;
  padding: 0;
  background: none;
  cursor: grab;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}

.range:active { cursor: grabbing; }

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) 0 calc(var(--thumb) / 2 + var(--fill) * (100% - var(--thumb))), #e1e2ee 0);
}

.range::-moz-range-track { height: 6px; border-radius: 99px; background: #e1e2ee; }
.range::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }

.range::-webkit-slider-thumb {
  width: var(--thumb);
  height: var(--thumb);
  margin-top: -11px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(61, 56, 245, .28);
  -webkit-appearance: none;
  appearance: none;
  transition: scale var(--t1) var(--ease);
}

.range:hover::-webkit-slider-thumb,
.range:active::-webkit-slider-thumb { scale: 1.12; }

.range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
}

.range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 99px; }

/* "drag it", until it has been dragged. */
.hand--slide {
  position: absolute;
  right: 9%;
  top: calc(100% - 2px);
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 6px;
  rotate: -2deg;
  transition: opacity var(--t2) var(--ease);
}

/* It stands under the bar now (the figures stand above it), so its arrow points up. */
.hand--slide svg { scale: 1 -1; }

.slide.is-used .hand--slide { opacity: 0; }

/* The campaign as chosen and its price: the one card in the brand's colour, on the wash. It is
   what this part of the page is for, so it is the largest and loudest thing in it. */
.quote {
  padding: 22px 18px 34px;
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.quote__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background: var(--accent);
  box-shadow: 0 2px 6px rgba(21, 19, 63, .12), 0 34px 56px -38px rgba(61, 56, 245, .62);
  color: #fff;
  container-type: inline-size;
}

/* The card has two parts, so the price and the next step read apart: the price on the brand's
   colour, and under a line the button on a deeper shade of it. */
.quote__top { padding: 28px 24px 24px; }

.quote__act {
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  background: rgba(8, 7, 26, .17);
}

/* The band's squares again, faint, clearest toward the top corner. */
.quote__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 100% 0;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 100% 0, #000 15%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 85% at 100% 0, #000 15%, transparent 100%);
  pointer-events: none;
}

.quote__label {
  font-size: clamp(19px, 5.4cqw, 24px);
  font-weight: var(--display);
  letter-spacing: -.025em;
  line-height: 1.2;
}

/* A small white spark on the label's last letter, each time the card comes into view
   (script.js gives the card .is-seen): it flashes up, a smaller one answers beside it, and both
   are gone. Nothing is left standing, and under "reduce motion" there is none. */
.spark {
  position: relative;
  top: -.56em;
  display: inline-block;
  width: .66em;
  height: .66em;
  margin-left: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.8 7.4 4.6 11.2 12 12-7.4.8-11.2 4.6-12 12-.8-7.4-4.6-11.2-12-12 7.4-.8 11.2-4.6 12-12z' fill='%23fff'/%3E%3C/svg%3E") 50% 50% / contain no-repeat;
  filter: drop-shadow(0 0 .28em rgba(255, 255, 255, .85));
  opacity: 0;
  pointer-events: none;
}

.spark::after {
  content: "";
  position: absolute;
  left: 96%;
  top: 78%;
  width: 46%;
  height: 46%;
  background: inherit;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .quote__card.is-seen .spark { animation: spark 1500ms var(--ease) 350ms both; }
  .quote__card.is-seen .spark::after { animation: spark-2 1100ms var(--ease) 720ms both; }
}

@keyframes spark {
  0% { opacity: 0; scale: 0; rotate: -45deg; }
  28% { opacity: 1; scale: 1.3; rotate: 12deg; }
  44% { opacity: 1; scale: .88; rotate: 24deg; }
  60% { opacity: 1; scale: 1.08; rotate: 34deg; }
  100% { opacity: 0; scale: 0; rotate: 90deg; }
}

@keyframes spark-2 {
  0% { opacity: 0; scale: 0; }
  35% { opacity: 1; scale: 1.25; }
  100% { opacity: 0; scale: 0; }
}

/* What it costs: one range, always on one line. The type is as large as the card's width lets
   the longest range be ("$30,000 to $70,000" is 7.24 times the type size wide, plus the "to" and
   the gaps), so the line never breaks and the card never changes height as the bar moves. */
.quote__price {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0 clamp(8px, 2.6cqw, 12px);
  margin-top: clamp(16px, 5cqw, 24px);
  white-space: nowrap;
}

.quote__price output,
.quote__talk {
  font-size: clamp(24px, calc(13cqw - 10px), 54px);
  font-weight: var(--display);
  letter-spacing: -.05em;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}

.quote__price > span { font-size: clamp(16px, 4.6cqw, 20px); color: rgba(255, 255, 255, .76); }

/* What the range is, and where the exact figure comes. */
.quote__rate { margin-top: 12px; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .8); }

/* Under its title the card says one of two things: the price range, or, for a campaign too
   large to price on a page (script.js puts is-talk on the card), that the price is on request.
   The two stand
   in the same place, so the card is as tall with one as with the other. The one that leaves
   is gone before the other shows, so the two are never read through each other; the words
   rise in as the figures do when the bar goes up, and the price comes back down from above
   when the bar goes back. */
.quote__says { display: grid; }
.quote__say { grid-area: 1 / 1; transition: opacity 200ms linear 110ms, translate 300ms var(--ease) 110ms, visibility 0s; }
.quote__say--talk,
.quote__card.is-talk .quote__say--price { opacity: 0; visibility: hidden; transition: opacity 120ms linear, translate 200ms var(--ease), visibility 0s linear 120ms; }
.quote__say--talk { translate: 0 7px; }
.quote__card.is-talk .quote__say--price { translate: 0 -7px; }
.quote__card.is-talk .quote__say--talk { opacity: 1; visibility: visible; translate: none; transition: opacity 200ms linear 110ms, translate 300ms var(--ease) 110ms, visibility 0s; }

/* The words that stand where the price stood: its size and its line. */
.quote__talk { margin-top: clamp(16px, 5cqw, 24px); letter-spacing: -.04em; white-space: nowrap; }

/* On the brand's colour the button is white. */
.quote .btn {
  min-height: 56px;
  background: #fff;
  color: var(--accent-deep);
  font-size: 17px;
}

.quote .btn:hover { background: var(--tint); }
.quote .btn:focus-visible { outline-color: #fff; }
.quote__small { margin-top: 14px; font-size: 14px; line-height: 20px; text-align: center; color: rgba(255, 255, 255, .8); }

/* ---------- a little yellow ---------- */

/* "Your" in the card's title. */
.quote__label span { color: var(--sun); }

/* "potential customers" in the last step, once that step is the one being read. */
.step__t em { font-style: normal; transition: color var(--t2) var(--ease); }
.step.is-on .step__t em { color: var(--sun); }

/* On white: a stroke under the words (the same stroke as under "views"), behind the letters. */
#pay-h { display: block; position: relative; isolation: isolate; }

.sun { position: relative; display: inline-block; white-space: nowrap; }

.sun::after {
  content: "";
  position: absolute;
  left: -1.5%;
  right: -2.5%;
  bottom: -.2em;
  z-index: -1;
  height: .42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath fill='%23ffd84a' d='M2 13C40 6 120 1 198 3 130 12 50 20 5 22Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* ---------- step five of the story: the customer's own page, drawn small ---------- */

/* The campaign report (report.html) at a smaller size: the blue card with the figure and its
   bar, the days as columns, the posts as rows. It stands in the picture card, on the wash, and
   comes up as the accounts go (--g, step four to five). It is as wide as the card lets it be,
   and never taller than the card. */
.watch {
  --seen: clamp(0, calc((var(--g, 0) - .3) * 3), 1);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  container-type: size;
  border-radius: inherit;
  background: var(--wash);
  opacity: var(--seen);
  pointer-events: none;
}

.watch .rp { width: min(100cqw - 20px, 520px, (100cqh - 20px) * 1.04); translate: 0 calc((1 - var(--seen)) * 18px); }

.rp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.rp__card { grid-column: 1 / -1; }
.rp__card .quote__top { padding: 26px 24px 24px; }
/* The figure, as large as the card lets its digits be (--len: script.js). Digits of one width,
   so it does not shake while it counts. */
.rp__n { margin-top: 12px; font-size: clamp(34px, calc((100cqw - 48px) / var(--len, 7) / .6), 96px); font-weight: var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.05em; line-height: .96; white-space: nowrap; }
.rp__unit { margin: 13px 0 22px; line-height: 0; }
/* The bar is as full as the figure is near the guaranteed minimum (--fill: script.js). */
.rp__meter { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
.rp__meter > i { position: relative; display: block; height: 100%; border-radius: inherit; background: var(--sun); overflow: hidden; transform-origin: 0 50%; scale: var(--fill, 1) 1; transition: scale 240ms var(--ease); }
/* The moment the minimum is reached (the drawing has .is-reached): a light runs along the bar
   and the bar glows, the card springs and sends out a ring, the figure springs with it, a white
   spark flashes beside it, and small coloured pieces fly up from the bar and fall (script.js
   makes them and takes them away). All of it once. */
.rp__meter > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 70%) -60% 0 / 45% 100% no-repeat; opacity: 0; }
/* The pieces: over the whole picture, and cut at its edge. */
.rp__confetti { position: absolute; inset: 0; z-index: 2; overflow: hidden; border-radius: inherit; pointer-events: none; }
.rp__confetti i { position: absolute; will-change: transform, opacity; }
.rp__n { transform-origin: 0 60%; }
.rp__n .spark { top: -1.72em; width: .25em; height: .25em; margin-left: .05em; }
.rp__goal { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-top: 10px; font-size: 14.5px; line-height: 1.35; color: rgba(255, 255, 255, .88); }
.rp__goal b { font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }

.rp__panel { min-width: 0; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 16px 30px -26px rgba(21, 19, 63, .45); }
.rp__panel b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
/* The days: columns on one line, with no figures. */
.rp__cols { display: flex; align-items: flex-end; gap: 3px; height: 92px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.rp__cols i { flex: 1 1 0; height: var(--h); border-radius: 3px 3px 0 0; background: var(--accent); transform-origin: 50% 100%; }
/* The posts: a platform's sign, then bars where the words and the count would stand. */
.rp__rows { margin-top: 8px; }
.rp__row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto 13px; align-items: center; gap: 9px; height: 27px; border-bottom: 1px solid var(--line); }
.rp__row:last-child { border-bottom: 0; }
.rp__row .sign { width: 16px; height: 16px; }
.rp__t { width: var(--w); height: 7px; border-radius: 99px; background: rgba(21, 19, 63, .13); }
.rp__v { width: 24px; height: 7px; border-radius: 99px; background: rgba(21, 19, 63, .3); }
.rp__row svg { width: 13px; height: 13px; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* A platform's own sign, small (the pictures are named at the top of this file). */
.sign { flex: none; width: 20px; height: 20px; background: 50% 50% / contain no-repeat; }
.sign--instagram { background-image: var(--sign-ig); }
.sign--youtube { background-image: var(--sign-yt); }
.sign--facebook { background-image: var(--sign-fb); }

/* ---------- 5. questions ---------- */

.faq .head { padding-bottom: 22px; }

.faq__help { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.faq__help a { border-bottom: 1px solid var(--edge); color: var(--ink); transition: border-color var(--t1) var(--ease); }
.faq__help a:hover { border-color: var(--accent); }

.faq__list { margin: 0 18px 56px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font: inherit; }

.qa button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 66px;
  padding: 16px 2px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.3;
  text-align: left;
  transition: color var(--t1) var(--ease);
}

.qa button:hover { color: var(--accent); }

/* A plus that turns into a minus, in a small round. */
.qa button i {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--wash);
  transition: background-color var(--t1) var(--ease);
}

.qa.is-open button i { background: var(--tint); }

.qa button i::before,
.qa button i::after {
  content: "";
  position: absolute;
  inset: 14px 9px auto 9px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: rotate var(--t2) var(--ease);
}

.qa button i::after { rotate: 90deg; }
.qa.is-open button i::after { rotate: 0deg; }

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms var(--ease);
}

.qa__a > p {
  min-height: 0;
  max-width: 34em;
  overflow: hidden;
  padding-inline: 2px 44px;
  color: var(--ink-2);
  visibility: hidden;
  transition: visibility 0s 380ms;
}

.qa__a > p::after { content: ""; display: block; height: 22px; }

/* The platforms we post on, each with its own sign beside its name. */
.plats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 10px; color: var(--ink); }
.plat { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.plat svg { flex: none; width: 21px; height: 21px; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > p { visibility: visible; transition-delay: 0s; }

/* ---------- 6. the ask ---------- */

.contact { background: var(--wash); }
.contact__text { padding: 56px 18px 8px; }
.contact__text p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }

.contact__mail {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 1px solid var(--edge);
  font-size: 18px;
}

.form { display: grid; gap: 18px; padding: 26px 18px 60px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }

.form label {
  display: block;
  font-size: 15px;
  font-weight: var(--display);
}

.form label input,
.form label textarea { display: block; margin-top: 8px; }

.form label span { font-weight: 400; color: var(--ink-2); }

.form input,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 17px;
  font-weight: 400;
  transition: border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease);
}

.form textarea { min-height: 116px; resize: vertical; }

.form input:focus-visible,
.form textarea:focus-visible { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61, 56, 245, .14); }

.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__end p { font-size: 14px; color: var(--ink-2); }
.form__end a { border-bottom: 1px solid var(--edge); color: var(--ink); }
.form__error { font-size: 15px; color: #b3261e; }
.form__error a { border-bottom: 1px solid currentColor; }
.form__sent { font-size: 18px; font-weight: var(--display); }

/* ---------- the foot ---------- */

.foot { border-top: 1px solid var(--line); }

.foot__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 24px 18px 28px;
  font-size: 14px;
  color: var(--ink-2);
}

.foot .mark { color: var(--ink); }
.foot__date { margin-left: auto; }
/* Whose the page is: on a line of its own on a phone, at the row's right end on a wide screen. */
.foot__rights { flex-basis: 100%; }

/* ---------- a video opened large ---------- */

.viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: rgba(8, 7, 26, .94);
  color: #fff;
}

.viewer::backdrop { background: none; }
.viewer[open] { display: grid; place-items: center; animation: fade var(--t2) var(--ease); }
.viewer[open] .viewer__frame { animation: rise 420ms var(--ease); }

.viewer__in { display: grid; justify-items: center; gap: 16px; }

.viewer__frame {
  position: relative;
  height: min(80vh, calc((100vw - 40px) * 16 / 9));
  height: min(80svh, calc((100vw - 40px) * 16 / 9));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 50px 90px -50px #000;
}

.viewer__frame video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

/* A little shade along the top, so the two buttons read on any video. */
.viewer__frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 96px;
  background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.viewer__bar {
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: #fff;
  transform: scaleX(var(--played, 0));
  transform-origin: 0 50%;
}

/* While the opened video waits for more of itself (a slow connection), a ring turns over its
   still picture. It comes up after a moment, so a video that starts at once never shows it. */
.viewer__frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, .28);
  border-top-color: #fff;
  border-radius: 50%;
  background: rgba(18, 18, 24, .52);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t1) linear;
}

.viewer.is-waiting .viewer__frame::after { opacity: 1; transition-delay: 450ms; animation: turn 800ms linear infinite; }

.viewer__tools { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; }

.viewer__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 18, 24, .52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: background-color var(--t1) var(--ease), scale var(--t1) var(--ease);
}

.viewer__btn:hover { background: rgba(18, 18, 24, .78); }
.viewer__btn:active { scale: .94; }
.viewer__btn .off,
.viewer__btn[aria-pressed="false"] .on { display: none; }
.viewer__btn[aria-pressed="false"] .off { display: inline; }

.viewer__product { font-size: 15px; line-height: 1.3; color: rgba(255, 255, 255, .66); }
.viewer__product b { font-weight: 500; color: #fff; }

.viewer :focus-visible { outline-color: #fff; }

/* ---------- wide screens ---------- */

@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .hero__text {
    display: grid;
    align-content: center;
    justify-items: start;
    height: 100%;
    padding: 150px var(--pad) 96px;
    border-right: 1px solid var(--line);
  }

  h1 { font-size: clamp(40px, 3.9vw, 56px); }
  .hero__text h1 { font-size: clamp(30px, 3.3vw, 52px); font-size: clamp(30px, 8.6cqw, 52px); }
  .send { width: 100%; margin-top: 36px; }
  .cue { margin-top: 16px; }
  .hero__note { margin-top: 12px; }
  .hero__note + .cue { margin-top: 6px; }

  .hero__reel {
    align-self: center;
    aspect-ratio: 5 / 4;
    width: 100%;
    height: auto;
    margin: 104px 0 76px;
  }

  .hero__wall { inset: -104px 0 -76px; }
  .hero__reel .tile:nth-child(1) { --off: 22px; }
  .hero__reel .tile:nth-child(2) { --off: -22px; }
  .hero__reel .tile:nth-child(3) { --off: 40px; }
  .hand--reel { left: 9%; bottom: -34px; font-size: 27px; }

  /* The band holds only the companies, on one line from the page's left edge to its right, the
     room between them shared out evenly. Every size in that line is a share of the line's own
     width (1cqw is a hundredth of it) up to its full size, and the companies take three
     quarters of it at most, so they stay on one line at any window width. The px value that
     comes first is for a browser that does not know cqw. */
  .names__in { position: relative; container-type: inline-size; gap: 0; padding: 32px var(--pad) 32px; }
  /* The handwritten words stand ABOVE the band's top line, on the first screen's white, like a
     note written over the band (the owner, 2026-11-20: "put it up there, above the line, and it
     will make the companies cleaner"). The first letter stands on the line of the first sign's
     left edge. On a phone they stay inside the band: the first screen ends there with another
     handwritten note. */
  .names__label { position: absolute; left: calc(var(--pad) - 7px); bottom: 100%; margin: 0 0 6px; }
  .names__note { width: 272px; width: min(22.1cqw, 272px); }
  .names__list { justify-self: stretch; flex-wrap: nowrap; justify-content: space-between; gap: 0; }
  .names__list li { gap: min(1.167cqw, 14px); font-size: min(2.58cqw, 31px); white-space: nowrap; }
  .names__list img { width: min(3.667cqw, 44px); height: min(3.667cqw, 44px); border-radius: min(1cqw, 12px); }

  .say .wrap { padding: 92px var(--pad) 100px; }

  /* The band fills the window while its steps are read. --band-h is the room its picture has:
     the window less the menu's strip above and the frame's foot. */
  .story { --band-h: calc(100vh - 92px); --band-r: 28px; }
  .story__ground { inset: 0 12px; }
  .story__pin { padding: 80px 12px 12px; }
  .story__tail { left: 12px; right: 12px; height: 240px; }
  .choose .head { padding-top: 168px; }

  /* The band runs the window's width. Its picture ends on the page's own column; the steps stand
     a little further out to the left, clear of the picture, so each one fits on a single line. */
  .band {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    column-gap: clamp(40px, 6.6vw, 88px);
    padding-inline: max(40px, calc((100vw - var(--sheet)) / 2 - 36px)) max(40px, calc((100vw - var(--sheet)) / 2 + 28px));
  }

  .band__text { align-self: center; padding: 40px 0; }

  /* The band's title, set like the page's other titles, in white. */
  .band__label {
    display: block;
    margin-bottom: clamp(22px, 2.3vw, 34px);
    font-size: clamp(30px, 3.1vw, 44px);
    color: #fff;
  }

  /* All five steps stand in a list with a rail beside them; the one being read opens. */
  .steps { position: relative; display: block; padding-left: 28px; }

  .steps::before,
  .steps::after {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .24);
  }

  .steps::after { background: var(--sun); transform: scaleY(var(--sp, 0)); transform-origin: 50% 0; }

  .step { opacity: 1; pointer-events: auto; }

  .step button {
    gap: clamp(14px, 1.4vw, 20px);
    padding: 10px 0;
    color: rgba(255, 255, 255, .48);
    cursor: pointer;
    transition: color var(--t2) var(--ease);
  }

  .step button:hover,
  .step.is-on button { color: #fff; }

  /* The numbers stand in a column of their own width, so the steps' words start on one line. */
  .step__n { width: .62em; font-size: clamp(38px, 3.7vw, 54px); color: inherit; transition: color var(--t2) var(--ease); }
  .step.is-on .step__n { color: var(--sun); }
  .step__t { font-size: clamp(20px, 1.85vw, 27px); }

  .step__more {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 520ms var(--ease);
  }

  .step__more > p:not(.vh) {
    min-height: 0;
    margin-top: 0;
    overflow: hidden;
    padding-left: calc(1.1em * 15 / 17 + 16px);
    font-size: 17px;
  }

  .step__more > p:not(.vh)::after { content: ""; display: block; height: 12px; }
  .step.is-on .step__more { grid-template-rows: 1fr; }
  .dots { display: none; }

  /* The picture is a card of its own size, not the whole half: it stands at the right edge of
     the page's column, in the middle of the band's height, with the squares around it. */
  .stage { order: 0; grid-template-rows: auto auto; align-content: center; justify-items: end; gap: 14px; padding: 22px 0 16px; }

  .stage__card {
    /* As tall as the band allows, with the small line under it and a little room, and as wide
       as that height makes it (it keeps its shape). */
    width: min(100%, 600px, calc((var(--band-h) - 104px) * 30 / 31));
    aspect-ratio: 30 / 31;
    border-radius: 22px;
  }

  /* The small line under the card is as wide as the card, so it stands centred under it. Its
     button is the size of the menu's. */
  .stage__cap { width: min(100%, 600px, calc((var(--band-h) - 104px) * 30 / 31)); min-height: 40px; gap: 12px; font-size: 14px; }
  .stage__link { height: 40px; padding: 0 15px 0 18px; font-size: 15px; }
  .screen { inset: 20px; }

  .choose__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
  /* The one question stands in the middle of its side, beside the card. */
  .choose__qs { display: grid; align-content: center; }
  .q { padding: 40px var(--pad) 46px; }
  .q:first-child { border-top: 0; }

  /* The card stays in view beside the choices while they are made. */
  .quote { padding: 40px 32px 46px; border-top: 0; border-left: 1px solid var(--line); }
  /* Only the price card follows the scroll. (The same blue card also stands on the campaign
     report and in the drawing of it above the FAQ, where it stays in its place.) */
  .quote > .quote__card { position: sticky; top: 96px; }
  .quote__top { padding: 38px 36px 32px; }
  .quote__act { padding: 28px 36px 28px; }
  /* The card's sides are wider here, so the longest range needs slightly smaller type to fit. */
  .quote__price output, .quote__talk { font-size: clamp(24px, calc(13cqw - 13.5px), 54px); }

  .faq__in { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); align-items: start; }
  /* The title and its note stand together and follow the scroll down the list. Where the list
     ends they let go, with the note's last line level with the last question's rule: the list
     ends 80px above the section's foot, and a line's letters stand 7.5px above the line's foot. */
  .faq .head { position: sticky; top: 104px; margin-top: 68px; padding: 0 var(--pad) 72.5px; }

  /* On a tall window the page would end before the two could meet, so its last part grows just
     enough for the page to scroll that far (--faq-end: what stands above and below it then). */
  .contact { --faq-end: 392px; min-height: calc(100vh - var(--faq-end)); min-height: calc(100svh - var(--faq-end)); }
  .faq__help { margin-top: 16px; font-size: 17px; }
  .faq__list { margin: 76px var(--pad) 80px 0; }

  /* The ruled sheet is as tall as the part itself (script.js may make the part taller), so its
     rules run down to the foot. */
  .contact { display: grid; }
  .contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact__text { padding: 68px var(--pad); }
  .form { align-content: start; padding: 68px var(--pad); border-left: 1px solid var(--line); }
  .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .foot__in { padding: 26px var(--pad); }
  .foot__rights { flex-basis: auto; margin-left: auto; }
}

/* ---------- phones: the sheet stands a little in from the edges ---------- */

@media (max-width: 899.98px) {
  /* A phone's frame is three columns of the wall wide. The two outer columns never show there
     (as the wall draws back at step four their edges would). */
  .cell[style*="--col:0"], .cell[style*="--col:4"] { visibility: hidden; }
  .wrap { width: auto; margin-inline: 12px; }
  .nav__part--links { display: none; }
  .nav__part--mark { padding: 0 18px 0 16px; }
  /* Before script.js has measured: the same width it will set (the two pieces are 272px, and it
     keeps 8px between them), so the pieces do not slide at load. */
  .nav.is-top { width: var(--nav-w, max(calc(100vw - 60px), 280px)); }
  .head { padding: 56px 18px 26px; }
  .hand--slide { display: none; }
}

/* ---------- what moves by itself ---------- */

@media (prefers-reduced-motion: no-preference) {
  .names.will-in:not(.is-in) .names__list li { opacity: 0; translate: 0 14px; }

  .names.is-in .names__list li {
    transition: opacity 640ms var(--ease), translate 640ms var(--ease);
    transition-delay: calc(260ms + var(--i, 0) * 80ms);
  }

  /* The words are written: uncovered from their first letter to their last. Then the three
     ticks are drawn, one after another, each from its near end outwards, and the companies
     come up. (The cut is wider than the picture, whose letters and ticks reach a little past
     its edges. A tick is one dash as long as itself, pushed off its line until its turn.) */
  .names.will-in .names__ticks path { stroke-dasharray: 1 3; }
  /* Hidden until its turn, then uncovered from left to right. Once that is done no cut is left
     on the picture: a part that keeps one is drawn as a finished image and can go soft. */
  .names.will-in:not(.is-in) .names__note { clip-path: inset(-70% 104% -40% -6%); }
  .names.will-in:not(.is-in) .names__ticks path { stroke-dashoffset: 1.4; }
  .names.is-in .names__note { animation: write 820ms cubic-bezier(.5, .1, .3, 1) backwards; }
  .names.is-in .names__ticks path { transition: stroke-dashoffset 220ms var(--ease) 720ms; }
  .names.is-in .names__ticks path:nth-child(2) { transition-delay: 800ms; }
  .names.is-in .names__ticks path:nth-child(3) { transition-delay: 880ms; }

  /* The drawn page, each time the story comes to its last step (.is-watched: script.js): the
     bar fills while the figure counts, the days grow one after another and the posts arrive.
     Away from that step everything is back at its start, at once. */
  .story:not(.is-watched) .rp__cols i { scale: 1 0; }
  .story:not(.is-watched) .rp__row { opacity: 0; translate: 0 7px; }
  .watch.is-reached .rp__meter > i::after { animation: gleam 1000ms var(--ease) 60ms both; }
  .watch.is-reached .rp__meter { animation: glow 1200ms ease-out both; }
  .watch.is-reached .rp__card { animation: cheer 900ms cubic-bezier(.3, 1.5, .5, 1) both; }
  .watch.is-reached .rp__n { animation: swell 760ms cubic-bezier(.3, 1.4, .5, 1) both; }
  .watch.is-reached .rp__n .spark { animation: spark 1500ms var(--ease) 140ms both; }
  .watch.is-reached .rp__n .spark::after { animation: spark-2 1100ms var(--ease) 480ms both; }
  .watch.is-reached [data-after-goal] { animation: told 520ms var(--ease) both; }
  .story.is-watched .rp__cols i { transition: scale 640ms var(--ease) calc(380ms + var(--n) * 55ms); }
  .story.is-watched .rp__row { transition: opacity 460ms var(--ease) calc(600ms + var(--n) * 110ms), translate 460ms var(--ease) calc(600ms + var(--n) * 110ms); }

  .swash { animation: swash 760ms var(--ease) 560ms backwards; }
  .hero__reel .tile { animation: come 900ms var(--ease) both; }
  .hero__reel .tile:nth-child(1) { animation-delay: 80ms; }
  .hero__reel .tile:nth-child(2) { animation-delay: 200ms; }
  .hero__reel .tile:nth-child(3) { animation-delay: 320ms; }
  .hero__text > * { animation: come 800ms var(--ease) both; }
  .hero__text > .send { animation-delay: 100ms; }
  .hero__text > .hero__note { animation-delay: 140ms; }
  .hero__text > .cue { animation-delay: 180ms; }
  .hand--reel { animation: come 700ms var(--ease) 900ms both; }
  .cue i { animation: nudge 1.8s var(--ease) infinite; }
  .link i { animation: blink 1s steps(2, jump-none) infinite; }
}

@keyframes come { from { opacity: 0; translate: 0 26px; } }
@keyframes write { from { clip-path: inset(-70% 104% -40% -6%); } to { clip-path: inset(-70% -10% -40% -6%); } }
@keyframes gleam { 0% { opacity: 1; background-position: -60% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 190% 0; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(255, 216, 74, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 216, 74, 0); } }
@keyframes cheer {
  0% { scale: 1; box-shadow: 0 2px 6px rgba(21, 19, 63, .12), 0 34px 56px -38px rgba(61, 56, 245, .62), 0 0 0 0 rgba(255, 216, 74, .75); }
  32% { scale: 1.028; }
  100% { scale: 1; box-shadow: 0 2px 6px rgba(21, 19, 63, .12), 0 34px 56px -38px rgba(61, 56, 245, .62), 0 0 0 18px rgba(255, 216, 74, 0); }
}
@keyframes swell { 0% { scale: 1; } 34% { scale: 1.1; } 100% { scale: 1; } }
@keyframes told { from { opacity: 0; translate: 0 6px; } }
@keyframes nudge { 50% { translate: 0 5px; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes swash { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pane { from { opacity: 0; translate: 0 8px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 24px; scale: .97; } }
@keyframes turn { to { rotate: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .quote__say { transition-delay: 0s !important; }
}
