/* ==========================================================================
   FLAGSHIP — one page (05.11)
   Black. The wall of films (WebGL, wall.js) and, over the black hole in the middle, the block:
   Home, Services, Book a call. Adobe Jenson Pro for the paragraphs (upright, never italic), Area Normal
   for everything else, both at 14 px. The logotype is the largest thing, and it is small.
   Spacing from the three mockups of 05.11 (2000 px wide): --u is one mockup pixel at this screen
   width (0.72 px on a 1440 px screen). Text sizes don't scale; the gaps do.
   Small screens and browsers without WebGL: no wall, the block at the top, the films in a column.
   ========================================================================== */

:root {
  --white: #fff;
  --black: #000;
  --fg-2: rgb(255 255 255 / 0.58);
  --fg-3: rgb(255 255 255 / 0.28);
  --rule: rgb(255 255 255 / 0.16);
  --rule-2: rgb(255 255 255 / 0.08);
  --serif: "adobe-jenson-pro", "Adobe Jenson Pro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "area-normal", "Area Normal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs: 18px; /* Jenson and Area: 14 px (05.11), every text 4 px larger since 06.11 */
  --lh: 22px; /* paragraph line pitch */
  --track: 0.02em;
  --u: clamp(0.62px, 100vw / 2000, 1px);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hover: rgb(255 255 255 / 0.1);
  --blank: #0c0c0c;
  color-scheme: dark;
}
/* Day (06.11): the site in negative. --white is the ink, --black the paper, whatever their names. The
   film player keeps the night (see .player). */
:root[data-theme="day"] {
  --white: #000;
  --black: #fff;
  --fg-2: rgb(0 0 0 / 0.58);
  --fg-3: rgb(0 0 0 / 0.32);
  --rule: rgb(0 0 0 / 0.16);
  --rule-2: rgb(0 0 0 / 0.08);
  --hover: rgb(0 0 0 / 0.07);
  --blank: #ececec;
  --arrow: url("/assets/img/cursors/delta-ink.png") 4 3, default;
  --click: url("/assets/img/cursors/point-ink.png") 13 3, default;
  --press: url("/assets/img/cursors/hand-ink.png") 16 15, default;
  color-scheme: light;
}
/* by day, no glow around the texts (08.11): it shows as a grey halo on white */
:root[data-theme="day"] .site-foot,
:root[data-theme="day"] .hint { text-shadow: none; }

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

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--black);
  font: 400 var(--fs) / 1.25 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection { background: var(--white); color: var(--black); }

/* The mouse (19:55): a white arrow, modern, drawn by the system itself (no lag): three proposals, see
   tools/cursors.mjs and cursor.js (?cursor=1 delta by default, 2 line, 3 corner, classic). Three
   states: --arrow at rest; --click on anything that can be clicked: a plain pointing hand (17.11, Max's
   drawing; square corners since 19.11); --press while held or while the wall is dragged: a closed hand (20:25). The fallback is
   the system's plain arrow, never its hand (09.11). The fields keep the system's text cursor. cursor.js
   swaps in the sharp 2x images and loads them at once. */
:root {
  --arrow: url("/assets/img/cursors/delta.png") 4 3, default;
  --click: url("/assets/img/cursors/point.png") 13 3, default;
  --press: url("/assets/img/cursors/hand.png") 16 15, default;
}
html { cursor: var(--arrow); }
a, label.choice { cursor: var(--click); }
:is(a, button:not(:disabled), .choice, .wall):active { cursor: var(--press); }
.player__hit { cursor: inherit; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: var(--click); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
em, i, cite { font-style: normal; } /* Jenson stays upright */
[hidden] { display: none !important; }

:focus-visible { outline: 1px solid var(--white); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 0.7em 1em;
  background: var(--white);
  color: var(--black);
  font: 500 15px / 1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* --------------------------------------------------------------------------
   The wolf (the « cerbère ») and FLAGSHIP live together (06.11): the wolf keeps its size (32 px, 40 px
   on a large screen) and sits above the word, which is larger than before. One link to the landing.
   -------------------------------------------------------------------------- */
.lockup { line-height: 0; }
.lockup a { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lockup svg { display: block; width: auto; }
.lockup__wolf svg { height: 32px; }
.lockup__word svg { height: clamp(17px, calc(28 * var(--u)), 24px); }
@media (min-width: 900px) {
  .lockup__wolf svg { height: 40px; }
}

/* --------------------------------------------------------------------------
   Day / night (back on 06.11): a small switch, top right (09.11; it was bottom right): a sun and a
   moon, the current one full, the other faint; in negative of what is under it, no glow (08.11).
   Night falls from the top, day rises from the bottom (View Transitions).
   -------------------------------------------------------------------------- */
.theme {
  position: fixed;
  right: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-right, 0px));
  top: max(clamp(14px, 2vw, 28px), env(safe-area-inset-top, 0px));
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #fff;
  mix-blend-mode: difference; /* in negative of what is under it, day and night: always visible (08.11) */
}
.theme span { display: block; line-height: 0; opacity: 0.42; transition: opacity 0.2s, rotate 0.6s var(--ease-out); }
.theme svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="day"] .theme__day,
:root:not([data-theme="day"]) .theme__night { opacity: 1; }
:root[data-theme="day"] .theme__day { rotate: 90deg; } /* the sun turns a quarter as day comes */
@media (hover: hover) {
  .theme:hover span { opacity: 1; }
}
html.is-film .theme { opacity: 0; pointer-events: none; }
/* X, Instagram, LinkedIn (19.11; bottom right since 20.11): on every page and in every state, the size
   of the day / night switch and drawn the same way: monochrome, in negative of what is under them. */
.social {
  position: fixed;
  right: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-right, 0px));
  bottom: max(clamp(14px, 2vw, 28px), env(safe-area-inset-bottom, 0px));
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  mix-blend-mode: difference;
}
.social__link { display: block; line-height: 0; opacity: 0.6; transition: opacity 0.2s; }
.social__link svg { display: block; width: 19px; height: 19px; }
@media (hover: hover) {
  .social__link:hover { opacity: 1; }
}
html.is-film .social { opacity: 0; pointer-events: none; }
@media (max-width: 600px) {
  .theme { top: max(14px, env(safe-area-inset-top, 0px)); gap: 10px; }
  .theme svg { width: 17px; height: 17px; }
  .social { gap: 12px; }
  .social__link svg { width: 17px; height: 17px; }
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
:root[data-theme-to="night"]::view-transition-new(root) { animation: wipe-down 0.9s var(--ease) both; }
:root[data-theme-to="day"]::view-transition-new(root) { animation: wipe-up 0.9s var(--ease) both; }
@keyframes wipe-down {
  from { clip-path: inset(0 0 100% 0); }
}
@keyframes wipe-up {
  from { clip-path: inset(100% 0 0 0); }
}

/* --------------------------------------------------------------------------
   The block: no box, no background — the hole of the wall is its background. It is as large as
   its content; the wall reads its size.
   -------------------------------------------------------------------------- */
.block {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  outline: none;
  text-align: center;
}
.block__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter);
}


/* the states: only the current one is in the page */
.state { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* Paragraphs: Jenson 14 / 17 */
.lead {
  max-width: calc(420 * var(--u) + 2em);
  font: 400 var(--fs) / var(--lh) var(--serif);
  text-wrap: balance;
}
/* The texts of 19.11, in Jenson 18 px (adobe-jenson-pro 400), with room between the lines, each sentence
   on its own line (it wraps only on a narrow screen): three at Home, four in Services (20.11). */
.lead--home { max-width: min(760px, 100%); line-height: 26px; }
.lead--long {
  max-width: min(1000px, 100%);
  font-size: var(--fs);
  line-height: 26px;
  text-wrap: balance;
}


/* Lines rising from their masks (iakovlev.co) */
.line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.line__in { display: block; transition: transform 0.9s var(--ease-out) calc(var(--i, 0) * 70ms + 80ms); }
.is-entering .line__in { transform: translateY(110%); transition: none; }
.is-leaving .line__in { transform: translateY(-110%); transition: transform 0.3s cubic-bezier(0.5, 0, 0.75, 0) calc(var(--i, 0) * 30ms); }
.state > :not([data-lines], [data-rows]) { transition: opacity 0.6s var(--ease) 0.3s, translate 0.8s var(--ease-out) 0.3s; }
.is-entering > :not([data-lines], [data-rows]) { opacity: 0; translate: 0 10px; transition: none; }
.is-leaving > :not([data-lines], [data-rows]) { opacity: 0; transition: opacity 0.2s; }

/* Spacing, state by state (mockups of 05.11). Services (17.11, image 01): the paragraph, the line of
   services, the backers halfway, then the tabs. */
.state[data-panel="home"] { margin-top: calc(44 * var(--u)); }
.state[data-panel="services"] { margin-top: calc(66 * var(--u)); }
.state[data-panel="book"] { margin-top: calc(72 * var(--u)); }
.services-line { margin-top: calc(74 * var(--u)); }
.backers { margin-top: calc(74 * var(--u)); } /* the backers between the services and the tabs (17.11) */
.actions { margin-top: calc(48 * var(--u)); }
body[data-state="services"] .actions { margin-top: calc(91 * var(--u)); }
body[data-state="book"] .actions { margin-top: calc(48 * var(--u)); }

/* One line (19:42): Services on the left, Book a call in the middle, Our work on the right, apart
   (09.11), never underlined. Since 17.11: thin (regular, 14 px), bold on hover, at once; nothing else
   moves. The open one simply reads CLOSE (a click goes back to Home). The word, CLOSE and two
   invisible copies (the widths of the regular and of the bold) share one cell: nothing shifts. */
.actions { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: clamp(24px, calc(64 * var(--u)), 52px); }
.action {
  position: relative;
  display: block;
  padding: 2px 0 5px;
  font: 400 14px / 1 var(--sans);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--white);
}
.action__label { display: grid; justify-items: center; }
.action__label > *,
.action__label::before,
.action__label::after { grid-area: 1 / 1; }
.action__label::before { content: attr(data-text); font-weight: 400; visibility: hidden; }
.action__label::after { content: attr(data-text); font-weight: 700; visibility: hidden; }
.action__close,
.action[aria-current] .action__label > :first-child { visibility: hidden; }
.action[aria-current] .action__close { visibility: visible; } /* the open one: CLOSE in its place */

@media (hover: hover) {
  .action:hover { font-weight: 700; }
}

/* Our work (21:05): very plain. The names only, in the size of the text of Home (Jenson 14 / 17),
   centred, no numbers, no rules. On hover the other names step back and, on the ring around, only
   that film stays lit. The names rise from their masks one after the other, like the text of Services
   (22:02). */
.state[data-panel="work"] { margin-top: calc(39 * var(--u)); }
.work-list { margin: 0; padding: 0; list-style: none; }
.work-list .line { padding-bottom: 0; margin-bottom: 0; }
.work {
  display: block;
  padding: 3px 0;
  font: 400 var(--fs) / var(--lh) var(--serif);
  color: var(--white);
  transition: transform 0.9s var(--ease-out) calc(var(--i, 0) * 70ms + 80ms), opacity 0.35s var(--ease);
}
@media (hover: hover) {
  .work-list:hover .work:not(:hover),
  .work-list.has-hot .work:not(.is-hot) { opacity: 0.35; } /* its thumbnail hovered on the ring (17.11) */
}
.work:focus-visible { outline: 1px solid var(--white); outline-offset: -2px; }

/* Legal notice, privacy: in Services, small, at the bottom */
.site-foot {
  display: flex;
  justify-content: center;
  gap: 1.6em;
  padding: 24px var(--gutter) 0;
  font: 400 9px / 1 var(--sans); /* smaller again (17.11; 11 px on 08.11) */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-shadow: 0 0 2px var(--black), 0 0 8px var(--black), 0 0 16px var(--black); /* readable over the tiles */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}
body[data-state="services"] .site-foot { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease) 0.5s, visibility 0s; }

.site-foot a { transition: color 0.2s; }
@media (hover: hover) {
  .site-foot a:hover { color: var(--white); }
}

/* Services (09.11, 2nd round): one line, small, spaced out; in bold (extra bold), in the ink, since 17.11. On a
   narrow screen it wraps into even lines, never with a · at either end (stage.js). */
.services-line {
  max-width: none;
  font: 800 12px / 2 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-wrap: balance;
}
.services-line .svc { white-space: nowrap; } /* a service never breaks; the line can still wrap between them */

.backers__list {
  --cap: 9.2px; /* common cap height: 12 px until 17.11, a quarter smaller since */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px clamp(24px, calc(56 * var(--u)), 48px); /* the same air between each (17.11) */
  margin: 0;
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--white) 45%, transparent); /* grey (17.11) */
}
.backer { display: flex; align-items: center; height: calc(var(--cap) * var(--k)); }
.backer svg { display: block; width: auto; height: 100%; }
.backer--yc { --k: 1.85; } /* the logo of 17.11: its square twice the word's cap; the word as large as the others */
.backer--gc { --k: 1.03; }
.backer--antler { --k: 1.78; }
.backer--v1984 { --k: 2.3; }
.backer--founderful { --k: 1.32; }

/* --------------------------------------------------------------------------
   Book a call: three questions, one at a time, then the calendar. Everything small.
   -------------------------------------------------------------------------- */
.booking { width: 100%; }
.flow { width: min(100%, 460px); margin: 0 auto; }
.step__row { width: min(100%, 210px); margin-inline: auto; } /* the field, and its line, kept short (06.11) */
.step { display: none; }
.step.is-current { display: block; animation: rise 0.45s var(--ease-out) both; }
@keyframes rise {
  from { opacity: 0; translate: 0 8px; }
}
/* No labels on screen: the placeholder says it (Your Name, Your Email). An arrow to go on. */
.step__row {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: border-color 0.2s;
}
/* the line under « Your Name » (06.11): half a pixel, and only as long as the field needs */
.step__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
  transform: scaleY(0.5);
  transform-origin: 50% 100%;
  transition: background-color 0.2s;
}
.step__row:focus-within::after { background: var(--fg-2); }
.field {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.35em 0 0.45em 32px; /* centred text, the arrow on the right */
  border: 0;
  border-radius: 0;
  background: none;
  font: 400 var(--fs) / 1.3 var(--serif);
  text-align: center;
  caret-color: var(--white);
}
.field::placeholder { color: var(--fg-3); opacity: 1; }
.field:focus { outline: none; }
/* The blinking bar (17.11): in an empty field the browser put it in the middle of « Your Name », biting
   into it. While the field is empty, the browser's bar is hidden and a fine one blinks just before the
   placeholder, placed by an invisible copy of it laid out exactly like the field's text. */
.field__ghost {
  position: absolute;
  inset: 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35em 0 0.45em;
  font: 400 var(--fs) / 1.3 var(--serif);
  color: transparent;
  white-space: pre;
  pointer-events: none;
}
.field__ghost > span { position: relative; }
.field__ghost > span::before {
  content: "";
  position: absolute;
  right: calc(100% + 0.28em);
  top: 0.1em;
  bottom: 0.05em;
  width: 1px;
  background: var(--white);
  opacity: 0;
}
@supports selector(:has(a)) {
  .field:placeholder-shown { caret-color: transparent; }
  .step__row:has(.field:focus:placeholder-shown) .field__ghost > span::before { animation: caret 1.06s steps(1, end) infinite; }
}
@keyframes caret {
  0% { opacity: 1; }
  50% { opacity: 0; }
}
.next {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg-2);
  transition: color 0.2s, translate 0.35s var(--ease-out);
}
.next svg { width: 18px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.1; }
@media (hover: hover) {
  .next:hover { color: var(--white); translate: 3px 0; }
}
.step__row:focus-within .next { color: var(--white); }
/* something missing: the line flashes and the step nudges */
.step.is-wrong .step__row { animation: nudge 0.42s var(--ease) both; }
.step.is-wrong .step__row::after { background: var(--white); }
.step.is-wrong .choices { animation: nudge 0.42s var(--ease) both; }
@keyframes nudge {
  20% { translate: -5px 0; }
  45% { translate: 4px 0; }
  70% { translate: -2px 0; }
}
.step__prompt { margin-bottom: 14px; font: 400 var(--fs) / 1.3 var(--serif); color: var(--fg-3); }

/* The choice of project (17.11): written like the line of services: small, spaced out, in extra bold,
   in the ink, a · between them; no change of weight on hover (the hand says it can be clicked). */
.choices { display: flex; flex-wrap: nowrap; justify-content: center; align-items: baseline; gap: 0.9em; font: 800 12px / 1 var(--sans); letter-spacing: 0.12em; }
.choices .sep { color: var(--white); }
.choices:focus { outline: none; } /* the group, focused when nothing is chosen yet: no option looks picked */
.choice {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  cursor: var(--click);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__label { display: block; }
.choice:has(input:focus-visible) .choice__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hp { position: absolute; left: -9999px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--white);
  background: none;
  font: 400 15px / 1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
@media (hover: hover) {
  .button:not(:disabled):hover { background: var(--white); color: var(--black); }
}
/* Book the call: grey until a time is picked, then full white */
.button--solid:not(:disabled) { background: var(--white); color: var(--black); }
@media (hover: hover) {
  .button--solid:not(:disabled):hover { background: var(--black); color: var(--white); }
}
.button:disabled { color: var(--fg-3); border-color: var(--rule); cursor: var(--arrow); }
.button.is-busy { color: var(--fg-2); }

/* The calendar (redesign 04.11), compact: hairlines only, Area, the chosen day and time in white. */
/* The calendar (08.11): larger and airier. Square days, no lines; the month alone, then the times of
   the day picked beside it, on the same rows; every cell the same size. */
.cal {
  --cell: 46px; /* a day, a row of times */
  --slot: 104px; /* a time */
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  animation: rise 0.5s var(--ease-out) both;
}
.cal__cols { display: flex; align-items: flex-start; justify-content: center; gap: 72px; }
.cal__month { width: calc(7 * var(--cell)); }
.cal__slots { width: calc(3 * var(--slot)); animation: rise 0.5s var(--ease-out) both; }
.cal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 32px; }
.cal__title { font: 500 var(--fs) / 1.2 var(--sans); white-space: nowrap; }
.cal__title:first-letter { text-transform: uppercase; }
.cal__title:focus { outline: none; }
.cal__nav { display: flex; gap: 18px; }
.cal__nav button { padding: 4px; border: 0; background: none; font: 400 18px / 1 var(--sans); }
.cal__nav button:disabled { color: var(--fg-3); cursor: var(--arrow); }
/* the weekdays: one letter each; the same height as the title of a group of times, so rows line up */
.cal__weekdays,
.cal__part { display: flex; align-items: flex-end; height: 26px; margin: 14px 0 6px; }
.cal__weekdays span { flex: 1; font: 400 13px / 1 var(--sans); color: var(--fg-2); text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, var(--cell)); grid-auto-rows: var(--cell); }
.day {
  display: grid;
  place-items: center;
  width: var(--cell);
  height: var(--cell);
  padding: 0;
  border: 0;
  background: none;
  font: 400 16px / 1 var(--sans);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.12s, color 0.12s;
}
.day:disabled { color: var(--fg-3); cursor: var(--arrow); } /* week-ends, days without a time */
.day.is-past { color: var(--fg-3); opacity: 0.5; } /* gone: fainter, and struck through */
.day.is-past span { text-decoration: line-through; text-decoration-thickness: 1px; }
.day.is-today span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; } /* today: just underlined */
.day[aria-pressed="true"] { background: var(--white); color: var(--black); }
@media (hover: hover) {
  .day:not(:disabled):not([aria-pressed="true"]):hover { background: var(--hover); }
}
/* the time zone, under the month: visible, and changed in one click (no frame around it) */
.cal__zone { margin-top: 18px; font: 400 14px / 1.4 var(--sans); color: var(--fg-2); }
.tz select {
  padding: 0 14px 1px 0;
  border: 0;
  border-bottom: 1px solid var(--fg-3);
  border-radius: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.2'/%3E%3C/svg%3E")
    no-repeat 100% 55% / 9px 6px;
  font: 500 14px / 1.4 var(--sans);
  color: var(--white);
  cursor: var(--click);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.tz select:focus { outline: none; }
.tz select:focus-visible,
.tz select:hover { border-bottom-color: var(--white); }
.tz select option { color: var(--black); background: var(--white); }
.tz__probe { position: absolute; visibility: hidden; font: 500 14px / 1.4 var(--sans); white-space: pre; }
/* On a touch screen, iOS zooms into a field written under 16 px when it is touched (17.11: the page then
   stayed zoomed in): the city at 16 px there. */
@media (pointer: coarse) {
  .tz select,
  .tz__probe { font-size: 16px; }
}
/* the times: groups (morning, evening…) with a small title; three equal columns, rows as tall as the
   days, so they line up with the month */
.cal__part { font: 400 13px / 1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); }
.cal__group + .cal__group .cal__part { margin-top: 18px; }
.cal__slotgrid { display: grid; grid-template-columns: repeat(3, var(--slot)); grid-auto-rows: var(--cell); }
.slot {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: 400 16px / 1 var(--sans); /* the « am / pm » the same size as the figures (08.11) */
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.12s, color 0.12s;
}
.slot:disabled { color: var(--fg-3); text-decoration: line-through; text-decoration-thickness: 1px; cursor: var(--arrow); }
.slot[aria-pressed="true"] { background: var(--white); color: var(--black); } /* the whole cell, all the text */
@media (hover: hover) {
  .slot:not(:disabled):not([aria-pressed="true"]):hover { background: var(--hover); }
}
/* Book the call: plain text like the menu, grey until a time is picked, then in ink; close to the times */
.cal__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  text-align: center;
}
.cal__book {
  display: grid;
  padding: 4px 0;
  border: 0;
  background: none;
  font: 400 15px / 1 var(--sans);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--white);
  cursor: var(--click);
  transition: color 0.2s;
}
.cal__book > span,
.cal__book::after { grid-area: 1 / 1; }
.cal__book::after { content: attr(data-text); font-weight: 900; visibility: hidden; } /* the width of the black */
.cal__book:disabled { color: var(--fg-3); cursor: var(--arrow); }
.cal__book:not(:disabled) > span { font-weight: 700; } /* a date and a time picked: in bold, it calls for the click (17.11) */
.cal__book.is-busy { color: var(--fg-2); }
@media (hover: hover) {
  .cal__book:not(:disabled):hover > span { font-weight: 900; }
}
.cal__summary { min-height: 1.3em; font: 400 15px / 1.3 var(--sans); color: var(--fg-2); }
.cal__summary b { font-weight: 500; color: var(--white); }
.cal__error { font-size: 15px; }
.cal__error:empty { display: none; }
.cal__error a { text-decoration: underline; text-underline-offset: 0.2em; }

.done { padding: 8px 0; animation: rise 0.5s var(--ease-out) both; }
.done__title { font: 400 var(--fs) / var(--lh) var(--serif); }
.done__title:focus { outline: none; }
.done__text { max-width: 28em; margin: 0.5em auto 0; font: 400 var(--fs) / var(--lh) var(--serif); color: var(--fg-2); text-wrap: balance; }

/* « or write to », in lower case */
.write-us { margin-top: 44px; font: 400 var(--fs) / 1.3 var(--serif); color: var(--fg-3); } /* as « Your Name » */
.write-us a { color: var(--fg-2); transition: color 0.2s; }
@media (hover: hover) {
  .write-us a:hover { color: var(--white); }
}
.noscript { font: 400 var(--fs) / var(--lh) var(--serif); }

/* --------------------------------------------------------------------------
   The label of the wall: the film's name and type, in a small black box at the pointer.
   -------------------------------------------------------------------------- */
.wall-label {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 6;
  display: none;
  padding: 5px 7px 6px;
  background: var(--black);
  font: 400 16px / 1.15 var(--sans);
  letter-spacing: var(--track);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  will-change: transform;
}
.wall-label { color: var(--fg-2); } /* one line: CLERA - LAUNCH VIDEO */
.wall-label [data-title] { color: var(--white); }
.wall-label.is-visible { opacity: 1; }

/* --------------------------------------------------------------------------
   The films as a list: the column on small screens; for keyboards on large ones.
   -------------------------------------------------------------------------- */
.films { padding: 40px var(--gutter) max(32px, env(safe-area-inset-bottom, 0px)); }
.films__list { display: grid; gap: 20px; max-width: 720px; margin: 0 auto; padding: 0; list-style: none; }
.film-item__link { display: block; }
.film-item__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blank); }
.film-item__media img,
.film-item__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.film-item__video { opacity: 0; transition: opacity 0.4s; }
.film-item.is-live .film-item__video { opacity: 1; }
.film-item__caption { display: block; margin-top: 8px; font: 400 14px / 1.3 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); }

.wall,
.hint { display: none; }

/* Small screens: the block at the top (the wolf is in it since 06.11), full width */
.block { margin-top: calc(max(18px, env(safe-area-inset-top, 0px)) + 28px); }
/* Book a call on a phone (06.11): in the middle of the screen, not stuck at the top */
html.js:not(.wall-on) body[data-state="book"] .block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  margin-top: 0;
  padding-block: max(18px, env(safe-area-inset-top, 0px)) 32px;
}
/* the footer on a phone (06.11): smaller, on one line */
@media (max-width: 600px) {
  /* fits 320 px (09.11); with the networks (19.11) it wraps between its items when it must */
  .site-foot { flex-wrap: wrap; gap: 10px 1.1em; padding-inline: 12px; font-size: clamp(8px, 2.6vw, 9px); white-space: nowrap; }
  .actions { gap: clamp(16px, 5.5vw, 26px); } /* the tabs within the margins (09.11) */
}
/* no hover on a touch screen: the cell only needs the width of the regular */
@media (hover: none) {
  .action__label::after { content: none; }
}
.choices { flex-wrap: wrap; }
@media (min-width: 560px) {
  .choices { flex-wrap: nowrap; }
}
/* the calendar on a phone: the times under the month; days and times as large as the width allows */
@media (max-width: 759px) {
  .cal { --cell: min(46px, calc((100vw - 40px) / 7)); --slot: calc(7 * var(--cell) / 3); }
  .cal__cols { flex-direction: column; align-items: center; gap: 28px; }
}

/* --------------------------------------------------------------------------
   The wall (large screens with WebGL; phones as a test, ?wall=1). The block floats over the hole,
   centred.
   -------------------------------------------------------------------------- */
@media all {
  html.wall-on:not(.no-wall) {
    overflow: hidden;
    overscroll-behavior: none;

    body { height: 100svh; overflow: hidden; touch-action: pinch-zoom; } /* the wall takes the drags; a pinch still zooms (17.11) */

    .wall { display: block; position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; }
    .wall.is-over { cursor: var(--click); }
    .wall.is-dragging { cursor: var(--press); }
    .wall { transform-origin: 50% 50%; transition: transform 0.85s var(--ease-out), filter 0.85s var(--ease-out), opacity 0.85s var(--ease); }
    .wall-label { display: block; }

    .hint {
      display: block;
      position: fixed;
      left: 50%;
      bottom: max(22px, env(safe-area-inset-bottom, 0px));
      z-index: 4;
      font: 400 14px / 1 var(--sans);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--fg-2);
      translate: -50% 0;
      pointer-events: none;
      transition: opacity 0.8s;
    }
    .hint.is-gone,
    body[data-state="services"] .hint,
    body[data-state="book"] .hint,
    body[data-state="work"] .hint { opacity: 0; }

    .site-foot { position: fixed; left: 0; right: 0; bottom: max(22px, env(safe-area-inset-bottom, 0px)); z-index: 4; padding-top: 0; }

    /* the block lets the wall be dragged through it; only what is clickable catches the pointer */
    .block {
      position: fixed;
      left: 50%;
      top: 50%;
      width: max-content;
      max-width: calc(100vw - 48px);
      max-height: calc(100svh - 2 * (58 * var(--u) + 65 * var(--u) + 16px));
      margin: 0;
      overflow: visible;
      translate: -50% -50%;
      pointer-events: none;
      transition: opacity 0.5s var(--ease), scale 0.64s var(--ease-out);
    }
    .block__inner { padding: 0; }
    .block a,
    .block button,
    .block input,
    .block label,
    .block select,
    .block .cal__times { pointer-events: auto; }

    .films {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 5;
      padding: 16px;
      background: var(--black);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s var(--ease);
    }
    .films:focus-within { opacity: 1; pointer-events: auto; }
    .films__list { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: none; gap: 12px; }
  }
}

/* The wall on a phone (test, 06.11, ?wall=1): Home and Our work float over the hole; Services and
   Book a call are too tall for it, so they scroll over the black, the wall gone behind. */
html.phone-wall.wall-on:not(.no-wall) {
  .block { max-width: calc(100vw - 32px); }
  body:is([data-state="services"], [data-state="book"]) .block {
    top: 0;
    display: flex; /* in the middle when it fits, from the top when it scrolls (06.11) */
    flex-direction: column;
    width: 100%;
    max-width: none;
    max-height: none;
    height: 100svh;
    padding: max(28px, env(safe-area-inset-top, 0px)) 16px 96px;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
    translate: -50% 0;
    pointer-events: auto;
  }
  body:is([data-state="services"], [data-state="book"]) .block__inner { margin-block: auto; }
  body:is([data-state="services"], [data-state="book"]) .wall { opacity: 0; }
  .hint,
  .wall-label { display: none; }
}

/* A film open: the wall steps back, blurs, goes dark; the block goes with it. */
html.is-film .wall { transform: scale(0.92); filter: blur(14px) brightness(0.5); opacity: 0; }
html.is-film .block,
html.is-film .hint,
html.is-film .site-foot,
html.is-film .wall-label { opacity: 0 !important; scale: 0.96; pointer-events: none; }
html.is-film .films { visibility: hidden; }
html.is-film body { overflow: hidden; }

/* --------------------------------------------------------------------------
   The film: our own player. Pure black, the image uncropped (black bars if the ratio differs).
   Info small, bottom left; a 1 px progress line, sound, full screen. Hidden after 2 s idle.
   -------------------------------------------------------------------------- */
.player {
  /* always the night in here, even by day: a cinema (06.11) */
  --white: #fff;
  --black: #000;
  --fg-2: rgb(255 255 255 / 0.58);
  --fg-3: rgb(255 255 255 / 0.28);
  --rule: rgb(255 255 255 / 0.16);
  color-scheme: dark;
  --R: 1.7778;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(0 0 0 / 0);
  transition: background-color 0.85s var(--ease);
}
.player.is-open { background: var(--black); }
.player:not(.is-open) { pointer-events: none; } /* shrinking back: the wall is already there */
.player__frame {
  position: absolute;
  overflow: hidden;
  background: var(--black);
  container-type: size;
  opacity: 0;
  transition:
    left 0.85s var(--ease-out),
    top 0.85s var(--ease-out),
    width 0.85s var(--ease-out),
    height 0.85s var(--ease-out),
    opacity 0.22s 0.42s;
}
.player.is-open .player__frame {
  opacity: 1;
  transition:
    left 0.85s var(--ease-out),
    top 0.85s var(--ease-out),
    width 0.85s var(--ease-out),
    height 0.85s var(--ease-out),
    opacity 0.1s;
}
.player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: opacity 0.5s;
}
.player.is-playing .player__poster { opacity: 0; }
.player__media { position: absolute; inset: 0; }
.player__media > * { transition: opacity 0.3s; }
.player:not(.is-playing) .player__media > * { opacity: 0; } /* the poster until the first frame */
video.player__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  background: transparent;
}
iframe.player__video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100cqw, 100cqh * var(--R));
  height: min(100cqh, 100cqw / var(--R));
  border: 0;
  translate: -50% -50%;
  pointer-events: none;
}
.player__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  border: 0;
  background: none;
  -webkit-user-select: none;
  user-select: none;
}
.player__hit:focus-visible { outline: 1px solid var(--fg-3); outline-offset: -12px; }

/* The cross to leave, top right */
.player__close {
  position: absolute;
  top: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-top, 0px));
  right: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-right, 0px));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: difference; /* in negative of the film, as its paragraph (06.11) */
  transition: opacity 0.3s, visibility 0s 0.3s, rotate 0.35s var(--ease);
}
.player__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
@media (hover: hover) {
  .player__close:hover { rotate: 90deg; }
}

/* At the bottom, as on the first version: title · type · year, the progress all the way along,
   the time, the sound and its volume. Above, folded, the paragraph in negative. */
.player__ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-right, 0px)) max(clamp(14px, 2vw, 28px), env(safe-area-inset-bottom, 0px)) max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-left, 0px));
  color: var(--white);
  mix-blend-mode: difference; /* the controls in negative of the film, as its paragraph (06.11) */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
  pointer-events: none;
}
.player.is-open .player__ui,
.player.is-open .player__close {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s 0.5s, visibility 0s, rotate 0.35s var(--ease);
}
.player.is-open.is-ready .player__ui,
.player.is-open.is-ready .player__close { transition: opacity 0.25s, visibility 0s, rotate 0.35s var(--ease); }
.player.is-open.is-idle .player__ui,
.player.is-open.is-idle .player__close { opacity: 0; transition: opacity 0.6s; }
.player__ui > * { pointer-events: auto; }
.player__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 400 15px / 1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.player__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
}
.player__toggle svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: rotate 0.45s var(--ease-out); }
.player.is-more .player__toggle svg { rotate: 180deg; }
.player__info { flex: none; white-space: nowrap; color: var(--white); }
.player__progress {
  position: relative;
  flex: 1 1 auto;
  min-width: 80px;
  height: 17px;
  cursor: var(--click);
  touch-action: none;
}
.player__progress::before,
.player__progress i,
.player__progress b,
.player__volume::before,
.player__volume i {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
}
.player__progress::before,
.player__volume::before { background: rgb(255 255 255 / 0.3); }
.player__progress i,
.player__volume i { background: var(--white); transform-origin: 0 50%; }
.player__progress i { transform: scaleX(var(--p, 0)); }
/* Under the pointer (06.11): the line thickens, shows up to where the pointer is, and the time there */
.player__progress::before,
.player__progress i,
.player__progress b { transition: height 0.25s var(--ease-out), top 0.25s var(--ease-out), opacity 0.25s; }
.player__progress b { background: rgb(255 255 255 / 0.45); transform-origin: 0 50%; transform: scaleX(var(--h, 0)); opacity: 0; }
.player__tip {
  position: absolute;
  bottom: calc(100% + 2px);
  left: calc(var(--h, 0) * 100%);
  font: 400 13px / 1 var(--sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  translate: -50% 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, translate 0.25s var(--ease-out);
}
@media (hover: hover) {
  .player__progress:hover::before,
  .player__progress:hover i,
  .player__progress:hover b { top: 6.5px; height: 4px; }
  .player__progress:hover b { opacity: 1; }
  .player__progress:hover .player__tip { opacity: 1; translate: -50% 0; }
}
.player__volume i { transform: scaleX(var(--v, 1)); }
.player__progress:focus-visible,
.player__volume:focus-visible { outline-offset: 0; }
.player__time { flex: none; font-variant-numeric: tabular-nums; color: var(--white); }
.player__volume { position: relative; flex: none; width: 56px; height: 17px; cursor: var(--click); touch-action: none; }
.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
}
.icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.icon .is-off { display: none; }
.icon[aria-pressed="false"] .is-on { display: none; }
.icon[aria-pressed="false"] .is-off { display: inline; }

/* The loader (06.11): before the film plays, the wolf in the middle fills up from the bottom while it
   loads at its best quality (--load: 0 → 1), over the darkened still. */
.player__loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 76px;
  translate: -50% -50%;
  color: var(--white);
  line-height: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.player.is-open.is-loading .player__loader { opacity: 1; transition-delay: 0.45s; }
.player__loader svg { display: block; width: 100%; height: auto; }
.player__loader-base { display: block; opacity: 0.22; }
.player__loader-fill {
  position: absolute;
  inset: 0;
  clip-path: inset(calc((1 - var(--load, 0)) * 100%) 0 0 0);
  transition: clip-path 0.3s var(--ease-out);
}
.player__poster { transition: opacity 0.5s, filter 0.5s, scale 1.4s var(--ease-out); scale: 1.06; }
.player.is-open .player__poster { scale: 1; } /* opening: the image settles as it grows (06.11) */
.player.is-loading .player__poster { filter: brightness(0.45); }

/* More info: the paragraph unfolds upward, in negative of the film (difference): the text inverts
   the image under it, no box, no highlight (16:49). Straight in the player so it blends with the film. */
.player__more {
  position: absolute;
  left: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-left, 0px));
  bottom: calc(max(clamp(14px, 2vw, 28px), env(safe-area-inset-bottom, 0px)) + 34px);
  z-index: 2;
  max-width: min(34em, calc(100% - 32px));
  color: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.5s var(--ease-out);
}
.player.is-more .player__more { clip-path: inset(0 0 0 0); }
.player__desc {
  font: 400 var(--fs) / 1.45 var(--serif);
  text-wrap: pretty;
  opacity: 0;
  translate: 0 12px;
  transition: opacity 0.35s var(--ease), translate 0.5s var(--ease-out);
}
.player.is-more .player__desc { opacity: 1; translate: none; transition-delay: 0.08s; }

@media (max-width: 600px) {
  .player__volume,
  .player__time { display: none; }
  .player__info { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
}
.player:fullscreen { width: 100vw; height: 100vh; }
/* The browser goes full screen at the click, while the film still grows: it keeps growing, smoothly,
   to the new size (06.11; it used to jump). Once open, a change of size is followed at once. */
.player.is-ready:fullscreen .player__frame { transition: none; }

/* idle: the cursor goes too */
.player.is-open.is-idle,
.player.is-open.is-idle * { cursor: none !important; }
.player.is-open.is-idle ~ .cursor,
.player.is-open.is-idle .cursor { opacity: 0 !important; }

/* --------------------------------------------------------------------------
   The cursor: white, in difference; three proposals (see cursor.js), the third by default.
   The fields keep the system's text cursor.
   -------------------------------------------------------------------------- */
html.has-cursor,
html.has-cursor * { cursor: none !important; }
html.has-cursor input:not([type="radio"]),
html.has-cursor textarea { cursor: text !important; }
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 0;
  height: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.2s;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-text { opacity: 0; }
.cursor__ring,
.cursor__dot { position: absolute; border-radius: 50%; }
.cursor__dot {
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

/* Proposal 1 (?cursor=1): a ring with four small arrows on the wall, a full dot to click, a ball held */
.cursor--v1 .cursor__ring {
  left: -15px;
  top: -15px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--white);
  opacity: 0;
  transform: scale(0.3);
  transition: transform 0.35s var(--ease-out), opacity 0.25s, background-color 0.25s;
}
.cursor__arrows {
  position: absolute;
  left: -20px;
  top: -20px;
  width: 40px;
  height: 40px;
  fill: var(--white);
  opacity: 0;
  transform: scale(0.6);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.cursor--v1.is-drag .cursor__ring,
.cursor--v1.is-drag .cursor__arrows { opacity: 1; transform: none; }
.cursor--v1.is-drag .cursor__dot { transform: scale(0.5); }
.cursor--v1.is-click .cursor__dot { transform: scale(2.4); }
.cursor--v1.is-hold .cursor__ring { opacity: 1; transform: scale(1.1); background: var(--white); }
.cursor--v1.is-hold .cursor__arrows { opacity: 0; transform: scale(1.4); }
.cursor--v1.is-hold .cursor__dot { opacity: 0; }

/* Proposal 2 (default): a dot at the pointer, a ring that follows it with inertia and stretches as it
   goes. Open on the wall (drag), closed into a full dot on what can be clicked, a ball when held. */
.cursor__follow { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.cursor--v2 .cursor__ring {
  left: -18px;
  top: -18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--white);
  opacity: 0;
  transform: scale(0.4);
  transition: transform 0.4s var(--ease-out), opacity 0.25s, background-color 0.25s;
}
.cursor--v2.is-drag .cursor__ring { opacity: 1; transform: none; }
.cursor--v2.is-click .cursor__ring { opacity: 1; transform: scale(0.36); background: var(--white); }
.cursor--v2.is-click .cursor__dot { opacity: 0; }
.cursor--v2.is-hold .cursor__ring { opacity: 1; transform: scale(0.72); background: var(--white); }
.cursor--v2.is-hold .cursor__dot { opacity: 0; }

/* Proposal 3 (default): statutory. A small square, square corners, no inertia, no bounce. On the wall
   the corners of a viewfinder frame it (drag); on what can be clicked the frame closes and the square
   fills; held down, the frame tightens. */
.cursor__square {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 4px;
  height: 4px;
  background: var(--white);
  transition: transform 0.14s cubic-bezier(0.2, 0, 0, 1);
}
.cursor__frame {
  position: absolute;
  left: -12px;
  top: -12px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1;
  shape-rendering: crispEdges;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.14s cubic-bezier(0.2, 0, 0, 1), opacity 0.12s linear;
}
.cursor--v3.is-drag .cursor__frame { opacity: 1; transform: none; }
.cursor--v3.is-drag .cursor__square { transform: scale(0.5); }
.cursor--v3.is-click .cursor__square { transform: scale(2); }
.cursor--v3.is-hold .cursor__frame { opacity: 1; transform: scale(0.62); }
.cursor--v3.is-hold .cursor__square { transform: scale(0.5); }
/* /testcurseur/: on the wall the black hole is the cursor (drawn in WebGL) */
.cursor--lab.is-hole { opacity: 0; }

/* --------------------------------------------------------------------------
   Legal notice, privacy, 404: the same black, one column.
   -------------------------------------------------------------------------- */
.doc__main {
  width: min(100% - 2 * var(--gutter), 600px);
  margin: 0 auto;
  padding: clamp(110px, 16vh, 160px) 0 64px;
}
.doc__main .lockup { margin-bottom: 40px; }
.doc__title { margin-bottom: 32px; font: 500 var(--fs) / 1.3 var(--sans); letter-spacing: var(--track); text-transform: uppercase; }
.doc__section + .doc__section { margin-top: 28px; }
.doc__section h2 { margin-bottom: 8px; font: 400 15px / 1.3 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); }
.doc__section p { font: 400 var(--fs) / var(--lh) var(--serif); text-wrap: pretty; }
.doc__section p + p { margin-top: 0.7em; }
.doc__section a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.doc .block__foot > * { white-space: nowrap; } /* each item whole; the row wraps between them */
.doc .block__foot { display: flex; flex-wrap: wrap; gap: 1em 1.6em; margin-top: 48px; font: 400 14px / 1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-3); }
.doc .block__foot a:hover { color: var(--white); }
.doc .lead { max-width: 30em; font: 400 var(--fs) / var(--lh) var(--serif); }
.doc .actions { margin-top: 0; }
.doc .action { font: 700 var(--fs) / 1 var(--sans); letter-spacing: var(--track); text-transform: uppercase; }
.doc--center .doc__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 100svh;
  padding-block: 96px;
  text-align: center;
}
.doc--center .doc__main .lockup { margin: 0; }

/* --------------------------------------------------------------------------
   Reduced motion: no slides, no zooms. The script didn't run: nothing stays hidden.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
.anim-safe .state > *,
.anim-safe .line__in { opacity: 1 !important; translate: none !important; transform: none !important; }
