/* Projet JILL — site statique. Palette et typographie du livre. */
:root {
  --cream: #f6efe2;
  --cream-2: #efe4d0;
  --paper: #fbf6ec;
  --ink: #2a1d18;
  --ink-soft: #4a352c;
  --russet: #6d2814;
  --ember: #b8461f;
  --gold: #c4a574;
  --gold-deep: #a6854d;
  --ida: #8a5a3c;
  --night: #161114;
  --night-2: #231a17;
  --rule: rgba(184, 70, 31, 0.45);
  --shadow: 0 1.6rem 3.5rem rgba(26, 16, 12, 0.28);
  --max: 70rem;
  --text: 38rem;
  --header-h: 4.25rem;
  --font-serif: "Crimson Text", "Palatino Linotype", Palatino, "Noto Serif", serif;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-sc: "Cormorant SC", "Cormorant Garamond", serif;
  --font-ar: "Noto Naskh Arabic", "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;
  --font-zh: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
}

@font-face { font-family: "Crimson Text"; src: url("/fonts/CrimsonText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/CrimsonText-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/CrimsonText-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/CrimsonText-SemiBoldItalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/CrimsonText-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/CrimsonText-BoldItalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-SemiBoldItalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant SC"; src: url("/fonts/CormorantSC-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant SC"; src: url("/fonts/CormorantSC-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("/fonts/NotoNaskhArabic-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("/fonts/NotoNaskhArabic-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif SC"; src: url("/fonts/NotoSerifSC-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif SC"; src: url("/fonts/NotoSerifSC-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.6rem); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body[lang="ar"], html[lang="ar"] body { font-family: var(--font-ar), var(--font-serif); font-size: 1.2rem; line-height: 1.9; }
body[lang="zh"], html[lang="zh"] body { font-family: var(--font-zh), var(--font-serif); font-size: 1.05rem; line-height: 1.85; letter-spacing: 0.01em; }

img, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--russet); text-underline-offset: 0.18em; }
a:hover { color: var(--ember); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.skip {
  position: absolute; inset-inline-start: 0.8rem; top: -100px;
  background: var(--night); color: var(--cream); padding: 0.5rem 0.9rem; z-index: 1000;
}
.skip:focus { top: 0.6rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.wrap-text { width: min(var(--text), calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 226, 0.92);
  border-bottom: 1px solid rgba(196, 165, 116, 0.45);
}
.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ember);
  font-size: 0.92rem;
  white-space: nowrap;
  margin-inline-end: auto;
}
.logo:hover { color: var(--russet); }
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--gold);
  color: var(--ink); padding: 0.35rem 0.6rem;
  font-family: var(--font-sc); letter-spacing: 0.08em; font-size: 0.75rem;
  cursor: pointer; border-radius: 2px;
}
.site-nav { display: flex; align-items: center; gap: 0.2rem 1rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft);
  font-family: var(--font-sc), var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: lowercase; font-variant: small-caps;
}
html[lang="ar"] .site-nav a,
html[lang="zh"] .site-nav a {
  font-family: inherit; letter-spacing: 0; text-transform: none; font-variant: normal; font-size: 0.92rem;
}
.site-nav a:hover, .site-nav a[aria-current="location"] { color: var(--ember); }

.lang-switch { display: flex; gap: 0.35rem; align-items: center; margin-inline-start: 0.4rem; flex-wrap: wrap; }
.lang-switch a, .lang-switch span {
  font-family: var(--font-sc), var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.06em;
  text-decoration: none; color: var(--ida);
  padding: 0.15rem 0.3rem;
  border: 1px solid transparent;
  border-radius: 2px;
}
.lang-switch a:hover { color: var(--ember); }
.lang-switch a[aria-current="page"] {
  color: var(--russet);
  border-color: var(--gold);
  background: var(--paper);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, #1a1412 0%, #2a1c16 55%, #3a2418 100%);
  color: #f6efe2;
  overflow: hidden;
  padding: 3.2rem 0 4rem;
}
.hero-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.kicker {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
html[lang="ar"] .kicker, html[lang="zh"] .kicker { letter-spacing: 0.12em; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.15;
  margin: 0 0 0.3rem;
  color: #fbf6ec;
}
.hero .subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: #e8cbb0;
  margin: 0 0 1rem;
}
.hero-tag {
  font-style: italic;
  color: #d9c4ae;
  margin: 0 0 0.35rem;
}
.hero-author {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  margin: 1.1rem 0 1.6rem;
}
.hero blockquote, .quote {
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
}
.hero .quote-original {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: #f6efe2;
  margin: 0;
}
.hero .quote-tr { color: #d4b99a; font-size: 0.98rem; margin: 0.45rem 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.cover-frame {
  justify-self: center;
  width: min(22rem, 100%);
}
.cover-frame img, .cover-frame picture {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.cover-frame figcaption {
  font-size: 0.85rem;
  color: #d4b99a;
  text-align: center;
  margin-top: 0.7rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  font-variant: small-caps;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 2px;
  border: 1px solid var(--gold);
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}
html[lang="ar"] .btn, html[lang="zh"] .btn {
  font-family: inherit; letter-spacing: 0; text-transform: none; font-variant: normal;
}
.btn:hover { background: rgba(196,165,116,0.15); color: #fff; }
.btn-solid {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}
.btn-solid:hover { background: #9a3a18; color: #fff; }
.btn-ink {
  color: var(--russet);
  border-color: var(--gold);
  background: transparent;
}
.btn-ink:hover { background: rgba(184,70,31,0.06); color: var(--ember); }
.btn[aria-disabled="true"], .btn.is-soon {
  opacity: 0.72;
  cursor: not-allowed;
  pointer-events: none;
  border-style: dashed;
}

/* Sections */
.section { padding: 4.2rem 0; }
.section-alt { background: var(--paper); }
.section-night {
  background: var(--night);
  color: #f3e8d8;
}
.section-night h2, .section-night .lede { color: #f6efe2; }
.section-night p { color: #e6d5c3; }
.eyebrow {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.2em;
  text-transform: lowercase;
  font-variant: small-caps;
  color: var(--ember);
  font-size: 0.85rem;
  margin: 0 0 0.4rem;
  text-align: center;
}
html[lang="ar"] .eyebrow, html[lang="zh"] .eyebrow {
  font-family: inherit; letter-spacing: 0.06em; text-transform: none; font-variant: normal;
}
.section-night .eyebrow { color: var(--gold); }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  color: var(--russet);
  text-align: center;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}
.lede {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ida);
  width: min(36rem, calc(100% - 2rem));
  margin: 0 auto 2.2rem;
}
.prose { width: min(var(--text), calc(100% - 2rem)); margin-inline: auto; }
.prose p { margin: 0 0 1.05em; }
.prose p:last-child { margin-bottom: 0; }

blockquote.book-quote, .book-quote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-inline-start: 3px solid var(--ember);
}
.section-alt blockquote.book-quote { background: var(--cream); }
.quote-original {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}
.quote-tr {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.quote-attr {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--ida);
  text-align: end;
}
html[lang="ar"] .quote-attr, html[lang="zh"] .quote-attr {
  font-family: inherit; letter-spacing: 0.08em;
}
.ida-sig { letter-spacing: 0.28em; }

/* Split with figure */
.split {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split .prose { width: auto; margin: 0; }
.split figure img { width: 100%; border-radius: 2px; box-shadow: 0 0.8rem 2rem rgba(26,16,12,0.18); }
.split figcaption {
  font-size: 0.88rem; color: var(--ida);
  margin-top: 0.55rem; font-style: italic; text-align: center;
}

/* Drawers */
.drawers {
  width: min(var(--max), calc(100% - 2rem));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.drawer {
  background: var(--paper);
  border: 1.5px solid var(--gold);
  padding: 1.3rem 1.2rem 1.4rem;
}
.drawer h3 {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.12em;
  text-transform: lowercase;
  font-variant: small-caps;
  font-weight: 600;
  color: var(--ember);
  font-size: 1.05rem;
  margin: 0 0 0.7rem;
  text-align: center;
}
html[lang="ar"] .drawer h3, html[lang="zh"] .drawer h3 {
  font-family: inherit; letter-spacing: 0; text-transform: none; font-variant: normal;
}
.drawer p { margin: 0; font-size: 1.02rem; }
.limits { margin-top: 2.2rem; }
.limits h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--russet);
  font-size: 1.45rem;
  text-align: center;
  margin: 0 0 0.8rem;
}

/* Ida box */
.ida-panel {
  width: min(40rem, calc(100% - 2rem));
  margin: 1.8rem auto 0;
  padding: 1.5rem 1.4rem 1.2rem;
  background: #f8f1e3;
  border: 1.5px solid var(--gold);
}
.ida-panel .quote-original { color: var(--ida); }
.ida-panel .ida-sig {
  text-align: center;
  color: var(--ida);
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.32em;
  margin: 0.9rem 0 0;
}

/* Excerpt */
.excerpt {
  width: min(36rem, calc(100% - 2rem));
  margin-inline: auto;
  text-align: center;
}
.excerpt .quote-original {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  text-align: center;
  line-height: 1.55;
}
.excerpt .quote-tr { text-align: center; }
.excerpt-source { margin-top: 1.2rem; color: var(--ida); font-size: 0.92rem; font-style: italic; }

/* Book CTA */
.book-card {
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--gold);
  padding: 1.3rem;
}
.book-card img { width: 100%; box-shadow: 0 0.5rem 1.2rem rgba(26,16,12,0.2); }
.book-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--russet);
  margin: 0 0 0.3rem;
}
.book-card p { margin: 0 0 0.8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.soon-note { font-size: 0.92rem; color: var(--ida); margin: 0.6rem 0 0 !important; }

/* Contact */
.placeholder {
  color: var(--russet);
  font-style: italic;
  border-bottom: 1px dashed var(--gold-deep);
  padding: 0 0.15em;
}
.mailto-placeholder {
  display: inline-block;
  margin-top: 0.3rem;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: #e6d5c3;
  padding: 2.6rem 0 1.6rem;
  font-size: 0.98rem;
}
.footer-inner { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  text-align: center;
  font-size: 1.2rem;
  color: #f3e8d8;
  margin: 0 0 0.5rem;
}
.footer-quote-tr { text-align: center; color: #c9b198; margin: 0 0 1.6rem; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; justify-content: center; margin-bottom: 1.1rem; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: #f3e8d8; }
.footer-legal { text-align: center; color: #b9a28c; font-size: 0.9rem; }
.footer-legal p { margin: 0.25rem 0; }

/* Mentions / 404 */
.page-simple { padding: 5.5rem 0 4rem; }
.page-simple h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--russet);
  text-align: center;
  font-size: 2.2rem;
}

hr.ornament {
  border: 0; width: 3.5rem; height: 1px;
  background: var(--gold); margin: 0.8rem auto 1.4rem;
}

@media (max-width: 900px) {
  .hero-grid, .split, .drawers { grid-template-columns: 1fr; }
  .hero { padding: 2.2rem 0 3rem; }
  .cover-frame { width: min(16.5rem, 70%); order: -1; }
  .hero-grid { gap: 1.8rem; text-align: center; }
  .hero-cta, .cta-row { justify-content: center; }
  .hero .quote-original, .hero .quote-tr { text-align: center; }
  .book-card { grid-template-columns: 6.5rem 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--gold);
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .site-nav.is-open { display: flex; }
  .lang-switch { margin: 0.4rem 0 0; }
  body { font-size: 1.06rem; }
  .section { padding: 3.1rem 0; }
  .book-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .book-card img { width: 8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Press / parcours */
.press-list {
  width: min(var(--text), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.press-item {
  background: var(--paper);
  border: 1px solid var(--gold);
  padding: 1.15rem 1.2rem 1.2rem;
}
.section-alt .press-item { background: var(--cream); }
.press-item .meta {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-variant: small-caps;
  color: var(--ember);
  font-size: 0.88rem;
  margin: 0 0 0.4rem;
}
html[lang="ar"] .press-item .meta,
html[lang="zh"] .press-item .meta {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  font-variant: normal;
}
.press-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--russet);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.press-item p { margin: 0 0 0.5rem; }
.press-item p:last-child { margin-bottom: 0; }
.quote-source {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--ida);
  font-style: italic;
}
.inline-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; margin-top: 0.3rem; }

/* Mentions */
.legal { width: min(38rem, calc(100% - 2rem)); margin-inline: auto; }
.legal h2 {
  font-size: 1.35rem;
  text-align: start;
  margin: 1.8rem 0 0.6rem;
}
.legal p, .legal li { margin: 0 0 0.8rem; }
.legal ul { padding-inline-start: 1.2rem; }
.site-footer blockquote { border: 0; background: transparent; padding: 0; margin: 0 0 1.3rem; }
.site-footer .quote-original { color: #f3e8d8; text-align: center; }
.site-footer .quote-tr { color: #c9b198; text-align: center; margin-top: 0.4rem; }
.site-footer .quote-attr { display: none; }
.ida-panel blockquote { border: 0; background: transparent; padding: 0; margin: 0 0 1rem; }
.quote-original { text-wrap: pretty; }

/* Timeline — same palette, no new colors */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(var(--text), calc(100% - 2rem));
  border-inline-start: 2px solid var(--gold);
}
.timeline li {
  position: relative;
  padding: 0 0 1.6rem 1.3rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: -0.4rem;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--ember);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-sizing: border-box;
}
.timeline time, .timeline .when {
  display: block;
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-variant: small-caps;
  color: var(--ember);
  font-size: 0.92rem;
  margin: 0 0 0.3rem;
}
html[lang="ar"] .timeline time,
html[lang="ar"] .timeline .when,
html[lang="zh"] .timeline time,
html[lang="zh"] .timeline .when {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  font-variant: normal;
}
.timeline p { margin: 0 0 0.5rem; }
.timeline p:last-child { margin-bottom: 0; }
.hero-intro { margin: 0 0 1rem; color: #e6d5c3; max-width: 36rem; }
.hero .hero-intro { font-size: 1.08rem; line-height: 1.55; }
#book .excerpt { margin-top: 2.4rem; }
#book .excerpt .quote-original { font-size: 1.25rem; }
.excerpt-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--russet);
  text-align: center;
  margin: 0 0 0.8rem;
}

/* Official logo in the header */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-inline-end: auto;
}
.logo picture,
.logo img {
  display: block;
}
.logo img {
  height: 3rem;
  width: auto;
}
.logo span {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  font-size: 0.95rem;
  white-space: nowrap;
}
.logo:hover span { color: var(--russet); }

/* Press card with article scan */
.press-card {
  display: grid;
  grid-template-columns: minmax(12rem, 16rem) 1fr;
  gap: 1.6rem;
  align-items: start;
}
.press-thumb {
  display: block;
  text-decoration: none;
  color: inherit;
}
.press-thumb img,
.press-thumb picture img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(196, 165, 116, 0.55);
  box-shadow: 0 8px 24px rgba(42, 29, 24, 0.08);
  background: #fff;
}
.press-thumb-label {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-sc), var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ember);
}
.press-quotes { margin: 1rem 0; }
.press-quote {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}
.press-quote .quote-original {
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.press-quote-attr {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}
.press-links { margin-top: 0.8rem; }

/* FAQ */
.faq-list { max-width: var(--text); }
.faq-item {
  border-top: 1px solid rgba(196, 165, 116, 0.45);
  padding: 0.15rem 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(196, 165, 116, 0.45); }
.faq-item summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--russet);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: inline-end;
  color: var(--gold);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* Contact */
.mailto {
  font-size: 1.2rem;
  font-family: var(--font-display);
  margin: 0.6rem 0 1rem;
}
.mailto a { color: var(--ember); }
.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}
.contact-links a { color: var(--ink); }

@media (max-width: 800px) {
  .press-card { grid-template-columns: 1fr; }
  .press-thumb { max-width: 22rem; }
}
@media (max-width: 720px) {
  .logo span { letter-spacing: 0.14em; font-size: 0.82rem; }
  .logo img { height: 2.5rem; }
}

/* Square wordmark in the footer, discreet */
.footer-logo {
  display: block;
  width: 7.2rem;
  margin: 0 auto 1.5rem;
}
.footer-logo img {
  width: 100%;
  height: auto;
  border-radius: 0.3rem;
  box-shadow: 0 0 0 1px rgba(196, 165, 116, 0.4);
}

/* Le contexte — monthly anomalies */
.temp-list {
  list-style: none;
  margin: 1.4rem auto 0.6rem;
  padding: 0;
  width: min(var(--text), calc(100% - 2rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.2rem;
}
.temp-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: var(--paper);
  border: 1px solid rgba(196, 165, 116, 0.45);
}
.temp-list .temp-when {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  font-variant: small-caps;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
html[lang="ar"] .temp-list .temp-when,
html[lang="zh"] .temp-list .temp-when {
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  font-variant: normal;
}
.temp-list strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--russet);
  font-size: 1.15rem;
  white-space: nowrap;
}
.temp-source {
  width: min(var(--text), calc(100% - 2rem));
  margin: 0 auto 1.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}
.ref-list {
  width: min(var(--text), calc(100% - 2rem));
  margin: 1.2rem auto 0;
  padding: 0;
  list-style: none;
}
.ref-list li {
  margin: 0 0 0.45rem;
  padding-inline-start: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.ref-list a { color: var(--ember); }

/* Les autres pistes */
.pistes-grid {
  width: min(68rem, calc(100% - 2rem));
  margin: 1.6rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.piste {
  background: var(--paper);
  border: 1px solid rgba(196, 165, 116, 0.5);
  padding: 1.15rem 1.2rem 1.25rem;
}
.piste-jill {
  grid-column: 1 / -1;
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffaf2 0%, var(--cream) 100%);
}
.piste-n {
  margin: 0 0 0.25rem;
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.14em;
  color: var(--gold);
  font-size: 0.85rem;
}
.piste h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.28rem;
  color: var(--russet);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.piste-who {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: var(--ember);
  font-style: italic;
}
.piste p { margin: 0 0 0.7rem; color: var(--ink-soft); }
.piste p:last-child { margin-bottom: 0; }
.piste-risks {
  font-size: 0.95rem;
  color: var(--ink) !important;
}
.pistes-close { margin-top: 1.5rem; }

/* Presse — une + page 6 */
.press-pages {
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.press-pages .press-thumb { max-width: none; }
.press-card-text {
  width: min(var(--text), calc(100% - 2rem));
  margin: 0 auto;
  display: block;
}
.press-links .sep { color: var(--gold); padding: 0 0.15rem; }
.press-links .sep::before { content: "·"; }

@media (max-width: 800px) {
  .temp-list,
  .pistes-grid,
  .press-pages { grid-template-columns: 1fr; }
  .piste-jill { grid-column: auto; }
  .press-pages .press-thumb { max-width: 22rem; margin-inline: auto; }
}

/* Citations, new rubriques, book excerpt, closing */
a.fn-ref {
  font-size: 0.72em;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
  margin-inline-start: 0.12em;
  white-space: nowrap;
  vertical-align: super;
  line-height: 0;
}
a.fn-ref:hover { color: var(--russet); text-decoration: underline; }

.fact-list {
  width: min(var(--text), calc(100% - 2rem));
  margin: 1.2rem auto 1.4rem;
  padding: 0;
  list-style: none;
}
.fact-list li {
  margin: 0 0 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-left: 3px solid var(--gold);
}
[dir="rtl"] .fact-list li { border-left: none; border-right: 3px solid var(--gold); }
.fact-list strong { color: var(--russet); }

.risk-grid,
.phases-grid {
  width: min(68rem, calc(100% - 2rem));
  margin: 1.4rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.risk-card, .phase {
  background: var(--paper);
  border: 1px solid rgba(196, 165, 116, 0.5);
  padding: 1.15rem 1.2rem 1.25rem;
}
.risk-card h3, .phase h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.22rem;
  color: var(--russet);
  margin: 0 0 0.5rem;
}
.phase-n {
  margin: 0 0 0.2rem;
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 0.85rem;
}
.phase-when { margin: 0 0 0.6rem; font-size: 0.92rem; color: var(--ember); font-style: italic; }
.phase-gate { margin: 0.8rem 0 0; font-size: 0.95rem; color: var(--ink); }
.sub-h {
  width: min(var(--text), calc(100% - 2rem));
  margin: 2rem auto 0.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--russet);
  font-size: 1.45rem;
}
.table-wrap {
  width: min(var(--text), calc(100% - 2rem));
  margin: 0 auto 1rem;
  overflow-x: auto;
}
.budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.budget-table th, .budget-table td {
  text-align: start;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(196, 165, 116, 0.45);
}
.budget-table thead th { color: var(--russet); font-weight: 600; }
.budget-table tbody tr:last-child th,
.budget-table tbody tr:last-child td { font-weight: 600; }
.dossier-cta { width: min(var(--text), calc(100% - 2rem)); margin: 1.2rem auto; }
.excerpt-long {
  width: min(var(--text), calc(100% - 2rem));
  margin: 2rem auto 0;
}
.excerpt-chap {
  font-family: var(--font-display);
  color: var(--russet);
  font-size: 1.2rem;
  margin: 1.3rem 0 0.6rem;
}
.excerpt-p { margin: 0 0 0.85rem; }
.excerpt-tr { font-size: 0.98em; color: var(--ink-soft); }
.btn.is-soon,
a.btn.is-soon {
  opacity: 0.72;
  pointer-events: none;
  cursor: not-allowed;
  background: transparent;
  color: var(--russet);
  border: 1px dashed var(--gold);
}
.section-close {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.close-label {
  font-family: var(--font-sc), var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.85rem;
  margin: 0 0 1.2rem;
}
.close-quote { margin-left: auto; margin-right: auto; max-width: 36rem; }
.pourquoi-figs {
  display: grid;
  gap: 1.1rem;
}
.source-list {
  width: min(var(--text), calc(100% - 2rem));
  margin: 1.2rem auto 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.source-list li {
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(196, 165, 116, 0.35);
  font-size: 0.95rem;
  line-height: 1.45;
}
.source-list .src-n {
  font-family: var(--font-sc), var(--font-display);
  color: var(--ember);
  margin-inline-end: 0.35rem;
  font-weight: 600;
}
.source-list a { color: var(--ink); }
.source-list a:hover { color: var(--ember); }
#sources { scroll-margin-top: 5rem; }
.hero-cta { flex-wrap: wrap; }

@media (max-width: 800px) {
  .risk-grid, .phases-grid { grid-template-columns: 1fr; }
}
