@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap");

/* 1. Variables ----------------------------------------------------------- */
:root {
  --paper: #f3f2f2;
  --ink: #201e1d;
  --night: #2d2b2b;

  --blue: #0088b0;
  --blue-100: #e9f8ff;
  --blue-200: #cbeeff;
  --blue-300: #99e0ff;
  --blue-600: #1186ac;
  --blue-700: #006786;
  --blue-800: #004961;

  --pink: #d6006c;
  --pink-100: #fff1f4;
  --pink-200: #ffdee6;
  --pink-300: #ffc0d0;
  --pink-600: #d82071;
  --pink-700: #aa0b56;
  --pink-800: #790e3d;

	--yellow1: #fbc719;
	--orange1: #d16227;
	--grey1: #3a4244;
	--beige1: #dcb46f;
	--beige2: #efe3d3;
	--bleunoir1: #131f2d;

  --grey-100: #f8f4f4;
  --grey-200: #eae7e7;
  --grey-700: #605d5d;

  --star: #edbb00;

  --font: "Source Serif 4", Georgia, serif;
  --shadow: 0 12px 32px rgb(45 43 43 / 0.22);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(20px, 5vw, 72px);
  --pad-top: clamp(68px, 11vh, 110px);
  --pad-bottom: clamp(16px, 4vh, 56px);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; overscroll-behavior: none; }

body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  text-wrap: pretty;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: var(--blue-700); }
a:hover { color: var(--blue); }

::selection { background: var(--blue-200); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

.kicker {
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.italic { font-style: italic; font-weight: 400; }

/* 3. Composants ---------------------------------------------------------- */

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: inherit;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.btn-primary       { background: var(--blue); color: var(--paper); font-weight:bold; border-radius: 27px;}
.btn-primary:hover { background: var(--blue-600); color: var(--paper); }

.btn-light         { background: var(--paper); color: var(--ink); font-weight:700;}
.btn-light:hover   { background: var(--grey-100); color: var(--ink); }

.btn-outline       { background: transparent; color: var(--paper); border-color: rgb(243 242 242 / .6); }
.btn-outline:hover { background: rgb(243 242 242 / .14); color: var(--paper); border-color: var(--paper); }

.btn-lg { font-size: 18px; padding: 16px 30px; }

/* Livre en 3D */
.book {
  --t: 44px;
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateY(-24deg);
  transition: transform .7s var(--ease);
}
.book--thin { --t: 26px; }
.book__back {
  position: absolute; inset: 0;
  transform: translateZ(calc(var(--t) / -2));
  background: #1a1918;
  border-radius: 1px;
  box-shadow: var(--shadow);
}
.book__pages {
  position: absolute;
  top: 1.4%; bottom: 1.4%;
  left: calc(100% - var(--t) / 2 - 2px);
  width: var(--t);
  transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, var(--paper) 0 1px, var(--grey-200) 1px 2px, var(--grey-100) 2px 3px);
}
.book__front {
  position: relative;
  transform: translateZ(calc(var(--t) / 2));
}
.book__front img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0 1px 1px 0;
  background: #1a1918;
}
.book__front::after { /* reliure */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(32 30 29 / .38) 0, transparent 2.5%, rgb(243 242 242 / .3) 3.5%, transparent 7%);
}

/* Note Amazon */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.rating_bleu{color:var(--bleunoir1);}
.rating_orange{color:var(--pink-800);}
.rating:hover { background: var(--pink-100); color: var(--pink-800); }
.stars { color: var(--star); letter-spacing: .08em; }

/* Étiquette */
.tag {
  justify-self: start;
  padding: 5px 10px;
  border: 1px solid rgb(243 242 242 / .55);
  border-radius: 99px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* 4. En-tête, navigation, écrans ---------------------------------------- */

.lamp {
  position: fixed; top: 0; left: 0;
  width: 80vmax; height: 80vmax;
  margin: -40vmax 0 0 -40vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(203 238 255 / .5), rgb(233 248 255 / .18) 55%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 40;
  will-change: transform;
}

.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  padding: /*clamp(10px, 1.6vw, 16px) clamp(20px, 4vw, 30px);*/ 5px 10px;
  background: rgb(243 242 242 / .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header__logo { margin-right: auto; }
.header__logo img { height: clamp(38px, 5vw, 60px); width: auto; }
.header__nav { display: flex; gap: clamp(16px, 2.4vw, 32px); font-size: 15px; }
.header__nav a { color: var(--ink); text-decoration: none; }
.header__nav a:hover,
.header__nav a[aria-current] { color: var(--blue); }
.header .btn { font-size: 14px; padding: 10px 16px; }

.dots {
  position: fixed;
  right: clamp(14px, 2vw, 28px); top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: grid; gap: 12px;
  padding: 12px 8px;
  border-radius: 99px;
  background: rgb(243 242 242 / .7);
  backdrop-filter: blur(10px);
}
.dots button {
  width: 8px; height: 8px;
  padding: 0; border: 0;
  border-radius: 99px;
  background: rgb(32 30 29 / .3);
  cursor: pointer;
  transition: height .5s var(--ease), background .5s;
}
.dots button[aria-current] { height: 28px; background: var(--blue); }
.dots button[aria-current][data-pink] { background: var(--yellow1); }
.dots button[aria-current][data-bleu] { background: var(--bleunoir1); }

.pill { display: none; }

/* Écran (empilé) */
.screen {
  position: sticky; top: 0;
  height: var(--screen-h, 100svh);
  overflow: hidden;
}
.screen__inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  transform-origin: 50% 0;
}
.screen__content {
  position: relative; z-index: 1;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--pad-top) var(--gutter) var(--pad-bottom);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(16px, 3.5vh, 40px) clamp(28px, 7vw, 120px);
  align-items: center;
  align-content: center;
}
.screen__dim {
  position: absolute; inset: 0;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
}
.screen__bg { position: absolute; inset: 0; z-index: 0; }
.screen__bg img {
  position: absolute; inset: -24px;
  width: calc(100% + 48px); height: calc(100% + 48px);
  max-width: none;
  object-fit: cover;
}
.stack { display: grid; gap: clamp(12px, 2.4vh, 28px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Écran long (contenu plus haut que l’écran) : il défile à l’intérieur */
.screen.is-tall { position: relative; height: auto; min-height: var(--screen-h, 100svh); }
.screen.is-tall .screen__inner,
.screen.is-tall .screen__content { height: auto; min-height: var(--screen-h, 100svh); }

/* 01 · Accueil */
.s-home .screen__inner { background: var(--paper); }
.s-home .screen__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgb(243 242 242 / .88) 30%, rgb(243 242 242 / .2) 60%, transparent 80%);
}
.s-home .screen__content { grid-template-columns: minmax(0, 46vw); }
.s-home h1 {
  font-size: clamp(44px, min(9vw, 11vh), 150px);
  line-height: .92; letter-spacing: -.045em;
  margin-left: -.05em;
}
.s-home h1 .italic { color: var(--blue); }
.lead { font-size: clamp(17px, min(1.9vw, 2.6vh), 27px); line-height: 1.45; max-width: 30ch; }
.lead .italic { color: rgb(32 30 29 / .78); }
.s-home .kicker { color: rgb(32 30 29 / .72); }

/* 02-03 · Livres */
.s-book { color: var(--paper); }
.s-rame .screen__inner   { background: linear-gradient(135deg, var(--bleunoir1) 0%, color-mix(in oklch, var(--bleunoir1) 82%, var(--bleunoir1)) 100%); }
.s-ombres .screen__inner { background: linear-gradient(135deg, var(--orange1) 0%, color-mix(in oklch, var(--grey1) 80%, var(--grey1)) 100%); }
.s-book .screen__bg img  { opacity: .22; mix-blend-mode: luminosity; }
.s-rame .screen__bg::after   { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgb(19 31 45 / .55), transparent 75%); }
.s-ombres .screen__bg::after { content: ""; position: absolute; inset: 0; background:  radial-gradient(ellipse at 70% 50%, rgb(58 66 68 / 0.1), transparent 75%); }
.s-book h2 {
  font-size: clamp(36px, min(7vw, 8.5vh), 120px);
  line-height: .95; letter-spacing: -.045em;
  margin-left: -.04em;
}
.s-book .lead { font-style: italic; max-width: 32ch; }
.book-slot { display: grid; justify-items: center; }
.book-slot > div { width: min(88%, 480px, 46vh); }
.s-rame .btn-light   { color: var(--bleunoir1); }
.s-rame .btn-light:hover { background: var(--blue-100); }
.s-ombres .btn-light { color: var(--pink-800); }
.s-ombres .btn-light:hover { background: var(--pink-100); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* 04 · À venir */
.s-next .screen__inner {
  background: linear-gradient(135deg, var(--night) 0%, var(--night) 20%, color-mix(in oklch, var(--night) 55%, var(--blue-800)) 70%, color-mix(in oklch, var(--night) 45%, var(--blue-600)) 100%);
  color: var(--paper);
}
.s-next .screen__content { grid-template-columns: 1fr; gap: clamp(28px, 6vh, 72px); }
.s-next h2 { font-size: clamp(40px, min(7.4vw, 9vh), 124px); line-height: .95; letter-spacing: -.045em; margin-left: -.04em; }
.s-next .intro { font-size: 19px; line-height: 1.55; color: rgb(243 242 242 / .8); }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 3vh, 40px) clamp(28px, 6vw, 96px); }
.project { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.project .book-wrap { max-width: min(100%, 22vh); }
.project__text { display: grid; gap: 10px; padding-bottom: 6px; }
.project__year { font-size: clamp(34px, min(5.6vw, 6vh), 92px); line-height: .9; font-style: italic; letter-spacing: -.04em; }
.project h3 { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.project p {
  font-size: clamp(14px, 1.3vw, 16px); line-height: 1.5; font-style: italic;
  max-width: 34ch; color: rgb(243 242 242 / .82);
}

/* 05 · L'auteur */
.s-bio .screen__inner { background: linear-gradient(135deg, var(--paper) 40%, var(--blue-100) 100%); }
.s-bio .screen__bg {
  right: auto; width: 95vw;
  -webkit-mask-image: linear-gradient(90deg, #000 38%, rgb(0 0 0 / .6) 62%, transparent 92%);
          mask-image: linear-gradient(90deg, #000 38%, rgb(0 0 0 / .6) 62%, transparent 92%);
}
.s-bio .screen__content {
  max-width: none;
  padding-left: calc(44vw + clamp(32px, 5vw, 80px));
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.6vh, 28px);
}
.s-bio .kicker { color: rgb(32 30 29 / .72); }
.s-bio h2 { font-size: clamp(34px, min(5vw, 7vh), 84px); line-height: 1; letter-spacing: -.04em; margin-left: -.04em; }
.s-bio h2 .italic { color: var(--blue); }
.bio { display: grid; gap: 14px; font-size: clamp(14px, min(1.4vw, 2.1vh), 19px); line-height: 1.6; max-width: 52ch; color: rgb(32 30 29 / .84); }
.signature { width: clamp(110px, 17vw, 220px); height: auto; }

/* 06 · Suivre */
.s-follow .screen__inner { background: var(--paper); }
.s-follow .screen__content { grid-template-columns: 1fr; align-content: end; gap: clamp(28px, 5vh, 56px); }
.s-follow .kicker { color: rgb(32 30 29 / .72); }
.s-follow h2 { font-size: clamp(34px, min(6vw, 8vh), 100px); line-height: .98; letter-spacing: -.04em; margin-left: -.04em; max-width: 14ch; }
.s-follow h2 .italic { color: var(--pink); }
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.socials a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: clamp(4px, 1.2vh, 12px) 0;
  font-size: clamp(22px, min(2.6vw, 3.6vh), 40px);
  letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
}
.socials a:hover { color: var(--blue); font-style: italic; }
.socials span:last-child { font-size: .6em; }
.footer-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: rgb(32 30 29 / .7); }

/* 5. Univers d'un livre ------------------------------------------------- */
.universe {
  position: fixed; inset: 0; z-index: 90;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 96px;
  color: var(--paper);
  background: var(--u-field);
  clip-path: circle(0 at 50% 50%);
}
.universe[hidden] { display: none; }
.universe[data-book="unpourcent"]   { --u-field: var(--bleunoir1); --u-quote: var(--bleunoir1); --u-g1: var(--bleunoir1); --u-g2: color-mix(in oklch, var(--bleunoir1) 80%, var(--bleunoir1)); --u-g3: color-mix(in oklch, var(--beige1) 88%, var(--beige2)); }
.universe[data-book="ombres"] { --u-field: var(--grey1); --u-quote: var(--orange1); --u-g1: var(--orange1); --u-g2: color-mix(in oklch, var(--grey1) 78%, var(--orange1)); --u-g3: color-mix(in oklch, var(--yellow1) 86%, var(--orange10)); }

.fluid { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--u-field); }
.fluid span { position: absolute; border-radius: 50%; filter: blur(110px); }
.fluid span:nth-child(1) { top: -20vmax; left: -15vmax; width: 75vmax; height: 75vmax; opacity: .55; background: var(--u-g1); animation: drift1 28s ease-in-out infinite; }
.fluid span:nth-child(2) { bottom: -25vmax; right: -20vmax; width: 80vmax; height: 80vmax; opacity: .7; background: var(--u-g2); animation: drift2 34s ease-in-out infinite; }
.fluid span:nth-child(3) { top: 30%; left: 35%; width: 55vmax; height: 55vmax; opacity: .45; background: var(--u-g3); animation: drift3 40s ease-in-out infinite; }

.fluid::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: var(--u-img) center / cover no-repeat;
  opacity: .2;
  mix-blend-mode: luminosity;
}
.universe[data-book="unpourcent"]   { --u-img: url("img/background_1pourcent_2.jpg"); }
.universe[data-book="ombres"] { --u-img: url("img/background_sous_le_poids_des_ombres.jpg"); }



.universe__bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: color-mix(in srgb, var(--u-field) 55%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.universe__title { margin-right: auto; min-width: 0; font-size: clamp(20px, 2vw, 28px); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.universe__bar .btn { font-size: clamp(15px, 1.4vw, 17px); padding: clamp(11px, 1.2vw, 14px) clamp(16px, 2vw, 24px); }

.u-section {
  position: relative; z-index: 1;
  max-width: 1320px; margin: 0 auto;
  padding: 8vh var(--gutter);
}
.u-hero { min-height: calc(100svh - 80px); display: grid; align-items: center; padding-top: 24px; }
.u-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(40px, 7vw, 120px); align-items: center; }
.u-hero .book-slot > div { width: min(90%, 520px, 56vh); }
.u-hero h2 { font-size: clamp(46px, 6.4vw, 108px); line-height: .95; letter-spacing: -.045em; margin-left: -.04em; }
.u-hero .lead { font-style: italic; max-width: 32ch; }
.u-rating { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); color: var(--paper); text-decoration: none; justify-self: start; }
.u-rating:hover { color: var(--paper); opacity: .85; }
.u-rating__score { font-size: clamp(56px, 6vw, 96px); line-height: .9; font-weight: 600; letter-spacing: -.04em; }
.u-rating__stars { font-size: clamp(22px, 2vw, 30px); letter-spacing: .12em; color: var(--star); }

.u-story { min-height: 70svh; display: grid; align-content: center; gap: 28px; }
.u-story__text { display: grid; gap: .6em; font-size: clamp(26px, 3vw, 46px); line-height: 1.25; letter-spacing: -.02em; /*max-width: 26ch;*/ }

.u-characters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px clamp(32px, 5vw, 80px); padding-bottom: 12vh; }
.u-characters h3 { font-size: clamp(52px, 5.4vw, 88px); line-height: 1; letter-spacing: -.04em; font-style: italic; font-weight: 400; margin-bottom: 14px; }
.u-characters p { font-size: 18px; line-height: 1.65; color: rgb(243 242 242 / .88); }

/* Extraits (carrousel horizontal) */
.u-extracts { max-width: none; padding: clamp(16px, 4vh, 48px) 0; min-height: calc(100svh - 96px); display: grid; align-content: center; gap: clamp(20px, 3.5vh, 40px); }
.extracts__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 0 var(--gutter); }
.extracts__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.extracts__tabs button { font-size: 16px; padding: 10px 18px; }
.extracts__tabs button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.extracts__nav { display: flex; align-items: center; gap: 14px; }
.extracts__nav button { width: 52px; height: 52px; padding: 0; border-radius: 99px; font-size: 22px; }
.extracts__count { min-width: 44px; text-align: right; font-size: 15px; font-feature-settings: "tnum" 1; }
.extracts__track {
  display: flex; align-items: flex-start;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.extracts__track::-webkit-scrollbar { display: none; }
.extract { flex: 0 0 100%; scroll-snap-align: start; padding: 0 var(--gutter); }
.extract figure { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 clamp(16px, 2.5vw, 40px); }
.quote-mark { font-size: clamp(52px, 10vw, 180px); line-height: .75; font-style: italic; color: var(--u-quote); opacity: .4; }
.quote-mark--close { align-self: end; }
.extract blockquote { display: grid; gap: .6em; font-size: clamp(18px, min(1.9vw, 2.8vh), 30px); line-height: 1.5; font-style: italic; letter-spacing: -.015em; }
.extract figcaption { margin-top: 24px; font-size: 15px; color: rgb(243 242 242 / .85); }

.u-sheet { display: grid; gap: 44px; padding-bottom: 12vh; }
.u-sheet dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.u-sheet dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgb(243 242 242 / .82); margin-bottom: 8px; }
.u-sheet dd { font-size: 24px; line-height: 1.25; }
.u-closing { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.u-closing p { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.1; letter-spacing: -.025em; font-style: italic; }

/* 6. Animations --------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(56px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }

.words .w { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(4deg); filter: blur(12px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.words.is-in .w { opacity: 1; transform: none; filter: blur(0); }

@keyframes drift1 { 0%,100% { transform: translate(0,0) } 25% { transform: translate(30vw,20vh) scale(1.1) } 50% { transform: translate(10vw,45vh) } 75% { transform: translate(-10vw,15vh) scale(.95) } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) } 25% { transform: translate(-25vw,-15vh) } 50% { transform: translate(-40vw,10vh) scale(1.1) } 75% { transform: translate(-10vw,20vh) } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) } 25% { transform: translate(-30vw,15vh) scale(.9) } 50% { transform: translate(15vw,-25vh) } 75% { transform: translate(25vw,10vh) scale(1.1) } }

@media (prefers-reduced-motion: reduce) {
  .rv, .words .w { opacity: 1; transform: none; filter: none; transition: none; }
  .fluid span { animation: none; }
  .book { transition: none; }
}

/* 7. Mobile ------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --pad-bottom: 80px; }

  .lamp, .dots, .header__nav { display: none; }

  .pill {
    position: fixed; left: 50%; bottom: 14px; z-index: 45;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 10px;
    min-height: 44px; max-width: calc(100vw - 32px);
    padding: 8px 8px 8px 16px;
    border: 0; border-radius: 99px;
    background: rgb(243 242 242 / .9);
    backdrop-filter: blur(12px);
    box-shadow: 0 3px 10px rgb(45 43 43 / .16);
    font: inherit; font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
  }
  .pill__num { font-weight: 600; color: var(--blue-700); font-feature-settings: "tnum" 1; }
  .pill__label { overflow: hidden; text-overflow: ellipsis; font-style: italic; }
  .pill__arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--blue); color: var(--paper); }
  body.is-universe .pill { display: none; }

  .s-home .screen__content { grid-template-columns: 1fr; align-content: start; }
  .s-home .screen__bg { top: 38%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .s-home .screen__bg::after { display: none; }

  .s-book .stack { order: 2; }
  .book-slot > div { width: min(42vw, 19vh); }
  .s-book .actions .btn { flex: 1 1 0; font-size: 15px; padding: 11px 12px; }
  .label-long { display: none; }

  .project .book-wrap { max-width: min(100%, 13vh); }
  .project p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

  .s-bio .screen__bg { width: 100%; bottom: auto; height: 25vh; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
  .s-bio .screen__content { padding: calc(19vh + 4px) 20px 76px; }
  .bio .desktop-only { display: none; }

  .universe__title { visibility: hidden; }
  .universe__close-label { display: none; }
  .u-hero .book-slot > div { width: min(58vw, 34vh); }
}
@media (min-width: 901px) { .label-short { display: none; } }
