/*
Theme Name: Elena Reign
Theme URI: https://elenareign.com
Author: O-Stralian Editions
Author URI: https://elenareign.com
Description: Thème WordPress éditorial et cinématographique pour l'autrice Elena Reign — thrillers psychologiques & dark romances. Univers immersif noir / anthracite / ivoire avec accent rouge sombre, grain filmique, typographie Fraunces + Inter. SEO avancé (JSON-LD, Open Graph, breadcrumbs), blog magazine, pages piliers, custom post types Livres / Univers / Personnages / Guides. Optimisé Core Web Vitals. Prêt pour hébergement IONOS.
Version: 4.7.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elena-reign
Tags: custom-menu, featured-images, custom-colors, translation-ready, blog, author, dark, editorial
*/

/* =========================================================
   ELENA REIGN — Design system v2
   Noir profond · Anthracite · Ivoire · Rouge sombre (accent)
   ========================================================= */
:root {
  /* Neutrals */
  --ink:          #08080a;   /* deep black */
  --ink-2:        #0d0d10;
  --anthracite:   #141418;
  --anthracite-2: #1c1c22;
  --anthracite-3: #24242b;

  /* Ivory / text */
  --ivory:        #f2eee4;
  --ivory-dim:    #c4bdb0;
  --muted:        #8b857a;
  --muted-2:      #625d54;

  /* Single accent — dark red */
  --blood:        #7c1a1a;
  --blood-bright: #a82626;   /* fonds, bordures, badges (texte ivoire dessus) */
  --blood-glow:   rgba(168, 38, 38, 0.35);
  --accent-text:  #e85042;   /* petit texte rouge — WCAG AA (>=4.5:1) sur noir/anthracite */
  --accent-strong:#c8382c;   /* grand texte d'accent (hero) — >=3:1 */

  /* Lines */
  --line:         rgba(242, 238, 228, 0.09);
  --line-strong:  rgba(242, 238, 228, 0.16);

  /* Type */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono", Menlo, Consolas, "Courier New", monospace;

  /* Scale & motion */
  --header-h: 76px;
  --wrap:   1240px;
  --wrap-narrow: 760px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 3px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --dur:    0.5s;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --shadow-poster: 0 24px 60px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain overlay — subtle, fixed, non-interactive */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%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, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--ivory); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--ivory-dim); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1.3em; }

strong { color: var(--ivory); font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--blood); color: var(--ivory); }

/* Layout helpers */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--blood); color: var(--ivory);
  padding: 12px 20px; font-weight: 600; font-size: 0.85rem;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Micro-label / eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent-text); opacity: 0.85;
}
.eyebrow--center { justify-content: center; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--ivory-dim); }
.section-sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 1rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --btn-bg: var(--blood);
  --btn-fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); background: var(--blood-bright); color: var(--ivory); box-shadow: 0 12px 30px var(--blood-glow); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ivory); }
.btn--ghost:hover { background: rgba(242,238,228,0.05); border-color: var(--ivory-dim); color: var(--ivory); box-shadow: none; }
.btn--ivory { background: var(--ivory); color: var(--ink); }
.btn--ivory:hover { background: #fff; color: var(--ink); }
.btn--ku { background: transparent; border-color: var(--accent-text); color: var(--accent-text); }
.btn--ku:hover { background: var(--accent-text); color: var(--ink); box-shadow: none; }
.btn--lg { padding: 18px 40px; font-size: 0.82rem; }
.btn--block { width: 100%; }
.btn__icon { font-size: 1.05em; }

/* Text link with animated red underline */
.link-underline {
  position: relative; color: var(--ivory);
  font-weight: 500;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--blood-bright); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.admin-bar .site-header.is-scrolled { background: rgba(8,8,10,0.82); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }

/* Interior pages clear the fixed header; the landing hero stays full-bleed. */
.site-main { min-height: 40vh; }
body:not(.is-landing) .site-main { padding-top: var(--header-h); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.site-brand {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.35rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ivory);
}
.site-brand:hover { color: var(--ivory); }
.site-brand__tag { display: block; font-family: var(--font-body); font-size: 0.55rem; letter-spacing: 0.4em; color: var(--muted); margin-top: 3px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; }
.main-nav a {
  font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; color: var(--ivory-dim);
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--ivory); }
.main-nav .menu-item-cta a {
  border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: var(--radius); color: var(--ivory);
}
.main-nav .menu-item-cta a:hover { background: var(--blood); border-color: var(--blood); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--ivory); width: 46px; height: 44px; cursor: pointer; font-size: 1.1rem; align-items: center; justify-content: center;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background: radial-gradient(130% 100% at 50% 0%, var(--anthracite) 0%, var(--ink) 60%);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media .hero__fallback {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.42; filter: grayscale(0.35) contrast(1.08);
  animation: heroZoom 24s var(--ease) forwards;
}
.hero__fallback { background: radial-gradient(120% 90% at 70% 20%, #2a2a30, var(--ink)); }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.2) 35%, rgba(8,8,10,0.85) 88%, var(--ink) 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 40%, rgba(8,8,10,0.6) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__inner--center { margin-inline: auto; text-align: center; }
.hero__title {
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 0.4em;
}
.hero__title em { font-style: italic; color: var(--ivory-dim); }
.hero__title .blood { color: var(--accent-strong); }
.hero__lead {
  font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--ivory-dim);
  max-width: 620px; margin: 0 auto 2.4rem; font-weight: 300;
}
.hero__inner:not(.hero__inner--center) .hero__lead { margin-left: 0; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__inner--center .hero__actions { justify-content: center; }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 40px; margin: 12px auto 0; background: linear-gradient(var(--muted), transparent); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--anthracite { background: var(--anthracite); }
.section--ink2 { background: var(--ink-2); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* =========================================================
   Poster grid (books as films)
   ========================================================= */
.poster-grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.poster-grid--2 { grid-template-columns: repeat(2, 1fr); }
.poster-grid--3 { grid-template-columns: repeat(3, 1fr); }
.poster-grid--4 { grid-template-columns: repeat(4, 1fr); }

.poster {
  position: relative; display: flex; flex-direction: column;
}
.poster__link { display: block; position: relative; }
.poster__link .cover { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.poster:hover .poster__link .cover, .poster:focus-within .poster__link .cover { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0,0,0,0.75); }

/* Character / non-book portrait frame (used by personnage templates) */
.poster__frame {
  position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--anthracite-2), var(--ink));
  box-shadow: var(--shadow-poster); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.poster:hover .poster__frame { transform: translateY(-8px); box-shadow: 0 40px 80px rgba(0,0,0,0.75), 0 0 0 1px var(--line-strong); }
.poster__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.poster:hover .poster__frame img { transform: scale(1.06); }
.poster__empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  text-align: center; padding: 1.4rem;
}
.poster__empty span { font-family: var(--font-display); font-size: 1.2rem; color: var(--ivory-dim); line-height: 1.15; }
.poster__empty small { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.poster__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 40px; background: var(--blood); color: var(--ivory);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.poster__over {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(8,8,10,0.92));
  transform: translateY(8px); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.poster:hover .poster__over, .poster:focus-within .poster__over { transform: none; opacity: 1; }
.poster__rating { font-size: 0.72rem; color: var(--ivory); letter-spacing: 0.02em; }
.poster__rating .stars { color: var(--accent-text); }

.poster__body { padding-top: 1.1rem; }
.poster__cat { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.5rem; }
.poster__title { font-size: 1.28rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.poster__title a { color: var(--ivory); }
.poster__title a:hover { color: var(--ivory-dim); }
.poster__quote { color: var(--muted); font-size: 0.9rem; font-style: italic; line-height: 1.6; margin-bottom: 1rem; }
.poster__actions { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.poster__actions .btn { padding: 10px 18px; font-size: 0.68rem; }
.poster__price { margin-left: auto; color: var(--ivory); font-weight: 600; font-size: 0.9rem; }

/* =========================================================
   Featured / spotlight book (film billboard)
   ========================================================= */

/* =========================================================
   Single book — cinematic layout
   ========================================================= */
.book-hero { position: relative; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem,6vw,5rem); overflow: hidden; }
.book-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.22; filter: grayscale(0.4) blur(6px); transform: scale(1.1); }
.book-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,0.7), var(--ink)); }
.book-hero__bg--custom { opacity: 0.85; filter: none; transform: scale(1.02); }
.book-hero__bg--custom::after { background: linear-gradient(180deg, rgba(8,8,10,0.25) 0%, rgba(8,8,10,0.55) 55%, var(--ink) 100%); }
.book-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 360px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.book-hero__poster { position: sticky; top: 100px; }
.book-hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.lang-carousel { margin-top: 1.2rem; }
.lang-carousel__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 0.6rem; }
.lang-carousel__track { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.lang-card { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; width: 72px; text-decoration: none; }
.lang-card__cover { display: block; width: 72px; height: 108px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--anthracite-2); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.lang-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lang-card:hover .lang-card__cover { border-color: var(--accent-text); transform: translateY(-2px); }
.lang-card__label { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ivory-dim); text-align: center; }
.book-hero__cat { color: var(--accent-text); }
.book-hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.03em; margin: 0.6rem 0 1.2rem; }
.book-hero__quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--ivory-dim); border-left: 2px solid var(--blood); padding-left: 1.4rem; margin: 0 0 1.8rem; line-height: 1.4; }
.book-meta-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; padding: 1.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.8rem; font-size: 0.85rem; color: var(--ivory-dim); }
.book-meta-row .stars { color: var(--accent-text); }
.book-meta-row .sep { color: var(--muted-2); }
.book-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.8rem 0; }
.format-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: border-color var(--dur) var(--ease); }
.format-card:hover { border-color: var(--line-strong); }
.format-card__label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.format-card__price { font-family: var(--font-display); font-size: 1.3rem; color: var(--ivory); }
.book-cta-stack { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6rem; }

/* =========================================================
   Universe cards
   ========================================================= */
.universe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px,2.5vw,28px); }
.universe-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px;
  display: flex; align-items: flex-end; padding: 2rem;
  background: var(--anthracite-2); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.universe-card:hover { transform: translateY(-6px); border-color: var(--blood); }
.universe-card__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.55; transition: opacity var(--dur) var(--ease), transform 0.9s var(--ease); }
.universe-card:hover .universe-card__bg { opacity: 0.72; transform: scale(1.05); }
.universe-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(8,8,10,0.82)); z-index: 1; }
.universe-card__inner { position: relative; z-index: 2; }
.universe-card__count { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.universe-card__title { font-size: 1.6rem; margin: 0.4rem 0 0.4rem; }
.universe-card__desc { color: var(--ivory-dim); font-size: 0.92rem; margin: 0; }

/* =========================================================
   Magazine blog
   ========================================================= */
.mag-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px,3vw,40px); align-items: stretch; margin-bottom: clamp(3rem,5vw,4.5rem); }
.mag-hero-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; padding: clamp(1.6rem,3vw,2.6rem); }
.mag-hero-card__img { position: absolute; inset: 0; z-index: 0; }
.mag-hero-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mag-hero-card:hover .mag-hero-card__img img { transform: scale(1.05); }
.mag-hero-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 25%, rgba(8,8,10,0.94)); }
.mag-hero-card__inner { position: relative; z-index: 2; max-width: 620px; }
.mag-hero-card__title { font-size: clamp(1.6rem, 3vw, 2.6rem); margin: 0.6rem 0; }
.mag-hero-card__title a { color: var(--ivory); }

.mag-side { display: flex; flex-direction: column; gap: 20px; }
.mag-side-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.mag-side-card__img { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--anthracite-2); }
.mag-side-card__img img { width: 100%; height: 100%; object-fit: cover; }
.mag-side-card__title { font-size: 1.05rem; line-height: 1.2; margin: 0.3rem 0 0; }
.mag-side-card__title a { color: var(--ivory); }
.mag-side-card__title a:hover { color: var(--ivory-dim); }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(24px,3vw,40px); }
.article-card { display: flex; flex-direction: column; }
.article-card__img { position: relative; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; background: var(--anthracite-2); margin-bottom: 1.2rem; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.06); }
.article-card__cat { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.article-card__title { font-size: 1.4rem; line-height: 1.14; margin: 0.6rem 0 0.6rem; }
.article-card__title a { color: var(--ivory); }
.article-card__title a:hover { color: var(--ivory-dim); }
.article-card__excerpt { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.article-card__meta { margin-top: auto; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); display: flex; gap: 12px; }

.post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); }
.post-meta .cat { color: var(--accent-text); text-transform: uppercase; letter-spacing: 0.16em; }

/* =========================================================
   Article (single post) — editorial
   ========================================================= */
.article-head { padding: clamp(1.5rem,4vw,3rem) 0 2.5rem; text-align: center; }
.article-head__title { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 15ch; margin: 1rem auto 1.2rem; }
.article-cover { max-width: var(--wrap); margin: 0 auto clamp(2rem,4vw,3.5rem); }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: var(--wrap-narrow); margin-inline: auto; font-size: 1.12rem; line-height: 1.85; color: var(--ivory-dim); }
.prose > * { margin-inline: auto; }
.prose h2 { font-size: clamp(1.6rem,3vw,2.2rem); color: var(--ivory); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.4rem; color: var(--ivory); margin: 2rem 0 0.8rem; }
.prose a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--blood-bright); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-text); }
.prose img { border-radius: var(--radius); margin: 2rem auto; }
.prose blockquote { border-left: 2px solid var(--blood); margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.6rem; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--ivory); }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose code { background: var(--anthracite-2); padding: 0.15em 0.4em; border-radius: 3px; font-size: 0.9em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }

/* =========================================================
   FAQ (accordion)
   ========================================================= */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ivory); font-family: var(--font-display); font-size: 1.3rem; padding: 1.5rem 3rem 1.5rem 0; position: relative; }
.faq-item__q::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent-strong); font-size: 1.6rem; transition: transform var(--dur) var(--ease); font-family: var(--font-body); }
.faq-item.is-open .faq-item__q::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__q:focus-visible { outline-offset: -2px; }
.faq-item__a { color: var(--ivory-dim); animation: faqReveal 0.35s var(--ease); }
.faq-item__a[hidden] { display: none; }
.faq-item__a-inner { padding: 0 0 1.6rem; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Reading order (timeline)
   ========================================================= */
.reading-order { max-width: 860px; margin-inline: auto; position: relative; padding-left: 2.2rem; }
.reading-order::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--blood), var(--line)); }
.ro-step { position: relative; padding: 0 0 2.4rem 0; }
.ro-step::before { content: ""; position: absolute; left: -2.2rem; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 2px solid var(--blood-bright); }
.ro-step__num { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }
.ro-step__title { font-size: 1.5rem; margin: 0.3rem 0; }

/* =========================================================
   Reviews / testimonials
   ========================================================= */

/* =========================================================
   Newsletter / CTA band
   ========================================================= */
.cta-band { position: relative; text-align: center; overflow: hidden; }
.cta-band__title { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 2rem auto 1rem; flex-wrap: wrap; justify-content: center; }
.newsletter-form input[type=email] {
  flex: 1; min-width: 220px; background: var(--anthracite-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); color: var(--ivory); padding: 16px 20px; font-family: var(--font-body); font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: var(--muted-2); }
.newsletter-note { color: var(--muted); font-size: 0.78rem; }

/* =========================================================
   Breadcrumbs
   ========================================================= */
.breadcrumbs { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 1rem 0; }
.breadcrumbs a { color: var(--muted); display: inline-block; padding: 4px 0; }
.breadcrumbs a:hover { color: var(--ivory); }
.breadcrumbs .sep { margin: 0 0.6em; color: var(--muted-2); }
.breadcrumbs [aria-current] { color: var(--ivory-dim); }

/* =========================================================
   Page hero (pillar pages)
   ========================================================= */
.page-hero { position: relative; padding: clamp(2rem,5vw,3.5rem) 0 clamp(2.5rem,5vw,4rem); text-align: center; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 100% at 50% 0%, var(--anthracite), var(--ink) 65%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.03em; }
.page-hero__lead { color: var(--ivory-dim); font-size: 1.1rem; margin-top: 1rem; }

/* =========================================================
   Related / prev-next
   ========================================================= */
.related { border-top: 1px solid var(--line); }
.related__title { font-size: 1.6rem; margin-bottom: 2rem; }

/* Pagination */
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ivory-dim); font-size: 0.85rem; }
.pagination .page-numbers:hover { border-color: var(--line-strong); color: var(--ivory); }
.pagination .current { background: var(--blood); color: var(--ivory); border-color: var(--blood); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(3.5rem,6vw,5.5rem) 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(24px,4vw,56px); margin-bottom: 3rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory); }
.footer-brand span { color: var(--accent-text); }
.footer-about { color: var(--muted); font-size: 0.92rem; max-width: 34ch; margin-top: 1rem; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--ivory-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.footer-copy { color: var(--muted); font-size: 0.78rem; }
.footer-social { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; }
.footer-social { flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; min-height: 24px; padding: 6px 2px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-social a:hover { color: var(--ivory); }

/* =========================================================
   Reveal on scroll — only hidden when JS is available (progressive
   enhancement: no-JS visitors and crawlers always see the content).
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Staggered reveal for grid children (progressive, no per-item markup needed). */
.poster-grid .reveal:nth-child(2), .article-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.poster-grid .reveal:nth-child(3), .article-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.poster-grid .reveal:nth-child(4), .article-grid .reveal:nth-child(4) { transition-delay: 0.18s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .poster-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .book-hero__grid { grid-template-columns: 260px 1fr; }
  .mag-featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); max-height: 100svh; overflow-y: auto; background: var(--ink-2); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); padding: 100px 32px 40px; z-index: 999; }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform var(--dur) var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.6); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-nav li { width: 100%; border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 18px 0; font-size: 0.9rem; }
  .main-nav .menu-item-cta a { border: 0; padding: 18px 0; }
  .poster-grid--3, .poster-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .book-hero__grid { grid-template-columns: 1fr; }
  .book-hero__poster { position: relative; top: 0; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .poster-grid--2, .poster-grid--3, .poster-grid--4 { grid-template-columns: 1fr 1fr; }
  .book-formats { grid-template-columns: 1fr; }
  .mag-side-card { grid-template-columns: 90px 1fr; }
  .hero { min-height: 92svh; }
}

/* Motion / contrast preferences */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .newsletter-form, .scroll-cue, body::after { display: none !important; }
  body { background: #fff; color: #000; }
}

/* WP admin bar offset */
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* WordPress core alignment classes */
.alignwide { max-width: var(--wrap); margin-inline: auto; }
.alignfull { max-width: 100%; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.6rem; }

/* =========================================================
   CINEMATIC FRONT — "Dossiers" art direction (v3)
   Book-forward, tension-first. Used on the front page.
   ========================================================= */

/* --- Signature CSS book cover (beautiful even without an uploaded image) --- */
.cover {
  display: block;
  position: relative; aspect-ratio: 2 / 3; border-radius: 2px; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% -12%, rgba(232,80,66,0.12), transparent 55%),
    linear-gradient(158deg, #20202a 0%, #121216 52%, #08080a 100%);
  box-shadow: var(--shadow-poster);
  border: 1px solid rgba(242,238,228,0.08);
  isolation: isolate;
}
.cover__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: space-between; padding: clamp(15px, 1.5vw, 26px); z-index: 2;
}
.cover::before { /* hairline inset frame */
  content: ""; position: absolute; inset: 11px; z-index: 3; pointer-events: none;
  border: 1px solid rgba(242,238,228,0.14);
}
.cover::after { /* spotlight + grain wash */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(75% 45% at 50% 26%, rgba(255,255,255,0.055), transparent 70%);
  mix-blend-mode: screen;
}
.cover__numeral {
  position: absolute; z-index: 1; left: 50%; top: 52%; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 9vw, 8rem);
  color: rgba(242,238,228,0.05); line-height: 1; user-select: none;
}
.cover__genre { font-family: var(--font-body); font-size: 0.54rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-text); text-align: center; }
.cover.has-badge .cover__inner { padding-top: clamp(2.6rem, 3.2vw, 3.2rem); }
.cover__center { text-align: center; }
.cover__rule { width: 26px; height: 1px; background: rgba(242,238,228,0.35); margin: 0 auto 0.9rem; }
.cover__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.7rem); line-height: 1.02; letter-spacing: -0.01em; color: var(--ivory); text-wrap: balance; }
.cover__foot { font-family: var(--font-body); font-size: 0.5rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cover__soon { font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); text-align: center; opacity: 0.7; }
.cover.is-fallback { background:
    radial-gradient(120% 70% at 50% -12%, rgba(232,80,66,0.14), transparent 55%),
    repeating-linear-gradient(135deg, rgba(242,238,228,0.018) 0 2px, transparent 2px 9px),
    linear-gradient(158deg, #20202a 0%, #121216 52%, #08080a 100%); }
.cover__img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.cover.has-img .cover__inner, .cover.has-img::before, .cover.has-img .cover__numeral { opacity: 0; }
.cover__badge {
  position: absolute; z-index: 4; top: 0; left: 0; font-family: var(--font-body);
  font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--ivory); background: var(--blood); padding: 6px 10px; border-bottom-right-radius: 2px;
}

/* --- Cinematic reel hero (rotating featured books, "cold open") --- */
.reel {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--ink); isolation: isolate;
}
.reel__slides { position: absolute; inset: 0; }
.reel__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s; }
.reel__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease); z-index: 2; }
.reel__backdrop { position: absolute; inset: -4%; z-index: 0; background-size: cover; background-position: center; filter: grayscale(0.45) contrast(1.05) brightness(0.55); transform: scale(1.04); }
.reel__slide.is-active .reel__backdrop { animation: reelBurns 9s var(--ease) forwards; }
@keyframes reelBurns { from { transform: scale(1.14); } to { transform: scale(1.04); } }
.reel__wash { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.94) 0%, rgba(8,8,10,0.72) 42%, rgba(8,8,10,0.35) 100%),
    linear-gradient(0deg, var(--ink) 2%, transparent 26%, transparent 74%, rgba(8,8,10,0.7) 100%);
}
/* letterbox bars for the cinema frame */
.reel__bars::before, .reel__bars::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(22px, 4vh, 46px); background: var(--ink); z-index: 6; pointer-events: none; }
.reel__bars::before { top: 0; }
.reel__bars::after { bottom: 0; }

.reel__inner { position: relative; z-index: 5; min-height: 100svh; display: grid; grid-template-columns: minmax(250px, 380px) 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); padding-block: 17vh 15vh; }
.reel__cover { display: block; width: 100%; transition: transform 0.6s var(--ease); }
.reel__cover .cover { height: min(62vh, 540px); width: auto; margin-inline: auto; aspect-ratio: 2 / 3; }
.reel__slide.is-active .reel__cover { animation: coverRise 1.1s var(--ease) both; }
@keyframes coverRise { from { opacity: 0; transform: translateY(26px) rotateY(8deg); } to { opacity: 1; transform: none; } }
.reel__text { max-width: 40ch; }
.reel__kicker { display: inline-flex; align-items: center; gap: 0.7em; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 1.4rem; }
.reel__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 0 rgba(232,80,66,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,80,66,0.55); } 70% { box-shadow: 0 0 0 9px rgba(232,80,66,0); } 100% { box-shadow: 0 0 0 0 rgba(232,80,66,0); } }
.reel__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--ivory); margin: 0 0 1.1rem; text-wrap: balance; }
.reel__title a { color: inherit; }
.reel__title a:hover { color: var(--ivory-dim); }
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }
.reel__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* progress ticks / nav + pause control */
.reel__controls { position: absolute; z-index: 7; bottom: clamp(40px, 9vh, 96px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; }
.reel__ticks { display: flex; gap: 12px; }
.reel__pp { width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(8,8,10,0.4); color: var(--ivory); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.reel__pp:hover { border-color: var(--ivory-dim); background: rgba(8,8,10,0.7); }
.reel__pp-ico { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.reel__pp.is-paused .reel__pp-ico { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.reel__tick { width: 46px; height: 3px; border: 0; padding: 0; background: rgba(242,238,228,0.2); cursor: pointer; overflow: hidden; border-radius: 2px; }
.reel__tick span { display: block; height: 100%; width: 100%; background: var(--accent-text); transform: scaleX(0); transform-origin: left; }
.reel__tick.is-active span { animation: tickFill var(--reel-dur, 6s) linear forwards; }
.reel__tick:hover { background: rgba(242,238,228,0.4); }
@keyframes tickFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.reel__scroll { position: absolute; z-index: 7; bottom: clamp(18px, 4vh, 34px); left: 50%; transform: translateX(-50%); font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); }

/* --- Drifting cover shelf ("the evidence wall") --- */
.shelf { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; border-top: 1px solid var(--line); }
.shelf__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.shelf__viewport { position: relative; overflow: hidden; }
.shelf__marquee { position: relative; display: flex; gap: clamp(16px, 2vw, 30px); width: max-content; animation: drift 60s linear infinite; padding-inline: clamp(16px, 2vw, 30px); }
.shelf:hover .shelf__marquee, .shelf__marquee:focus-within { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.shelf__item { width: clamp(140px, 15vw, 210px); flex: 0 0 auto; transition: transform 0.5s var(--ease); }
.shelf__item:hover { transform: translateY(-10px) scale(1.02); }
.shelf__item .cover { box-shadow: 0 20px 44px rgba(0,0,0,0.6); }
.shelf__fade { position: absolute; top: 0; bottom: 0; width: 14vw; z-index: 3; pointer-events: none; }
.shelf__fade--l { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.shelf__fade--r { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }

/* --- Dossier section framing --- */
.dossier-mark { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.2rem; }
.dossier-mark .no { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.3em; color: var(--accent-text); }
.dossier-mark .ln { width: clamp(40px, 8vw, 90px); height: 1px; background: var(--line-strong); }
.dossier-mark .st { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); }

/* --- Pulled quote (atmosphere between sections) --- */
.pull { position: relative; padding: clamp(4.5rem, 10vw, 9rem) 0; text-align: center; overflow: hidden; }
.pull__q { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 4.2vw, 3.4rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--ivory); max-width: 22ch; margin: 0 auto; }
.pull__q .blood { color: var(--accent-strong); font-style: normal; }
.pull__by { margin-top: 1.6rem; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .reel__inner { grid-template-columns: 1fr; justify-items: start; gap: 2rem; padding-block: 13vh 16vh; }
  .reel__cover { width: min(46vw, 200px); }
  .reel__wash { background: linear-gradient(0deg, var(--ink) 6%, rgba(8,8,10,0.55) 45%, rgba(8,8,10,0.7) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .reel__slide.is-active .reel__backdrop,
  .reel__slide.is-active .reel__cover,
  .reel__tick.is-active span,
  .shelf__marquee,
  .reel__kicker .dot { animation: none !important; }
  .reel__tick span { transform: scaleX(1); }
}

/* =========================================================
   CINEMATIC v4 — Scene hero, atmosphere, films, magazine
   ========================================================= */

/* --- Reel atmosphere: vignette, rain, door light, smoke, cover halo --- */
.reel::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 38%, transparent 42%, rgba(0,0,0,0.55) 100%); }
.reel__fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
  background-image: repeating-linear-gradient(95deg, rgba(210,220,235,0.045) 0 1px, transparent 1px 8px);
  background-size: 100% 240px; opacity: 0.5; animation: rain 0.7s linear infinite; }
@keyframes rain { to { background-position: 24px 240px; } }
.reel__fx::before { content: ""; position: absolute; top: -12%; left: 5%; width: 34%; height: 130%;
  transform: skewX(-9deg); filter: blur(28px); mix-blend-mode: screen;
  background: linear-gradient(178deg, rgba(255,236,208,0.14), rgba(255,236,208,0.03) 42%, transparent 72%); }
.reel__fx::after { content: ""; position: absolute; inset: -25%; filter: blur(34px); mix-blend-mode: screen;
  background: radial-gradient(38% 30% at 32% 62%, rgba(150,150,160,0.06), transparent 70%),
              radial-gradient(30% 24% at 72% 40%, rgba(150,150,160,0.05), transparent 70%);
  animation: smoke 28s ease-in-out infinite alternate; }
@keyframes smoke { to { transform: translate3d(3%, -4%, 0) scale(1.12); } }
.reel__cover { position: relative; }
.reel__cover-glow { position: absolute; z-index: -1; inset: -16% -22%; pointer-events: none; filter: blur(10px);
  background: radial-gradient(52% 46% at 50% 42%, rgba(232,80,66,0.16), rgba(255,236,208,0.06) 40%, transparent 72%); }

/* --- Scene (the 5-second hook) --- */
.reel__kicker { margin-bottom: 1.3rem; }
.reel__scene { margin: 0 0 1.1rem; }
.scene__l { display: block; font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 1.12; font-size: clamp(1.15rem, 2.4vw, 2rem); }
.scene__l1 { color: var(--muted); }
.scene__l2 { color: var(--ivory); }
.reel__slide.is-active .scene__l { animation: sceneIn 0.8s var(--ease) both; }
.reel__slide.is-active .scene__l2 { animation-delay: 0.3s; }
@keyframes sceneIn { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } to { opacity: 1; filter: none; transform: none; } }
.reel__title { margin-top: 0.3rem; }

/* --- Films: books as films --- */
.films__head { text-align: center; padding: clamp(4rem,8vw,7rem) 0 0; }
.film { display: grid; grid-template-columns: minmax(260px, 44%) 1fr; align-items: center; gap: clamp(28px,5vw,80px);
  max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem,7vw,7rem) var(--gutter); position: relative; }
.film--rev { direction: rtl; }
.film--rev > * { direction: ltr; }
.film + .film { border-top: 1px solid var(--line); }
.film__poster { position: relative; display: block; }
.film__poster .cover { height: min(64vh, 600px); width: auto; margin-inline: auto; aspect-ratio: 2 / 3; transition: transform 0.7s var(--ease); }
.film__poster:hover .cover { transform: translateY(-8px); }
.film__glow { position: absolute; z-index: -1; inset: -14% -20%; pointer-events: none; filter: blur(8px);
  background: radial-gradient(52% 46% at 50% 44%, rgba(232,80,66,0.14), rgba(255,236,208,0.05) 42%, transparent 72%); }
.film__text { max-width: 46ch; }
.film__punch { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.06; letter-spacing: -0.02em; color: var(--ivory); margin: 0.4rem 0 1.1rem; text-wrap: balance; }
.film__quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.05rem,1.5vw,1.3rem);
  color: var(--ivory-dim); border-left: 2px solid var(--blood); padding-left: 1.2rem; margin: 0 0 1.5rem; }
.film__title { font-size: clamp(0.95rem,1.4vw,1.1rem); text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin: 0 0 1.7rem; }
.film__title a { color: var(--muted); }
.film__title a:hover { color: var(--ivory); }
.film__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Magazine dossier (journal) --- */
.dossier { position: relative; min-height: 76vh; display: flex; align-items: flex-end; overflow: hidden; }
.dossier__media { position: absolute; inset: 0; z-index: 0; display: block; background: var(--anthracite); }
.dossier__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.05) brightness(0.6); transition: transform 1.4s var(--ease); }
.dossier:hover .dossier__media img { transform: scale(1.04); }
.dossier__grade { position: absolute; inset: 0; background: radial-gradient(80% 60% at 28% 26%, rgba(232,80,66,0.06), transparent 60%); }
.dossier__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--ink) 4%, rgba(8,8,10,0.25) 48%, rgba(8,8,10,0.5) 100%),
              linear-gradient(90deg, rgba(8,8,10,0.9), rgba(8,8,10,0.2) 62%, transparent); }
.dossier__panel { position: relative; z-index: 1; width: 100%; padding: clamp(3rem,7vw,6rem) 0; }
.dossier__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.dossier__inner > * { max-width: 620px; }
.dossier__title { font-size: clamp(2rem,4.6vw,3.6rem); letter-spacing: -0.02em; margin: 0.6rem 0 1rem; }
.dossier__title a { color: var(--ivory); }
.dossier__title a:hover { color: var(--ivory-dim); }
.dossier__excerpt { color: var(--ivory-dim); font-size: 1.05rem; }
.dossier__meta { display: flex; gap: 12px; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); margin: 0.7rem 0 1.7rem; }

@media (max-width: 860px) {
  .film { grid-template-columns: 1fr; gap: 2rem; justify-items: start; }
  .film--rev { direction: ltr; }
  .film__poster .cover { height: auto; width: min(60vw, 260px); margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reel__fx, .reel__fx::before, .reel__fx::after,
  .reel__slide.is-active .scene__l,
  .dossier__media img { animation: none !important; }
  .scene__l { opacity: 1 !important; filter: none !important; transform: none !important; }
}

/* =========================================================
   ELENA REIGN — SIGNATURE SYSTEM (v3.2)
   Investigative monospace labels + viewfinder frame + seuil/coda.
   Goal: recognisable at a glance, without logo or name.
   ========================================================= */

/* --- Investigative mono labels (the "case file" voice) --- */
.eyebrow, .reel__kicker, .breadcrumbs, .cover__genre, .cover__foot, .film__title,
.dossier-mark .st, .dossier-mark .no, .article-card__cat, .article-card__meta,
.post-meta, .footer-col h4, .footer-social a, .footer-copy, .reel__note, .reel__scroll,
.poster__cat, .ro-step__num, .universe-card__count, .format-card__label,
.review-card__author, .mag-side-card .article-card__cat, .pull__by,
.pagination .page-numbers, .book-meta-row, .theme-tags {
  font-family: var(--font-mono);
  font-weight: 500;
}
.theme-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.theme-tags span { color: var(--accent-text); }
.eyebrow { letter-spacing: 0.24em; font-size: 0.66rem; }
.reel__kicker { letter-spacing: 0.22em; }
.cover__genre { letter-spacing: 0.2em; }
.film__title { letter-spacing: 0.24em; }
.dossier-mark .st { letter-spacing: 0.28em; }

/* --- Viewfinder: four corner brackets on every page --- */
.frame { position: fixed; inset: clamp(12px, 1.6vw, 22px); z-index: 9998; pointer-events: none; }
.frame i { position: absolute; width: 24px; height: 24px; border: 1px solid rgba(242,238,228,0.26); }
.frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.frame__ref { position: absolute; bottom: -1px; left: 2px;
  font-family: var(--font-mono); font-size: 0.54rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(242,238,228,0.26); white-space: nowrap; }
@media (max-width: 640px) { .frame__ref { display: none; } }
.admin-bar .frame { top: calc(clamp(12px,1.6vw,22px) + 32px); }
@media (max-width: 782px) { .admin-bar .frame { top: calc(clamp(12px,1.6vw,22px) + 46px); } }

/* --- Redaction bar (used sparingly for tension) --- */
.redact { background: var(--ivory); color: transparent; border-radius: 1px; padding: 0 0.12em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; user-select: none; }

/* --- Newsletter as a threshold ("Entrez dans la Chambre 12") --- */
.seuil { position: relative; overflow: hidden; text-align: center;
  padding: clamp(5rem, 11vw, 9rem) 0; background: var(--ink); }
.seuil__door { position: absolute; z-index: 0; top: -20%; left: 50%; transform: translateX(-50%) skewX(-7deg);
  width: 42%; height: 150%; pointer-events: none; filter: blur(40px); mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255,236,208,0.16), rgba(255,236,208,0.04) 44%, transparent 74%); }
.seuil__vig { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0,0,0,0.6)); }
.seuil > .wrap { position: relative; z-index: 1; }
.seuil__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.03em; line-height: 1.02; margin: 0.8rem auto 1.4rem; max-width: 16ch; }
.seuil__title .blood { color: var(--accent-strong); }
.seuil__line { color: var(--ivory-dim); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 46ch; margin: 0 auto; }
.seuil__after { font-family: var(--font-display); font-style: italic; color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem); margin: 1.6rem auto 0.5rem; max-width: 36ch; }
.seuil .newsletter-form { margin-top: 2.4rem; }
.seuil .newsletter-note { font-family: var(--font-mono); letter-spacing: 0.08em; }

/* --- Footer coda: a last tension, then compact chrome --- */
.coda { position: relative; overflow: hidden; text-align: center; padding: clamp(4.5rem,9vw,7.5rem) 0 clamp(3rem,5vw,4rem);
  border-top: 1px solid var(--line); background: var(--ink-2); }
.coda__mark { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent-text); }
.coda__line { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--ivory); max-width: 20ch; margin: 1rem auto 2rem; text-wrap: balance; }
.coda__cta { display: inline-flex; }
.site-footer { background: var(--ink); }
.footer-grid { padding-top: 1rem; }
.footer-brand { font-family: var(--font-display); }
.footer-col h4 { letter-spacing: 0.24em; }

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

/* =========================================================
   SINGLE BOOK — the trailer of a novel (v3.3)
   ========================================================= */
.single-livre .book-hero { min-height: 92vh; display: flex; align-items: center; padding-block: clamp(4rem,8vw,7rem); }
.book-hero__door { position: absolute; z-index: 0; top: -14%; left: 8%; width: 34%; height: 132%; pointer-events: none;
  transform: skewX(-9deg); filter: blur(34px); mix-blend-mode: screen;
  background: linear-gradient(178deg, rgba(255,236,208,0.12), rgba(255,236,208,0.03) 44%, transparent 74%); }
.book-hero__scene { margin: 0 0 1.1rem; }
.book-hero__scene .scene__l { animation: sceneIn 0.8s var(--ease) both; }
.book-hero__scene .scene__l2 { animation-delay: 0.28s; }
.book-hero__body .book-hero__title { margin-top: 0.3rem; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.book-hero__poster { position: relative; }
.book-hero__poster .cover { height: min(74vh, 640px); width: auto; margin-inline: auto; aspect-ratio: 2/3; }

/* The opening pages — read, then dissolve into the dark */
.lecture { padding: clamp(4.5rem,9vw,8rem) 0 clamp(3rem,6vw,5rem); position: relative; }
.lecture .eyebrow { display: flex; justify-content: center; margin-bottom: clamp(2rem,4vw,3rem); }
.lecture__paper { position: relative; max-height: 54vh; overflow: hidden; }
.lecture__text { font-family: var(--font-body); font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.95; color: var(--ivory-dim); }
.lecture__text p { margin: 0 0 1.4em; }
.lecture__text p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 600; font-size: 3.6em; line-height: 0.72;
  float: left; margin: 0.06em 0.12em 0 0; color: var(--ivory); }
.lecture__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--ink) 82%); }
.lecture__gate { position: relative; z-index: 2; text-align: center; margin-top: clamp(-3rem, -4vw, -1.5rem); }
.lecture__tease { font-family: var(--font-display); font-style: italic; color: var(--ivory-dim);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem); margin: 0 0 1.6rem; }
.lecture__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lecture__synopsis { text-align: center; color: var(--ivory-dim); font-size: clamp(1.02rem,1.4vw,1.15rem);
  max-width: 62ch; margin: 0 auto 2.4rem; }

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

/* =========================================================
   SINGLE BOOK — mobile conversion (v3.4)
   ========================================================= */
.book-ku { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ivory-dim); margin: 0.9rem 0 0; }
.book-ku::first-letter { color: var(--accent-text); }

/* Sticky mobile buy bar — always-reachable CTA */
.buybar { display: none; }
@media (max-width: 768px) {
  .buybar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9997;
    padding: 10px clamp(14px, 4vw, 20px) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(10,8,7,0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-strong);
    transform: translateY(130%); transition: transform 0.4s var(--ease);
  }
  .buybar.is-visible { transform: none; }
  .buybar__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .buybar__t { font-family: var(--font-display); font-size: 0.98rem; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__p { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ivory-dim); }
  .buybar__link { margin-left: auto; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-dim); padding: 10px 4px; }
  .buybar__cta { padding: 13px 22px; font-size: 0.74rem; white-space: nowrap; flex: 0 0 auto; }
  .buybar__link + .buybar__cta { margin-left: 0; }
  .buybar:not(:has(.buybar__link)) .buybar__cta { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }

/* iPhone: the cover must not swallow the screen; CTAs full-width & thumb-friendly */
@media (max-width: 820px) {
  .single-livre .book-hero { min-height: auto; padding-block: clamp(2rem,7vw,3.5rem) clamp(2.5rem,7vw,4rem); }
  .book-hero__poster .cover { height: auto; width: min(58vw, 230px); }
  .single-livre .book-hero__grid { justify-items: center; text-align: center; }
  .single-livre .book-hero__body { align-items: center; }
  .single-livre .reel__scene, .single-livre .book-meta-row, .single-livre .book-cta-stack { justify-content: center; }
  .book-meta-row { justify-content: center; }
}
@media (max-width: 560px) {
  .book-cta-stack { width: 100%; }
  .book-cta-stack .btn, .lecture__cta .btn { width: 100%; }
  .lecture__paper { max-height: 62vh; }
  .lecture__text { font-size: 1.06rem; line-height: 1.85; }
}

/* =====================================================================
   LE JOURNAL — monté en dossier d'enquête (v3.4)
   Big images, chapô, case-file numbering. No blog-list feel.
   ===================================================================== */
.journal-hero__count { margin-top: 1.1rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

/* --- Lead: the open case file --- */
.journal-lead { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; gap: clamp(20px, 3vw, 46px); margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.journal-lead__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--anthracite); min-height: clamp(300px, 42vw, 520px); }
.journal-lead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.28) contrast(1.05) brightness(0.72); transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
.journal-lead:hover .journal-lead__media img { transform: scale(1.045); filter: grayscale(0.1) contrast(1.06) brightness(0.82); }
.journal-lead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,8,10,0.55)); }
.journal-lead__grade { position: absolute; inset: 0; background: radial-gradient(70% 55% at 26% 24%, rgba(232,80,66,0.10), transparent 62%); pointer-events: none; }
.journal-lead__ref { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--font-mono); font-weight: 500; font-size: 0.64rem; letter-spacing: 0.24em; color: var(--ivory); background: rgba(10,8,7,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line-strong); padding: 6px 12px; }
.journal-lead__panel { display: flex; flex-direction: column; justify-content: center; }
.journal-lead__title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); letter-spacing: -0.02em; margin: 0.5rem 0 0.9rem; }
.journal-lead__title a { color: var(--ivory); }
.journal-lead__title a:hover { color: var(--ivory-dim); }
.journal-lead__chapo { color: var(--ivory-dim); font-size: 1.08rem; line-height: 1.65; max-width: 46ch; }
.journal-lead__meta { display: flex; gap: 12px; font-family: var(--font-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); margin: 1rem 0 1.6rem; }

/* --- Grid of case files --- */
.dossier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: clamp(28px, 3.2vw, 48px); }
.dossier-card { display: flex; flex-direction: column; }
.dossier-card__media { position: relative; display: block; aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; background: var(--anthracite-2); margin-bottom: 1.2rem; }
.dossier-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.04) brightness(0.78); transition: transform 0.9s var(--ease), filter 0.9s var(--ease); }
.dossier-card:hover .dossier-card__media img { transform: scale(1.05); filter: grayscale(0.05) contrast(1.05) brightness(0.9); }
.dossier-card__grade { position: absolute; inset: 0; background: radial-gradient(80% 60% at 24% 22%, rgba(232,80,66,0.08), transparent 62%); pointer-events: none; }
.dossier-card__ref { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.22em; color: var(--ivory); background: rgba(10,8,7,0.55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); border: 1px solid var(--line); padding: 5px 10px; }
.dossier-card__body { display: flex; flex-direction: column; flex: 1; }
.dossier-card__kicker { font-family: var(--font-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.dossier-card__cat { color: var(--accent-text); }
.dossier-card__title { font-size: 1.5rem; line-height: 1.16; margin: 0 0 0.6rem; }
.dossier-card__title a { color: var(--ivory); }
.dossier-card__title a:hover { color: var(--ivory-dim); }
.dossier-card__chapo { color: var(--muted); font-size: 0.96rem; line-height: 1.6; margin: 0 0 1rem; }
.dossier-card__more { margin-top: auto; font-family: var(--font-mono); font-weight: 500; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-dim); transition: color 0.3s var(--ease); }
.dossier-card:hover .dossier-card__more { color: var(--accent-text); }

.journal-empty { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; color: var(--muted); }

/* Elegant, clearly-branded fallback when an article has no image and no linked book */
.dossier-card__media.is-fallback, .journal-lead__media.is-fallback, .dossier__media.is-fallback, .article-card__img.is-fallback {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(80% 60% at 30% 24%, rgba(232,80,66,0.10), transparent 62%),
    repeating-linear-gradient(135deg, rgba(242,238,228,0.02) 0 2px, transparent 2px 10px),
    linear-gradient(158deg, #1a1a22 0%, #101014 55%, #08080a 100%);
}
.dossier-card__mark {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em;
  font-size: clamp(2.2rem, 5vw, 3.4rem); color: rgba(242,238,228,0.14);
}

/* Journal on the home page: a supporting strip, deliberately quieter than the novels */
.journal-strip__head { text-align: center; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.journal-strip__lead { max-width: 52ch; margin: 0.6rem auto 0; color: var(--muted); font-size: 0.98rem; }
.journal-strip .dossier-card__title { font-size: 1.3rem; }
.journal-strip__more { text-align: center; margin-top: clamp(2rem, 3.5vw, 3rem); }

/* Animated scroll cue in the hero — draws the eye down, links into the novels */
.reel__scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 18px; transition: color 0.3s var(--ease); }
.reel__scroll:hover { color: var(--ivory); }
.reel__scroll::after { content: ""; width: 1px; height: 26px; background: linear-gradient(var(--ivory-dim), transparent); animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { 0% { transform: translateY(-6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .reel__scroll::after { animation: none; } }

/* --- Single article as a case file --- */
.article-head__ref { font-family: var(--font-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.article-head__chapo { max-width: 40ch; margin: 1.2rem auto 1.6rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--ivory-dim); }
.article-cover { position: relative; }
.article-cover__grade { position: absolute; inset: 0; border-radius: var(--radius); background: radial-gradient(70% 60% at 26% 20%, rgba(232,80,66,0.07), transparent 60%); pointer-events: none; }

@media (max-width: 820px) {
  .journal-lead { grid-template-columns: 1fr; gap: 0; }
  .journal-lead__media { min-height: clamp(240px, 58vw, 380px); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .journal-lead__panel { padding: 1.6rem clamp(1.1rem, 4vw, 1.8rem) 0.4rem; }
}
@media (max-width: 560px) {
  .dossier-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .dossier-card__title { font-size: 1.35rem; }
}

/* =====================================================================
   HOME PREMIUM — spotlight, univers, collections (v4.2)
   ===================================================================== */
.section-head__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; margin: 0; }
.section__more { text-align: center; margin-top: clamp(2.2rem, 4vw, 3.4rem); }

/* --- Dernière sortie : spotlight du roman phare --- */
.spotlight { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(28px, 5vw, 68px); align-items: center; }
.spotlight__cover { display: block; position: relative; }
.spotlight__cover .cover { width: 100%; box-shadow: 0 50px 90px rgba(0,0,0,0.7); transition: transform 0.7s var(--ease); }
.spotlight__cover:hover .cover { transform: translateY(-8px); }
.spotlight__body { max-width: 56ch; }
.spotlight__title { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -0.02em; margin: 0.4rem 0 1rem; }
.spotlight__title a { color: var(--ivory); }
.spotlight__title a:hover { color: var(--ivory-dim); }
.spotlight__hook { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ivory); margin: 0 0 1rem; }
.spotlight__synopsis { color: var(--ivory-dim); font-size: 1.04rem; line-height: 1.75; margin: 0 0 1.3rem; }
.spotlight .book-meta-row { margin: 0 0 1.6rem; }
.spotlight__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.spotlight .book-ku { margin-top: 1rem; }

/* --- Univers : deux grandes portes --- */
.univers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.universe-card__go { display: inline-block; margin-top: 1rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory-dim); transition: color 0.3s var(--ease); }
.universe-card:hover .universe-card__go { color: var(--accent-text); }
.univers-card--lg { min-height: clamp(380px, 46vw, 540px); display: flex; align-items: flex-end; padding: 2.6rem; }
.univers-card--lg .universe-card__title { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.univers-card--lg .universe-card__desc { max-width: 44ch; font-size: 1.02rem; }
.univers-card--lg .universe-card__count { font-size: 0.7rem; }

/* --- Univers : accent par genre --- */
.univers-card--dark-romance:hover { border-color: var(--blood-bright); }
.univers-card--dark-romance .universe-card__count { color: var(--accent-strong); }
.univers-card--dark-romance::after { background: linear-gradient(180deg, transparent 20%, rgba(64,10,16,0.85)); }
.univers-card--dark-romance .universe-card__bg { opacity: 0.6; }
.univers-card--dark-romance:hover .universe-card__bg { opacity: 0.78; }
.univers-card--thriller-psychologique:hover { border-color: var(--muted); }

/* --- Collections : quatre séries --- */
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.collections-grid .universe-card { min-height: clamp(190px, 20vw, 240px); display: flex; align-items: flex-end; }

@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 2rem; }
  .spotlight__cover { width: min(60vw, 260px); }
  .spotlight__body { max-width: 60ch; }
  .spotlight .book-meta-row, .spotlight__cta { justify-content: center; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .univers-grid { grid-template-columns: 1fr; }
  .spotlight__cta { flex-direction: column; }
  .spotlight__cta .btn { width: 100%; }
}

/* =====================================================================
   FICHE ROMAN — TRAITEMENT VEDETTE « DOSSIER D'ENQUÊTE » (v4.7)
   Scopé à body.is-flagship (couvre toute la page — y compris la barre
   d'achat collante et la bande CTA finale, hors de <article>) : ré-accorde
   localement les variables d'accent (rouge → or) sans toucher au reste du
   site. Activable par roman via la case "Traitement vedette" (aucun slug
   ni ID codé en dur — cf. elena_reign_body_classes()).
   ===================================================================== */
body.is-flagship {
  --blood:         #a8862a;
  --blood-bright:  #d4af37;
  --blood-glow:    rgba(212, 175, 55, 0.35);
  --accent-text:   #d4af37;
  --accent-strong: #c9a134;
}
body.is-flagship .btn--ghost:hover { border-color: var(--blood-bright); color: var(--blood-bright); }

/* --- Plaque émaillée (numéro de la fiche) --- */
.flagship-plaque {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(155deg, #27476e 0%, #1f3a5f 55%, #16293f 100%);
  border: 3px solid #dfe6ee;
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.18), inset 0 -4px 8px rgba(0,0,0,0.45), 0 6px 18px rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-7deg);
  position: relative;
  margin-bottom: clamp(20px, 3vw, 30px);
}
.flagship-plaque span { font-family: var(--font-display); font-weight: 600; font-size: 2rem; color: #eef2f6; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.flagship-plaque::before {
  content: ""; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: #9fb0c2; box-shadow: inset 0 1px 1px rgba(0,0,0,0.6);
}

/* --- Accroche longue (citation d'ouverture) --- */
.flagship-accroche {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.5; color: var(--ivory);
  border-left: 2px solid var(--blood-bright); padding-left: 20px;
  margin: 0 0 clamp(1.6rem, 3vw, 2.2rem); max-width: 46ch;
}
.flagship-accroche .blood { color: var(--accent-strong); font-style: italic; font-weight: 600; }
.flagship-note { margin-top: 1rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }

/* --- Pièces à conviction --- */
.flagship-pieces { list-style: none; max-width: var(--wrap-narrow); margin: 0 auto; padding: 0; }
.flagship-pieces li { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.flagship-pieces li:last-child { border-bottom: 1px solid var(--line); }
.flagship-piece__tag { flex-shrink: 0; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--blood-bright); letter-spacing: 0.05em; padding-top: 2px; white-space: nowrap; }
.flagship-piece__txt { font-size: 1rem; color: var(--ivory); line-height: 1.6; }
.flagship-piece__txt em { font-family: var(--font-display); font-style: italic; color: var(--muted); }

/* --- Journal / carnet (bord déchiré) --- */
.flagship-journal { background: var(--ink-2); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.4rem); position: relative; max-width: var(--wrap-narrow); margin: 0 auto clamp(1.6rem, 3vw, 2.2rem); }
.flagship-journal__label { font-family: var(--font-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(212,175,55,0.7); margin-bottom: 1.1rem; }
.flagship-journal p.flagship-journal__texte { font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.55; color: var(--ivory); }
.flagship-journal__fin { margin-top: 1.4rem; font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
.flagship-journal::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: var(--ink-2);
  clip-path: polygon(0 0,4% 90%,9% 20%,15% 100%,21% 30%,28% 85%,34% 10%,41% 95%,48% 25%,55% 100%,61% 15%,68% 80%,74% 30%,81% 100%,88% 20%,94% 90%,100% 0);
}

/* --- Teaser "du même univers" (carte unique) --- */
.flagship-relate { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none;
  border: 1px solid rgba(212,175,55,0.35); border-radius: var(--radius); padding: 24px 26px;
  max-width: var(--wrap-narrow); margin: 0 auto; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.flagship-relate:hover { border-color: var(--blood-bright); background: rgba(212,175,55,0.05); }
.flagship-relate:focus-visible { outline: 2px solid var(--blood-bright); outline-offset: 3px; }
.flagship-relate__num { font-family: var(--font-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blood-bright); margin-bottom: 8px; }
.flagship-relate__title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--ivory); margin-bottom: 6px; }
.flagship-relate__pitch { font-size: 0.88rem; color: var(--muted); line-height: 1.5; max-width: 38ch; }
.flagship-relate__go { flex-shrink: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--blood-bright); }

@media (max-width: 560px) {
  .flagship-pieces li { gap: 14px; }
  .flagship-relate { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flagship-relate__go { align-self: flex-end; margin-top: -34px; }
}

/* --- Hero resserré, texte au premier plan : la composition suit la
   référence "dossier d'enquête" (plaque → mention → titre → accroche →
   CTA), la couverture devient une petite photo-pièce-à-conviction posée
   après le texte plutôt que le grand visuel dominant des autres fiches. */
body.is-flagship .book-hero {
  min-height: auto;
  align-items: flex-start;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
}
body.is-flagship .book-hero__bg { display: none; }
body.is-flagship .book-hero__door { display: none; }
body.is-flagship .reel__fx { display: none; }
body.is-flagship .book-hero__grid {
  grid-template-columns: 1fr;
  max-width: 560px;
  justify-items: start;
  text-align: left;
}
body.is-flagship .book-hero__body { order: 1; align-items: flex-start; }
body.is-flagship .book-hero__poster {
  order: 2; position: static; top: auto;
  width: 128px; margin: clamp(1.6rem, 4vw, 2.4rem) 0 0;
  transform: rotate(-3deg);
}
body.is-flagship .book-hero__poster .cover { height: auto; width: 100%; margin-inline: 0; aspect-ratio: 2/3; }
body.is-flagship .book-hero__poster .reel__cover-glow { display: none; }
body.is-flagship .book-hero__scene { text-align: left; animation: none; }
body.is-flagship .book-hero__scene .scene__l { animation: none; }
body.is-flagship .reel__kicker { text-align: left; }
body.is-flagship .reel__scroll { display: none; }
