/* Desktop editorial rhythm. Phone/tablet styles remain in their own sheets. */
@media (min-width: 1024px) {
  body { --desktop-gutter: clamp(40px, 4.5vw, 64px); }
  body .wrap {
    width: 100%;
    max-width: 1408px;
    margin-inline: auto;
    padding-inline: var(--desktop-gutter);
  }
  body .site-header { --header-logo-size: 88px; }
  body .site-header .header-main { padding-block: 12px; flex-wrap: nowrap; }
  body .site-header .brand-wordmark { padding: 12px 32px; }
  body .site-header::before { background-size: 1400px 190px; }
  body .site-header .catalogue-nav {
    justify-content: space-between;
    gap: clamp(18px, 2.4vw, 36px);
  }
  body .site-header .header-main > .btn { flex-shrink: 0; }

  body #mainContent { --layout-gap: clamp(36px, 4vw, 56px); }
  body #mainContent h1,
  body #mainContent.author-profile-common h1 {
    font-size: clamp(46px, 4.5vw, 64px);
    line-height: 1.08;
  }
  body #mainContent h2,
  body #mainContent.author-profile-common h2 {
    font-size: clamp(34px, 3.3vw, 46px);
    line-height: 1.15;
  }
  body #mainContent h3 { font-size: clamp(25px, 2.2vw, 31px); line-height: 1.2; }
  body #mainContent :is(.feature-heading, .section-head) { margin-bottom: 36px; }
  body #mainContent :is(.feature-section, .section-block, .lq-spotlight) {
    padding-block: 64px;
  }
  body #mainContent :is(.editorial-hero, .author-spotlight) { padding-block: 48px 64px; }
  body #mainContent .content-breadcrumb { padding-block: 24px 0; }
  body #mainContent :is(.editorial-hero.simple, .resource-intro) > p { max-width: 70ch; }
  body #mainContent :is(.card-grid, .resource-grid, .upcoming-authors-grid) { gap: 28px; }
  body #mainContent :is(.btn, .textlink, .lq-primary) { white-space: normal; }

  /* Book landing pages use one grid and one set of edges, from cover to credits. */
  body #mainContent.published-book-page { background: #faf9f5f5; }
  body #mainContent.published-book-page > :is(.published-hero, .book-author-strip, .book-portrait-section, .book-reading-grid) {
    padding-block: 64px;
    gap: var(--layout-gap);
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
  body #mainContent.published-book-page > .published-hero { padding-top: 40px; }
  body #mainContent.published-book-page > .book-reading-section { padding-block: 64px; }
  body #mainContent.published-book-page .book-reading-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: var(--layout-gap);
  }
  body #mainContent.published-book-page > :is(.book-author-strip, .book-portrait-section, .book-reading-grid) {
    border-bottom: 1px solid #b6a98955;
  }
  body #mainContent.published-book-page > .book-author-strip { max-width: 1408px; }
  body #mainContent.published-book-page .published-visual { width: 100%; max-width: 430px; justify-self: center; padding: 28px; }
  body #mainContent.published-book-page .published-visual .eva-book-object { max-width: 235px; }
  body #mainContent.published-book-page .book-author-strip > :is(img, .image-depth) {
    width: 100%; max-width: 290px; justify-self: center; margin: 0;
  }
  body #mainContent.published-book-page .book-author-strip .textlink {
    display: table; margin: 20px 0 0;
  }
  body #mainContent.published-book-page .book-portrait-section { align-items: center; }
  body #mainContent.published-book-page .eva-video-card {
    box-sizing: border-box; width: 100%; max-width: 440px;
    justify-self: center; margin: 0; padding: 24px; background: #fffdf8;
  }
  body #mainContent.published-book-page .eva-video-card video {
    display: block; width: 100%; height: auto; max-height: 390px;
    object-fit: contain; margin-bottom: 20px;
  }
  body #mainContent.published-book-page .eva-video-card h3 { font-size: 28px; margin: 0 0 16px; }
  body #mainContent.published-book-page #entretien-autrice .eva-video-card { max-width: 600px; }
  body #mainContent.published-book-page #entretien-autrice video { aspect-ratio: 16 / 9; }
  body #mainContent.published-book-page .book-facts { gap: 24px; }
  body #mainContent.published-book-page :is(.book-reading-grid, .book-portrait-section) p:last-child { margin-bottom: 0; }

  /* Catalogue navigation and featured books use separate, clearly spaced sections. */
  body #mainContent.book-catalogue-page > .books-intro { padding-block: 48px; }
  body #mainContent.book-catalogue-page > .lq-spotlight { width: 100%; padding-block: 56px; }
  body #mainContent.book-catalogue-page .lq-feature-grid { gap: 56px; }
  body #mainContent.book-catalogue-page .books-spotlight { margin-block: 48px; }

  /* Standard book and author sheets share the same readable desktop scale. */
  body #mainContent.book-detail {
    width: 100%; max-width: 1408px;
    padding: 32px var(--desktop-gutter) 72px;
  }
  body #mainContent .book-detail-grid {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 56px;
  }
  body #mainContent .book-detail-grid > .catalogue-cover { height: auto; max-height: 540px; }
  body #mainContent .book-detail-grid > .catalogue-cover img { max-height: 540px; object-fit: contain; }
  body #mainContent :is(.eva-intro, .author-book-feature, .lq-hero) { gap: 56px; }
  body #mainContent.author-profile-common :is(.eva-photo, .lq-conference) { max-width: 360px; }
  body #mainContent .author-single-sheet { width: calc(100% - 2 * var(--desktop-gutter)); max-width: 1280px; }
  body #mainContent :is(.eva-chapters, .eva-portraits-grid, .eva-interviews) { gap: 28px; }
  body #mainContent .eva-interview-card video { max-height: 400px; }

  /* Keep the desktop home composition balanced with the portrait campaign. */
  body #mainContent .hero.art-hero.has-manuscript-carousel { padding-block: 40px 56px; row-gap: 40px; }
  body #mainContent .has-manuscript-carousel > .hero-composition { max-width: 500px; height: 570px !important; }
  body #mainContent .has-manuscript-carousel .composition-main { height: 390px !important; }
  body #mainContent .has-manuscript-carousel .composition-portrait { height: 260px !important; }
  body #mainContent .has-manuscript-carousel .composition-small { top: 292px; height: 250px !important; }
  body #mainContent .has-manuscript-carousel .orbit-seal { top: 270px; }
  body #mainContent .has-manuscript-carousel .hero-art { width: 180px; height: 250px; bottom: 6px; }
  body #mainContent .has-manuscript-carousel .manuscript-carousel { max-width: 400px; }
  body #mainContent .has-manuscript-carousel > .hero-copy > h1 { font-size: clamp(46px, 4.5vw, 64px); }
  body #mainContent .home-author-card .eva-book-title { font-size: clamp(28px, 2.5vw, 35px); }
  body #mainContent .lh-reference h2 { font-size: 18px; line-height: 1.65; }

  /* Forms and information cards need their own smaller heading hierarchy. */
  body #mainContent .contact-layout { gap: 56px; padding-block: 48px 80px; }
  body #mainContent .contact-card { padding: 32px; box-shadow: 6px 7px 0 #e4dac9; }
  body #mainContent :is(.contact-note, .publisher-address-card, .verite-formats) h2 { font-size: 30px; }
  body #mainContent .verite-format h3 { font-size: 24px; }
  body #mainContent .resource-grid h2 { font-size: 32px; }
  body #mainContent .forfaits-hero { padding-block: 48px 64px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body #mainContent .home-author-spotlight .home-author-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
  body #mainContent .home-author-card > .home-author-book { grid-column: 2; }
  body #mainContent .home-author-card > .home-author-copy { grid-row: 1 / span 2; }
  body #mainContent .lh-reference__panel { grid-template-columns: 150px minmax(0, 1fr) 170px; gap: 20px; }
}
