/* Tome Zéro — lecture longue, identité nuit et or. */
.tome-expanded { background: #070b17; color: #f1f0eb; }
.tome-hero { padding: 29px 0 0; background: radial-gradient(ellipse at 80% 40%,#d9a45c0c,transparent 48%),#070b17; border-bottom: 1px solid var(--edge); }
.tome-hero-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.65fr); gap: 70px; align-items: center; padding: 58px 0 56px; }
.tome-hero h1 { font: 600 clamp(48px,6vw,85px)/1.08 'Cinzel',Georgia,serif; letter-spacing: -.045em; color: var(--gold-light); margin: 23px 0 24px; }
.tome-deck { font-size: clamp(27px,3vw,39px); line-height: 1.22; letter-spacing: -.035em; font-weight: 500; margin: 0 0 26px; }
.tome-intro { max-width: 56ch; font-size: 16px; line-height: 1.9; color: #b9c4d5; }
.tome-actions { display: flex; align-items: center; gap: 26px; margin-top: 29px; flex-wrap: wrap; }
.tome-actions .text-link { font-size: 12px; }
.tome-caption { color: #9ca9bd; font-size: 11px; margin: 20px 0 0; }
.tome-hero-book { min-width: 0; }
.tome-hero-book .tome-cover { width: min(100%,340px); margin: auto; }
.tome-hero-book .book { min-height: 410px; aspect-ratio: auto; }
.tome-route { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--edge); }
.tome-route a { display: flex; align-items: center; gap: 16px; padding: 25px 23px; font-size: 12px; color: #d2d8e1; }
.tome-route a + a { border-left: 1px solid var(--edge); }
.tome-route a > span { color: var(--gold); font-family: var(--mono); font-size: 10px; }
.tome-route a > span:last-child { margin-left: auto; font-size: 16px; }
.tome-route a:hover { background: #d9a45c09; color: var(--gold-light); }
.tome-reading { padding: 84px 0 95px; background: #0a101c; }
.tome-reading-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: clamp(35px,7vw,105px); align-items: start; }
.tome-chapter-nav { position: sticky; top: 28px; border-top: 1px solid var(--gold); padding: 22px 0; }
.tome-chapter-nav ol { list-style: none; padding: 16px 0 0; margin: 0; }
.tome-chapter-nav a { display: block; padding: 9px 0; font-size: 12px; line-height: 1.6; color: #aab7c9; }
.tome-chapter-nav a:hover,.tome-chapter-nav a:focus-visible { color: var(--gold-light); }
.tome-body { min-width: 0; max-width: 900px; }
.tome-chapter { scroll-margin-top: 28px; padding: 0 0 65px; }
.tome-chapter + .tome-chapter { border-top: 1px solid var(--edge); padding-top: 65px; }
.tome-chapter h2 { font-weight: 500; font-size: clamp(31px,3.6vw,49px); line-height: 1.12; letter-spacing: -.04em; margin: 20px 0 26px; }
.tome-chapter h3 { font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 13px; color: #f1eee6; }
.tome-chapter p,.tome-sources p,.tome-sources li { font-size: 15px; line-height: 1.9; color: #b7c3d3; margin: 16px 0; }
.tome-chapter > p { max-width: 73ch; }
.tome-chapter p.chapter-lead { font-size: 19px; line-height: 1.6; color: #e7e2d8; margin-bottom: 27px; max-width: 58ch; }
.tome-chapter p.meta { color: var(--gold); font-size: 10px; line-height: 1.5; }
.tome-quote { margin: 36px 0; border-left: 1px solid var(--gold); padding: 8px 0 8px 28px; }
.tome-quote blockquote { margin: 0 0 16px; max-width: 30ch; font: italic 500 clamp(28px,3vw,40px)/1.25 'EB Garamond',Garamond,Georgia,serif; color: var(--gold-light); }
.tome-quote figcaption,.tome-book-layout figcaption { color: #9ca9bd; font-size: 10px; line-height: 1.7; }
.tome-thread { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 31px; border-block: 1px solid var(--edge); }
.tome-thread > div { padding: 23px 15px; }
.tome-thread > div:first-child { padding-left: 0; }
.tome-thread > div + div { border-left: 1px solid var(--edge); }
.tome-thread .meta { color: var(--gold); font-size: 9px; }
.tome-thread strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; margin-top: 13px; }
.tome-book-layout { display: grid; grid-template-columns: minmax(130px,.38fr) minmax(0,1fr); gap: 32px; align-items: start; margin-top: 29px; }
.tome-book-layout figure { margin: 0; position: sticky; top: 28px; }
.tome-book-layout img { width: 100%; height: auto; display: block; border: 1px solid #d9a45c55; box-shadow: 0 18px 30px #0006; }
.tome-book-layout figcaption { margin-top: 13px; }
.tome-book-layout h3:not(:first-child) { margin-top: 30px; }
.tome-book-layout p { font-size: 14px; }
.tome-notions { margin-top: 29px; }
.tome-notion { border-top: 1px solid var(--edge); }
.tome-notion:last-child { border-bottom: 1px solid var(--edge); }
.tome-notion summary { display: grid; grid-template-columns: 33px 1fr 22px; align-items: start; gap: 16px; padding: 22px 0; list-style: none; cursor: pointer; }
.tome-notion summary::-webkit-details-marker { display: none; }
.tome-notion summary::after,.tome-notion[open] summary::after { content: none; }
.notion-number { font: 10px/2.6 var(--mono); color: var(--gold); }
.tome-notion summary strong { font-size: 21px; font-weight: 500; color: #f2eee7; }
.tome-notion summary small { display: block; margin-top: 7px; color: #aebacd; font-size: 12px; font-weight: 400; line-height: 1.6; }
.notion-toggle { color: var(--gold); font-size: 24px; font-weight: 400; line-height: 1.2; }
.tome-notion[open] .notion-toggle { transform: rotate(45deg); }
.notion-copy { padding: 0 38px 26px 49px; }
.notion-copy > p { margin-top: 0; }
.notion-example { background: #d9a45c07; border-left: 1px solid #d9a45c66; padding: 20px 23px; margin-top: 22px; }
.notion-example p { margin-bottom: 0; font-size: 14px; }
.notion-example .meta { font-size: 9px; }
.tome-chapter p.tome-source-note { font-size: 11px; color: #98a7bd; line-height: 1.8; margin-top: 22px; }
.tome-doors { list-style: none; padding: 0; margin: 28px 0; }
.tome-doors li { display: grid; grid-template-columns: 48px 1fr; gap: 22px; border-top: 1px solid var(--edge); padding: 24px 0; }
.door-number { color: var(--gold); font: 400 30px/1.1 'Cinzel',Georgia,serif; padding-top: 2px; }
.tome-doors h3 { font-size: 21px; }
.tome-doors p { margin: 0; font-size: 14px; }
.tome-aside-note { padding: 27px 30px; border: 1px solid #d9a45c45; background: #0d1523; }
.tome-aside-note p { font-size: 14px; }
.tome-checkpoints { margin: 30px 0; }
.tome-checkpoints article { border-left: 1px solid var(--gold); padding: 0 0 0 26px; margin-bottom: 30px; }
.tome-checkpoints h3 { margin: 12px 0 10px; }
.tome-checkpoints p { margin: 0; font-size: 14px; }
.tome-reader-question,.tome-sources { border-top: 1px solid var(--edge); }
.tome-reader-question summary,.tome-sources summary { display: flex; justify-content: space-between; gap: 25px; cursor: pointer; padding: 20px 0; list-style: none; color: #ede9e0; font-size: 15px; line-height: 1.6; }
.tome-reader-question summary::after,.tome-sources summary::after { color: var(--gold); flex-shrink: 0; }
.tome-reader-question summary::-webkit-details-marker,.tome-sources summary::-webkit-details-marker { display: none; }
.tome-reader-question + .text-link { display: inline-block; margin-top: 25px; }
.tome-next-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px; margin-top: 33px; }
.tome-next-links > a { display: flex; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--edge); padding-top: 24px; }
.tome-next-links .meta { font-size: 8px; line-height: 1.9; }
.tome-next-links h3 { margin-top: 18px; font-size: 21px; }
.tome-next-links p { margin: 0 0 22px; font-size: 13px; }
.tome-next-links .text-link { margin-top: auto; font-size: 11px; }
.tome-chapter p.tome-closing-motto { font: italic 500 clamp(30px,3vw,40px)/1.25 'EB Garamond',Garamond,Georgia,serif; color: var(--gold-light); text-align: center; margin: 62px auto 0; }
.tome-sources { padding-bottom: 5px; scroll-margin-top: 26px; }
.tome-sources p,.tome-sources li { font-size: 12px; }
.tome-sources ol { padding-left: 20px; }
.tome-sources strong { color: #e1d9c9; }
.tome-expanded summary:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
@media (max-width: 1100px) {
  .tome-hero-grid { gap: 36px; }
  .tome-hero-book .book { min-height: 345px; }
  .tome-reading-layout { grid-template-columns: 175px minmax(0,1fr); gap: 40px; }
  .tome-book-layout { grid-template-columns: 150px minmax(0,1fr); gap: 25px; }
  .tome-next-links { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 860px) {
  .tome-hero-grid { grid-template-columns: minmax(0,1fr) 215px; gap: 25px; }
  .tome-hero-book .book { min-height: 300px; }
  .tome-deck { font-size: 30px; }
  .tome-intro { font-size: 14px; }
  .tome-reading { padding-top: 44px; }
  .tome-reading-layout { grid-template-columns: minmax(0,1fr); gap: 45px; }
  .tome-chapter-nav { position: static; border-bottom: 1px solid var(--edge); }
  .tome-chapter-nav ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
  .tome-route a { padding: 18px 14px; gap: 10px; font-size: 11px; }
}
@media (max-width: 600px) {
  .tome-hero { padding-top: 20px; }
  .tome-hero-grid { grid-template-columns: minmax(0,1fr); padding-top: 35px; gap: 36px; }
  .tome-hero h1 { font-size: clamp(42px,13vw,66px); margin-block: 20px; }
  .tome-deck { font-size: 30px; }
  .tome-hero-book { display: flex; justify-content: center; }
  .tome-hero-book .tome-cover { max-width: 230px; }
  .tome-hero-book .book { min-height: 310px; }
  .tome-actions { gap: 21px; }
  .tome-route { grid-template-columns: minmax(0,1fr); }
  .tome-route a { padding: 18px 0; font-size: 12px; }
  .tome-route a + a { border-left: 0; border-top: 1px solid var(--edge); }
  .tome-chapter-nav ol { gap: 0 12px; }
  .tome-chapter-nav a { font-size: 11px; }
  .tome-chapter { padding-bottom: 45px; }
  .tome-chapter + .tome-chapter { padding-top: 45px; }
  .tome-chapter h2 { font-size: 34px; }
  .tome-chapter p.chapter-lead { font-size: 18px; }
  .tome-chapter p { font-size: 14px; }
  .tome-quote { padding-left: 22px; margin-block: 30px; }
  .tome-thread { grid-template-columns: 1fr; }
  .tome-thread > div,.tome-thread > div:first-child { padding: 19px 0; }
  .tome-thread > div + div { border-left: 0; border-top: 1px solid var(--edge); }
  .tome-thread strong { margin-top: 6px; }
  .tome-book-layout { grid-template-columns: minmax(0,1fr); }
  .tome-book-layout figure { width: 165px; position: static; }
  .tome-notion summary { grid-template-columns: 23px 1fr 18px; gap: 11px; }
  .tome-notion summary strong { font-size: 20px; }
  .notion-copy { padding: 0 0 24px 34px; }
  .notion-example { padding: 16px; }
  .tome-doors li { grid-template-columns: 35px 1fr; gap: 14px; }
  .tome-doors h3 { font-size: 20px; }
  .door-number { font-size: 25px; }
  .tome-aside-note { padding: 22px; }
  .tome-checkpoints article { padding-left: 20px; }
  .tome-reader-question summary { font-size: 14px; }
}
