/* Ebook Corp — couche de finition.
   Chargée après le bundle "edition" de chaque page : typographie commune,
   pied de page « pages de garde », cohérence des boutons, corrections ciblées. */

/* ---------- 1. Typographie ---------- */
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 104%;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
  size-adjust: 104%;
}

:root {
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fin-night: #171d31;
  --fin-night-2: #1f2845;
  --fin-paper: #f7f2e7;
  --fin-gilt: #c9a86a;
  --fin-accent: #273e7b;
  --fin-accent-strong: #1f3266;
  --fin-ease: cubic-bezier(.2, .75, .15, 1);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-optical-sizing: auto;
}

h1, h2, h3, h4 { text-wrap: balance; }
main p, main li, main figcaption, main blockquote { text-wrap: pretty; }

/* Chiffres alignés dans les tableaux et compteurs */
table, .collection-stats, [data-count] { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- 2. Boutons : une seule famille ---------- */
.quiz-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 36px auto;
  padding: 20px 22px 20px 26px;
  border: 1px solid #dce4ef;
  border-radius: 20px;
  background: #f5f7fb;
}
.quiz-cta p { margin: 0; color: #253651; font-weight: 600; }
@media (max-width: 800px) {
  .quiz-cta { margin-inline: var(--gutter, 24px); }
}

.quiz-cta a,
.quiz-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--fin-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -14px rgba(39, 62, 123, .9);
  transition: background-color .2s ease, transform .2s var(--fin-ease), box-shadow .2s ease;
}
.quiz-cta a:hover,
.quiz-cta a:focus-visible,
.quiz-submit:hover,
.quiz-submit:focus-visible {
  background: var(--fin-accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -14px rgba(39, 62, 123, 1);
}
.quiz-cta a:active,
.quiz-submit:active { transform: translateY(0); }
html.motion-off .quiz-cta a,
html.motion-off .quiz-submit { transition: none; transform: none; }

/* ---------- 3. Corrections ciblées ---------- */

/* Articles du journal : l'ancien retrait prévu pour un en-tête flottant laissait un vide. */
.reading-guide-header.section-wrap { padding-top: clamp(26px, 3.6vw, 52px); }

/* Paragraphe de liens posé hors section : il touchait le bord de l'écran. */
p.section-wrap.book-editorial-related {
  box-sizing: border-box;
  max-width: calc(72ch + 2 * var(--gutter, 24px));
  margin: clamp(24px, 4vw, 44px) 0;
  padding-inline: var(--gutter, 24px);
  color: #46526b;
  line-height: 1.7;
}

/* Bloc éditorial « ec-next-reading » : pleine largeur et sans marges sur certaines pages. */
.section-wrap.ec-next-reading {
  box-sizing: border-box;
  width: auto;
  max-width: min(1044px, calc(100% - 2 * var(--gutter, 24px)));
  margin: clamp(28px, 5vw, 64px) auto;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid #dce4ed;
  border-radius: 24px;
  background: linear-gradient(120deg, #f3f6fb, #fff 70%);
}
.section-wrap.ec-next-reading > .eyebrow { margin: 0 0 10px; }
.section-wrap.ec-next-reading > h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.1;
}
.section-wrap.ec-next-reading > h3 {
  margin: 26px 0 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
}
.section-wrap.ec-next-reading > p:not(.eyebrow) {
  max-width: 72ch;
  margin: 12px 0 0;
  color: #46526b;
  line-height: 1.7;
}

/* ---------- 4. Pied de page : les pages de garde ----------
   Le site se referme comme un livre relié : papier de garde bleu nuit,
   trame de points reprise du logo, et un ex-libris collé pour la marque. */
body > .footer.footer.section-wrap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  margin: clamp(40px, 6vw, 88px) var(--sc-inset, var(--gutter, 24px)) clamp(14px, 2vw, 28px);
  padding: clamp(28px, 4vw, 60px) clamp(22px, 4.2vw, 68px) 22px;
  border-radius: var(--sc-band-radius, 28px);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(59, 85, 160, .42), transparent 62%),
    linear-gradient(160deg, var(--fin-night-2), var(--fin-night) 58%);
  color: #dfe4f0;
}
/* Trame de points, plus dense vers le coin de l'ex-libris */
body > .footer.footer.section-wrap::before,
body > .footer.footer.section-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body > .footer.footer.section-wrap::before {
  background-image: radial-gradient(circle, rgba(214, 224, 247, .16) 1.15px, transparent 1.7px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(75% 115% at 0% 100%, #000 0%, rgba(0, 0, 0, .35) 42%, transparent 72%);
          mask-image: radial-gradient(75% 115% at 0% 100%, #000 0%, rgba(0, 0, 0, .35) 42%, transparent 72%);
}
body > .footer.footer.section-wrap::after {
  inset: 10px;
  border: 1px solid rgba(201, 168, 106, .22);
  border-radius: calc(var(--sc-band-radius, 28px) - 10px);
}

.footer.footer .footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 80px);
}

/* L'ex-libris */
.footer.footer .footer-top > div:first-child {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 232px;
  padding: 20px 20px 18px;
  border-radius: 5px;
  background: var(--fin-paper);
  color: #5b4c2a;
  text-align: center;
  box-shadow:
    inset 0 0 0 5px var(--fin-paper),
    inset 0 0 0 6px rgba(160, 128, 66, .55),
    0 22px 40px -22px rgba(0, 0, 0, .75);
  transform: rotate(-1.4deg);
}
.footer.footer .footer-top > div:first-child::before {
  content: "Ex-libris";
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: .01em;
}
.footer.footer .footer-top > div:first-child::after {
  content: "Des livres, des voix, des horizons.";
  max-width: 17ch;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.02rem;
  line-height: 1.25;
  color: #3c4664;
}
html[lang="en"] .footer.footer .footer-top > div:first-child::after {
  content: "Books, voices and new horizons.";
}
.footer.footer .footer-top .brand { display: block; line-height: 0; }
.footer.footer .footer-top .brand-logo {
  width: 168px;
  height: auto;
  mix-blend-mode: multiply; /* le fond blanc du logo se fond dans le papier */
}

/* Les colonnes de liens */
.footer.footer .footer-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 30px clamp(36px, 5vw, 84px);
}
.footer.footer .footer-directory > div { display: flex; flex-direction: column; gap: 9px; }
.footer.footer .footer-directory h3 {
  margin: 0 0 12px;
  color: var(--fin-gilt);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer.footer .footer-directory a {
  width: fit-content;
  color: rgba(226, 232, 245, .8);
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: underline transparent 1px;
  text-underline-offset: 4px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.footer.footer .footer-directory a:hover,
.footer.footer .footer-directory a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(201, 168, 106, .9);
}

/* Le colophon */
.footer.footer .footer-bottom {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 245, .14);
  color: rgba(226, 232, 245, .62);
}
.footer.footer .footer-bottom a,
.footer.footer .footer-bottom button { color: inherit; }
.footer.footer .footer-bottom a:hover,
.footer.footer .footer-bottom a:focus-visible,
.footer.footer .footer-bottom button:hover,
.footer.footer .footer-bottom button:focus-visible { color: #fff; }
.footer.footer :focus-visible {
  outline: 2px solid var(--fin-gilt);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .footer.footer .footer-top { flex-direction: column; align-items: stretch; gap: 34px; }
  .footer.footer .footer-top > div:first-child { justify-self: start; margin-left: 2px; }
  .footer.footer .footer-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 30px 26px;
  }
}
@media (max-width: 640px) {
  body > .footer.footer.section-wrap { padding: 26px 22px 20px; }
  .footer.footer .footer-directory { grid-template-columns: 1fr 1fr; }
  .footer.footer .footer-directory > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .footer.footer .footer-directory a { padding-block: 3px; font-size: .95rem; }
  /* réserve la place du bouton flottant « retour en haut » */
  .footer.footer .footer-bottom { gap: 12px 18px; padding-bottom: 46px; }
}

/* ---------- 5. Impression : pas d'aplat sombre ---------- */
@media print {
  body > .footer.footer.section-wrap {
    margin: 24px 0 0;
    padding: 16px 0 0;
    border-radius: 0;
    background: none;
    color: #20283f;
  }
  body > .footer.footer.section-wrap::before,
  body > .footer.footer.section-wrap::after { display: none; }
  .footer.footer .footer-top > div:first-child { box-shadow: none; transform: none; background: none; }
  .footer.footer .footer-directory a,
  .footer.footer .footer-directory h3,
  .footer.footer .footer-bottom { color: #20283f; }
}

/* ---------- 6. Page 404 ---------- */
.fin-404 .fin-404__folio {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: #8a744a;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1;
}
.fin-404 .fin-404__folio::after {
  content: "";
  width: 54px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.fin-404 .fin-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin: 28px 0 0;
}
.fin-404 .fin-404__en {
  margin: 26px 0 0;
  color: #586277;
  font-size: .95rem;
}
.fin-404 .fin-404__en a { color: #273e7b; text-underline-offset: 3px; }

.section-wrap.fin-404__rayons { margin-block: clamp(36px, 6vw, 72px); }
.fin-404__rayons h2 {
  margin: 0 0 22px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
}
.fin-404__rayons ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fin-404__rayons a {
  display: grid;
  gap: 4px;
  height: 100%;
  box-sizing: border-box;
  padding: 18px 20px;
  border: 1px solid #dfe5ed;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.fin-404__rayons a:hover,
.fin-404__rayons a:focus-visible { border-color: #9fb0d6; background: #f6f8fc; }
.fin-404__rayons strong {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.15;
  color: #20283f;
}
.fin-404__rayons span { color: #586277; font-size: .95rem; line-height: 1.45; }

/* Illustrated story worlds */
.ci-atlas,.ci-block{margin-block:clamp(1.4rem,4vw,3.5rem);color:#202e46}
.ci-intro{max-width:58rem;margin:0 0 1.5rem}.ci-intro h1{font:500 clamp(2.45rem,5vw,4.8rem)/1.03 var(--serif,Georgia,serif);letter-spacing:-.035em;margin:.2em 0}
.ci-intro p,.ci-side p{color:#415269;line-height:1.55}.ci-intro p{max-width:60ch}
.ci-worlds{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1.1rem;padding:.4rem 0;border-block:1px solid #d8dfe6;margin:0 0 1.2rem}
.ci-worlds a{display:inline-flex;align-items:center;min-height:44px;color:#314866;text-decoration:none;border-bottom:2px solid transparent;font-weight:600}
.ci-worlds a[aria-current],.ci-worlds a:hover{color:#172b45;border-bottom-color:#997744}
.ci-panel:not([hidden])~.ci-panel:not([hidden]){margin-top:2.5rem}
.ci-atlas[data-ready] .ci-panel{margin-top:0}
.ci-art{--tone:#356a70;--tint:#edf3f2;display:grid;grid-template-columns:minmax(0,1.75fr) minmax(15rem,1fr);align-items:center;background:var(--tint);border:1px solid color-mix(in srgb,var(--tone) 23%,#fff);border-radius:18px;overflow:hidden;color:#223047;margin-block:.75rem}
.ci-art[data-scene=veyre]{--tone:#8b572d;--tint:#f7f0e7}.ci-art[data-scene=sylve],.ci-art[data-scene=clairbois]{--tone:#476344;--tint:#f0f3eb}
.ci-art[data-scene=aeral]{--tone:#76603c;--tint:#f5f1e9}.ci-art[data-scene=iskar]{--tone:#655783;--tint:#f1eef6}.ci-art[data-scene=valombre]{--tone:#795044;--tint:#f5efea}
.ci-art .ci-stage{display:block;position:relative;isolation:isolate;width:100%;min-width:0;align-self:center;aspect-ratio:3/2;background:color-mix(in srgb,var(--tone) 26%,#ece7dc);overflow:hidden;margin:0;border:0;border-radius:0;padding:0}
.ci-art .ci-stage img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;aspect-ratio:3/2;border:0;border-radius:0;object-fit:contain;transform:none;transition:none;margin:0}
.ci-art .ci-side{padding:clamp(.95rem,2.3vw,2.1rem);min-width:0}.ci-side h2,.ci-side h3{font:500 clamp(1.6rem,3vw,2.7rem)/1.09 var(--serif,Georgia,serif);letter-spacing:-.018em;margin:0 0 .8rem;color:#233149}
.ci-notes details,.ci-art .ci-notes details{padding:0;margin:0;border:0;border-top:1px solid color-mix(in srgb,var(--tone) 25%,white);border-radius:0;background:none}
.ci-art .ci-notes summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.6rem;min-height:44px;padding:.35rem 0;color:#27384b;font:600 1rem/1.3 var(--sans,"Source Sans 3",sans-serif);text-align:start}
.ci-notes summary::-webkit-details-marker,.ec-language summary::-webkit-details-marker{display:none}
.ci-notes summary::after{content:"+";margin-inline-start:auto;color:var(--tone);font-size:1.15rem}.ci-notes details[open]>summary::after{content:"−"}
.ci-label-number{border:1px solid var(--tone);color:var(--tone);display:inline-grid;place-items:center;min-width:1.42rem;height:1.42rem;border-radius:50%;font-size:.8rem}
.ci-art .ci-notes details>summary .ci-label-number,.ec-language>summary>span{transform:none!important;rotate:none!important;animation:none!important}
.ci-art .ci-notes p{margin:0 0 .7rem 2.02rem;font-size:.98rem;line-height:1.52}
.ci-art .ci-pin{position:absolute;z-index:2;left:clamp(22px,var(--x),calc(100% - 22px));top:clamp(22px,var(--y),calc(100% - 22px));transform:translate(-50%,-50%);width:44px;height:44px;min-width:0;min-height:0;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer}
.ci-art .ci-pin span{display:grid;place-items:center;width:28px;height:28px;background:#fdf8e9;color:#243145;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #303642bb,0 2px 7px #17243580;font:700 .92rem/1 var(--sans,sans-serif)}
.ci-art .ci-pin[aria-expanded=true] span,.ci-art .ci-pin:hover span{background:#263954;color:white;box-shadow:0 0 0 3px #f4d596}
.ci-art .ci-play{display:inline-flex;align-items:center;justify-content:center;gap:.48rem;min-height:44px;border:1px solid #869394;border-radius:30px;padding:.35rem .85rem;background:white;color:#263849;font:600 .93rem/1.25 var(--sans,sans-serif);cursor:pointer;width:auto;box-shadow:none;position:static;transform:none;margin:.65rem 0 0}
.ci-play::before{content:"";width:0;height:0;border-block:4px solid transparent;border-left:7px solid currentColor}
.ci-art .ci-route{margin:.65rem 0 0;display:flex;flex-wrap:wrap;gap:.3rem .8rem;font-size:.91rem}.ci-route a,.ci-directory a,.ci-other a{color:#294763;text-decoration:underline;text-underline-offset:.19em}
.ci-worlds a:focus-visible,.ci-art :focus-visible,.ci-disclosure>summary:focus-visible,.ec-language :focus-visible{outline:3px solid #4169a0;outline-offset:2px}
.ci-art [hidden],.ci-panel[hidden]{display:none!important}
.ci-effect{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}.ci-effect i{--drift:translate(4px,-4px) scale(1);--end:translate(12px,-8px) scale(1.2);display:block;position:absolute;left:var(--px);top:var(--py);width:1.4%;aspect-ratio:1;border-radius:50%;opacity:0;background:#fff6ce;box-shadow:0 0 .6rem #ffdd8e}
[data-scene=nacre] .ci-effect i{--drift:scale(1.3,.33);--end:scale(2.6,.52);width:6%;background:transparent;border:2px solid #edfff9;box-shadow:none}
[data-scene=veyre] .ci-effect i{--drift:translateX(9px) scale(1.25);--end:translateX(22px) scale(.85);width:1.25%;background:#ffe4a0}
[data-scene=sylve] .ci-effect i{--drift:translate(7px,7px) rotate(24deg);--end:translate(14px,21px) rotate(66deg);border-radius:1px 70%;width:1.65%;background:#cce8a3;box-shadow:none}
[data-scene=aeral] .ci-effect i{--drift:translateX(10px) scaleX(1.2);--end:translateX(30px) scaleX(1.8);width:8%;height:2%;border-top:2px solid #fff3d7;background:none;box-shadow:none}
[data-scene=iskar] .ci-effect i{--drift:scale(1.35);--end:scale(.65);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);background:#e3faff;width:2.9%}
[data-scene=valombre] .ci-effect i{--drift:translate(3px,-1px) scale(1.3);--end:translate(8px,-3px) scale(1.6);width:8%;background:radial-gradient(ellipse,#ffe8aeb0,transparent 70%);box-shadow:none}
[data-scene=clairbois] .ci-effect i{--drift:translate(-5px,-11px) scale(1.2);--end:translate(5px,-22px) scale(.75);width:1%;background:#fff3a8}
.ci-disclosure{margin:1rem 0;border-block:1px solid #d5dee5}.ci-disclosure>summary{min-height:44px;padding:.65rem .25rem;cursor:pointer;color:#344e6a;font-weight:600}.ci-more .worlds-immersion-grid{margin-block:1rem}
.ci-directory{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem 1.35rem;padding:.8rem 0;border-block:1px solid #d9dfe4;margin-block:1rem}.ci-directory p{margin:0}.ci-directory a{display:inline-flex;align-items:center;min-height:44px}
.ci-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:.8rem}.ci-preview a{display:block;color:#23364c;text-decoration:none}.ci-preview img{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:10px}.ci-preview strong{display:block;padding:.3rem 0}
.ci-home{padding-block:.65rem}.ci-home .home-fold{margin:0}
@media(max-width:720px){.ci-art{grid-template-columns:minmax(0,1fr);border-radius:13px}.ci-art .ci-side{padding:1rem}.ci-worlds{gap:0 .9rem}.ci-preview{gap:.5rem}.ci-preview strong{font-size:.87rem}.ci-art .ci-notes p{margin-left:0}}
@media(prefers-reduced-motion:reduce){.ci-effect{display:none}}.motion-off .ci-effect{display:none}

/* Edition and interface language are independent. All actions are native links. */
.header .ec-language{position:relative;margin:0;line-height:1.2;flex:none}
.header .ec-language>summary{list-style:none;display:flex;align-items:center;gap:.34rem;min-height:44px;padding:.25rem .48rem;cursor:pointer;border-radius:.5rem;color:#273c60;font:650 .88rem/1.2 var(--sans,sans-serif)}
.ec-language>summary::after{content:"";border:solid currentColor;border-width:0 1.5px 1.5px 0;width:.38rem;height:.38rem;transform:rotate(45deg);margin:-.2rem .12rem 0}
.ec-language[open]>summary{background:#eef2f7}
.ec-foot .ci-motion{border:1px solid #8491a1;background:white;color:#344962;padding:.4rem .85rem;border-radius:30px;min-height:44px;cursor:pointer}
.ec-language>nav{position:absolute;z-index:110;inset-inline-end:0;top:100%;display:grid;width:max-content;max-width:min(85vw,23rem);max-height:65vh;overflow:auto;overscroll-behavior:contain;padding:.42rem;border:1px solid #d2dce7;border-radius:.7rem;background:white;box-shadow:0 .65rem 2rem #24364c26}
.header .ec-language>nav a{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:42px;padding:.25rem .75rem;color:#263a56;text-decoration:none;border:0;font:550 .98rem/1.25 var(--sans,sans-serif)}
.header .ec-language>nav a:hover,.header .ec-language>nav a:focus-visible,.ec-language a[aria-current=page]{background:#eef2f7}
.ec-language a small{color:#56647c;font-size:.78rem}.ec-screen{clip-path:inset(50%);position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap}
.ec-header{display:flex;align-items:center;gap:clamp(10px,2vw,32px)}.ec-header .ec-top{display:flex;align-items:center;gap:1.1rem;flex:1;justify-content:flex-end}.ec-top a,.ec-foot a{color:#344965;text-decoration:underline;text-underline-offset:.18em}
.ec-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.7rem 1.2rem;padding-block:1.4rem;border-top:1px solid #d6dfe9}.ec-foot nav{display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.ec-library,.ec-native{margin-block:clamp(1.3rem,4vw,3.7rem)}.ec-library .ec-intro,.ec-native .ec-lead{max-width:64ch;color:#40516a;line-height:1.65}
.ec-library h1,.ec-native h1{margin:.3rem 0 .75rem;color:#20304b;font:500 clamp(2.4rem,5vw,4.5rem)/1.05 var(--serif,Georgia,serif);letter-spacing:-.035em}
.ec-crumb{display:flex;flex-wrap:wrap;gap:.35rem .65rem;align-items:center;font-size:.92rem;color:#536179;margin:0 0 1rem}.ec-crumb a,.ec-links a,.ec-else a,.ec-editions a,.ec-related a{color:#274976;text-underline-offset:.18em}
.ec-section{margin-top:1.9rem}.ec-section h2,.ec-related h2,.ec-body h2{color:#263650;font:500 clamp(1.5rem,3vw,2.3rem)/1.15 var(--serif,Georgia,serif);letter-spacing:-.015em}
.ec-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.75rem;list-style:none;margin:.8rem 0;padding:0}
.ec-tiles li{border:1px solid #d7dfe6;background:#f7f9fb;border-radius:12px;padding:.85rem 1rem}.ec-tiles a,.ec-tiles strong{color:#293f61;font:650 1.06rem/1.3 var(--sans,sans-serif);text-underline-offset:.2em}.ec-tiles p{font-size:.96rem;line-height:1.5;color:#45556c;margin:.45rem 0 0}
.ec-book-hero{display:grid;align-items:center;grid-template-columns:minmax(0,1fr) minmax(14rem,.72fr);gap:clamp(1rem,4vw,4rem);margin:1.25rem 0}
.ec-book-art{display:flex;justify-content:center;padding:.6rem;border-radius:15px;background:#f0f3f6;overflow:hidden}.ec-book-art img{display:block;height:auto;width:100%;max-height:23rem;object-fit:contain;border-radius:8px}
.ec-kicker{font-size:.9rem;color:#495975;letter-spacing:.025em;font-weight:700}.ec-sub{font:500 clamp(1.25rem,2.5vw,2rem)/1.24 var(--serif,Georgia,serif);color:#495875;margin:.4rem 0}
.ec-buy,.ec-related nav,.ec-links{display:flex;flex-wrap:wrap;gap:.4rem .9rem;align-items:center}.ec-buy a{font-weight:650;min-height:44px;display:inline-flex;align-items:center;padding:.45rem .95rem;background:#293f68;border-radius:.6rem;color:white;text-decoration:none}
.ec-body{max-width:51rem;margin:1.8rem auto}.ec-body section{margin-block:1.35rem}.ec-body h2{margin:0 0 .3rem}.ec-body p{color:#3e5067;font-size:1.06rem;line-height:1.65;margin:0}
.ec-related,.ec-editions{border-top:1px solid #d7e0e8;padding-top:1rem;margin-top:1.3rem}.ec-related h2{margin:0 0 .65rem}
.ec-editions{margin-block:1rem}.ec-editions>summary{cursor:pointer;min-height:44px;color:#2e4364;padding:.55rem 0;font-weight:650}.ec-editions ul,.ec-quick ul{list-style:none;margin:.4rem 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}.ec-editions li,.ec-quick li{line-height:1.5}
.ec-quick{border-block:1px solid #d8dfe7;margin-block:1.1rem;padding:.35rem 0}.ec-quick>summary{min-height:44px;padding:.6rem .15rem;cursor:pointer;font-weight:650}.ec-quick h3{margin:.8rem 0 .3rem}
.ec-lang-entry{font-size:.98rem;color:#364d67;margin:.65rem 0}.ec-lang-entry a{text-decoration:underline;text-underline-offset:.2em}
.ec-rich .edition-aplus-content{display:block}.ec-rich .edition-aplus-module{margin:1rem 0;padding:0;border:0;background:none}.ec-rich img{display:block;max-width:100%;width:auto;height:auto;max-height:22rem;margin:.7rem auto;border-radius:10px}.ec-rich h3{font-size:1.22rem;line-height:1.28;margin:.7rem 0 .3rem}.ec-rich p+p{margin-top:.4rem}
@media(max-width:720px){.header .ec-language>summary{padding-inline:.25rem}.ec-language>nav{max-width:min(82vw,18rem)}.ec-header .ec-top{gap:.6rem}.ec-top a{font-size:.88rem}.ec-book-hero{grid-template-columns:minmax(0,1fr)}.ec-book-art{max-width:30rem}.ec-book-art img{max-height:17rem}.ec-header .brand{min-width:0}.ec-header .brand-logo{max-width:115px}}

.yb-cover-note{margin:.65rem 0 0;text-align:center;font-size:.86rem;line-height:1.4;color:#536178}
.yb-gallery{padding-block:clamp(.75rem,2vw,1.7rem)}
.yb-gallery details{border-block:1px solid #dce3ed}
.yb-gallery summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none;padding:1rem .1rem;font-weight:650;color:#263a64}
.yb-gallery summary::-webkit-details-marker{display:none}
.yb-gallery summary:after{content:"＋";font-size:1.25rem}.yb-gallery details[open]>summary:after{content:"−"}
.yb-gallery summary:focus-visible,.yb-zoom:focus-visible{outline:3px solid #31579c;outline-offset:3px}
.yb-plates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem);padding:.5rem 0 1rem}
.yb-plates figure{margin:0;min-width:0}.yb-plates figcaption{font-size:.97rem;line-height:1.5;color:#425267;margin:.65rem 0}
.yb-plates figcaption strong{display:block;color:#233653}.yb-zoom{display:block;position:relative;overflow:hidden;width:100%;border:0;background:transparent;padding:0;border-radius:12px;cursor:zoom-in}
.yb-zoom img{display:block;width:100%;height:auto}.yb-zoom span{position:absolute;bottom:.5rem;right:.5rem;border-radius:50%;width:1.9rem;height:1.9rem;display:grid;place-items:center;background:#fff;color:#243650}
.nw-reading aside h3{font-size:1.28rem;margin:.35rem 0}.reading-guide-body .yb-article-photo{margin:1.6rem 0}.yb-article-photo img{width:100%;height:auto;border-radius:12px;display:block}.yb-article-photo figcaption{font-size:.94rem;line-height:1.5;color:#4d5970;margin-top:.55rem}
@media(max-width:680px){.yb-plates{grid-template-columns:1fr}}

/* Illustrated children's collection. All rules are scoped to its components. */
.ju-width{width:min(91.5%,82rem);margin-inline:auto}
.ju-breadcrumb{margin-block:.75rem 1.05rem}.ju-breadcrumb .breadcrumb{margin:0}
.ju-hero{isolation:isolate;position:relative;display:grid;align-items:center;min-height:clamp(26rem,36vw,34.5rem);border-radius:1.35rem;overflow:hidden;background:#11273f;color:#fff}
.ju-hero-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 51%;z-index:-2}
.ju-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,31,52,.91) 0%,rgba(12,31,52,.78) 28%,rgba(12,31,52,.48) 43%,transparent 66%);z-index:-1}
.ju-hero-copy{box-sizing:border-box;width:min(52%,39rem);padding:clamp(2rem,4.2vw,4.3rem);padding-right:.8rem}
.ju-kicker{font:650 .875rem/1.4 var(--sans,"Segoe UI",sans-serif);letter-spacing:.045em;margin:0 0 .65rem;color:#425c67}
.ju-hero .ju-kicker{color:#f4cd86}.ju-hero h1{font-family:var(--serif,Georgia,serif);font-size:clamp(3.1rem,5.6vw,5.6rem);line-height:.98;letter-spacing:-.043em;font-weight:500;margin:0 0 1.1rem;color:#fffaf0;text-wrap:balance}
.ju-hero h1 em{display:block;color:#ffdb96;font-family:inherit;font-weight:inherit;font-style:italic}
.ju-hero .ju-lead{font-size:clamp(1rem,1.45vw,1.2rem);line-height:1.53;margin:0;max-width:31rem;color:#f6f5ef}
.ju-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.35rem;margin-top:1.65rem}
.ju-pill,.ju-under,.ju-cta-text{font:650 .98rem/1.35 var(--sans,"Segoe UI",sans-serif)}
.ju-pill,.ju-under{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem}
.ju-hero .ju-pill{background:#ffe1a5;color:#172c3a;border-radius:1.5rem;padding:.64rem 1.3rem;text-decoration:none}
.ju-hero .ju-under{color:#fffaf0;text-decoration:underline;text-underline-offset:.32em;text-decoration-color:#e6c487}
.ju-shelf.nw-related,.ju-shelf{padding-block:clamp(2rem,4vw,3.6rem) 0;scroll-margin-top:6.5rem}
.ju-shelf-heading{margin-bottom:1.15rem}.ju-shelf-heading .ju-kicker,.ju-spread .ju-kicker{margin-bottom:.28rem}
.ju-shelf h2,.ju-spread header h2,.ju-reading-link h2{font-family:var(--serif,Georgia,serif);font-weight:500;line-height:1.12;letter-spacing:-.035em;color:#202e42}
.ju-shelf h2,.ju-spread header h2{font-size:clamp(2.1rem,3.2vw,3.2rem);margin:0;text-wrap:balance}
.ju-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2.2vw,1.85rem);align-items:stretch}
.ju-story-card,.ju-available-card{margin:0;min-width:0;display:flex;flex-direction:column;border-radius:1.05rem;overflow:hidden;background:#fff;border:1px solid #dce3e5}
.ju-story-card:nth-child(1){background:#f6f6ec;border-color:#d9decc}
.ju-story-card:nth-child(2){background:#fff5e9;border-color:#eadbc9}
.ju-story-card:nth-child(3){background:#edf4f3;border-color:#d2e1dd}
.ju-card-link,.ju-av-link{color:#24364b;display:flex;flex-direction:column;height:100%;text-decoration:none!important}
.ju-card-art,.ju-av-art{display:block;position:relative;overflow:hidden;isolation:isolate;aspect-ratio:1.8;background:#e7e7d9}
.ju-card-art>img:first-child,.ju-av-art>img{width:100%;height:100%;max-width:none;display:block;object-fit:cover}
.ju-card-art>.ju-cover{display:block;position:absolute;right:.8rem;bottom:.65rem;width:clamp(2.6rem,4.1vw,3.9rem);height:auto;box-shadow:0 3px 12px #10203978;border:1px solid #ffffff9e;border-radius:2px;z-index:1}
.ju-card-copy{display:flex;flex-direction:column;flex:1;padding:1rem clamp(.9rem,1.5vw,1.4rem) 1.2rem}
.ju-card-copy .ju-kicker{font-size:.87rem;margin:0 0 .38rem;color:#4c5c5d}
.ju-card-copy h3{font-family:var(--serif,Georgia,serif);font-weight:550;font-size:clamp(1.58rem,2.1vw,2.14rem);line-height:1.08;letter-spacing:-.025em;margin:0;color:#253446}
.ju-card-copy>p:not(.ju-kicker){font-size:1rem;line-height:1.47;margin:.55rem 0 .95rem;color:#3c4d5b}
.ju-cta-text{align-self:flex-start;color:#2a4968;text-decoration:underline;text-underline-offset:.25em;text-decoration-thickness:1px;margin-top:auto}
.ju-available-card .ju-av-link{height:auto;flex:1}.ju-editions{padding:0 clamp(.9rem,1.5vw,1.4rem) 1rem}.ju-editions .book-editions{margin-top:.1rem}
.ju-editions .book-purchase{margin:0 0 .6rem}
.ju-available-card .ju-av-art{aspect-ratio:2.18}
.ju-extras{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(20rem,100%),1fr));gap:1rem;margin-block:clamp(1.8rem,3vw,3rem) 1rem}
.ju-reading-link{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;padding:1.2rem 1.4rem;border:1px solid #cadcd4;border-radius:.9rem;background:#f0f5ee}
.ju-reading-link--guide{background:#faf1e9;border-color:#e7d8c8}.ju-reading-link h2{margin:0;font-size:clamp(1.5rem,2.2vw,2rem)}
.ju-reading-link .ju-kicker{margin:0 0 .2rem}.ju-reading-link .ju-under{color:#243e57;text-decoration:underline;text-underline-offset:.25em}
.ju-notes{grid-column:1/-1;border-block:1px solid #d7e0df}.ju-notes>summary,.ju-more-plates>summary{padding:.82rem .25rem;cursor:pointer;color:#304961;font-weight:650;font-size:1.02rem}
.ju-notes>.page-content{width:100%;margin:0;padding-block:.5rem 1rem}.ju-notes .reference-section{opacity:1;transform:none}
.ju-book{--ju-tint:#eff6f0;--ju-accent:#42624f;--ju-line:#d8e5d9}
.ju-book[data-jeunesse=mina]{--ju-tint:#fbf2e9;--ju-accent:#795033;--ju-line:#ebd8c6}
.ju-book[data-jeunesse=nilo]{--ju-tint:#eaf3f3;--ju-accent:#395f63;--ju-line:#d4e2df}
.ju-book .nw-hero{box-sizing:border-box;position:relative;width:min(91.5%,82rem);max-width:82rem;margin-inline:auto;background:linear-gradient(115deg,var(--ju-tint),#fff 87%);border:1px solid var(--ju-line);border-radius:1.25rem;padding:clamp(1.3rem,3.4vw,3.1rem);gap:clamp(1.4rem,4vw,3.6rem);align-items:center}
.ju-book .nw-hero .nw-cover{align-self:center;justify-self:center;width:min(100%,16.5rem)}
.ju-book .nw-hero .eyebrow{color:var(--ju-accent)}.ju-book .nw-hero .nw-hook{line-height:1.15}
.ju-book .nw-reading>aside{border-color:var(--ju-line);background-color:var(--ju-tint)}
.ju-spread.section-wrap{padding-block:clamp(1rem,2.6vw,2.5rem);scroll-margin-top:6.5rem}
.ju-spread header{background:transparent;position:static;box-shadow:none;border:0;padding:0;margin:0 0 1.2rem;height:auto;display:block}
.ju-spread .ju-kicker{color:var(--ju-accent)}
.ju-plates.reference-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.8rem,2.4vw,2rem);max-width:none;margin:0}
.ju-plate{margin:0;min-width:0;overflow:hidden;border:1px solid var(--ju-line);background:var(--ju-tint);border-radius:1rem}
.ju-zoom-art{border:0;outline-offset:-4px;display:block;width:100%;position:relative;padding:0;cursor:zoom-in;background:var(--ju-tint);color:var(--ju-accent)}
.ju-zoom-art img{display:block;width:100%;height:auto}.ju-zoom-art>span{position:absolute;right:.7rem;bottom:.7rem;display:grid;place-items:center;width:2.4rem;height:2.4rem;background:#fff9e9;border:1px solid #ffffffb5;border-radius:50%;color:#26394d;font-size:1.25rem;font-weight:600}
.ju-plate figcaption{padding:1rem 1.15rem}.ju-plate figcaption h3{font:550 clamp(1.35rem,1.85vw,1.7rem)/1.1 var(--serif,Georgia,serif);margin:0 0 .35rem;color:#263649}
.ju-plate figcaption p,.ju-cross p:not(.ju-kicker){margin:0;font-size:1rem;line-height:1.55;color:#425467}
.ju-more-plates{margin-top:1.15rem;border-block:1px solid var(--ju-line)}
.ju-one-plate .ju-plates{grid-template-columns:1fr}.ju-one-plate .ju-plate{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.78fr);align-items:center}
.ju-one-plate figcaption{padding:clamp(1rem,3.6vw,3rem)}
.ju-cross.section-wrap{margin-block:1.2rem;padding-block:0}
.ju-cross-wrap{display:grid;align-items:center;grid-template-columns:clamp(7.75rem,18vw,15rem) 1fr;gap:clamp(.85rem,2.5vw,2rem);border:1px solid #d9e3e1;background:#f2f6f3;border-radius:.95rem;overflow:hidden}
.ju-cross-wrap>img{object-fit:cover;width:100%;aspect-ratio:1.65;align-self:stretch;height:100%}.ju-cross-wrap>div{padding:.85rem 1rem .85rem 0}.ju-cross .ju-kicker{margin:0 0 .22rem}
.ju-cross h2{font:550 clamp(1.35rem,2.4vw,2rem)/1.12 var(--serif,Georgia,serif);margin:0 0 .36rem}.ju-cross h2 a{color:#274154;text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:1px}
.ju-home-pair,.ju-journal-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block:1.35rem}
.ju-home-story,.ju-journal-pair>a{display:flex;align-items:center;gap:1rem;text-decoration:none!important;color:#283c4b;background:#f5f6ed;border:1px solid #dbe2d6;border-radius:.8rem;overflow:hidden}
.ju-home-story:nth-child(2),.ju-journal-pair>a:nth-child(2){background:#fbf2e9;border-color:#eadbc9}
.ju-home-story img{width:clamp(6rem,11vw,10.5rem);height:100%;aspect-ratio:1.6;object-fit:cover}.ju-home-story span{padding:.7rem .7rem .7rem 0}
.ju-home-story small,.ju-home-story strong,.ju-journal-pair span em{display:block}.ju-home-story small{font-size:.82rem;line-height:1.35;color:#4b5d5a;margin-bottom:.32rem}
.ju-home-story strong{font:550 clamp(1.1rem,1.65vw,1.55rem)/1.15 var(--serif,Georgia,serif)}
.ju-journal-pair>a{display:block}.ju-journal-pair img{width:100%;height:auto;display:block}.ju-journal-pair span{display:block;padding:.7rem .9rem 1rem;font-size:.94rem;line-height:1.4}
.ju-journal-pair span em{font:550 1.45rem/1.15 var(--serif,Georgia,serif);margin-bottom:.3rem}
:where(.ju-hero,.ju-shelf,.ju-spread,.ju-extras,.ju-journal-pair,.ju-home-pair,.ju-cross) :is(a,button,summary):focus-visible{outline:3px solid #3075aa;outline-offset:-3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 html:not(.motion-off) .ju-card-art>img:first-child,html:not(.motion-off) .ju-av-art>img{transition:transform 320ms ease-out}
 html:not(.motion-off) .ju-card-link:hover .ju-card-art>img:first-child,html:not(.motion-off) .ju-av-link:hover .ju-av-art>img{transform:scale(1.025)}
}
@media(min-width:701px) and (max-width:940px){.ju-hero-copy{width:57%}.ju-card-grid{gap:.75rem}.ju-card-copy{padding:.8rem}.ju-card-copy h3{font-size:1.55rem}}
@media(max-width:700px){
 .ju-width{width:92%}.ju-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;border-radius:1rem}
 .ju-hero:before{display:none}.ju-hero .ju-hero-art{display:block;position:static;z-index:auto;width:100%;height:clamp(11.5rem,51vw,19rem);object-fit:cover;object-position:79% 55%}
 .ju-hero-copy{width:100%;padding:1.15rem 1.25rem 1.45rem}.ju-hero h1{font-size:clamp(2.58rem,8.6vw,3.4rem);margin-bottom:.65rem}.ju-hero h1 em{display:inline}
 .ju-hero .ju-kicker{margin-bottom:.45rem}.ju-actions{margin-top:.85rem}.ju-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ju-plates.reference-gallery,.ju-one-plate .ju-plate{grid-template-columns:1fr}
 .ju-book .nw-hero{width:92%;grid-template-columns:1fr;padding:1.15rem;gap:1.2rem}.ju-book .nw-hero .nw-cover{width:min(56%,12.5rem)}
 .ju-home-pair{grid-template-columns:1fr;gap:.55rem}.ju-home-story img{width:6.4rem}
 .ju-shelf.nw-related,.ju-shelf{padding-top:1.8rem}.ju-extras{margin-top:1.5rem}
}
@media(max-width:530px){
 .ju-card-grid{grid-template-columns:1fr}.ju-card-art{aspect-ratio:1.95}.ju-card-copy>p:not(.ju-kicker){margin:.45rem 0 .7rem}.ju-card-copy h3{font-size:1.64rem}
 .ju-cross-wrap{grid-template-columns:minmax(5.8rem,.6fr) minmax(0,1.55fr);gap:.8rem}.ju-cross-wrap .ju-kicker{font-size:.82rem}
 .ju-journal-pair{gap:.55rem}.ju-journal-pair span{padding:.55rem;font-size:.88rem}.ju-journal-pair span em{font-size:1.2rem}
}

/* Single interactive cover in the hero of each edition. Geometry and materials
   come from the site's existing paperback model. */
button.sc-model-toggle {
  display: block;
  appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button.sc-model-toggle:focus-visible { outline: 3px solid #405b92; outline-offset: 7px; }
button.sc-model-toggle:disabled { opacity: 1; cursor: auto; }
button.sc-model-toggle .sc-book__front > img { display: block; width: 100%; height: auto; margin: 0; }
.ec-book-art:has(.sc-model-toggle) { display: grid; place-items: center; padding: clamp(1.25rem,3.5vw,2.2rem); overflow: visible; }
.ec-book-art > .sc-model-toggle { width: min(100%,calc(20rem * var(--sc-ratio))); }
.ec-book-art .sc-model-toggle img { max-height: none; border-radius: inherit; }
.nw-cover > .sc-model-toggle, .ec-book-art > .sc-model-toggle { --sc-ry: 22deg; --sc-rx: -6deg; }
.ec-edition-scene { margin: 1.1rem 0 0; max-width: 40rem; }
.ec-edition-scene img { display: block; width: 100%; height: auto; border-radius: .7rem; }
.sc-model-toggle.sc-model-visible:not(:hover):not(:focus-visible):not(.is-tracking):not(.is-open) > .sc-book__body { animation: sc-book-drift 10s ease-in-out infinite; }
.sc-model-toggle.is-open, .sc-model-toggle.is-open:hover { --sc-ry: -18deg; --sc-rx: -7deg; --sc-open: 30deg; }
.sc-model-toggle.is-open > .sc-book__body, .sc-model-toggle:not(.sc-model-visible) > .sc-book__body { animation: none !important; }
.sc-model-toggle.is-open .sc-book__shine { opacity: 1; background-position: -35% 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sc-model-toggle:not(:disabled):hover { --sc-ry: -18deg; --sc-rx: -7deg; --sc-open: 30deg; }
  .sc-model-toggle:not(:disabled):hover .sc-book__shine { opacity: 1; background-position: -35% 0; }
}
@media (hover: none) {
  :is(.book-detail-cover,.storybook-cover,.nw-cover,.ec-book-art) .sc-model-toggle:not(.is-open):hover { --sc-ry: 22deg; --sc-rx: -6deg; --sc-open: 0deg; }
  .sc-model-toggle.sc-model-visible:not(.is-open) > .sc-book__body { animation: sc-book-drift 10s ease-in-out infinite; }
}
.ju-card-art > .sc-book.ju-cover { height: auto; border: 0; box-shadow: none; overflow: visible; }
.ju-card-art > .sc-book.ju-cover img, .us-volume-card > .sc-book img, .ec-tile-cover .sc-book img { width: 100%; height: auto; margin: 0; border-radius: inherit; }
.us-volume-card > .sc-book { width: 100%; margin-bottom: .4rem; }
.emy-book > a > .sc-book { width: 100%; }
.book-promo .bp-cover-wrap .sc-book { width: min(100%,calc(153px * var(--sc-ratio))); max-width: 98px; }
.book-promo .bp-cover-wrap .sc-book img { height: auto; }
.ec-tiles li > a.ec-volume-link { display: grid; grid-template-columns: 3.8rem minmax(0,1fr); gap: 1rem; align-items: start; color: inherit; text-decoration: none; }
.ec-volume-link .ec-tile-cover { display: block; width: 100%; margin-top: .2rem; }
.ec-tile-cover > img { width: 100%; height: auto; display: block; }
.ec-volume-link .ec-tile-copy { display: grid; gap: .35rem; }
.ec-volume-link .ec-tile-copy strong { color: #294578; text-decoration: underline; text-underline-offset: .15em; }
.ec-volume-link .ec-tile-copy p { margin: 0; font-weight: 400; }
@media (max-width: 650px) {
  .book-promo .bp-cover-wrap .sc-book { width: min(100%,calc(110px * var(--sc-ratio))); max-width: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-model-toggle .sc-book__body, .sc-model-toggle .sc-book__front { animation: none !important; transition: none !important; }
}
.sc-model-toggle:disabled, .sc-model-toggle:disabled:hover { --sc-ry: 20deg; --sc-rx: -6deg; --sc-open: 0deg; }
.sc-model-toggle:disabled .sc-book__shine { opacity: 0; }
:is(.book-detail-cover,.storybook-cover,.nw-cover,.ec-book-art) .sc-model-toggle.sc-closed-here { --sc-open: 0deg; --sc-ry: 22deg; --sc-rx: -6deg; }
.sc-model-toggle.sc-closed-here .sc-book__shine { opacity: 0; }
@media print {
  button.sc-model-toggle { display: block; outline: none; }
  .sc-model-toggle .sc-book__body, .sc-model-toggle .sc-book__front { transform: none !important; animation: none !important; }
}


/* The illustrated opening shares the typefaces and margins of the catalogue. */
.home-page.home-streamlined #accueil.ed-opening {
  display:block; position:relative; isolation:isolate; overflow:visible;
  width:min(89.2%,1440px); max-width:none; height:auto; min-height:0;
  margin:clamp(14px,2.4vw,36px) auto 0; padding:0;
  color:#172e38; background:none; border:0; box-shadow:none;
}
.home-page .ed-opening::before,.home-page .ed-opening::after {content:none!important}
.ed-spread {
  display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);
  min-height:clamp(380px,34vw,500px); overflow:hidden;
  border-radius:5px 22px 22px 5px; background:#17353b; color:#fffaf0;
}
.ed-opening .ed-foreword {
  display:flex; flex-flow:column; align-items:flex-start; justify-content:center;
  position:relative; padding:clamp(30px,3.8vw,70px);
  background:linear-gradient(128deg,#102c36 0%,#173a40 72%,#25484b 100%);
  border-inline-start:4px solid #c3a777;
}
.ed-imprint,.ed-feature-label {
  font-family:var(--sans); font-size:.73rem; font-weight:650; letter-spacing:.15em;
  line-height:1.4; text-transform:uppercase;
}
.ed-opening .ed-imprint {color:#ecce9a; margin:0 0 clamp(14px,2vw,28px)}
.home-page .ed-opening h1 {
  max-width:13ch; margin:0; padding:0; font:400 clamp(3rem,5.3vw,5.95rem)/.99 var(--serif);
  color:#fff8eb; letter-spacing:-.038em; text-wrap:balance;
}
.home-page .ed-opening h1 em {display:block; color:#e8cb96; font:italic 400 1em/1.04 var(--serif); letter-spacing:inherit}
.ed-opening .ed-intro {max-width:37ch; margin:clamp(15px,1.9vw,27px) 0 0; color:#ebf0eb; font:400 clamp(1rem,1.15vw,1.15rem)/1.57 var(--sans)}
.ed-opening-actions {display:flex; align-items:center; flex-wrap:wrap; gap:8px 19px; margin-top:clamp(17px,2vw,31px)}
.ed-opening .ed-action {display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:9px 16px; border-radius:4px; background:#f4e6c9; color:#17343b; font:650 .96rem/1.25 var(--sans); text-decoration:none}
.ed-opening .ed-link {display:inline-flex; align-items:center; min-height:44px; color:#fffaf1; font-size:.96rem; text-underline-offset:5px; text-decoration:underline; text-decoration-color:#b6c3b8}
.ed-feature {position:relative; isolation:isolate; display:block; overflow:hidden; min-width:0; color:white; text-decoration:none; background:#12363b}
.ed-feature::after {content:""; position:absolute; z-index:-1; inset:28% 0 0; pointer-events:none; background:linear-gradient(0deg,rgba(7,26,33,.96),rgba(10,30,37,.70) 25%,transparent 77%)}
.ed-feature > .ed-plate {position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:53% 40%; z-index:-2}
.ed-feature-caption {position:absolute; inset:auto clamp(18px,2.5vw,40px) clamp(17px,2.4vw,36px); display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(11px,1.3vw,21px); align-items:end}
.ed-feature .ed-feature-cover {display:block; width:clamp(46px,4.45vw,78px); border-radius:2px 4px 4px 2px; box-shadow:0 4px 15px #0714158c; overflow:visible}
.ed-feature-cover img {width:100%; height:auto; display:block}
.ed-feature .ed-feature-label {display:block; margin-bottom:4px; color:#f0d8ab; font-size:.67rem}
.ed-feature strong {display:block; color:#fffaf0; font:400 clamp(1.7rem,2.7vw,3.25rem)/1.04 var(--serif); letter-spacing:-.025em}
.ed-feature .ed-feature-status {display:block; margin-top:6px; font:.91rem/1.25 var(--sans); color:#f0f2ea}
.ed-feature-arrow {display:grid; width:39px; height:39px; margin-bottom:3px; place-items:center; border:1px solid #d2d3be9e; border-radius:50%; color:#fff8e8; font-size:1.2rem}
.ed-also {margin:0; border-bottom:1px solid #d2dcd9; color:#2a454a}
.ed-also summary {display:flex; align-items:center; justify-content:space-between; min-height:45px; cursor:pointer; padding:7px 2px; font-size:.94rem; font-weight:600; list-style:none}
.ed-also summary::-webkit-details-marker {display:none}
.ed-also summary::after {content:""; width:8px; height:8px; margin-inline-end:.5rem; border-right:1.5px solid; border-bottom:1.5px solid; transform:rotate(45deg)}
.ed-also[open] summary::after {transform:rotate(225deg)}
.ed-also nav {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding:3px 0 14px}
.ed-also nav a {display:flex; min-width:0; gap:13px; align-items:center; padding:8px 12px; color:#243d43; border:1px solid #d5e1dc; border-radius:6px; text-decoration:none; font:500 1.1rem/1.16 var(--serif)}
.ed-also nav .ec-tile-cover {display:block; flex:0 0 32px; width:32px; height:auto; background:transparent; box-shadow:none}
.ed-also nav img {display:block; width:100%; height:auto; max-height:53px; object-fit:contain}
.ed-also nav a:hover,.ed-jump:hover {text-decoration:underline; text-underline-offset:4px}
.ed-feature:focus-visible,.ed-opening-actions a:focus-visible {outline:3px solid #efd09d; outline-offset:-4px}
.ed-jumps {display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:14px 0 0}
.ed-jump,.subhero .ed-jump {display:inline-flex; min-height:42px; align-items:center; gap:8px; padding:7px 13px; border-radius:5px; border:1px solid #c8d7d5; background:#f6f9f6; color:#23474c; font:600 .92rem/1.25 var(--sans); text-decoration:none}
.catalogue-invitation .ed-rays {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px;
  padding:0; margin:18px 0 0; align-items:stretch;
}
.catalogue-invitation .ed-rays > a {
  position:relative; display:grid; grid-template-columns:clamp(72px,6.9vw,106px) minmax(0,1fr);
  gap:13px; align-items:center; align-content:center; min-height:94px; padding:8px;
  border:1px solid #d5dfdc; border-radius:8px; background:#f7f9f6; box-shadow:none;
  text-decoration:none; color:#1f4249; overflow:hidden;
}
.ed-rays > a::before,.ed-rays > a::after {content:none!important}
.ed-rays img {display:block; width:100%; height:82px; object-fit:cover; border-radius:4px}
.catalogue-invitation .ed-rays strong {display:block; margin:0 0 4px; padding:0; color:#243f47; font:550 clamp(1.14rem,1.45vw,1.55rem)/1.1 var(--serif)}
.catalogue-invitation .ed-rays .ed-ray-copy {display:block; padding:2px 2px 2px 0; color:#405861; font:.92rem/1.32 var(--sans)}
.ed-rays a:hover,.ed-rays a:focus-visible {border-color:#79948c; background:#eef4ef}
.ed-journal-intro {margin:0 auto 24px; padding:0; color:#284651}
.ed-journal-intro h2,.ed-shelf-heading h2 {margin:0; color:#243d48; font:400 clamp(1.6rem,3vw,2.8rem)/1.08 var(--serif); letter-spacing:-.023em}
.ed-journal-intro p {max-width:72ch; margin:9px 0 12px; color:#465c65; line-height:1.55}
.ed-shelf {scroll-margin-top:100px; margin:0; padding:clamp(24px,3.8vw,52px) 0; border-top:1px solid #ccd8d3}
.ed-shelf-heading {display:flex; align-items:end; justify-content:space-between; gap:18px 30px; margin:0 0 18px}
.ed-shelf-heading p {flex:0 1 53ch; margin:0; color:#48616a; line-height:1.45}
.ed-shelf .journal-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(12px,1.7vw,25px); margin:0; padding:0}
.ed-shelf .journal-card {grid-column:auto; min-width:0; margin:0; padding:0; align-self:stretch; border:1px solid #d4dedb; border-radius:9px; background:#fff; box-shadow:none; overflow:hidden}
.ed-shelf .journal-card > a {display:flex; flex-direction:column; height:100%; min-width:0; padding:0 clamp(14px,1.5vw,22px) 16px; text-decoration:none; color:inherit}
.ed-shelf .journal-card .journal-image {width:auto; aspect-ratio:1.95; height:auto; flex:0 0 auto; margin:0 calc(-1 * clamp(14px,1.5vw,22px)) 12px; padding:0; border-radius:0; overflow:hidden; background:#e2eae5}
.ed-shelf .journal-image img {display:block; width:100%; height:100%; max-height:none; object-fit:cover}
.ed-shelf .journal-card .eyebrow {margin:0 0 6px; color:#526765; font:.73rem/1.4 var(--sans); letter-spacing:.035em; text-transform:none}
.ed-shelf .journal-card h3 {margin:0; color:#213b46; font:500 clamp(1.23rem,1.85vw,1.8rem)/1.12 var(--serif); letter-spacing:-.015em; text-wrap:pretty}
.ed-shelf .journal-card h3 + p {margin:8px 0 12px; color:#45606a; font:.96rem/1.45 var(--sans)}
.ed-shelf .journal-card .text-link {align-self:flex-start; margin-top:auto; min-height:0; padding:0; color:#315854; font:600 .88rem/1.5 var(--sans)}
.ed-duration {color:#526461; font-weight:400}
@media(min-width:681px) {
  .ed-shelf .journal-card:first-child {grid-column:1/-1; background:#f7f7f0}
  .ed-shelf .journal-card:first-child > a {
    display:grid; grid-template-columns:minmax(0,1.07fr) minmax(0,1fr);
    grid-template-rows:1fr auto auto 1fr; align-items:start; column-gap:clamp(20px,3vw,44px);
    min-height:clamp(220px,24vw,325px); padding:0 clamp(18px,2.6vw,40px) 0 0;
  }
  .ed-shelf .journal-card:first-child .journal-image {
    position:relative; grid-area:1 / 1 / 5 / 2; align-self:stretch;
    width:100%; min-width:0; height:auto; min-height:0; aspect-ratio:auto; margin:0;
  }
  .ed-shelf .journal-card:first-child .journal-image img {position:absolute; inset:0}
  .ed-shelf .journal-card:first-child :is(.eyebrow,h3,h3 + p,.text-link) {grid-column:2}
  .ed-shelf .journal-card:first-child .eyebrow {align-self:end; margin:15px 0 8px}
  .ed-shelf .journal-card:first-child h3 {font-size:clamp(1.5rem,2.55vw,2.6rem)}
  .ed-shelf .journal-card:first-child .text-link {align-self:start; justify-self:start; margin:0 0 15px}
}
.ed-resources {margin:8px 0 12px}
.ed-resources summary {display:list-item; width:fit-content; padding:8px 0; cursor:pointer; color:#355556; font-weight:600}
.ed-resources nav {margin:4px 0 10px}
.ed-reading-note {position:relative; margin:15px 0 10px; padding:10px 15px 11px 17px; border-left:3px solid #849b86; background:#f2f5ee; border-radius:0 5px 5px 0; max-width:69ch}
.ed-reading-note summary {display:list-item; cursor:pointer; color:#37594d; font:650 .91rem/1.38 var(--sans)}
.ed-reading-note summary:focus-visible {outline:2px solid #367b83; outline-offset:3px}
.book-detail-page .ed-reading-note p {margin:8px 0 0; color:#30464b; font:400 1.02rem/1.55 var(--sans)}
.reading-guide-body.prose > p,.article-reading-section > p {text-wrap:pretty}
.reading-guide-body.prose h2,.article-reading-section h2,.book-detail-intro h1,.nw-hero h1 {text-wrap:balance}
.reading-guide-body.prose h2[id],.article-reading-section h2[id],.catalogue-invitation [id] {scroll-margin-top:6.6rem}
.ed-opening a,.ed-jumps a,.ed-rays a,.ed-shelf a {-webkit-tap-highlight-color:rgba(27,71,68,.14)}
.ed-jumps a:focus-visible,.ed-rays a:focus-visible,.ed-shelf a:focus-visible,.ed-also a:focus-visible,.ed-also summary:focus-visible,.ed-resources summary:focus-visible {outline:3px solid #367b83; outline-offset:2px}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .ed-feature > .ed-plate {transition:transform .5s ease-out}
  .ed-feature:hover > .ed-plate {transform:scale(1.014)}
  .ed-shelf .journal-card:hover {border-color:#8fa89d}
}
.motion-off .ed-feature > .ed-plate,html[data-motion="off"] .ed-feature > .ed-plate {transform:none!important; transition:none!important}
@media(max-width:940px) {
  .ed-spread {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); min-height:360px}
  .ed-opening .ed-foreword {padding:28px}
  .catalogue-invitation .ed-rays,.ed-shelf .journal-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ed-also nav {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px) {
  .home-page.home-streamlined #accueil.ed-opening {width:calc(100% - 28px); margin:10px auto 0}
  .ed-spread {grid-template-columns:minmax(0,1fr); min-height:0; border-radius:7px 15px 15px 7px}
  .ed-opening .ed-foreword {padding:22px clamp(17px,5vw,32px); border-inline-start-width:3px}
  .ed-opening .ed-imprint {margin:0 0 10px; font-size:.64rem}
  .home-page .ed-opening h1 {font-size:clamp(2.65rem,9.5vw,3.9rem); max-width:none; line-height:.99}
  .ed-opening .ed-intro {max-width:46ch; margin-top:12px; font-size:.98rem; line-height:1.43}
  .ed-opening-actions {margin-top:13px; gap:5px 16px}
  .ed-opening .ed-action,.ed-opening .ed-link {font-size:.91rem; min-height:42px}
  .ed-feature {aspect-ratio:1.55}
  .ed-feature-caption {inset:auto 16px 15px; gap:11px}
  .ed-feature .ed-feature-cover {width:42px}
  .ed-feature strong {font-size:clamp(1.45rem,5.8vw,2.1rem)}
  .ed-feature .ed-feature-label {font-size:.59rem}
  .ed-feature .ed-feature-status {font-size:.81rem; margin-top:3px}
  .ed-feature-arrow {width:30px; height:30px; font-size:1rem}
  .ed-also nav {gap:6px}
  .ed-also nav a {font-size:1rem; padding:7px; gap:8px}
  .catalogue-invitation .ed-rays {grid-template-columns:minmax(0,1fr); gap:7px}
  .catalogue-invitation .ed-rays > a {grid-template-columns:65px minmax(0,1fr); min-height:0; gap:12px; padding:6px}
  .ed-rays img {height:59px}
  .ed-shelf-heading {display:block; margin-bottom:14px}
  .ed-shelf-heading p {margin-top:7px}
  .ed-shelf .journal-grid {grid-template-columns:minmax(0,1fr)}
  .ed-shelf .journal-card > a {display:grid; grid-template-columns:clamp(78px,24vw,140px) minmax(0,1fr); align-content:center; column-gap:13px; padding:10px}
  .ed-shelf .journal-card .journal-image {grid-column:1; grid-row:1 / span 4; align-self:stretch; min-height:90px; height:100%; aspect-ratio:auto; margin:0; border-radius:4px}
  .ed-shelf .journal-card .journal-image img {position:absolute; inset:0}
  .ed-shelf .journal-card :is(.eyebrow,h3,h3 + p,.text-link) {grid-column:2}
  .ed-shelf .journal-card .journal-image {position:relative}
  .ed-shelf .journal-card h3 {font-size:1.22rem}
  .ed-shelf .journal-card h3 + p {margin:5px 0 7px; font-size:.9rem}
}
