/* lybre.ca — Lybre brand: Laurentides palette, tight Arial with a rare
   serif italic, 12-column grid with alternating alignment, 1px rules.

   This file has two parts, in this order:

   1. The page itself: the still, complete page every visitor can read
      (no JavaScript, reduced motion, no WebGL). Tokens and building blocks,
      then each section top to bottom, the legal pages, the illustrations.

   2. The story, from "Without the story" on: everything the scroll story
      adds. All of it sits under html.sun-journey (set by assets/js/scenes.js
      when the story runs) or html.story-boot (set in the page's head while
      it starts), so none of it touches the still page. */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Laurentides */
  --fog: #e7e3da;      /* Brume — main ground */
  --paper: #f2efe8;    /* lighter ground for alternating sections */
  --conifer: #1f2b25;  /* Conifère — ink, rules */
  --night: #121815;    /* Nuit — dark ground */
  --gold: #b8823a;     /* Or — dots and rules only on fog */
  --gold-on-night: #d19f55;
  --ochre: #7a5c26;    /* Ocre foncé — gold-toned text on fog */

  --text: var(--conifer);
  --muted: #4d5850;        /* 5.8:1 on fog */
  --muted-night: #a9ada5;  /* 7.9:1 on night */
  --line: rgba(31, 43, 37, 0.22);
  --line-night: rgba(231, 227, 218, 0.22);

  --sans: Arial, Helvetica, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --max: 88rem;
  --gutter: clamp(1rem, 3.5vw, 2.5rem);
  --col-gap: clamp(1rem, 2.2vw, 2rem);
  --section: clamp(4.5rem, 11vw, 9rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--text);
  background: var(--fog);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--conifer);
  color: var(--fog);
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

/* the animations switch: a small, quiet circle at the bottom right, two bars
   to turn the animations off, a triangle to bring them back. Only where the
   page animates: not without JavaScript, and not when the device already
   asks for reduced motion. It carries its own small disc, so its mark stays
   clear over the dark forest, the pale hills and the night alike. */
.motion-toggle {
  display: none;
  place-items: center;
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 50;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid rgba(31, 43, 37, 0.18);
  border-radius: 50%;
  background: rgba(231, 227, 218, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.3s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.js .motion-toggle {
  display: grid;
}

.still-device .motion-toggle {
  display: none;
}

.sun-journey[data-dark] .motion-toggle {
  border-color: rgba(231, 227, 218, 0.25);
  background: rgba(18, 24, 21, 0.55);
  color: var(--fog);
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  opacity: 1;
  text-decoration: none;
}

.motion-toggle span {
  width: 0.4rem;
  height: 0.45rem;
  border-inline: 1.5px solid currentColor;
}

.motion-toggle.is-off span {
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-block: 0.24rem solid transparent;
  border-inline: 0.4rem solid currentColor;
  border-inline-end: 0;
}

/* the still version, when the visitor asks for it: no animation or transition anywhere */
.still,
.still * {
  scroll-behavior: auto !important;
}

.still-asked *,
.still-asked *::before,
.still-asked *::after {
  animation: none !important;
  transition: none !important;
}

/* ---------- Shared building blocks ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.grid > * {
  grid-column: 1 / -1;
  min-width: 0;
}

.label {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* a title in both type styles: the italic part starts its own line */
.hero__title .serif,
.h2 .serif,
.who__outro .serif,
.why__quote .serif,
.closing__title .serif {
  display: block;
}

/* every section title: the h2s, the night's quote and the closing's title */
.h2,
.why__quote,
.closing__title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.h2 .serif,
.why__quote .serif,
.closing__title .serif {
  letter-spacing: -0.025em;
}

/* buttons and fields are tracked like the text around them */
button,
input,
select,
textarea {
  letter-spacing: inherit;
}

.body {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.375rem);
  line-height: 1.4;
  letter-spacing: -0.022em;
  color: #2c3832;
  text-wrap: pretty;
}

/* Lybre ——— Product lockup; the rule draws in when revealed */
.lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.lockup b {
  font-weight: 700;
}

.lockup i {
  display: block;
  width: clamp(3rem, 6vw, 5.5rem);
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

/* Provenance label, as on a well-made object */
.provenance {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.provenance::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Rule-separated list of features */
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 26rem;
  font-size: 1rem;
  letter-spacing: -0.012em;
}

.ticks li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.ticks li:last-child {
  border-bottom: 1px solid var(--line);
}

/* ---------- Figures ---------- */

.figure {
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--fog);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
}

.wordmark {
  display: block;
  color: var(--text);
  flex: none;
}

.wordmark svg {
  display: block;
  width: 4.75rem;
  height: auto;
  fill: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2rem);
  font-size: 0.875rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

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

@media (max-width: 40rem) {
  .nav__section {
    display: none;
  }
}

/* ---------- Hero ----------
   One promise, both product names, one action. The Laurentides landscape
   sits behind the text on wide screens and below it on phones. */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 17rem;
}

.hero__bg {
  position: absolute;
  inset: auto 0 0;
  height: 19rem;
  z-index: 0;
}

.hero__bg picture,
.why__bg picture {
  display: contents;
}

.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
  transform-origin: 68% 66%;
}

/* fade the top of the landscape into the page */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--fog) 0%, rgba(231, 227, 218, 0) 45%);
}

.hero__sun {
  position: absolute;
  left: 66%;
  top: 66%;
  width: 22rem;
  height: 22rem;
  margin: -11rem 0 0 -11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 159, 85, 0.5), rgba(209, 159, 85, 0) 68%);
  mix-blend-mode: multiply;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero__title {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.75rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero__title .serif {
  letter-spacing: -0.03em;
}

/* each of its two lines may run a little past its column rather than wrap
   ("Tout votre travail," is a touch wider than it), so the sign-up below
   stays where it is */
@media (min-width: 56rem) {
  .hero__title {
    width: max-content;
    max-width: calc(100vw - 2 * var(--gutter));
  }
}

.hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
  color: #1f2b25;
  text-wrap: pretty;
}

.hero__signup {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 0.75rem;
}

.hero__open {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
}

.hero__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.hero__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__form[hidden] {
  display: none;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
}

.hero__row input {
  flex: 1 1 14rem;
  min-width: 0;
  height: 4.25rem;
  padding: 0 1.4rem;
  border: 1px solid rgba(31, 43, 37, 0.4);
  border-radius: 0;
  background: rgba(242, 239, 232, 0.95);
  color: var(--text);
  font: inherit;
  font-size: 1.125rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.hero__row input::placeholder {
  color: #6b746d;
}

.hero__row input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 130, 58, 0.2);
}

.hero__submit {
  flex: 1 1 auto;
  height: 4.25rem;
  padding: 0 2.25rem;
  border: 1px solid var(--conifer);
  border-radius: 0;
  background: var(--conifer);
  color: var(--fog);
  font: inherit;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.hero__submit:hover {
  background: #000;
}

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

.hero__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hero .hero__consent {
  font-size: 0.8125rem;
  color: #2c3832;
}

.hero .hero__consent input {
  accent-color: var(--conifer);
}

.hero__consent a {
  color: inherit;
}

.hero .waitlist__status {
  min-height: 1.25em;
  font-size: 0.875rem;
}

.hero .waitlist__status.is-error {
  color: #7a2b1f;
}

/* After sign-up: two optional questions, then the inbox reminder */
.followup {
  padding: 1.5rem;
  border: 1px solid rgba(31, 43, 37, 0.2);
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(18, 24, 21, 0.4);
}

.followup[hidden] {
  display: none;
}

.followup:focus {
  outline: none;
}

.followup__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.875rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
}

.followup__body {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.followup__q {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.followup__q legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(31, 43, 37, 0.35);
  font-size: 0.875rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover span {
  border-color: var(--gold);
}

.chip input:checked + span {
  border-color: var(--conifer);
  background: var(--conifer);
  color: var(--fog);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.followup__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.followup__actions .hero__submit {
  flex: none;
  height: 2.9rem;
}

.followup__skip {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}

.followup--done {
  border-color: var(--conifer);
  background: var(--conifer);
  color: var(--fog);
}

.followup--done .followup__body {
  margin-bottom: 0;
  color: #c9cdc5;
}

.hero__cue {
  position: absolute;
  z-index: 1;
  bottom: 1.5rem;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  color: var(--fog);
  font-size: 0.8125rem;
  text-decoration: none;
}

.hero__cue span {
  display: block;
  width: 1px;
  height: 2.25rem;
  background: var(--gold-on-night);
  transform-origin: top;
}

@media (min-width: 56rem) {
  .hero {
    display: flex;
    align-items: center;
    min-height: min(calc(100svh - 4.5rem), 60rem);
    padding-block: clamp(3rem, 6vw, 5rem) 6rem;
  }

  .hero > .wrap {
    width: 100%;
  }

  .hero__bg {
    inset: 0;
    height: auto;
  }

  .hero__bg::after {
    background: linear-gradient(90deg, rgba(231, 227, 218, 0.85) 0%, rgba(231, 227, 218, 0.6) 40%, rgba(231, 227, 218, 0) 70%);
  }

  .hero__text {
    grid-column: 1 / span 7;
  }

  .hero__cue {
    color: var(--text);
  }

  .hero__cue span {
    background: var(--gold);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg img {
    animation: hero-drift 48s ease-in-out infinite alternate;
  }

  .hero__sun {
    animation: hero-glow 7s ease-in-out infinite;
  }

  .hero__dot {
    animation: hero-live 2.4s ease-in-out infinite;
  }

  .hero__cue span {
    animation: hero-cue 2.4s ease-in-out infinite;
  }

  .hero__text > * {
    animation: hero-in 1s var(--ease) both;
  }

  .hero__text > :nth-child(2) { animation-delay: 0.15s; }
  .hero__text > :nth-child(3) { animation-delay: 0.3s; }
  .hero__text > :nth-child(4) { animation-delay: 0.45s; }
}

@keyframes hero-drift {
  from { transform: scale(1.02); }
  to { transform: scale(1.09) translate(-1%, -1%); }
}

@keyframes hero-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.14); }
}

@keyframes hero-live {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes hero-cue {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

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

/* ---------- The two products: short intro before Atelier and Vitrine ---------- */

.intro {
  padding-block: var(--section) clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--text);
}

/* ---------- Products: the words on one side, the illustration on the other ---------- */

.product {
  padding-block: var(--section);
  border-top: 1px solid var(--text);
}

.product__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.product__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.product__media {
  margin-top: 3rem;
}

@media (min-width: 56rem) {
  .product--left .product__text {
    grid-column: 1 / span 5;
    align-self: end;
  }

  .product--left .product__media {
    grid-column: 7 / span 6;
    margin-top: 0;
  }
}

.product--vitrine {
  background: var(--paper);
}

/* ---------- Section heads: title on the left, a paragraph on the right ---------- */

.section-head__title .label {
  margin-bottom: 1rem;
}

.section-head__body {
  margin-top: 1.5rem;
}

@media (min-width: 56rem) {
  .section-head__title {
    grid-column: 1 / span 6;
  }

  .section-head__body {
    grid-column: 8 / span 5;
    align-self: end;
    margin-top: 0;
  }
}

/* ---------- How the two fit: one thread from first look to payment ---------- */

.thread {
  padding-block: var(--section);
  border-top: 1px solid var(--text);
  background: var(--paper);
}

.thread__steps {
  position: relative;
  display: grid;
  gap: 2rem;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
}

.thread__step {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--vitrine {
  border: 1px solid var(--gold);
  color: var(--ochre);
}

.tag--atelier {
  border: 1px solid var(--conifer);
  background: var(--conifer);
  color: var(--fog);
}

.thread__title {
  margin: 0.9rem 0 0;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.thread__note {
  margin: 0.6rem 0 0;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #3d4841;
  letter-spacing: -0.012em;
}

@media (min-width: 56rem) {
  .thread__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 2.5rem;
  }

  .thread__step {
    padding-left: 0;
    border-left: 0;
  }

  /* the track, and the gold dot that runs along it */
  .thread__steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(31, 43, 37, 0.18);
  }

  .thread__steps::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(184, 130, 58, 0.2);
  }
}

/* ---------- Who it's for: the tools Lybre replaces, three audiences ---------- */

.who {
  padding-block: var(--section);
  border-top: 1px solid var(--text);
}

.who__stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.who__tool span {
  position: relative;
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(31, 43, 37, 0.3);
  background: var(--paper);
  font-size: 0.9375rem;
}

.who__tool span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
}

.who__arrow {
  padding: 0 0.25rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.who__lybre {
  padding: 0.7rem 1.1rem;
  background: var(--conifer);
  color: var(--fog);
  font-size: 0.9375rem;
}

.who__cards {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.who__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-top: 2px solid var(--gold);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.who__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(31, 43, 37, 0.45);
}

.who__aud {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ochre);
}

.who__claim {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.02em;
}

.who__text {
  font-size: 1.0625rem;
  line-height: 1.45;
  color: #3d4841;
  letter-spacing: -0.012em;
}

.who__cta {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--gold);
  font-size: 0.9375rem;
}

@media (min-width: 56rem) {
  .who__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* the section's last word: what it adds up to, and where it is made */
.who__end {
  row-gap: 1.75rem;
  margin-top: clamp(3rem, 8vw, 5rem);
}

.who__outro {
  order: -1;
  margin: 0;
  max-width: 16em;
  font-size: clamp(2.125rem, 6.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.who__outro .serif {
  letter-spacing: -0.02em;
}

.who__local {
  max-width: 36rem;
}

/* styled like every other label and paragraph on the page (.label, .body) */
.who__local-title {
  margin-bottom: 0.75rem;
}

/* phones: it sits on paper like the three cards before it, whatever the sky is doing */
@media (max-width: 55.99rem) {
  .sun-journey .who__end {
    margin-top: 1.5rem;
    padding: 2rem;
    border-top: 2px solid var(--gold);
    background: var(--paper);
  }
}

/* ---------- Why Lybre: the manifesto and what we commit to (night) ---------- */

.why {
  position: relative;
  overflow: hidden;
  padding-block: var(--section);
  background: var(--night);
  color: var(--fog);
}

.why__bg {
  position: absolute;
  inset: 0;
}

.why__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  transform-origin: 61% 64%;
}

.why .wrap {
  position: relative;
}

.why .label {
  margin-bottom: 1.25rem;
  color: var(--gold-on-night);
}


.why__quote .serif {
  color: var(--gold-on-night);
}

.why__body {
  max-width: 34rem;
  margin: 1.75rem 0 0;
  font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.375rem);
  line-height: 1.4;
  letter-spacing: -0.022em;
  color: #dcd8cf;
  text-wrap: pretty;
}

.why__sign {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-night);
}

.why__sign i {
  width: 2.5rem;
  height: 1px;
  background: var(--gold-on-night);
}

.why__list {
  margin-top: 3rem;
}

.why__list-label {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--gold-on-night);
}

.why__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line-night);
}

.why__list li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line-night);
}

.why__item {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.why__item-body {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted-night);
}

@media (min-width: 56rem) {
  .why__text {
    grid-column: 1 / span 7;
  }

  .why__list {
    grid-column: 9 / span 4;
    margin-top: 0;
  }
}

/* ---------- The closing: Syphon's ending, with the lys ---------- */

.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 11vw, 7.5rem);
  background: var(--conifer);
  color: var(--fog);
  text-align: center;
}

.closing .lys {
  position: absolute;
  right: -170px;
  top: -150px;
  width: 620px;
  height: 620px;
  pointer-events: none;
}

.lys .petal {
  fill: none;
  stroke: var(--fog);
  stroke-width: 0.8;
  opacity: 0.4;
}

.lys .filament {
  stroke: var(--gold-on-night);
  stroke-width: 0.8;
}

.lys .anther {
  fill: var(--gold-on-night);
}

.closing__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 45rem;
}

.closing .label {
  color: var(--gold-on-night);
}


.closing__title .serif {
  color: var(--gold-on-night);
}

.closing__body {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.375rem);
  line-height: 1.4;
  letter-spacing: -0.022em;
  color: #dcd8cf;
  text-wrap: pretty;
}

.closing__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 34rem;
  margin-top: 0.75rem;
}

.closing__form .hero__row {
  width: 100%;
}

.closing__form .hero__row input {
  border-color: rgba(231, 227, 218, 0.5);
  background: var(--fog);
}

.closing__form .hero__submit {
  border-color: var(--fog);
  background: transparent;
  color: var(--fog);
}

.closing__form .hero__submit:hover {
  background: var(--fog);
  color: var(--conifer);
}

.closing__form[hidden] {
  display: none;
}

.closing__signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* the follow-up, in the closing: no card, the night's own colours */
.closing .followup {
  width: 100%;
  max-width: 34rem;
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--fog);
}

.closing .followup[hidden] {
  display: none;
}

.closing .followup__body,
.closing .followup__skip {
  color: var(--muted-night);
}

.closing .followup__q legend {
  margin: 0 auto 0.6rem;
  font-weight: 400;
  font-size: 0.875rem;
}

.closing .followup .chips,
.closing .followup__actions {
  justify-content: center;
}

.closing .followup .hero__submit {
  border-color: var(--fog);
  background: transparent;
  color: var(--fog);
}

.closing .followup .hero__submit:hover {
  background: var(--fog);
  color: var(--conifer);
}

.closing .chip span {
  border-color: var(--line-night);
}

.closing .chip input:checked + span {
  border-color: var(--fog);
  background: var(--fog);
  color: var(--conifer);
}

.closing .consent {
  max-width: 30rem;
  color: var(--muted-night);
  text-align: left;
}

.closing .consent input {
  accent-color: var(--gold-on-night);
}

.closing .waitlist__status.is-error {
  color: var(--gold-on-night);
}

.closing__promise {
  max-width: 32rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-night);
}

.closing__promise b {
  color: var(--fog);
  font-weight: 400;
}

.closing__promise a,
.closing__doors a {
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-on-night);
}

.closing__doors {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-night);
  font-size: 0.9375rem;
  color: #c9cdc5;
}

.closing__doors p {
  margin: 0;
}

@media (max-width: 40rem) {
  .closing .lys {
    right: -260px;
    top: -260px;
    opacity: 0.6;
  }
}

.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  accent-color: var(--conifer);
}

.consent a {
  color: inherit;
}

.waitlist__status {
  margin: 0;
  min-height: 1.25em;
  font-size: 0.875rem;
}

.waitlist__status.is-error {
  color: #7a2b1f;
}

/* ---------- Motion for these sections ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-in.thread__steps::after {
    animation: thread-run 12s linear infinite;
  }

  @media (min-width: 56rem) {
    .reveal.is-in .thread__step {
      animation: thread-step 12s linear infinite;
    }

    .reveal.is-in .thread__step:nth-child(2) { animation-delay: -9s; }
    .reveal.is-in .thread__step:nth-child(3) { animation-delay: -6s; }
    .reveal.is-in .thread__step:nth-child(4) { animation-delay: -3s; }
  }

  .js .who__stack:not(.is-in) .who__tool span::after {
    transform: scaleX(0);
  }

  .js .who__stack:not(.is-in) .who__lybre {
    opacity: 0;
  }

  .who__tool span::after {
    transition: transform 0.6s var(--ease);
  }

  .who__tool:nth-child(1) span::after { transition-delay: 0.5s; }
  .who__tool:nth-child(2) span::after { transition-delay: 0.8s; }
  .who__tool:nth-child(3) span::after { transition-delay: 1.1s; }
  .who__tool:nth-child(4) span::after { transition-delay: 1.4s; }
  .who__tool:nth-child(5) span::after { transition-delay: 1.7s; }
  .who__tool:nth-child(6) span::after { transition-delay: 2s; }
  .who__tool:nth-child(7) span::after { transition-delay: 2.3s; }
  .who__tool:nth-child(8) span::after { transition-delay: 2.6s; }
  .who__tool:nth-child(9) span::after { transition-delay: 2.9s; }
  .who__tool:nth-child(10) span::after { transition-delay: 3.2s; }
  .who__tool:nth-child(11) span::after { transition-delay: 3.5s; }
  .who__tool:nth-child(12) span::after { transition-delay: 3.8s; }

  .who__lybre {
    transition: opacity 0.6s var(--ease) 4.3s;
  }

  .why__bg img {
    animation: hero-drift 40s ease-in-out infinite alternate;
  }
}

@keyframes thread-run {
  from { left: 0; }
  to { left: calc(100% - 12px); }
}

@keyframes thread-step {
  0% { opacity: 1; transform: none; }
  4% { opacity: 1; transform: translateY(-6px); }
  20% { opacity: 1; transform: translateY(-6px); }
  26%, 100% { opacity: 0.55; transform: none; }
}

/* ---------- Colophon: one slim night bar, as on Syphon's page ---------- */

.colophon {
  background: var(--night);
  color: var(--muted-night);
  font-size: 0.8125rem;
}

.colophon__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.875rem 1.5rem;
  padding-block: 1.5rem;
}

.colophon__brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.colophon .wordmark {
  color: var(--fog);
}

.colophon .wordmark svg {
  width: 3.5rem;
}

.colophon .provenance {
  border-color: rgba(231, 227, 218, 0.5);
  color: var(--fog);
}

.colophon .provenance::before {
  background: var(--gold-on-night);
}

.colophon__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.colophon__nav a {
  color: var(--muted-night);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.colophon__nav a:hover,
.colophon__nav a:focus-visible {
  color: var(--fog);
}

.colophon__legal {
  flex-basis: 100%;
  font-size: 0.75rem;
  color: rgba(169, 173, 165, 0.75);
}

/* ---------- Legal pages ---------- */

.legal {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.legal .wrap {
  max-width: 44rem;
}

.legal__title {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.legal__lead {
  margin: 0 0 3rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--muted);
}

.legal__section {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}

.legal__section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.legal__section p,
.legal__section li {
  line-height: 1.6;
}

.legal__section p {
  margin: 0 0 0.75rem;
}

.legal__section ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.legal__section a {
  text-underline-offset: 0.2em;
}

/* ---------- Motion ----------
   Only when JS is running and the visitor hasn't asked for reduced
   motion; without either, everything is simply visible. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .reveal .lockup i {
    transform: scaleX(0);
    transition: transform 1.1s var(--ease) 0.25s;
  }

  .js .reveal.is-in .lockup i {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Product illustrations (scripts/illustrations.py) ----------
   Drawn from each product's real layout, simplified to shapes. They move a
   little once they scroll into view, and keep still for reduced motion. */

.ill {
  display: block;
  width: 100%;
  height: auto;
}

.ill-swap-b,
.ill-paid {
  opacity: 0;
}

.ill g,
.ill-upload {
  transform-box: fill-box;
  transform-origin: center;
}

.ill-upload {
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.is-in) .ill-rise,
  .js .reveal:not(.is-in) .ill-select,
  .js .reveal:not(.is-in) .ill-selbar {
    opacity: 0;
  }

  .reveal.is-in .ill-rise {
    animation: ill-rise 0.7s var(--ease) var(--d, 0s) both;
  }

  /* the first invoice gets paid, then waits, then again */
  .reveal.is-in .ill-swap-a {
    animation: ill-swap-a 9s var(--ease) 1.5s infinite;
  }

  .reveal.is-in .ill-swap-b {
    animation: ill-swap-b 9s var(--ease) 1.5s infinite;
  }

  .ill-pulse {
    animation: ill-pulse 2.4s ease-in-out infinite;
  }

  .reveal.is-in .ill-select {
    animation: ill-select 0.4s var(--ease) var(--d, 0s) both;
  }

  .reveal.is-in .ill-selbar {
    animation: ill-selbar 0.5s var(--ease) 2.3s both;
  }

  .reveal.is-in .ill-upload {
    animation: ill-upload 4s var(--ease) 0.8s infinite;
  }
}

@keyframes ill-rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes ill-swap-a {
  0%, 40% { opacity: 1; }
  48%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes ill-swap-b {
  0%, 40% { opacity: 0; }
  48%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes ill-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes ill-select {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: none; }
}

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

@keyframes ill-upload {
  from { transform: scaleX(0.1); }
  85%, to { transform: scaleX(1); }
}

/* ---------- Utilities ---------- */

/* The forms' honeypot: off the page for people (and screen readers, by
   aria-hidden), there for bots that fill every field. Not display: none,
   which some bots skip. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =====================================================================
   The story (assets/js/world.js, scenes.js, motion.js, sun.js)

   The landing page told as one day, in one living world. First, how the
   story's own elements look with no story at all (a still, complete page).
   Then story mode, under .sun-journey, which scenes.js sets only when the
   story runs (WebGL there, motion allowed).
   ===================================================================== */

/* ---------- Without the story ---------- */

/* only the story uses these */
.world,
.loader,
.cursor,
.marquee,
.sun,
.sun-flood,
.dayclock,
.colophon__giant,
.thread__way,
.invoice,
.vig,
.stage__cursor,
.stage__peer {
  display: none;
}

/* held scenes measure their insides against themselves */
.intro,
.product,
.thread,
.who__intro,
.who__scene,
.stage {
  position: relative;
}

/* The two products, as a poster */
.poster__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.poster__names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  margin: 0;
  font-size: clamp(3rem, 11vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.poster__name--v {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.03em;
}

.poster__rule {
  display: block;
  flex: none;
  width: clamp(2.5rem, 7vw, 8rem);
  height: 2px;
  background: var(--gold);
  transform-origin: center;
}

.poster__title {
  max-width: 18ch;
}

.poster__body {
  margin-inline: auto;
}

/* Vitrine: the app, the words, and a row of example works */
.vitrine__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(2.5rem, 6vw, 4rem);
}

.vitrine__inner > * {
  grid-column: 1 / -1;
  min-width: 0;
}

.vitrine__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.vitrine__text .product__head {
  margin-bottom: 0;
  padding-top: 0;
}

@media (min-width: 56rem) {
  .vitrine__app {
    grid-column: 1 / span 6;
    grid-row: 1;
  }

  .vitrine__text {
    grid-column: 8 / span 5;
    grid-row: 1;
    align-self: end;
  }
}

/* phones: the words first, then the app, then the works */
@media (max-width: 55.99rem) {
  .vitrine__text {
    order: -1;
  }
}

.vitrine__easel {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.piece {
  flex: none;
  scroll-snap-align: start;
}

.piece figure {
  margin: 0;
}

.piece__frame {
  position: relative;
  height: clamp(11rem, 26vw, 16rem);
  aspect-ratio: var(--ar);
  overflow: hidden;
  border-radius: 2px;
}

.piece__art {
  display: block;
  width: 100%;
  height: 100%;
}

.piece figcaption {
  display: flex;
  flex-direction: column;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.piece figcaption span:first-child {
  color: var(--text);
  font-style: italic;
}

/* =====================================================================
   Story mode
   ===================================================================== */

/* ---------- The opening: only the sun. Shown from the first paint
   (html.story-boot is set in the head, and taken off if the story can't run) ---------- */

.story-boot .loader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--fog);
  --lr: 0px;
  -webkit-mask: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), transparent var(--lr), #000 calc(var(--lr) + 1.5px));
  mask: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), transparent var(--lr), #000 calc(var(--lr) + 1.5px));
}

.loader__sun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border-radius: 50%;
  background: #dca453;
  animation: loader-breathe 1.7s ease-in-out infinite;
}

@keyframes loader-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 164, 83, 0.16), 0 0 42px 10px rgba(220, 164, 83, 0.22); }
  50% { box-shadow: 0 0 0 20px rgba(220, 164, 83, 0.1), 0 0 78px 28px rgba(220, 164, 83, 0.34); }
}

/* ---------- The world behind the page ---------- */

.sun-journey .world {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100lvh;   /* steady when a phone's address bar slides away */
  z-index: 0;
}

/* light the story adds over the page: shooting stars, sparks */
.fx {
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sun-journey {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.sun-journey body {
  background: var(--ground, var(--fog));
}

.sun-journey main,
.sun-journey .colophon {
  position: relative;
  z-index: 1;
}

/* things enter from beyond the edges: that never makes the page scroll sideways */
.sun-journey main {
  overflow-x: clip;
}

/* one sky runs behind every section: no grounds, no rules between them */
.sun-journey .intro,
.sun-journey .product,
.sun-journey .thread,
.sun-journey .who,
.sun-journey .why,
.sun-journey .closing {
  background: transparent;
  border-top: 0;
}

/* (also while the story is starting: the two photographs are lazy, so
   hidden from the first paint they are never downloaded) */
.story-boot .hero__bg,
.story-boot .why__bg,
.sun-journey .hero__bg,
.sun-journey .hero__sun,
.sun-journey .why__bg {
  display: none;
}

.sun-journey .hero {
  overflow: visible;
}

/* ---------- The sun on the page: a dot (in the sky it is the world's own) ---------- */

.sun-journey .sun {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.sun__body {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

.sun__halo,
.sun__disc,
.sun__flare {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
}

.sun__halo {
  width: 22rem;
  height: 22rem;
  margin: -11rem 0 0 -11rem;
  background: radial-gradient(circle, rgba(209, 159, 85, 0.55), rgba(209, 159, 85, 0) 66%);
  will-change: transform, opacity;
}

.sun__disc {
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  background: #dca453;
  will-change: transform, opacity;
}

.sun__disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #c4602e;
  opacity: var(--warm, 0);
}

.is-night .sun__disc {
  background: #e3b267;
}

.sun__flare {
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border: 1px solid #d19f55;
  opacity: 0;
}

.sun__flare.is-on {
  animation: sun-flare 1.6s var(--ease);
}

@keyframes sun-flare {
  from { opacity: 0.9; transform: scale(0.3); }
  to { opacity: 0; transform: scale(2.4); }
}

/* a sign-up floods the screen with dawn */
.sun-journey .sun-flood {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), rgba(240, 196, 120, 0.95), rgba(227, 178, 103, 0.55) 45%, rgba(227, 178, 103, 0) 80%);
  opacity: 0;
}

/* the light: things cast soft shadows away from the sun (sun.js sets
   --sx/--sy/--sb/--sa on each [data-cast] in view); serif words warm near it */
.sun-journey [data-cast="text"] {
  text-shadow: var(--sx, 0) var(--sy, 0) var(--sb, 0) rgba(31, 43, 37, var(--sa, 0));
}

.sun-journey [data-cast="box"] {
  box-shadow: var(--sx, 0) var(--sy, 0) var(--sb, 0) rgba(31, 43, 37, var(--sa, 0));
}

.sun-journey [data-cast] .serif {
  color: color-mix(in srgb, currentColor, #9a6526 calc(var(--warmth, 0) * 100%));
}

/* ---------- Header: glass over the world; steps aside going down ---------- */

.sun-journey .site-header {
  background: transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease), color 0.4s var(--ease), border-color 0.3s var(--ease);
}

.sun-journey .site-header.is-away {
  transform: translateY(-110%);
}

.sun-journey .nav a {
  position: relative;
  text-decoration: none;
}

.sun-journey .nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.sun-journey .nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sun-journey[data-dark] .site-header,
.sun-journey[data-dark] .site-header .wordmark {
  color: var(--fog);
}

.sun-journey[data-dark] .site-header.is-scrolled {
  border-bottom-color: var(--line-night);
}

.sun-journey[data-dark] .nav__lang {
  color: var(--muted-night);
}

/* ---------- What every element shares ---------- */

/* the story moves these itself */
.sun-journey .reveal,
.sun-journey .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.sun-journey .reveal .lockup i,
.sun-journey .reveal.is-in .lockup i {
  transition: none;
}

.sun-journey .hero__text > * {
  animation: none;
}

/* idle: things breathe; `translate` and `rotate` leave `transform` to the story */
@keyframes idle-a {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -9px; rotate: 0.4deg; }
}

@keyframes idle-b {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 7px; rotate: -0.5deg; }
}

.sun-journey [data-float] {
  animation: idle-a 6.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.7s);
}

.sun-journey [data-float="b"] {
  animation-name: idle-b;
  animation-duration: 7.5s;
}

.sun-journey [data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* buttons: the fill sweeps up from below */
.sun-journey .hero__submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.sun-journey .hero__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.sun-journey .hero__submit:hover {
  background: var(--conifer);
}

.sun-journey .hero__submit:hover::before {
  transform: none;
}

.sun-journey .closing__form .hero__submit:hover,
.sun-journey .closing .followup .hero__submit:hover {
  background: transparent;
  color: var(--conifer);
  border-color: var(--gold);
}

/* the cursor's companion */
@media (hover: hover) and (pointer: fine) {
  .sun-journey .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    width: 2.5rem;
    height: 2.5rem;
    margin: -1.25rem 0 0 -1.25rem;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.35s var(--ease), opacity 0.3s var(--ease);
  }

  .sun-journey .cursor.is-on {
    opacity: 1;
  }

  .sun-journey .cursor.is-link {
    width: 4.25rem;
    height: 4.25rem;
    margin: -2.125rem 0 0 -2.125rem;
    background: rgba(184, 130, 58, 0.16);
  }
}

/* a far link: the sky closes over the page while it is moved, then opens again */
.veil {
  display: none;
}

.sun-journey .veil {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ground, var(--fog));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s, background-color 0.4s var(--ease);
}

.sun-journey .veil.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s var(--ease), background-color 0.4s var(--ease);
}

.veil span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 50%;
  background: #dca453;
  box-shadow: 0 0 3rem 0.75rem rgba(220, 164, 83, 0.35);
  animation: loader-breathe 1.7s ease-in-out infinite;
}

/* the day clock */
.sun-journey .dayclock {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: fixed;
  left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  bottom: 1.25rem;
  z-index: 9;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}

.dayclock__rail {
  position: relative;
  width: 5.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.dayclock__rail i {
  position: absolute;
  top: -3px;
  left: calc(var(--day, 0) * 100%);
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--gold);
}

.sun-journey[data-dark] .dayclock {
  color: var(--muted-night);
}

.sun-journey[data-dark] .dayclock__rail i {
  background: var(--gold-on-night);
}

/* it comes in once the day starts moving, and bows out before the last screen */
.sun-journey[data-dawn] .dayclock,
.sun-journey[data-end] .dayclock {
  opacity: 0;
}

@media (max-width: 55.99rem) {
  .sun-journey .dayclock {
    display: none;
  }
}

/* ---------- Poster ---------- */

.sun-journey .poster__name {
  display: inline-block;
  will-change: transform;
}

@media (min-width: 56rem) {
  .sun-journey .poster {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-block: 6rem 3rem;
  }

  .sun-journey .poster > .wrap {
    width: 100%;
  }
}

/* the words that fly from the poster to their sections */
.flyer {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 8;
  margin: 0;
  pointer-events: none;
  transform-origin: 0 0;
  white-space: nowrap;
  will-change: transform, opacity;
}

.flyer span {
  display: block;
}

.flyer span + span {
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------- The band of words ---------- */

.sun-journey .marquee {
  display: block;
  overflow: hidden;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: max-content;
  font-size: clamp(3.25rem, 9vw, 9rem);
  line-height: 1;
  letter-spacing: -0.065em;
  white-space: nowrap;
  will-change: transform;
}

.marquee__track span:nth-of-type(odd) {
  color: transparent;
  -webkit-text-stroke: 1px var(--conifer);
}

.marquee__track span:nth-of-type(even) {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.03em;
}

.marquee__track i {
  flex: none;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Atelier and Vitrine: one held scene, side by side ---------- */

@media (min-width: 56rem) {
  .sun-journey .duo {
    height: 100vh;
    overflow: hidden;
  }

  .sun-journey .duo__track {
    display: flex;
    width: max-content;
    height: 100%;
    will-change: transform;
  }

  .sun-journey .duo .product {
    flex: none;
    width: 100vw;
    height: 100vh;
    padding-block: 5.5rem 3rem;
  }

  .sun-journey .duo #atelier {
    display: flex;
    align-items: center;
  }

  .sun-journey .duo #atelier > .wrap {
    width: 100%;
  }

  .sun-journey .product__head {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
  }
}

/* ---------- Atelier: a cursor works the screen; four tools, one at a time ---------- */

/* the illustration's invoices wait as pending until the sun pays them */
.sun-journey .reveal.is-in .ill-swap-a,
.sun-journey .reveal.is-in .ill-swap-b {
  animation: none;
}

.sun-journey [data-pay] .ill-due,
.sun-journey [data-pay] .ill-paid {
  transition: opacity 0.5s var(--ease);
}

.sun-journey [data-pay].is-paid .ill-due {
  opacity: 0;
}

.sun-journey [data-pay].is-paid .ill-paid {
  opacity: 1;
}

/* the feature being shown steps forward in the list; the sun marks it */
.sun-journey #atelier .ticks li {
  transition: color 0.4s var(--ease), padding-left 0.5s var(--ease);
}

.sun-journey #atelier .ticks.is-live li:not(.is-on) {
  color: rgba(31, 43, 37, 0.72);   /* stepped back, still readable (5:1) */
}

/* Text over the moving sky keeps at least 4.5:1 contrast (WCAG AA), measured
   against the pixels drawn behind it. Where the sky turns mid-tone, the small
   text turns darker (the sunset) or lighter (the dawn of the closing). */
.sun-journey .hero .hero__consent {
  color: var(--text);
  text-shadow: 0 0 0.6rem rgba(231, 227, 218, 0.9);
}

.sun-journey .who__scene {
  --muted: #2c3832;
  --ochre: #4e3910;
}

/* the closing's small text sits over the rings of light: a little lighter,
   with a soft dark halo so the brightest ring never washes it out */
.sun-journey .lakeside .closing .label {
  color: #f6e3be;
}

.sun-journey .lakeside .closing .consent,
.sun-journey .lakeside .closing .closing__promise,
.sun-journey .lakeside .closing :is(.followup__body, .followup__skip) {
  color: #cfd2ca;
}

.sun-journey .lakeside .closing :is(.label, .consent, .closing__promise, legend, .followup__title, .followup__body, .followup__skip) {
  text-shadow: 0 0 0.5rem rgba(18, 24, 21, 0.85), 0 0 0.15rem rgba(18, 24, 21, 0.7);
}

.sun-journey #atelier .ticks li.is-on {
  padding-left: 1.4rem;
}

.sun-journey .invoice,
.sun-journey .vig {
  display: block;
  position: absolute;
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--paper);
  border: 1px solid rgba(31, 43, 37, 0.18);
  box-shadow: 0 40px 60px -30px rgba(18, 24, 21, 0.45);
  font-size: 0.8125rem;
  line-height: 1.3;
  visibility: hidden;
}

.sun-journey .invoice {
  right: -1.5rem;
  top: 10%;
  width: min(21rem, 62%);
}

.sun-journey .vig--project {
  left: 7%;
  top: 14%;
  width: min(17rem, 50%);
}

.sun-journey .vig--files {
  left: 27%;
  top: 24%;
  width: min(18rem, 52%);
}

.sun-journey .vig--expense {
  right: 1%;
  bottom: 9%;
  width: min(15rem, 46%);
}

.invoice__head,
.vig__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 0 0.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--text);
}

.invoice__head span {
  color: var(--muted);
}

/* "no" (numéro) with its o raised, without making the line taller */
.invoice__head sup {
  line-height: 0;
}

.invoice__lines,
.invoice__sums,
.vig__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.invoice__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.invoice__row b {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.invoice__sums {
  margin-top: 0.5rem;
}

.invoice__row--tax span {
  color: var(--ochre);
}

.invoice__row--total {
  border-bottom: 0;
  padding-top: 0.7rem;
  font-size: 1rem;
  font-weight: 700;
}

.invoice__row--total b {
  font-weight: 700;
}

/* a rubber stamp across the invoice */
.invoice__stamp {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.invoice__stamp b {
  padding: 0.3rem 1rem 0.35rem;
  border: 3px solid #4f7a52;
  border-radius: 4px;
  background: rgba(242, 239, 232, 0.82);
  color: #4f7a52;
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  mix-blend-mode: multiply;
}

.vig__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.vig__list li:last-child {
  border-bottom: 0;
}

.vig__box {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  border: 1.5px solid var(--conifer);
}

.vig__meter {
  width: 4.5rem;
  height: 4px;
  background: rgba(31, 43, 37, 0.15);
}

.vig__meter i {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.vig__ext {
  flex: none;
  padding: 0.15rem 0.35rem;
  border: 1px solid var(--gold);
  color: var(--ochre);
  font-size: 0.625rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.vig__count {
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}

.vig__amount {
  margin: 0;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.vig__tag {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.28rem 0.65rem;
  background: var(--conifer);
  color: var(--fog);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sun-journey .stage__cursor {
  display: block;
  position: absolute;
  left: 72%;
  top: 112%;
  z-index: 3;
  width: 18px;
  height: 23px;
  background: var(--conifer);
  clip-path: polygon(0 0, 0 78%, 24% 60%, 43% 100%, 58% 93%, 40% 54%, 72% 54%);
  filter: drop-shadow(0 2px 3px rgba(18, 24, 21, 0.35));
  opacity: 0;
  pointer-events: none;
}

/* the people you work with, as their cursors: they come and go while the tools play */
.sun-journey .stage__peer {
  display: block;
  position: absolute;
  left: 108%;
  top: 60%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.stage__peer i {
  display: block;
  width: 15px;
  height: 19px;
  background: var(--peer);
  clip-path: polygon(0 0, 0 78%, 24% 60%, 43% 100%, 58% 93%, 40% 54%, 72% 54%);
  filter: drop-shadow(0 2px 3px rgba(18, 24, 21, 0.3));
}

.stage__peer b {
  position: absolute;
  left: 11px;
  top: 17px;
  padding: 0.16rem 0.45rem 0.18rem;
  border-radius: 2px;
  background: var(--peer);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.stage__peer--a { --peer: #5f7a64; }
.stage__peer--b { --peer: #7d6a86; }
.stage__peer--c { --peer: #a8632f; }

/* phones: the cards take turns in one place under the illustration */
@media (max-width: 55.99rem) {
  .sun-journey #atelier .stage {
    display: grid;
  }

  .sun-journey #atelier .stage > .figure {
    grid-area: 1 / 1;
  }

  .sun-journey .invoice,
  .sun-journey .vig {
    position: relative;
    inset: auto;
    grid-area: 2 / 1;
    align-self: start;
    width: auto;
    margin: -2.5rem 0.75rem 0 2.25rem;
  }

  .sun-journey .stage__cursor,
  .sun-journey .stage__peer {
    display: none;
  }
}

/* ---------- Vitrine: each work frames the sun, then lands in the app ---------- */

.sun-journey .ill-sun {
  transition: fill 0.8s var(--ease);
}

.sun-journey [data-tile].is-lit .ill-sun {
  fill: #e6b46a;
}

.sun-journey .reveal.is-in .ill-select,
.sun-journey .reveal.is-in .ill-selbar {
  animation: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.sun-journey .reveal.is-in [data-tile].is-on .ill-select,
.sun-journey .reveal.is-in .ill-selbar.is-on {
  opacity: 1;
}

.sun-journey .reveal.is-in .ill-selbar:not(.is-on) {
  transform: translateY(12px);
}

@media (min-width: 56rem) {
  .sun-journey .duo .vitrine {
    padding: 0;
  }

  .sun-journey .vitrine__inner {
    display: block;
    position: relative;
    max-width: none;
    height: 100%;
    padding: 0;
  }

  .sun-journey .vitrine__app {
    position: absolute;
    left: 6vw;
    /* centred without a transform: GSAP animates this, and would freeze one */
    top: 4%;
    bottom: 0;
    width: 36vw;
    height: fit-content;
    margin-block: auto;
  }

  /* spaced like Atelier's words (.product__text, .product__head); a little
     wider than before so the same-size title and its text fit short windows,
     still clear of the widest work hanging at the middle */
  .sun-journey .vitrine__text {
    position: absolute;
    right: 6vw;
    top: 4%;
    bottom: 0;
    width: 28vw;
    height: fit-content;
    margin-block: auto;
    gap: 1.75rem;
  }

  .sun-journey .vitrine__text .product__head {
    margin-bottom: calc(clamp(2rem, 4vw, 3.5rem) - 1.75rem);
  }

  /* short windows: Atelier's and Vitrine's words a little closer together,
     both the same, so the whole of each column fits on screen */
  @media (max-height: 50rem) {
    .sun-journey .product__head {
      margin-bottom: 1.25rem;
    }

    .sun-journey .product__text,
    .sun-journey .vitrine__text {
      gap: 1.25rem;
    }

    .sun-journey .vitrine__text .product__head {
      margin-bottom: 0;
    }
  }

  /* each work hangs so that its own painted sun sits exactly over the real one */
  .sun-journey .vitrine__easel {
    display: block;
    position: absolute;
    inset: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
  }

  .sun-journey .piece {
    --h: 36vh;
    position: absolute;
    left: calc(50vw - var(--h) * var(--ar) * 0.66);
    top: calc(42vh - var(--h) * 0.5);
    transform-origin: 0 0;
    visibility: hidden;
    will-change: transform;
  }

  .sun-journey .piece__frame {
    height: var(--h);
    box-shadow: 0 44px 70px -32px rgba(18, 24, 21, 0.55);
  }

  .sun-journey .piece figcaption {
    position: absolute;
    left: 0;
    top: 100%;
  }

  /* in the app, each of the four works appears where it lands */
  .sun-journey .vitrine .reveal.is-in [data-tile] {
    animation: none;
    opacity: 1;
    transition: opacity 0.35s var(--ease);
  }

  .sun-journey .vitrine .reveal.is-in [data-tile="0"]:not(.is-placed),
  .sun-journey .vitrine .reveal.is-in [data-tile="1"]:not(.is-placed),
  .sun-journey .vitrine .reveal.is-in [data-tile="2"]:not(.is-placed),
  .sun-journey .vitrine .reveal.is-in [data-tile="3"]:not(.is-placed) {
    opacity: 0;
  }
}

/* ---------- The thread: a line drawn like a flight, one step at a time ---------- */

.sun-journey .thread__step,
.sun-journey .reveal.is-in .thread__step {
  animation: none;
}

.sun-journey .thread__pain {
  position: relative;
  display: inline;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 55% / 0% 2px;
  transition: background-size 0.6s var(--ease) 0.5s, color 0.6s var(--ease) 0.5s;
}

@media (min-width: 56rem) {
  .sun-journey .thread {
    height: 100vh;
    padding-block: 6.5rem 0;
    overflow: hidden;
  }

  .sun-journey .thread__way {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  .thread__track {
    fill: none;
    stroke: rgba(31, 43, 37, 0.28);
    stroke-width: 1.5;
    stroke-dasharray: 2 8;
    stroke-linecap: round;
  }

  .thread__drawn {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-linecap: round;
  }

  .sun-journey .thread__steps {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    counter-reset: step;
  }

  .sun-journey .thread__steps::before,
  .sun-journey .thread__steps::after {
    display: none;
  }

  .sun-journey .thread__step {
    position: absolute;
    left: var(--x, 0);
    top: var(--y, 0);
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    opacity: 1;
    transform: none;
    counter-increment: step;
  }

  /* the stop's name tag, once reached: just under the trough, where the line
     never goes, heading the step's words */
  .sun-journey .thread__step .tag {
    position: absolute;
    left: var(--shift, -1.5rem);
    top: 1.1rem;
    white-space: nowrap;
    opacity: 0;
    scale: 0.8;
    transform-origin: 0 0;
    transition: opacity 0.4s var(--ease), scale 0.5s var(--ease);
  }

  .sun-journey .thread__step.is-lit .tag {
    opacity: 1;
    scale: 1;
  }

  /* the step itself opens below the path, only while the sun is there */
  .sun-journey .thread__step > p {
    position: relative;
    left: var(--shift, -1.5rem);
    width: 19rem;
    max-width: none;
    opacity: 0;
    transform: translateY(18px);
    transform-origin: 0 0;
    transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  }

  .sun-journey .thread__step.is-now > p {
    opacity: 1;
    transform: none;
  }

  /* a step the flight has left stays, as its name, smaller */
  .sun-journey .thread__step.is-lit:not(.is-now) > .thread__title {
    width: min(19rem, calc(var(--room, 11.4rem) / 0.6));
    opacity: 0.62;
    transform: scale(0.6);
  }

  .sun-journey .thread__step.is-now > .thread__pain { transition-delay: 0.12s; }
  .sun-journey .thread__step.is-now > .thread__note { transition-delay: 0.24s; }

  .sun-journey .thread__title {
    margin-top: 3.6rem;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    letter-spacing: -0.045em;
  }

  .sun-journey .thread__pain {
    display: block;
    margin: 0.8rem 0 0;
    background: none;
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
  }

  .sun-journey .thread__note {
    margin-top: 0.6rem;
    font-size: 1.125rem;
    max-width: none;
  }

  /* a large numeral behind the open step */
  .sun-journey .thread__step::before {
    content: "0" counter(step);
    position: absolute;
    left: calc(var(--shift, -1.5rem) + 8.5rem);
    top: 2.4rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(9rem, 15vw, 15rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(31, 43, 37, 0.14);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
    pointer-events: none;
  }

  .sun-journey .thread__step.is-now::before {
    opacity: 1;
    transform: none;
  }
}

/* phones: the steps wake down the line */
@media (max-width: 55.99rem) {
  .sun-journey .thread__step {
    opacity: 0.5;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  .sun-journey .thread__step.is-lit {
    opacity: 1;
    transform: translateY(-6px);
  }

  .sun-journey .thread__step.is-lit .thread__pain {
    background-size: 100% 2px;
    color: var(--muted);
  }

  .sun-journey .thread__note {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--ease) 0.35s, transform 0.6s var(--ease) 0.35s;
  }

  .sun-journey .thread__step.is-lit .thread__note {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Who it's for: a dozen tools in orbit, then one ---------- */

.sun-journey .who__arrow {
  display: none;
}

.js.sun-journey .who__stack .who__tool span::after,
.js.sun-journey .who__stack:not(.is-in) .who__tool span::after {
  transform: scaleX(var(--strike, 0));
  transition: none;
}

.js.sun-journey .who__stack .who__lybre,
.js.sun-journey .who__stack:not(.is-in) .who__lybre {
  opacity: 0;
  transition: none;
}

.sun-journey .who__lybre::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--gold-on-night);
  vertical-align: 0.05em;
}

@media (min-width: 56rem) {
  .sun-journey .who {
    padding-bottom: 0;
  }

  .sun-journey .who__intro {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 7rem);
  }

  .sun-journey .who__stack {
    position: relative;
    display: block;
    flex: 1;
    margin: 1.5rem 0 0;
  }

  .sun-journey .who__tool {
    position: absolute;
    left: 0;
    top: 0;
    will-change: transform;
  }

  .sun-journey .who__tool span {
    padding: 0.85rem 1.3rem;
    font-size: 1.0625rem;
    white-space: nowrap;
  }

  .sun-journey .who__lybre {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 1.15rem 1.9rem;
    font-size: 1.5rem;
    white-space: nowrap;
    box-shadow: 0 30px 60px -24px rgba(18, 24, 21, 0.6);
  }
}

/* ---------- The three audiences, one at a time, as the sun goes down ---------- */

@media (min-width: 56rem) {
  .sun-journey .who__scene {
    height: 100vh;
  }

  .sun-journey .who__cards {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(46rem, 54vw);
    height: 30rem;
    margin: auto 0;
  }

  /* (.reveal.is-in is listed too: the cards carry .reveal, and the story's
     ".sun-journey .reveal.is-in" would otherwise show all three at once) */
  .sun-journey .who__card,
  .sun-journey .who__card:hover,
  .sun-journey .who__card.reveal.is-in {
    position: absolute;
    inset: 0;
    justify-content: center;
    gap: 1.6rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 0;   /* (not visibility: screen readers still read every card) */
    pointer-events: none;
  }

  .sun-journey .who__card .who__aud {
    font-size: 0.8125rem;
  }

  .sun-journey .who__claim {
    font-size: clamp(3.25rem, 6.4vw, 6.75rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
  }

  .sun-journey .who__card .who__text {
    max-width: 33rem;
    font-size: 1.25rem;
    color: #2c3832;
  }

  .sun-journey .who__card .who__cta {
    margin-top: 0;
    font-size: 1.0625rem;
  }

  .sun-journey .who__end {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    position: absolute;
    inset: 0;
    max-width: 64rem;
    margin-top: 0;
    opacity: 0;   /* (not visibility: screen readers still read it) */
  }

  /* each of its two sentences on one line: the type is sized so the longer
     one fits the block (64rem at most), measured in em per language */
  .sun-journey .who__outro {
    --longest: 14.6;   /* "Moins de temps à gérer l'entreprise." is 14.2em */
    order: -1;
    margin: 0;
    max-width: none;
    font-size: min(clamp(2.75rem, 5.4vw, 5.75rem), calc(min(64rem, 100vw - 2 * var(--gutter)) / var(--longest)));
    line-height: 1;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }

  .sun-journey:lang(en) .who__outro {
    --longest: 12.9;   /* "Less time running the business." is 12.5em */
  }

  .sun-journey .who__outro .serif {
    letter-spacing: -0.025em;
  }

  .sun-journey .who__local {
    max-width: 36rem;
  }

  /* the sun's way down the afternoon sky, with a mark for each audience */
  .who__dial {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .who__dial svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .who__dial path {
    fill: none;
    stroke: rgba(31, 43, 37, 0.35);
    stroke-width: 1.5;
    stroke-dasharray: 2 8;
    stroke-linecap: round;
  }

  .who__dial button {
    position: absolute;
    translate: calc(-100% - var(--gap, 5rem)) -50%;
    padding: 0.4rem 0.2rem;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto;
    opacity: var(--names, 1);
    transition: color 0.3s var(--ease), letter-spacing 0.5s var(--ease);
  }

  .who__dial button::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: calc(var(--gap, 5rem) - 3.4rem);
    height: 1px;
    margin-left: 0.6rem;
    background: currentColor;
    opacity: 0.5;
  }

  .who__dial button:hover,
  .who__dial button.is-now {
    color: var(--conifer);
  }

  .who__dial button.is-now {
    letter-spacing: 0.1em;
  }
}

/* ---------- The night ---------- */

/* long enough for night to fall; the words come up once the sun has gone */
.sun-journey .lakeside .why {
  min-height: 175vh;
  padding-top: 62vh;
}

.sun-journey .why__item::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--gold-on-night);
  vertical-align: 0.2em;
  opacity: 0.15;
  transition: opacity 0.9s var(--ease), box-shadow 0.9s var(--ease);
}

.sun-journey .why__list li.is-lit .why__item::before {
  opacity: 1;
  box-shadow: 0 0 0.9rem 0.2rem rgba(209, 159, 85, 0.55);
}

/* the line that answers the night glows */
.sun-journey .why__quote .serif {
  text-shadow: 0 0 calc(var(--lit, 0) * 28px) rgba(209, 159, 85, calc(var(--lit, 0) * 0.55));
}

/* ---------- The closing: an open sky, the whole lys, the sign-up ---------- */

.sun-journey .lakeside .closing {
  overflow: visible;
  padding-top: clamp(4rem, 9vw, 7rem);
}

.sun-journey .closing .lys {
  position: relative;
  right: auto;
  top: auto;
  display: block;
  width: min(23rem, 64vw);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto clamp(0.5rem, 2vw, 1.5rem);
  opacity: 1;
}

.sun-journey .closing__inner {
  text-shadow: 0 1px 18px rgba(18, 24, 21, 0.6);
}

/* ---------- The end: the night, with the name cut out of it. Through the
   letters, the world: fog, then a new morning. ---------- */

.sun-journey .colophon {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
}

.sun-journey .colophon__giant {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.colophon__giant svg {
  position: absolute;
  /* a little narrower than the screen: it steps to the left (scenes.js) when the sun comes to rest after the "e", as its full stop */
  left: 50%;
  top: 42%;
  width: min(82vw, 90rem);
  height: auto;
  transform: translate(-50%, -50%);   /* scenes.js keeps it centred as it moves it */
  overflow: visible;
  fill: var(--night);
  will-change: transform;
}

.sun-journey .colophon__bar {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.75rem, 4vw, 2.5rem);
}
