/* =========================================================
   Cephas Legrand — site officiel
   Direction : magazine cinématique — noir & blanc,
   accent vert reggae profond, touche or discrète sur
   quelques détails, typographie XXL, blocs francs
   ========================================================= */

:root {
  --ink: #080808;
  --ink-soft: #121212;
  --panel: #141414;
  --panel-2: #1c1c1c;
  --white: #ffffff;
  --paper: #fafaf8;
  --paper-2: #f0efeb;
  --mute: rgba(8, 8, 8, 0.55);
  --mute-on-dark: rgba(255, 255, 255, 0.58);
  --line: rgba(8, 8, 8, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --red: #1a6b34;
  --red-deep: #0f3a1f;
  --gold: #c08a28;
  --gold-deep: #8f5e15;
  --gold-soft: #e0b45a;
  --green: #1a6b34;
  --flag-red: #c8102e;
  --accent-glow: rgba(26, 107, 52, 0.22);

  --font-brand: "Bebas Neue", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --pad: clamp(1.25rem, 4.2vw, 2.5rem);
  --max: 1180px;
  --header: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2px;
  --shadow-soft: 0 20px 50px -24px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 28px 60px -20px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.04rem, 0.35vw + 0.96rem, 1.14rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  counter-reset: section-num;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(26, 107, 52, 0.22);
  color: var(--ink);
}

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

/* film-grain overlay across the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

/* Photos : désaturation légère magazine (pas full B&W) */
.hero__visual img,
.bio__portrait {
  filter: grayscale(0.35) contrast(1.08) saturate(0.85);
}

.player__art {
  filter: grayscale(0.15) contrast(1.08);
}

.clip__frame video,
.clip__frame img {
  filter: grayscale(0.25) contrast(1.1);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

strong {
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: var(--pad);
  top: 0.5rem;
}

/* Bandeau drapeau — seule touche tricolore du site, discrète */
.flag-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--gold) 33.33% 66.66%, var(--flag-red) 66.66%);
}

/* ---------- Header — masthead magazine ---------- */
.header {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  height: var(--header);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s;
}

.header.is-solid {
  border-bottom-color: rgba(8, 8, 8, 0.12);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 12px 40px -28px rgba(0, 0, 0, 0.35);
}

.header__inner {
  height: 100%;
  width: min(100% - (var(--pad) * 2), calc(var(--max) + 4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
  position: relative;
  transition: letter-spacing 0.4s var(--ease), color 0.3s;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.logo:hover {
  letter-spacing: 0.12em;
}

.logo:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.25s, background 0.25s;
}

.menu-btn:hover,
.menu-btn[aria-expanded="true"] {
  background: var(--ink);
}

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.25s;
}

.menu-btn:hover .menu-btn__lines,
.menu-btn:hover .menu-btn__lines::before,
.menu-btn:hover .menu-btn__lines::after,
.menu-btn[aria-expanded="true"]:hover .menu-btn__lines {
  background: var(--white);
}

.menu-btn__lines {
  position: relative;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn__lines::before { top: -6px; }
.menu-btn__lines::after { top: 6px; }

.menu-btn[aria-expanded="true"] .menu-btn__lines {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-btn__lines::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--white);
}

.menu-btn[aria-expanded="true"] .menu-btn__lines::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--white);
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-content: center;
  gap: 2rem;
  padding: calc(var(--header) + 1.5rem) var(--pad) var(--pad);
  background:
    radial-gradient(ellipse 50% 40% at 70% 20%, rgba(26, 107, 52, 0.18), transparent 55%),
    color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu[hidden] {
  display: none;
}

.menu.is-open[hidden] {
  display: grid;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 2.5vh, 1.4rem);
}

.menu__nav a {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  color: var(--white);
  transition: color 0.25s, transform 0.25s var(--ease);
}

.menu__nav a:hover,
.menu__nav a:focus-visible {
  color: var(--red);
  transform: translateX(6px);
}

.menu__note {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4rem, 11vh, 7.5rem) 0;
  counter-increment: section-num;
}

.section-head {
  position: relative;
  margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
}

.section-head::before {
  content: "0" counter(section-num);
  position: absolute;
  right: 0;
  top: -0.5em;
  z-index: 0;
  font-family: var(--font-brand);
  font-size: clamp(5rem, 17vw, 12rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

.section-head > * {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.kicker::before {
  content: "";
  width: 1.5rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
  color: var(--ink);
}

.section-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--mute);
  font-weight: 300;
  font-size: 1.05em;
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 1.75rem;
  border-radius: 0;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
  z-index: 0;
  pointer-events: none;
}

.btn > * ,
.btn {
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn--fill {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 12px 30px -14px rgba(26, 107, 52, 0.7);
}

.btn--fill:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: 0 16px 36px -14px rgba(255, 255, 255, 0.35);
}

.btn--line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--line:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px -16px rgba(255, 255, 255, 0.35);
}

/* ---------- HERO — couverture de magazine, deux panneaux ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background:
    radial-gradient(ellipse 70% 55% at 15% 40%, rgba(26, 107, 52, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 90%, rgba(192, 138, 40, 0.08), transparent 50%),
    var(--ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, transparent 18%),
    linear-gradient(90deg, transparent 55%, rgba(8, 8, 8, 0.15) 100%);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: calc(var(--header) + 3rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vh, 4rem) max(var(--pad), calc((100vw - var(--max)) / 2));
  color: var(--white);
}

.hero__issue {
  margin: 0 0 1.5rem;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__issue::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  flex-shrink: 0;
}

.hero__brand {
  margin: 0 0 0.15rem;
  font-family: var(--font-brand);
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.82));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  position: relative;
  display: inline-block;
  width: fit-content;
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold), transparent);
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 30rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-left: 1px solid var(--line-on-dark);
  z-index: 1;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 45%, rgba(8, 8, 8, 0.55) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.35) 0%, transparent 35%);
  pointer-events: none;
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.06);
  animation: heroIn 1.6s var(--ease-out) forwards;
  will-change: transform;
  transition: transform 0.8s var(--ease-out);
}

.hero__cover-lines {
  display: none;
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  right: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  list-style: none;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
}

.hero__cover-lines li + li {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__cover-lines a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s;
}

.hero__cover-lines a:hover {
  color: var(--white);
}

.hero__cover-lines a span {
  color: var(--red);
  font-family: var(--font-brand);
  font-size: 1rem;
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .hero__cover-lines { display: block; }
}

.hero__scroll {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(1.25rem, 3vh, 2rem);
  z-index: 1;
  width: 1.6rem;
  height: 2.6rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: none;
}

.hero__scroll::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  width: 3px;
  height: 6px;
  background: var(--red);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@media (min-width: 640px) {
  .hero__scroll { display: block; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 46svh 1fr;
  }

  .hero__visual {
    border-left: 0;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .hero__copy {
    padding: clamp(2rem, 6vh, 3rem) var(--pad);
  }

  .hero__issue {
    margin-bottom: 1rem;
  }
}

@keyframes scrollCue {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 12px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

@keyframes heroIn {
  to { transform: scale(1); }
}

/* ---------- Marquee — bandeau rouge éditorial ---------- */
.marquee {
  overflow: hidden;
  background: var(--red);
  position: relative;
  z-index: 2;
}

.marquee__track {
  display: flex;
  width: max-content;
  padding: 0.8rem 0;
  animation: marquee 26s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-brand);
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.marquee__track span::after {
  content: "\2726";
  margin-left: 1.5rem;
  font-size: 0.7em;
  opacity: 0.6;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Stats strip (noir) ---------- */
.stats {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(26, 107, 52, 0.08), transparent 40%),
    var(--ink);
  padding: clamp(2.5rem, 5.5vh, 3.75rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 0.5rem clamp(0.75rem, 2vw, 1.75rem);
  text-align: center;
  border-left: 1px solid var(--line-on-dark);
  transition: background 0.4s var(--ease);
}

.stat:first-child {
  border-left: 0;
}

.stat:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat b {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff 30%, var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
  line-height: 1.4;
}

@media (max-width: 700px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
}

/* ---------- Bio (blanc, portrait fixé au défilement) ---------- */
.bio {
  background: var(--paper);
  padding-top: 0;
  padding-bottom: 0;
}

.bio__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.bio__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.bio__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) contrast(1.15);
}

.bio__pin-caption {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: 0.45rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bio__scroll {
  padding: clamp(4rem, 11vh, 7.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(4rem, 11vh, 7.5rem) clamp(2rem, 5vw, 3.5rem);
  max-width: 42rem;
}

.bio__prose p {
  margin: 0 0 1.1rem;
  max-width: 40rem;
  color: rgba(10, 10, 10, 0.88);
}

.bio__quote {
  margin: clamp(2rem, 5vh, 3rem) 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--gold);
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
}

.bio__quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.55rem;
}

.bio__facts {
  list-style: none;
  margin: clamp(1rem, 3vh, 1.5rem) 0 clamp(2rem, 5vh, 3rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--ink);
  color: var(--white);
}

.bio__facts li {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-on-dark);
}

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

.bio__facts li:first-child {
  padding-top: 0;
}

.bio__facts span {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.bio__facts strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
}

/* ---------- Timeline (parcours) ---------- */
.timeline {
  list-style: none;
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  padding: 2rem 0 0;
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 9rem;
  top: 1.9rem;
  width: 9px;
  height: 9px;
  margin-left: calc(clamp(1rem, 3vw, 2rem) * -1 - 4px);
  border-radius: 50%;
  background: var(--gold);
}

.timeline__date {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 0.15rem;
}

.timeline__body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}

.timeline__body p {
  margin: 0;
  max-width: 42rem;
  color: var(--mute);
}

@media (max-width: 640px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .timeline li::before {
    display: none;
  }
}

/* ---------- Albums — lecteur premium ---------- */
.albums {
  background: var(--paper-2);
}

.player {
  position: relative;
  isolation: isolate;
  background: #070807;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  overflow: hidden;
  color: var(--white);
}

.player.is-playing {
  border-color: rgba(27, 107, 53, 0.45);
}

.player__ambient {
  position: absolute;
  inset: -10%;
  z-index: 0;
  opacity: 0.22;
  filter: blur(48px) saturate(1.35);
  transform: scale(1.15);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

.player.is-playing .player__ambient {
  opacity: 0.34;
}

.player__ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(27, 107, 53, 0.4), transparent 68%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.5s;
}

.player.is-playing .player__glow {
  opacity: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

.player__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.player__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.player__stage {
  position: relative;
}

.player__art-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  z-index: 1;
}

.player__ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.player__ring::before,
.player__ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(184, 121, 30, 0.35);
}

.player__ring::after {
  inset: 22px;
  border-color: rgba(27, 107, 53, 0.35);
}

.player__art-wrap.is-spinning .player__ring {
  opacity: 1;
  transform: scale(1);
  animation: spin 18s linear infinite;
}

.player__art-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #050505 0 2px, #141414 2px 5px);
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  z-index: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.player__art-wrap.is-spinning::before {
  opacity: 1;
  transform: scale(1);
  animation: spin 8s linear infinite;
}

.player__art-wrap.is-spinning .player__art {
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.player__art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 28px 70px -20px rgba(0, 0, 0, 0.85);
  transition: border-radius 0.45s var(--ease), transform 0.45s var(--ease);
}

/* ---------- Play button — signature ---------- */
.play-btn {
  --play-size: 4.75rem;
  position: relative;
  width: var(--play-size);
  height: var(--play-size);
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  isolation: isolate;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.play-btn--hero {
  --play-size: clamp(5.25rem, 28%, 7rem);
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.play-btn--bar {
  --play-size: 4.35rem;
}

.play-btn__glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 207, 114, 0.45), rgba(184, 121, 30, 0.18) 42%, transparent 70%);
  opacity: 0.55;
  filter: blur(8px);
  z-index: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.play-btn__orbit {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-top-color: #3ecf72;
  border-right-color: rgba(184, 121, 30, 0.85);
  z-index: 1;
  opacity: 0.9;
  animation: playOrbit 9s linear infinite;
  animation-play-state: paused;
  pointer-events: none;
}

.play-btn__orbit--slow {
  inset: -18%;
  opacity: 0.45;
  border-width: 1px;
  border-top-color: #b8791e;
  border-right-color: transparent;
  border-bottom-color: #3ecf72;
  border-left-color: transparent;
  animation-duration: 16s;
  animation-direction: reverse;
}

.play-btn__core {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(155deg, #1a1a1a 0%, #0a0a0a 55%, #121a14 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 24px rgba(0, 0, 0, 0.45),
    0 14px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s;
}

.play-btn__ticks {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  color: rgba(62, 207, 114, 0.55);
  pointer-events: none;
  animation: playOrbit 14s linear infinite;
  animation-play-state: paused;
}

.play-btn .play-icon {
  position: relative;
  z-index: 1;
  width: 34%;
  height: 34%;
  display: grid;
  place-items: center;
}

.play-btn .play-icon svg {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  fill: currentColor;
  transition: opacity 0.28s var(--ease), transform 0.35s var(--ease);
}

.play-btn .i-play {
  margin-left: 10%;
  color: #fff;
}

.play-btn .i-pause {
  color: #3ecf72;
}

.play-btn:hover {
  transform: scale(1.06);
}

.play-btn--hero:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-btn:hover .play-btn__core {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -10px 24px rgba(0, 0, 0, 0.4),
    0 18px 44px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(62, 207, 114, 0.35);
}

.play-btn:hover .play-btn__glow {
  opacity: 0.9;
  transform: scale(1.08);
}

.play-btn:active .play-btn__core {
  transform: scale(0.94);
}

.play-btn--hero:active {
  transform: translate(-50%, -50%) scale(0.97);
}

/* Playing state */
.play-btn.is-on .play-btn__orbit,
.play-btn.is-on .play-btn__ticks {
  animation-play-state: running;
}

.play-btn.is-on .play-btn__glow {
  opacity: 1;
  animation: playGlow 2.4s ease-in-out infinite;
}

.play-btn.is-on .play-btn__core {
  background:
    radial-gradient(circle at 32% 28%, rgba(62, 207, 114, 0.2), transparent 45%),
    linear-gradient(155deg, #102016 0%, #070b08 60%, #0d1a12 100%);
  box-shadow:
    inset 0 1px 0 rgba(62, 207, 114, 0.25),
    inset 0 -10px 24px rgba(0, 0, 0, 0.5),
    0 16px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(62, 207, 114, 0.4),
    0 0 28px rgba(62, 207, 114, 0.22);
}

.play-btn.is-on .i-play {
  opacity: 0;
  transform: scale(0.6) rotate(-12deg);
}

.play-btn.is-on .i-pause {
  opacity: 1;
  transform: scale(1);
}

.play-btn:not(.is-on) .i-pause {
  opacity: 0;
  transform: scale(0.6) rotate(12deg);
}

.play-btn:not(.is-on) .i-play {
  opacity: 1;
  transform: scale(1);
}

@keyframes playOrbit {
  to { transform: rotate(360deg); }
}

@keyframes playGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .play-btn__orbit,
  .play-btn__ticks,
  .play-btn.is-on .play-btn__glow {
    animation: none;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.player__now {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player__now-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.player__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-family: var(--font-brand);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3ecf72;
}

.player__album-tag {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.player__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  text-wrap: balance;
}

.player__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.55rem 0 1.35rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.58);
}

.player__artist {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.player__genre {
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

.player__dot {
  opacity: 0.45;
}

.equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 1.05rem;
}

.equalizer i {
  display: block;
  width: 2.5px;
  height: 25%;
  background: #3ecf72;
  border-radius: 1px;
  opacity: 0.35;
}

.equalizer--sm {
  height: 0.85rem;
}

.equalizer--sm i {
  width: 2px;
}

.equalizer.is-active i {
  opacity: 1;
  animation: eq 0.85s ease-in-out infinite;
}

.equalizer.is-active i:nth-child(1) { animation-delay: -0.6s; }
.equalizer.is-active i:nth-child(2) { animation-delay: -0.3s; }
.equalizer.is-active i:nth-child(3) { animation-delay: -0.75s; }
.equalizer.is-active i:nth-child(4) { animation-delay: -0.15s; }
.equalizer.is-active i:nth-child(5) { animation-delay: -0.45s; }

@keyframes eq {
  0%, 100% { height: 18%; }
  50% { height: 100%; }
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: clamp(2.6rem, 5.5vw, 3.4rem);
  margin: 0 0 1.15rem;
  padding: 0.35rem 0.15rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.waveform span {
  flex: 1 1 0;
  min-width: 2px;
  height: 8%;
  border-radius: 1px 1px 0 0;
  background: linear-gradient(180deg, #5de08e, var(--red));
  opacity: 0.9;
  transition: height 0.08s linear;
}

.player__seek {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.player__seek-track {
  position: relative;
}

.player__seek input[type="range"] {
  --progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3ecf72 var(--progress), rgba(255, 255, 255, 0.14) var(--progress));
  outline: none;
  cursor: pointer;
}

.player__seek input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  box-shadow: 0 0 0 4px rgba(62, 207, 114, 0.25);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}

.player__seek input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.12);
}

.player__seek input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3ecf72 var(--progress), rgba(255, 255, 255, 0.14) var(--progress));
}

.player__seek input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  box-shadow: 0 0 0 4px rgba(62, 207, 114, 0.25);
  cursor: pointer;
}

.player__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.icon-btn {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s var(--ease);
}

.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.icon-btn:hover {
  border-color: rgba(62, 207, 114, 0.55);
  color: #3ecf72;
  transform: translateY(-2px);
  background: rgba(62, 207, 114, 0.08);
}

.icon-btn:active {
  transform: translateY(0) scale(0.94);
}

.icon-btn:focus-visible {
  outline: 2px solid #3ecf72;
  outline-offset: 2px;
}

/* (play principal = .play-btn--bar) */

.icon-btn--nav {
  width: 3rem;
  height: 3rem;
}

.icon-btn--toggle.is-on {
  background: rgba(62, 207, 114, 0.18);
  border-color: #3ecf72;
  color: #3ecf72;
}

.icon-btn__badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 0.65rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

.player__divider {
  width: 1px;
  height: 1.7rem;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 0.2rem;
}

.volume {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.volume__range {
  -webkit-appearance: none;
  appearance: none;
  width: 5.75rem;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) 85%, rgba(255, 255, 255, 0.14) 85%);
  outline: none;
  transition: opacity 0.25s;
}

.volume__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  cursor: pointer;
}

.volume__range::-moz-range-track {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) 85%, rgba(255, 255, 255, 0.14) 85%);
}

.volume__range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 0;
  cursor: pointer;
}

.volume.is-muted .volume__range {
  opacity: 0.35;
}

.icon-btn--like svg {
  transition: transform 0.3s var(--ease), fill 0.25s, stroke 0.25s;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.icon-btn--like.is-on {
  background: rgba(184, 121, 30, 0.2);
  border-color: var(--gold);
  color: var(--gold-soft);
}

.icon-btn--like.is-on svg {
  fill: var(--gold-soft);
  stroke: var(--gold-soft);
  animation: likePop 0.4s var(--ease);
}

@keyframes likePop {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes ring {
  0%, 100% { box-shadow: 0 12px 28px -10px rgba(27, 107, 53, 0.75), 0 0 0 0 rgba(62, 207, 114, 0.4); }
  50% { box-shadow: 0 12px 28px -10px rgba(27, 107, 53, 0.75), 0 0 0 12px rgba(62, 207, 114, 0); }
}

/* Tracklist panel */
.player__list {
  position: relative;
  z-index: 1;
  margin-top: 0.75rem;
  padding: 0.85rem 0.65rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
}

.player__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.75rem 0.75rem;
}

.player__list-title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.player__total {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(22rem, 48vh);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(62, 207, 114, 0.55) transparent;
}

.tracks::-webkit-scrollbar {
  width: 5px;
}

.tracks::-webkit-scrollbar-thumb {
  background: rgba(62, 207, 114, 0.55);
  border-radius: 99px;
}

.tracks li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tracks button {
  width: 100%;
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 0.75rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s, color 0.2s, transform 0.2s var(--ease);
}

.tracks button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.tracks button.is-on {
  background: linear-gradient(90deg, rgba(27, 107, 53, 0.28), rgba(27, 107, 53, 0.08));
  color: var(--white);
  box-shadow: inset 3px 0 0 #3ecf72;
}

.tracks__num {
  position: relative;
  width: 1.75rem;
  height: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tracks__num b {
  font-family: var(--font-brand);
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.38);
  transition: opacity 0.2s;
}

.tracks button.is-on .tracks__num b {
  opacity: 0;
}

.tracks__eq {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.tracks button.is-on .tracks__eq {
  display: inline-flex;
}

.tracks__title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.tracks__genre {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.tracks button.is-on .tracks__genre {
  color: rgba(62, 207, 114, 0.85);
}

.tracks__dur {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
}

.tracks button.is-on .tracks__dur {
  color: #3ecf72;
}

@media (max-width: 860px) {
  .player__top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .player__stage {
    width: min(100%, 280px);
  }

  .player__now-head {
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
  }

  .player__meta,
  .player__controls {
    justify-content: center;
  }

  .waveform,
  .player__seek {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .player__divider { display: none; }
  .volume__range { width: 4rem; }
  .play-btn--bar { --play-size: 3.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .play-btn__orbit,
  .play-btn__ticks,
  .play-btn.is-on .play-btn__glow,
  .player__art-wrap.is-spinning::before,
  .player__art-wrap.is-spinning .player__art,
  .player__art-wrap.is-spinning .player__ring,
  .equalizer.is-active i,
  .player.is-playing .player__glow {
    animation: none;
  }
  .waveform span { transition: none; }
}

/* ---------- Platform badges ---------- */
.platforms {
  list-style: none;
  margin: clamp(1.75rem, 4vh, 2.5rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.platforms a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 0 0 0 transparent;
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.35s;
}

.platforms a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(26, 107, 52, 0.65);
}

.platforms svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Clip ---------- */
.clip {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
}

.clip__head {
  margin-bottom: 1.25rem;
}

.clip__kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.clip__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.clip__lead {
  margin: 0;
  max-width: 34rem;
  color: var(--mute);
  font-weight: 300;
}

.clips__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.25rem;
}

.clip__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.clip__frame--feature {
  aspect-ratio: auto;
  min-height: 100%;
}

.clip__frame--feature .clip__video {
  min-height: 320px;
  aspect-ratio: 16 / 9;
}

.clip__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
}

.clip__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    rgba(0, 0, 0, 0.22);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.3s var(--ease);
}

.clip__play svg {
  width: clamp(3.5rem, 8vw, 4.5rem);
  height: clamp(3.5rem, 8vw, 4.5rem);
  fill: var(--white);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s var(--ease);
}

.clip__play:hover svg {
  transform: scale(1.08);
}

.clip__play.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.clip__meta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.clip__badge {
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-brand);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clip__tag {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 800px) {
  .clips__grid {
    grid-template-columns: 1fr;
  }
  .clip__frame--feature .clip__video {
    min-height: 0;
  }
}

/* ---------- Upcoming release ---------- */
.upcoming {
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--ink);
  border-left: 4px solid var(--red);
  background: var(--paper);
}

.upcoming__kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.upcoming h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
}

.upcoming__lead {
  margin: 0 0 1.25rem;
  max-width: 46rem;
  color: var(--mute);
}

.upcoming__credits {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.upcoming__credits span {
  display: block;
  font-family: var(--font-brand);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- Literature (blanc) ---------- */
.lit {
  background: var(--paper);
}

.books {
  border-top: 1px solid var(--ink);
}

.book {
  border-bottom: 1px solid var(--line);
  transition: background 0.35s;
}

.book:hover {
  background: var(--paper-2);
}

.book--alt {
  background:
    linear-gradient(100deg, rgba(184, 121, 30, 0.08), transparent 50%),
    var(--paper);
}

.book--alt:hover {
  background:
    linear-gradient(100deg, rgba(184, 121, 30, 0.12), transparent 50%),
    var(--paper-2);
}

.book__inner {
  padding: clamp(2.5rem, 7vh, 4.25rem) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.book__cover {
  width: clamp(96px, 15vw, 148px);
  aspect-ratio: 3 / 4;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 45%),
    var(--ink);
  box-shadow:
    0 18px 40px -16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-1.5deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
  position: relative;
}

.book__cover::after {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.book__cover-n {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.book__cover-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

.book:hover .book__cover {
  transform: rotate(0deg) translateY(-6px) scale(1.04);
  box-shadow:
    0 28px 50px -18px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.book:nth-of-type(2) .book__cover,
.book--alt .book__cover {
  background: var(--gold);
  color: var(--ink);
}

.book:nth-of-type(3) .book__cover {
  background: var(--green);
  color: var(--white);
}

.book h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  max-width: 20ch;
  color: var(--ink);
}

.book__subtitle {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-deep);
  max-width: 28ch;
}

.book__author {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--mute);
}

.book__meta {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.book__desc,
.book__lead {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: rgba(10, 10, 10, 0.78);
}

.book__lead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink);
}

.book__quote {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.book__body {
  max-width: 42rem;
  margin-bottom: 1.25rem;
}

.book__body p {
  margin: 0 0 0.95rem;
  color: rgba(10, 10, 10, 0.78);
}

.book__body p:last-child {
  margin-bottom: 0;
}

.book__stories {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  max-width: 42rem;
  border-top: 1px solid var(--line);
}

.book__stories li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.book__stories strong {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.book__stories span {
  color: rgba(10, 10, 10, 0.75);
  line-height: 1.55;
}

.book__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  transition: border-color 0.25s, color 0.25s;
}

.book__link:hover {
  color: var(--red);
  border-color: var(--red);
}

.book__link svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.book__link:hover svg {
  transform: translate(2px, -2px);
}

.tale-groups {
  margin: -0.5rem 0 1.75rem;
}

.tale-groups__label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-on-dark);
}

.tale-groups__label span {
  color: var(--gold-soft);
}

@media (max-width: 560px) {
  .book__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .book__cover {
    width: 84px;
  }
}

/* ---------- Tales (noir) ---------- */
.tales {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(192, 138, 40, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 80%, rgba(26, 107, 52, 0.12), transparent 50%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
}

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

.tales .kicker {
  color: var(--red);
}

.tales .section-lead {
  color: var(--mute-on-dark);
}

.tale-grid {
  list-style: none;
  margin: clamp(1.5rem, 4vh, 2.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
}

.tale-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.4rem;
  background: var(--ink);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.tale-grid li:hover {
  background: var(--panel);
  transform: translateY(-3px);
}

.tale-grid span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.25;
  transition: color 0.25s;
}

.tale-grid li:hover span {
  color: var(--red);
}

.tale-grid em {
  align-self: flex-start;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-on-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

/* Contes avec narration audio réelle */
.tale-grid li.tale--audio {
  position: relative;
}

.tale-grid li.tale--img {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75)), var(--tale-img);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15);
}

.tale-grid li.tale--img:hover {
  filter: grayscale(0);
}

.tale-grid li.tale--img span,
.tale-grid li.tale--img em {
  position: relative;
  z-index: 1;
}

.tale-grid li.tale--img em {
  border-color: rgba(255, 255, 255, 0.4);
}

.tale__play {
  align-self: flex-end;
  order: -1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-bottom: 0.4rem;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.tale__play:hover {
  transform: scale(1.08);
}

.tale__play svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.tale__icon-pause {
  display: none;
}

.tale__play.is-playing .tale__icon-play {
  display: none;
}

.tale__play.is-playing .tale__icon-pause {
  display: block;
}

/* ---------- Contact (blanc) ---------- */
.contact {
  background: var(--paper);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: stretch;
}

.contact__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--ink);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(26, 107, 52, 0.04), transparent 40%),
    var(--paper);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.contact__card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.contact__label {
  margin: 0 0 0.6rem;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.contact__label--sep {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.contact__mail {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  line-height: 1.25;
  word-break: break-word;
}

.contact__mail:hover {
  color: var(--red);
}

.contact__place {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  color: var(--mute);
}

.contact__place svg {
  width: 1rem;
  height: 1rem;
  fill: var(--red);
  flex-shrink: 0;
}

.contact__tags {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact__tags li {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.contact__tags li:hover {
  border-color: var(--green);
  background: rgba(26, 107, 52, 0.06);
  color: var(--green);
}

.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.25s, transform 0.25s var(--ease), color 0.25s, background 0.25s;
}

.contact__social a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  transform: translateY(-2px);
}

.contact__social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact__layout {
    align-items: initial;
  }
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
}

.form label {
  display: grid;
  gap: 0.4rem;
}

.form__full,
.form .btn,
.form__status {
  grid-column: 1 / -1;
}

.form span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(10, 10, 10, 0.35);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(26, 107, 52, 0.12);
}

.form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230a0a0a' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
  padding-right: 2.4rem;
  cursor: pointer;
}

.form textarea {
  resize: vertical;
  min-height: 8rem;
}

.form__status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--red);
}

/* Champ piège anti-spam : invisible et inatteignable pour un humain, souvent rempli par les robots */
.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Dividers — barres franches ---------- */
.divider {
  height: clamp(0.5rem, 1.2vw, 0.75rem);
  position: relative;
  z-index: 2;
  background: var(--ink);
}

.divider--b,
.divider--d {
  background: var(--red);
}

/* ---------- Footer (noir) ---------- */
.footer {
  border-top: 1px solid var(--line-on-dark);
  padding: clamp(3rem, 8vh, 4.5rem) 0 0;
  font-size: 0.92rem;
  color: var(--mute-on-dark);
  background: var(--ink);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

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

.footer__col a {
  color: var(--mute-on-dark);
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}

.footer__col a:hover {
  color: var(--red);
}

.footer__col--brand p {
  margin: 0;
  max-width: 30ch;
  line-height: 1.5;
}

.footer__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-brand);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.footer__place {
  color: var(--mute-on-dark);
}

.footer__brand {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-family: var(--font-brand);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  width: fit-content;
}

.footer__brand:hover {
  color: var(--red);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__credit {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(26, 107, 52, 0.2), transparent 60%),
    var(--ink);
  pointer-events: none;
  animation: loaderOut 1.35s var(--ease-out) 0.45s forwards;
}

.loader__mark {
  position: relative;
  font-family: var(--font-brand);
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  letter-spacing: 0.18em;
  color: var(--white);
  opacity: 0;
  transform: scale(0.88) translateY(8px);
  animation: loaderMark 0.7s var(--ease-out) 0.08s forwards;
}

.loader__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5.5em;
  height: 5.5em;
  border: 1px solid rgba(192, 138, 40, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  animation: loaderRing 0.9s var(--ease-out) 0.15s forwards;
}

.loader__mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), transparent);
  transform: scaleX(0);
  animation: loaderLine 0.55s var(--ease-out) 0.35s forwards;
}

@keyframes loaderMark {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes loaderRing {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes loaderLine {
  to { transform: scaleX(1); }
}

@keyframes loaderOut {
  0%, 50% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* ---------- Dot nav ---------- */
.dotnav {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.dotnav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.5rem;
  bottom: -1.5rem;
  width: 1px;
  background: rgba(27, 107, 53, 0.35);
  transform: translateX(-50%);
  z-index: -1;
}

.dotnav a {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--red);
  opacity: 0.55;
  transition: background 0.3s, transform 0.3s var(--ease), opacity 0.3s;
}

.dotnav a:hover {
  opacity: 1;
  transform: scale(1.2);
}

.dotnav a.is-active {
  background: var(--red);
  opacity: 1;
  transform: scale(1.4);
}

@media (min-width: 1100px) {
  .dotnav { display: flex; }
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.95s var(--ease-out),
    transform 0.95s var(--ease-out);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .bio__grid {
    grid-template-columns: 1fr;
  }

  .bio__pin {
    position: relative;
    top: auto;
    height: 60svh;
    min-height: 320px;
  }

  .bio__scroll {
    max-width: none;
    padding: clamp(2.5rem, 8vh, 3.5rem) var(--pad);
  }

  .section-head::before {
    top: -0.35em;
  }
}

@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }

  .hero__brand {
    font-size: clamp(2.9rem, 16vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__poster {
    animation: none;
    transform: none;
  }
  .hero__scroll::before {
    animation: none;
  }
  .marquee__track {
    animation: none !important;
  }
}

/* ---------- Scroll progress + back to top ---------- */
.progress {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
  background: transparent;
}

.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--flag-red));
  transform-origin: left;
  transition: width 0.05s linear;
}

.totop {
  position: fixed;
  right: max(1rem, calc((100vw - var(--max)) / 2 - 0.5rem));
  bottom: 1.25rem;
  z-index: 55;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background 0.25s, color 0.25s;
}

.totop svg {
  width: 1.15rem;
  height: 1.15rem;
}

.totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop:hover {
  background: var(--ink);
  color: var(--white);
}

.totop[hidden] {
  display: none;
}

.totop.is-visible[hidden] {
  display: grid;
}

/* =========================================================
   Premium layer — polish final
   ========================================================= */

.flag-bar {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.section-head {
  position: relative;
}

.marquee {
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.clip__frame {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}

.clip__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -24px rgba(0, 0, 0, 0.45);
}

.clip__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}

.upcoming {
  position: relative;
  overflow: hidden;
}

.upcoming::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(192, 138, 40, 0.12), transparent 70%);
  pointer-events: none;
}

.footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26, 107, 52, 0.06), transparent 30%),
    var(--ink);
}

.footer__brand {
  position: relative;
  transition: color 0.3s, letter-spacing 0.4s var(--ease);
}

.footer__brand:hover {
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.dotnav a {
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}

.dotnav a.is-active,
.dotnav a:hover {
  transform: scale(1.35);
}

.player {
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.65);
}

.hero__poster.is-parallax {
  transition: transform 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
  .btn::after,
  .loader__mark::before,
  .loader__mark::after {
    animation: none;
    transition: none;
  }
  .clip__frame:hover,
  .contact__card:hover,
  .book:hover .book__cover {
    transform: none;
  }
  .hero__brand,
  .stat b {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--white);
  }
}
