/* Studio 200 · les composants. [lot habillage]
   Modèle : son teaser (planche 01). Le mode d'emploi des fabriques est en tête de js/ui.js.
   Règle : rien ici n'anime autre chose que `transform` et `opacity`. Aucun `backdrop-filter`. */

/* ====================================================================== icônes
   Trait 1,75 sur une grille de 24, bouts ronds. La couleur est celle du texte. */
.icon {
  display: inline-block;
  flex: none;
  width: 1.5em;
  height: 1.5em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.32em;
  overflow: visible;
}
.icon--solid { fill: currentColor; }
/* une flèche qui veut dire « suite » se retourne en hébreu */
[dir='rtl'] .icon[data-icon='arrow-right'] { transform: scaleX(-1); }

/* ====================================================================== le verre
   Panneau sombre translucide, liseré fin (blanc bleuté en haut à gauche, orange en bas à droite),
   lueur orange sous la carte. Fait de dégradés : il peut bouger sans rien coûter.
     <div class="glass">…</div>
     variantes : glass--warm · glass--cool · glass--clear (liseré seul, pour une vidéo)
     tailles   : glass--sm (rayon 16) · glass--pill · glass--pad (marge intérieure) · glass--quiet (sans lueur) */
.glass {
  --g-r: var(--r-lg);
  --g-edge: var(--edge);
  --g-edge-w: var(--edge-w);
  --g-fill: var(--glass-sheen), var(--glass-ember), var(--glass-blue), var(--glass-base);
  --g-glow: 1.5px 1px 0 0 rgb(128 108 255 / .26), var(--glow-cool), var(--glow-warm), var(--glow-under);
  position: relative;
  isolation: isolate;
  border-radius: var(--g-r);
  background: var(--g-fill);
  box-shadow: var(--g-glow);
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--g-edge-w);
  border-radius: inherit;
  background: var(--g-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glass--warm {
  --g-fill:
    var(--glass-sheen),
    radial-gradient(112% 92% at 64% 66%, rgb(var(--orange-rgb) / .46) 0%, rgb(176 70 12 / .2) 44%, transparent 76%),
    linear-gradient(180deg, rgb(30 18 34 / .82) 0%, rgb(15 8 14 / .9) 100%);
  --g-glow: 1.5px 1px 0 0 rgb(128 108 255 / .2), var(--glow-cool), 14px 16px 46px -16px rgb(var(--orange-rgb) / .7), 0 40px 76px -30px rgb(var(--orange-rgb) / .72);
}
.glass--cool {
  --g-fill:
    var(--glass-sheen),
    radial-gradient(130% 62% at 50% 124%, rgb(var(--orange-rgb) / .3) 0%, transparent 62%),
    radial-gradient(104% 92% at 52% 40%, rgb(22 82 240 / .66) 0%, rgb(12 46 168 / .34) 52%, transparent 86%),
    var(--glass-base);
  --g-glow: 1.5px 1px 0 0 rgb(128 108 255 / .3), -12px -12px 44px -18px rgb(var(--electric-rgb) / .78), var(--glow-warm), var(--glow-under);
}
.glass--clear { --g-fill: none; }
.glass--quiet { --g-glow: none; --g-edge: var(--edge-quiet); }
.glass--sm { --g-r: var(--r-md); }
.glass--pill { --g-r: var(--r-pill); }
.glass--pad { padding: clamp(1.15rem, 4.4vw, 2.25rem); }

/* Les filets qui traversent ses cartes : un trait blanc très fin, ou ses cinq tirets violets. */
.rule {
  display: block;
  width: 42%;
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgb(var(--ice-rgb) / .75) 16%, rgb(var(--ice-rgb) / .75) 84%, transparent);
}
.rule--dash {
  width: 5.25rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgb(190 150 255 / .9) 0 .7rem, transparent .7rem 1.05rem);
}

/* La ligne d'horizon : le trait orange qui luit sous son logo (planche 10). */
.horizon {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  border: 0;
  margin: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgb(var(--orange-rgb) / .9) 9%, #ffd7a6 30%, #fff0da 50%, #ffd7a6 70%, rgb(var(--orange-rgb) / .9) 91%, transparent 100%);
  box-shadow: 0 0 12px 1px rgb(255 156 74 / .85), 0 0 40px 7px rgb(var(--orange-rgb) / .34);
}
/* sa lueur large, celle d'un soleil juste sous la ligne : une tache fixe, elle suit le trait quand on l'anime */
.horizon::before {
  content: '';
  position: absolute;
  inset: -3.4rem -2%;
  background: radial-gradient(50% 50% at 50% 50%, rgb(var(--orange-rgb) / .3) 0%, rgb(var(--orange-rgb) / .13) 38%, transparent 70%);
  pointer-events: none;
}

/* ====================================================================== les équerres de viseur
   Posées par ui.corners(). Quatre équerres autour d'un élément ; seuls leur `transform` et leur `opacity` bougent. */
:where(.has-corners) { position: relative; }
.corners {
  --c-arm: 18px;
  --c-w: 2px;
  --c-gap: 10px;
  --c-color: var(--orange);
  --c-glow: rgb(var(--orange-rgb) / .7);
  --c-hot: #fff3e2;
  position: absolute;
  inset: calc(var(--c-gap) * -1);
  z-index: 3;
  display: block;
  pointer-events: none;
}
.corners--white { --c-color: var(--white); --c-glow: rgb(var(--ice-rgb) / .62); --c-hot: #fff; }
.corner {
  position: absolute;
  display: block;
  width: var(--c-arm);
  height: var(--c-arm);
  will-change: transform, opacity;
}
.corner--tl { top: 0; left: 0; transform-origin: 0 0; }
.corner--tr { top: 0; right: 0; transform-origin: 100% 0; }
.corner--br { right: 0; bottom: 0; transform-origin: 100% 100%; }
.corner--bl { bottom: 0; left: 0; transform-origin: 0 100%; }
.corner::before, .corner::after,
.corner__hot::before, .corner__hot::after {
  content: '';
  position: absolute;
  background: var(--c-color);
  box-shadow: 0 0 7px var(--c-glow);
}
.corner::before, .corner__hot::before { left: 0; right: 0; height: var(--c-w); }      /* le bras couché */
.corner::after, .corner__hot::after { top: 0; bottom: 0; width: var(--c-w); }         /* le bras debout */
.corner--tl::before, .corner--tr::before, .corner--tl > .corner__hot::before, .corner--tr > .corner__hot::before { top: 0; }
.corner--bl::before, .corner--br::before, .corner--bl > .corner__hot::before, .corner--br > .corner__hot::before { bottom: 0; }
.corner--tl::after, .corner--bl::after, .corner--tl > .corner__hot::after, .corner--bl > .corner__hot::after { left: 0; }
.corner--tr::after, .corner--br::after, .corner--tr > .corner__hot::after, .corner--br > .corner__hot::after { right: 0; }
/* l'éclat du verrouillage : une copie chauffée à blanc, dont seule l'opacité bouge */
.corner__hot { position: absolute; inset: 0; display: block; opacity: 0; } /* dans la couche de son équerre : pas de couche à lui */
.corner__hot::before, .corner__hot::after {
  background: var(--c-hot);
  box-shadow: 0 0 6px 1px var(--c-color), 0 0 18px 3px var(--c-glow), 0 0 34px 6px var(--c-glow);
}

/* L'anneau qui se remplit (ui.ring) : le temps qu'on reste devant une vidéo. */
.ring { display: block; flex: none; overflow: visible; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: rgb(var(--white-rgb) / .2); }
.ring__fill { fill: none; stroke: var(--orange); stroke-linecap: round; filter: drop-shadow(0 0 3px rgb(var(--orange-rgb) / .8)); }
.ring--white .ring__fill { stroke: var(--white); filter: drop-shadow(0 0 3px rgb(var(--ice-rgb) / .7)); }

/* ====================================================================== la pilule de recherche
   Posée par ui.pill(). Capsule de verre, loupe à gauche dans les trois langues, curseur blanc (planche 01).
   Le texte entier occupe sa place dès le début (la partie pas encore tapée est invisible) :
   la frappe ne déplace jamais rien. */
.pill {
  --pill-h: 58px;
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  direction: ltr;
  width: min(100%, 35rem);
  min-height: var(--pill-h);
  padding: .72rem 1.6rem .72rem 1.25rem;
  border-radius: var(--r-pill);
  color: var(--white);
  background:
    radial-gradient(58% 170% at 84% 58%, rgb(var(--orange-rgb) / .44) 0%, rgb(var(--orange-rgb) / .12) 46%, transparent 72%),
    radial-gradient(56% 170% at 36% 50%, rgb(26 88 244 / .6) 0%, rgb(20 62 200 / .2) 50%, transparent 76%),
    linear-gradient(100deg, rgb(150 170 230 / .2) 0%, rgb(150 170 230 / 0) 26%),
    linear-gradient(180deg, rgb(14 22 64 / .84) 0%, rgb(7 10 32 / .9) 100%);
  box-shadow:
    -16px 0 44px -18px rgb(var(--electric-rgb) / .8),
    18px 6px 48px -16px rgb(var(--orange-rgb) / .72),
    0 26px 54px -30px rgb(var(--orange-rgb) / .5);
}
.pill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2px;
  border-radius: inherit;
  /* froid du côté de la loupe, chaud du côté du texte qui s'écrit : planche 01 */
  background: linear-gradient(104deg,
      rgb(232 240 255 / .98) 0%, rgb(196 214 255 / .92) 44%, rgb(214 178 222 / .85) 55%,
      rgb(255 170 96 / .95) 66%, var(--edge-warm) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* l'anneau qui s'allume quand on écrit dedans : seule son opacité change */
.pill::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  box-shadow: 0 0 0 1.5px rgb(var(--amber-rgb) / .85), 0 0 26px 2px rgb(var(--orange-rgb) / .55);
  opacity: 0;
  transition: opacity var(--t-2) var(--ease-enter);
  pointer-events: none;
}
.pill:focus-within::after { opacity: 1; }
.pill__icon { width: 1.55rem; height: 1.55rem; stroke-width: 2; opacity: .94; }
.pill__field {
  position: relative;
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.0625rem, .97rem + .4vw, 1.375rem);
  line-height: 1.28;
  text-align: start;
  text-wrap: balance;
  -webkit-user-select: none;
  user-select: none;
}
.pill__field:lang(he) { font-weight: 800; }
.pill__rest { opacity: 0; }
.pill__caret { position: relative; }
.pill__caret::after {
  content: '';
  position: absolute;
  inset-block: -.04em;
  inset-inline-start: .1em;
  width: 2px;
  border-radius: 2px;
  /* blanc, comme dans son teaser : orange, il se perdrait dans la lueur chaude du côté droit de la capsule */
  background: var(--white);
  box-shadow: 0 0 8px 1px rgb(var(--white-rgb) / .7), 0 0 20px 4px rgb(var(--ice-rgb) / .35);
  animation: s200-caret 1.06s linear infinite;
}
.pill.is-typing .pill__caret::after, .pill.is-still .pill__caret::after { animation: none; }
.pill.no-caret .pill__caret::after { display: none; }
@keyframes s200-caret { 0%, 54% { opacity: 1; } 55%, 100% { opacity: 0; } }

/* la même, devenue un vrai champ (pill.input()) */
.pill--input { cursor: text; }
.pill__input {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 2rem;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.0625rem, .97rem + .4vw, 1.375rem);   /* jamais sous 16 px : iOS zoomerait sur le champ */
  line-height: 1.28;
  color: var(--white);
  caret-color: var(--white);
  text-align: start;
  outline: none;
}
.pill__input::placeholder { color: rgb(var(--white-rgb) / .52); font-weight: 500; opacity: 1; }
.pill__input:focus-visible { outline: none; }

/* ====================================================================== boutons
     <a class="btn btn--primary">…</a>   dégradé orange, texte sombre, lueur
     <button class="btn btn--ghost">…</button>   capsule de verre
     tailles : btn--lg · btn--icon (rond, icône seule)
   Pas d'effet de survol : sur ordinateur, ce sont les équerres du curseur qui se posent dessus. */
.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: var(--btn-h);
  min-width: var(--btn-h);
  padding: .5rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  letter-spacing: .005em;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  isolation: isolate;
  transition: transform var(--t-1) var(--ease-enter);
}
.btn:active { transform: scale(.965); }
.btn:lang(he) { font-weight: 800; letter-spacing: 0; }
.btn .icon { width: 1.3rem; height: 1.3rem; }
.btn--lg { --btn-h: 58px; padding-inline: 1.9rem; font-size: 1.0625rem; }
.btn--icon { padding: 0; width: var(--btn-h); }

.btn--primary {
  color: var(--ink);
  background: var(--grad-orange-btn);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .62),
    inset 0 -12px 18px -10px rgb(196 74 0 / .6),
    0 0 0 1px rgb(255 196 128 / .36),
    var(--glow-orange),
    0 22px 50px -22px rgb(var(--orange-rgb) / .7);
}
.btn--primary:focus-visible { outline-color: var(--white); outline-offset: 4px; }

.btn--ghost {
  color: var(--white);
  background:
    linear-gradient(118deg, rgb(190 208 255 / .16) 0%, rgb(190 208 255 / 0) 34%),
    radial-gradient(90% 150% at 82% 120%, rgb(var(--orange-rgb) / .26), transparent 70%),
    linear-gradient(180deg, rgb(14 22 62 / .78) 0%, rgb(7 10 30 / .86) 100%);
  box-shadow: -8px -6px 28px -16px rgb(var(--electric-rgb) / .6), 10px 10px 30px -16px rgb(var(--orange-rgb) / .55);
}
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: var(--edge-w);
  border-radius: inherit;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ====================================================================== pastilles à choisir
     <button class="chip" aria-pressed="false">…</button>   (ui.chips() les branche) */
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: var(--tap);
  padding: .45rem 1.1rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.2;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgb(14 22 60 / .7) 0%, rgb(8 11 32 / .8) 100%);
  box-shadow: inset 0 0 0 1px rgb(var(--ice-rgb) / .26);
  isolation: isolate;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  transition: transform var(--t-1) var(--ease-enter);
}
.chip:active { transform: scale(.965); }
.chip:lang(he) { font-weight: 700; }
/* l'état choisi est une seconde peau posée dessus : seule son opacité change */
.chip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(120% 160% at 50% 130%, rgb(var(--orange-rgb) / .5), rgb(var(--orange-rgb) / .12) 60%, transparent 82%),
    linear-gradient(180deg, rgb(40 22 30 / .9), rgb(24 12 14 / .92));
  box-shadow: inset 0 0 0 1.5px var(--orange), 0 8px 26px -10px rgb(var(--orange-rgb) / .7);
  opacity: 0;
  transition: opacity var(--t-2) var(--ease-enter);
}
.chip .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.25; color: var(--amber); }
.chip__check {
  display: inline-grid;
  width: 0;
  overflow: hidden;
  opacity: 0;
}
.chip[aria-pressed='true'] { color: var(--white); }
.chip[aria-pressed='true']::before { opacity: 1; }
.chip[aria-pressed='true'] .chip__check { width: 1.05rem; opacity: 1; }

/* ====================================================================== carte de chiffre
   Comme ses cartes « 30K » : une icône, un grand chiffre, un libellé. Posée par ui.stat(), ou à la main :
     <div class="stat glass glass--sm"><span class="stat__icon">…</span>
       <strong class="stat__num num">45</strong><span class="stat__label">heures de travail</span></div> */
.stat {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: .9rem;
  row-gap: .12rem;
  min-width: 10.5rem;
  padding: .9rem 1.3rem .95rem 1rem;
  direction: ltr;               /* l'icône à gauche, le chiffre à droite : comme dans son teaser */
  text-align: left;
}
.stat__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--amber);
}
.stat__icon .icon { width: 2rem; height: 2rem; stroke-width: 1.9; filter: drop-shadow(0 0 8px rgb(var(--orange-rgb) / .55)); }
.stat__num {
  align-self: end;
  font-family: var(--font-wide);
  font-stretch: 125%;
  font-variation-settings: 'wdth' 125;
  font-weight: 900;
  font-size: var(--fs-stat);
  line-height: .92;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--white);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
}
.stat__num small { font-size: .46em; font-weight: 800; letter-spacing: 0; margin-inline-start: .18em; }
.stat__label {
  align-self: start;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-small);
  line-height: 1.25;
  color: var(--text-dim);
  unicode-bidi: plaintext;
}
.stat--cool .stat__icon { color: var(--ice); }
.stat--cool .stat__icon .icon { filter: drop-shadow(0 0 8px rgb(var(--electric-rgb) / .7)); }

/* ====================================================================== carte vidéo
   Posée par ui.card(). L'affiche d'abord, la vidéo dessous ; liseré de verre ; lecture en bas à gauche,
   agrandissement en bas à droite, comme dans ses images. Largeur : --card-w (ou la largeur du parent). */
.card {
  --card-ratio: 9 / 16;
  --card-r: 22px;
  position: relative;
  display: block;
  width: var(--card-w, min(64vw, 19rem));
  aspect-ratio: var(--card-ratio);
  border-radius: var(--card-r);
  box-shadow: 1.5px 1px 0 0 rgb(128 108 255 / .28), var(--glow-cool), var(--glow-warm), var(--glow-under);
  -webkit-user-select: none;
  user-select: none;
}
.card[role='button'] { cursor: pointer; }
.card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(180deg, #0b1236, #05081c);
  isolation: isolate;
  transform: translateZ(0);       /* Safari : l'arrondi coupe bien la vidéo */
}
.card__poster, .card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.card__video { opacity: 0; transition: opacity var(--t-3) linear; }
.card.is-playing .card__video { opacity: 1; }
/* un voile en bas pour lire les deux pastilles, et le reflet de la vitre en haut à gauche */
.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(128deg, rgb(255 255 255 / .16) 0%, rgb(255 255 255 / .04) 16%, transparent 32%),
    linear-gradient(180deg, transparent 66%, rgb(var(--night-rgb) / .58) 100%);
  pointer-events: none;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: var(--edge-w);
  border-radius: inherit;
  background: var(--edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card__badge {
  position: absolute;
  bottom: .7rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: var(--white);
  background: rgb(var(--night-rgb) / .42);
  box-shadow: inset 0 0 0 1px rgb(var(--white-rgb) / .3);
  pointer-events: none;
}
.card__badge .icon { width: .95rem; height: .95rem; stroke-width: 2.2; }
.card__badge--play { left: .7rem; }
.card__badge--play .icon { fill: currentColor; stroke-width: 1.5; transform: translateX(.04rem); }
.card__badge--expand { right: .7rem; }
.card--bare .card__badge { display: none; }

/* ====================================================================== barre d'outils
   Posée par ui.toolbar() : la colonne de trois boutons carrés de verre (cube, lecture, ciseaux). Décor. */
.toolbar { display: inline-flex; flex-direction: column; gap: .55rem; }
.toolbar--row { flex-direction: row; }
.tool {
  --g-r: 15px;
  --g-glow: 1px 1px 0 0 rgb(128 108 255 / .22), -6px -6px 20px -12px rgb(var(--electric-rgb) / .6), 8px 8px 22px -12px rgb(var(--orange-rgb) / .6);
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  color: var(--white);
}
.tool .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.9; }
/* l'outil en service : une peau orange dont seule l'opacité change */
.tool::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(110% 110% at 50% 100%, rgb(var(--orange-rgb) / .42), transparent 72%);
  box-shadow: inset 0 0 0 1.5px var(--amber), 0 0 22px -2px rgb(var(--orange-rgb) / .7);
  opacity: 0;
  transition: opacity var(--t-2) var(--ease-enter);
}
.tool.is-on::after { opacity: 1; }
.tool.is-on { color: #ffe6c7; }

/* ====================================================================== découpe de texte
   Posée par ui.split(). Un morceau porte lui-même son dégradé quand il est dans un mot fort :
   on peut le déplacer ou le fondre sans que la couleur disparaisse. */
.s-line { display: block; }
.s-word, .s-char { display: inline-block; }
.s-word { white-space: nowrap; }   /* un mot plus large que sa colonne dépasse, il ne se coupe jamais entre deux lettres */
/* Les boîtes qui coupent (mask: true). Elles ne changent rien à la mise en page : la coupe est un `clip-path`,
   large sur les côtés (l'italique et la lueur passent), serrée en haut et en bas (c'est par là qu'un texte entre).
   Le morceau qu'elles enferment est rallongé en haut et en bas sans bouger d'un point : `yPercent: 100` suffit
   alors à le sortir en entier, accents et jambages compris. */
.s-line-mask { display: flow-root; clip-path: inset(-.18em -1em); }
.s-word-mask, .s-char-mask { display: inline-block; clip-path: inset(-.18em -1em); }
.s-line-mask > .s-line, .s-word-mask > .s-word, .s-char-mask > .s-char {
  padding-block: .3em;
  margin-block: -.3em;
  background-origin: content-box;   /* le dégradé d'un mot fort garde sa hauteur de ligne */
}
/* Dans une boîte, la lueur du texte est resserrée : large, la coupe la trancherait net une fois le texte posé. */
.lit :is(.s-line-mask, .s-word-mask, .s-char-mask),
:is(.s-line-mask, .s-word-mask, .s-char-mask) .lit { text-shadow: var(--glow-text-tight); }
:is(.s-line-mask, .s-word-mask, .s-char-mask) .em,
.em :is(.s-word-mask, .s-char-mask) { text-shadow: var(--glow-text-orange-tight); }
/* Un mot fort découpé ne peint plus rien lui-même, ses morceaux portent le dégradé : il n'a plus à répéter ses
   marges à chaque ligne. Sans cela le navigateur renonce à équilibrer les lignes du texte (text-wrap: balance). */
.em.is-split { background-image: none; -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.em .s-word:not(.s-word--wrap), .em .s-char {
  background-image: var(--grad-orange);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-inline: .09em;
  margin-inline: -.09em;
}
.em:lang(he) .s-word { padding-inline: .16em; margin-inline: -.16em; }   /* la pente de l'hébreu sort plus loin (css/base.css) */

/* ====================================================================== l'objectif et le logo */
.lens { display: block; flex: none; overflow: visible; }
.logo { display: block; max-width: 100%; height: auto; -webkit-user-select: none; user-select: none; }
