:root { --ink: #193D39; --paper: #F6F3EC; --surface: #FFFFFF; --accent: #B18A57; --muted: #52635E; --line: #DADFD8; --font-display: Georgia, "Times New Roman", serif; --font-body: "Segoe UI", Arial, sans-serif; }
/* Phase 7: one semantic shell, three topic-independent art directions. */
html { scroll-behavior: smooth; }
body[class*="theme-"] { --section-space: 4.5rem; --radius: .45rem; margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.68 var(--font-body); -webkit-font-smoothing: antialiased; }
body.spacing-compact { --section-space: 3.2rem; }
body.spacing-airy { --section-space: 6rem; }
body[class*="theme-"] :where(h1,h2,h3,p,ul,ol) { margin-top: 0; }
body[class*="theme-"] :where(h1,h2,h3) { color: var(--ink); line-height: 1.13; letter-spacing: -.028em; }
body[class*="theme-"] :where(h1,h2) { font-family: var(--font-display); }
body[class*="theme-"] a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
body[class*="theme-"] a:hover { text-decoration-color: var(--accent); }
body[class*="theme-"] :where(a,button):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
body[class*="theme-"] button { font: inherit; }
body[class*="theme-"] .skip-link { position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: .65rem 1rem; background: var(--ink); color: var(--surface); }
body[class*="theme-"] .skip-link:focus { top: 1rem; }
body[class*="theme-"] header, body[class*="theme-"] main, body[class*="theme-"] footer { width: min(100%, 76rem); max-width: none; margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 3.5rem); }
body[class*="theme-"] header { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 6.2rem; border-bottom: 1px solid var(--line); }
body[class*="theme-"] header p { margin: 0; font: 700 1.25rem/1.15 var(--font-display); letter-spacing: -.025em; }
body[class*="theme-"] header p a, body[class*="theme-"] header nav a { text-decoration: none; }
body[class*="theme-"] header nav { gap: .45rem 1.6rem; }
body[class*="theme-"] header nav a { font-size: .88rem; font-weight: 650; }
body[class*="theme-"] main { padding-block: 3.2rem 5rem; min-height: 58vh; }
body[class*="theme-"] main > h1 { font-size: clamp(2.4rem, 4.4vw, 4.8rem); max-width: 16ch; margin-bottom: 2rem; }
body[class*="theme-"] main > section, body[class*="theme-"] main > article { margin-block: var(--section-space); }
body[class*="theme-"] main > section:first-of-type, body[class*="theme-"] main > article:first-of-type { margin-top: 0; }
body[class*="theme-"] main section > h2, body[class*="theme-"] .article-detail h2, body[class*="theme-"] .ebook-detail h2 { font-size: clamp(1.55rem, 2.5vw, 2.75rem); margin-bottom: 1.5rem; }
body[class*="theme-"] .content-type, body[class*="theme-"] .hero-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 750; }
body[class*="theme-"] .home-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(15rem,.8fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); min-height: 31rem; padding: clamp(2rem, 5vw, 5.5rem); position: relative; overflow: hidden; }
body[class*="theme-"] .home-hero h2 { font-size: clamp(2.4rem, 5.2vw, 5.6rem); max-width: 13ch; margin: .8rem 0 1.4rem; }
body[class*="theme-"] .home-hero-copy > p:not(.hero-kicker) { max-width: 43ch; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.15rem); }
body[class*="theme-"] .home-hero-copy > a, body[class*="theme-"] .home-cta > a, body[class*="theme-"] :is(.ebook-download,.ebook-buy) { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .65rem 1.15rem; background: var(--ink); color: var(--surface); font-size: .9rem; font-weight: 700; text-decoration: none; }
body[class*="theme-"] .home-hero-copy > a::after, body[class*="theme-"] .home-cta > a::after { content: "↗"; padding-left: 1.3rem; }
body[class*="theme-"] .home-hero-media { min-width: 0; text-align: center; }
body[class*="theme-"] .home-hero-media a { display: block; }
body[class*="theme-"] .home-hero-media .ebook-cover { max-height: 25rem; width: auto; max-width: 100%; margin: auto; }
body[class*="theme-"] .home-hero-media p { margin: -.2rem 0 0; font-size: .78rem; color: var(--muted); }
body[class*="theme-"] .editorial-intro { max-width: 60rem; }
body[class*="theme-"] .editorial-intro p:first-of-type { font: 1.35rem/1.55 var(--font-display); max-width: 50ch; }
body[class*="theme-"] .home-categories { border-block: 1px solid var(--line); padding-block: 2.2rem; }
body[class*="theme-"] .home-categories ul, body[class*="theme-"] .ebook-categories ul { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; }
body[class*="theme-"] .home-categories li { font-weight: 650; }
body[class*="theme-"] .article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem),1fr)); gap: 1.3rem; margin-bottom: 1.5rem; }
body[class*="theme-"] .ebook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem),1fr)); gap: 1.6rem; margin-bottom: 1.5rem; }
body[class*="theme-"] .article-card, body[class*="theme-"] .ebook-card { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; min-width: 0; }
body[class*="theme-"] .article-card h3, body[class*="theme-"] .ebook-card h3 { font: 600 clamp(1.35rem, 1.7vw, 1.8rem)/1.22 var(--font-display); margin: 0 0 .7rem; }
body[class*="theme-"] .article-card p, body[class*="theme-"] .ebook-card p { margin-bottom: .8rem; }
body[class*="theme-"] .article-card .content-type, body[class*="theme-"] .ebook-card .content-type { color: var(--muted); }
body[class*="theme-"] .ebook-card { display: grid; grid-template-columns: minmax(7rem,.7fr) minmax(0,1fr); align-items: center; gap: 1.2rem; }
body[class*="theme-"] .ebook-card .ebook-cover-link { width: 100%; max-width: none; }
body[class*="theme-"] .ebook-card .ebook-cover { width: 100%; height: auto; }
body[class*="theme-"] .ebook-price { font-weight: 750; color: var(--ink); }
body[class*="theme-"] .ebook-library > section { margin-bottom: 3rem; }
body[class*="theme-"] .ebook-categories { border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
body[class*="theme-"] .home-cta { padding: 2.5rem; border: 1px solid var(--line); }
body[class*="theme-"] .article-detail, body[class*="theme-"] .ebook-detail { max-width: 70rem; }
body[class*="theme-"] .article-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(14rem,17rem); gap: 0 4rem; }
body[class*="theme-"] .article-detail > :not(.article-toc):not(.article-author) { grid-column: 1; }
body[class*="theme-"] .article-toc { grid-column: 2; grid-row: 2 / span 2; align-self: start; position: sticky; top: 1rem; font-size: .9rem; }
body[class*="theme-"] .article-toc h2 { font-size: 1.1rem; }
body[class*="theme-"] .article-toc ol { padding-left: 1.2rem; }
body[class*="theme-"] .article-author { grid-column: 1 / -1; margin-block: 2rem; padding: 1.7rem 2rem; border-top: 1px solid var(--line); background: var(--surface); }
body[class*="theme-"] .article-author h2 { font-size: 1.2rem; margin-bottom: .4rem; }
body[class*="theme-"] .article-introduction { font: clamp(1.2rem,1.6vw,1.45rem)/1.55 var(--font-display); max-width: 65ch; }
body[class*="theme-"] .article-tldr { padding: 1.25rem 1.6rem; margin-block: 2rem; border-left: 3px solid var(--accent); background: var(--surface); }
body[class*="theme-"] .article-content { max-width: 67ch; }
body[class*="theme-"] .article-content h2 { padding-top: 1rem; }
body[class*="theme-"] .article-content h3 { font-size: 1.23rem; margin-top: 1.6rem; }
body[class*="theme-"] .ebook-product-hero { grid-template-columns: minmax(13rem,23rem) minmax(0,1fr); align-items: center; gap: clamp(2rem,5vw,5rem); }
body[class*="theme-"] .ebook-product-hero > .ebook-cover { width: 100%; }
body[class*="theme-"] .ebook-promise { font: clamp(1.5rem,2.1vw,2.3rem)/1.35 var(--font-display); }
body[class*="theme-"] .ebook-product-hero button:disabled { padding: .7rem 1rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); cursor: not-allowed; }
body[class*="theme-"] .ebook-practical { margin-block: 4rem; padding-block: 2rem; border-block: 1px solid var(--line); }
body[class*="theme-"] .ebook-practical dl { display: grid; grid-template-columns: 10rem 1fr; max-width: 40rem; gap: .5rem 1rem; }
body[class*="theme-"] .ebook-practical dt { color: var(--muted); }
body[class*="theme-"] .ebook-practical dd { margin: 0; }
body[class*="theme-"] .ebook-preview-image { max-width: 28rem; }
body[class*="theme-"] footer { padding-block: 3rem 4rem; border-top: 1px solid var(--line); font-size: .9rem; }
body[class*="theme-"] footer p:first-child { font: 700 1.35rem/1.2 var(--font-display); }
body[class*="theme-"] footer nav { gap: .8rem 1.5rem; margin-block: 1.3rem; }
body[class*="theme-"] footer nav a { text-decoration: none; }

/* Modern: brisk hierarchy, modular blocks and crisp panels. */
.theme-modern { --radius: .85rem; }
.theme-modern .home-hero { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.theme-modern .home-hero::before { content: ""; position: absolute; width: 8rem; height: .45rem; top: 0; left: 0; background: var(--accent); }
.theme-modern .home-hero-media { padding: 1rem; background: var(--paper); border-radius: .7rem; }
.theme-modern .article-card, .theme-modern .ebook-card { border-radius: .65rem; }
.theme-modern .article-card { border-top: 4px solid var(--accent); }
.theme-modern.variant-grid .home-hero { grid-template-columns: 1fr 1fr; }
.theme-modern.variant-grid .home-articles .article-grid { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
.theme-modern.variant-grid .home-books .ebook-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.theme-modern.variant-grid .home-hero-copy h2 { max-width: 10ch; }

/* Premium: restrained editorial rules, generous reading space and serif display. */
.theme-premium header { flex-direction: column; justify-content: center; gap: .8rem; }
.theme-premium header p { font-size: 1.65rem; }
.theme-premium header nav a { text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.theme-premium main > h1 { font-size: clamp(2.8rem,5vw,5.3rem); }
.theme-premium .home-hero { border-block: 1px solid var(--line); padding-inline: 0; }
.theme-premium .home-hero::before { content: "ÉDITION / 01"; position: absolute; top: .8rem; left: 0; font: .65rem var(--font-body); letter-spacing: .15em; color: var(--muted); }
.theme-premium .home-hero-media { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.theme-premium .article-card, .theme-premium .ebook-card { background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 1.25rem 0; }
.theme-premium .article-card h3, .theme-premium .ebook-card h3 { font-weight: 400; }
.theme-premium .editorial-intro { padding-left: clamp(0rem,8vw,8rem); }
.theme-premium .home-categories li { font: italic 1.25rem var(--font-display); }
.theme-premium.variant-ledger .home-hero { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
.theme-premium.variant-ledger .home-hero-media { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
.theme-premium.variant-ledger .home-books .ebook-grid { grid-template-columns: 1fr; }
.theme-premium.variant-ledger .home-books .ebook-card { grid-template-columns: 9rem 1fr; max-width: 47rem; }

/* Ultra Premium: dark exhibition hero, typographic masthead, strong image stage. */
.theme-ultra-premium header { background: var(--ink); color: var(--surface); border: 0; }
.theme-ultra-premium header a { color: inherit; }
.theme-ultra-premium header p { font-size: 1.4rem; }
.theme-ultra-premium.page-home main > h1 { font-size: clamp(3.4rem,7vw,7.7rem); line-height: .92; margin-bottom: 3rem; max-width: none; }
.theme-ultra-premium .home-hero { background: var(--ink); color: var(--surface); grid-template-columns: minmax(0,1fr) minmax(16rem,.9fr); min-height: 36rem; }
.theme-ultra-premium .home-hero h2 { color: var(--surface); font-weight: 400; max-width: 11ch; }
.theme-ultra-premium .home-hero-copy > p:not(.hero-kicker) { color: #D3DDD5; }
.theme-ultra-premium .home-hero-copy > a { background: var(--surface); color: var(--ink); }
.theme-ultra-premium .home-hero-media { background: var(--surface); padding: 1.5rem; }
.theme-ultra-premium .home-hero-media p { color: var(--ink); }
.theme-ultra-premium .home-hero::before { content: ""; position: absolute; width: 30%; height: 1px; top: 2.3rem; left: 3rem; background: var(--accent); }
.theme-ultra-premium .article-card, .theme-ultra-premium .ebook-card { border: 1px solid var(--line); box-shadow: inset 0 0 0 .4rem var(--surface); padding: 1.8rem; }
.theme-ultra-premium .article-card h3, .theme-ultra-premium .ebook-card h3 { font-weight: 400; }
.theme-ultra-premium .home-categories { border-top: 4px double var(--ink); }
.theme-ultra-premium.variant-atelier header { justify-content: center; text-align: center; flex-direction: column; }
.theme-ultra-premium.variant-atelier .home-hero { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.theme-ultra-premium.variant-atelier .home-hero-media { transform: translateY(1.5rem); }
.theme-ultra-premium.variant-atelier .home-books .ebook-grid { grid-template-columns: 1fr; }

/* Independent composition controls, safe for any editorial subject. */
.hero-band .home-hero { grid-template-columns: minmax(0,1fr) minmax(13rem,.55fr); }
.hero-poster .home-hero { grid-template-columns: minmax(0,1fr) minmax(14rem,.75fr); }
.cards-framed :is(.article-card,.ebook-card) { border-width: 1px; }
.media-inset .home-hero-media { max-width: 23rem; margin-inline: auto; }
.media-bleed .home-hero-media { min-height: 28rem; display: grid; align-content: center; }
.media-stage .home-hero-media { min-height: 22rem; display: grid; align-content: center; }

/* Family treatments outrank shared component defaults. */
body.theme-modern .article-card { border-top: 4px solid var(--accent); }
body.theme-premium :is(.article-card,.ebook-card) { background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 1.25rem 0; }
body.theme-ultra-premium :is(.article-card,.ebook-card) { border: 1px solid var(--line); box-shadow: inset 0 0 0 .4rem var(--surface); padding: 1.8rem; }
body.theme-ultra-premium .home-hero-copy > p:not(.hero-kicker) { color: #D3DDD5; }
body.theme-ultra-premium .home-hero-copy > a { background: var(--surface); color: var(--ink); }

@media (max-width: 48rem) {
  body[class*="theme-"] header { flex-wrap: wrap; min-height: auto; padding-block: 1.3rem; }
  body[class*="theme-"] main { padding-block: 2rem 3rem; }
  body[class*="theme-"] .home-hero, .theme-modern.variant-grid .home-hero, .theme-premium.variant-ledger .home-hero, .theme-ultra-premium.variant-atelier .home-hero { grid-template-columns: 1fr; min-height: 0; }
  body[class*="theme-"] .home-hero-media { max-width: 21rem; margin-inline: auto; }
  body[class*="theme-"] .home-hero-media .ebook-cover { max-height: 17rem; }
  body[class*="theme-"] .article-detail { display: block; }
  body[class*="theme-"] .article-toc { position: static; }
  body[class*="theme-"] .ebook-product-hero { grid-template-columns: 1fr; }
  body[class*="theme-"] .ebook-product-hero > .ebook-cover { max-width: 20rem; margin-inline: auto; }
  .theme-premium .home-hero-media { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
}
@media (max-width: 38rem) {
  body[class*="theme-"] { --section-space: 3rem; }
  body[class*="theme-"] main > h1 { font-size: clamp(2.2rem,10vw,3.5rem); }
  body[class*="theme-"] .home-hero { padding: 1.5rem; }
  body[class*="theme-"] .home-hero h2 { font-size: clamp(2.1rem,11vw,3.3rem); }
  body[class*="theme-"] .ebook-card, .theme-premium.variant-ledger .home-books .ebook-card { grid-template-columns: minmax(6rem,.6fr) minmax(0,1fr); gap: .7rem; padding: 1rem; }
  body[class*="theme-"] .ebook-card h3 { font-size: 1.12rem; }
  body[class*="theme-"] .ebook-practical dl { grid-template-columns: 1fr; }
  body[class*="theme-"] .ebook-practical dd { margin-bottom: .7rem; }
  .theme-ultra-premium .home-hero::before { left: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Premium V2: photographic magazine composition. Activated only by premium_v2.json. */
body.premium-v2 { background: var(--paper); color: var(--ink); }
body.premium-v2 header { width: 100%; max-width: none; min-height: 5.6rem; padding-inline: max(4vw, calc((100vw - 82rem)/2)); background: var(--paper); border-color: var(--line); flex-direction: row; justify-content: space-between; }
body.premium-v2 header p { font: 700 clamp(1.18rem,1.5vw,1.55rem)/1 var(--font-display); letter-spacing: -.045em; }
body.premium-v2 header p a::after { content: "."; color: var(--accent); }
body.premium-v2 header nav { gap: clamp(.9rem,2vw,2.2rem); }
body.premium-v2 header nav a { font-size: .73rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
body.premium-v2.page-home main { width: 100%; max-width: none; padding: 0; min-height: 0; }
body.premium-v2.page-home main > section { margin: 0; }
body.premium-v2 .pv2-eyebrow { color: var(--accent); font: 800 .67rem/1.4 var(--font-body); letter-spacing: .21em; text-transform: uppercase; }
body.premium-v2 .pv2-hero { position: relative; display: flex; align-items: center; min-height: min(48rem,78vw); overflow: hidden; background: var(--ink); color: #fff; }
body.premium-v2 .pv2-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(10,21,20,.80) 0%,rgba(10,21,20,.62) 36%,rgba(10,21,20,.12) 73%),linear-gradient(0deg,rgba(8,17,17,.30),transparent 55%); }
body.premium-v2 .pv2-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
body.premium-v2 .pv2-hero-content { position: relative; z-index: 1; width: min(100% - 8vw,76rem); margin-inline: auto; padding-block: 6rem 7rem; }
body.premium-v2 .pv2-hero .pv2-eyebrow { color: #F1D8BF; margin-bottom: 1.45rem; }
body.premium-v2 .pv2-hero h1 { color: #fff; font: 400 clamp(3.5rem,7vw,7.15rem)/.99 var(--font-display); letter-spacing: -.055em; max-width: 12ch; margin: 0 0 1.7rem; text-wrap: balance; }
body.premium-v2 .pv2-hero-deck { max-width: 35rem; color: #F1F4EF; font-size: clamp(1.08rem,1.55vw,1.28rem); line-height: 1.55; margin-bottom: 2.2rem; }
body.premium-v2 .pv2-actions { display: flex; gap: 1.3rem 2rem; align-items: center; flex-wrap: wrap; }
body.premium-v2 .pv2-actions a { display: inline-flex; align-items: center; min-height: 3.35rem; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; }
body.premium-v2 .pv2-actions a:first-child { padding: .8rem 1.2rem; color: var(--ink); background: var(--surface); }
body.premium-v2 .pv2-actions a:first-child::after { content: "↗"; margin-left: 2rem; }
body.premium-v2 .pv2-actions a:last-child { color: #fff; border-bottom: 1px solid #fff; }
body.premium-v2 .pv2-hero-index { position: absolute; z-index: 1; bottom: 2rem; right: 4vw; font-size: .63rem; font-weight: 800; letter-spacing: .18em; }
/* The home section reset above has higher specificity than a plain .pv2-* rule. */
body.premium-v2.page-home main > :is(.pv2-intro,.pv2-feature,.pv2-topics) { width: min(calc(100% - 8vw),76rem); margin-inline: auto; }
body.premium-v2 .pv2-intro { display: grid; grid-template-columns: minmax(10rem,.42fr) minmax(0,1.3fr) minmax(8rem,.35fr); gap: 2rem; align-items: start; padding-block: 3.8rem; border-bottom: 1px solid var(--line); }
body.premium-v2 .pv2-intro .pv2-eyebrow { margin-top: .55rem; }
body.premium-v2 .pv2-intro h2 { font: 400 clamp(1.7rem,2.85vw,3rem)/1.26 var(--font-display); letter-spacing: -.03em; margin: 0; max-width: 32ch; }
body.premium-v2 .pv2-intro > p:last-child { color: var(--muted); font-size: .73rem; line-height: 1.55; text-align: right; margin: .55rem 0 0; }
body.premium-v2 .pv2-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
body.premium-v2 .pv2-section-head h2 { font: 400 clamp(2.7rem,4.8vw,5rem)/1.05 var(--font-display); letter-spacing: -.045em; margin: .8rem 0 0; max-width: 17ch; }
body.premium-v2 .pv2-section-head > p, body.premium-v2 .pv2-section-head > div > p:last-child { max-width: 27rem; color: var(--muted); font-size: .94rem; line-height: 1.6; }
body.premium-v2 .pv2-section-head > a { white-space: nowrap; font-size: .75rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .4rem; }
body.premium-v2 .pv2-feature { padding-block: 6.5rem 7rem; }
body.premium-v2 .pv2-feature-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(17rem,.65fr); min-height: 31rem; }
body.premium-v2 .pv2-feature-photo { display: block; min-width: 0; overflow: hidden; background: #D5D8D2; }
body.premium-v2 .pv2-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% center; transition: transform .35s ease; }
body.premium-v2 .pv2-feature-photo:hover img { transform: scale(1.025); }
body.premium-v2 .pv2-feature-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: clamp(2rem,4vw,4rem); background: #E8EAE4; }
body.premium-v2 .pv2-feature-copy h3 { font: 400 clamp(2.15rem,3.2vw,3.8rem)/1.08 var(--font-display); margin: 1.1rem 0 1.3rem; }
body.premium-v2 .pv2-feature-copy h3 a { text-decoration: none; }
body.premium-v2 .pv2-feature-copy > p:not(.pv2-eyebrow) { color: var(--muted); line-height: 1.65; max-width: 28rem; }
body.premium-v2 .pv2-feature-copy > a:last-child { margin-top: 1.4rem; font-size: .75rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .35rem; }
body.premium-v2 .pv2-extra-articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; margin-top: 1.5rem; }
body.premium-v2 .pv2-extra-articles:empty { display: none; }
body.premium-v2 .pv2-topics { padding-block: 1.3rem 6.5rem; }
body.premium-v2 .pv2-topics .pv2-section-head { margin-bottom: 2rem; }
body.premium-v2 .pv2-topics ul { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
body.premium-v2 .pv2-topics li { display: grid; grid-template-columns: 3rem 1fr auto auto; gap: 1rem 2.5rem; align-items: center; padding: 1.5rem .2rem; border-bottom: 1px solid var(--line); }
body.premium-v2 .pv2-topic-index { color: var(--accent); font: 800 .7rem var(--font-body); }
body.premium-v2 .pv2-topics strong { font: 400 clamp(1.5rem,2.4vw,2.5rem)/1.1 var(--font-display); }
body.premium-v2 .pv2-topics li a { font-size: .7rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
body.premium-v2 .pv2-books { background: #E6EAE5; padding: 6.5rem max(4vw, calc((100vw - 76rem)/2)) 7rem; }
body.premium-v2 .pv2-books .pv2-section-head { max-width: 76rem; margin-inline: auto; }
body.premium-v2 .pv2-books .pv2-section-head h2 { max-width: none; }
body.premium-v2 .pv2-books .ebook-grid { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; }
body.premium-v2 .pv2-books .ebook-card { display: grid; grid-template-columns: minmax(10rem,.72fr) minmax(0,1fr); align-items: center; gap: 1rem; min-height: 21rem; padding: 1.35rem; background: var(--surface); border: 0; box-shadow: 0 1px 0 #C5CDC7; }
body.premium-v2 .pv2-books .ebook-cover-link { max-width: none; height: 100%; display: grid; place-items: center; background: #F1F3EF; }
body.premium-v2 .pv2-books .ebook-cover { max-height: 18rem; width: 100%; object-fit: contain; }
body.premium-v2 .pv2-books .ebook-card-copy { padding: .7rem; }
body.premium-v2 .pv2-books .ebook-card h3 { font: 400 clamp(1.65rem,2vw,2.35rem)/1.1 var(--font-display); margin: .8rem 0; }
body.premium-v2 .pv2-books .ebook-card-copy > p:not(.content-type):not(.ebook-price) { color: var(--muted); font-size: .83rem; }
body.premium-v2 .pv2-books .ebook-price { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
body.premium-v2 .pv2-books .ebook-card-copy > a { font-size: .73rem; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
body.premium-v2 .pv2-books .book-cover-placeholder { width: 75%; max-width: 11rem; background: #263E3B; color: #fff; border-left: .45rem solid #1A2D2B; box-shadow: 9px 14px 18px #0D201C28; }
body.premium-v2 .book-cover-placeholder { min-width: 0; overflow: hidden; }
body.premium-v2 .pv2-books .book-cover-placeholder span { font-size: .6rem; text-transform: uppercase; letter-spacing: .15em; }
body.premium-v2 .pv2-books .book-cover-placeholder strong { font: 400 1.4rem/1.1 var(--font-display); }
body.premium-v2 .book-cover-placeholder strong { display: none; }
body.premium-v2 .book-cover-placeholder::after { content: "À paraître"; font: 400 clamp(.95rem,1.4vw,1.35rem)/1.15 var(--font-display); border-top: 1px solid #AFC1B8; padding-top: .7rem; }
body.premium-v2 .pv2-closing { display: grid; grid-template-columns: minmax(0,1fr) minmax(15rem,.7fr); align-items: stretch; min-height: 32rem; background: var(--ink); color: #fff; }
body.premium-v2 .pv2-closing-copy { width: min(100%,43rem); justify-self: end; align-self: center; padding: 5rem 4vw 5rem max(4vw,calc((100vw - 76rem)/2)); }
body.premium-v2 .pv2-closing .pv2-eyebrow { color: #E4B599; }
body.premium-v2 .pv2-closing h2 { color: #fff; font: 400 clamp(3rem,5vw,5.5rem)/1.02 var(--font-display); letter-spacing: -.045em; margin: 1rem 0 1.4rem; }
body.premium-v2 .pv2-closing-copy > p:not(.pv2-eyebrow) { color: #DCE4DE; max-width: 32rem; }
body.premium-v2 .pv2-closing-copy > a { display: inline-flex; gap: 2rem; align-items: center; padding: .85rem 1.2rem; background: #fff; color: var(--ink); text-decoration: none; font-size: .75rem; font-weight: 800; margin-top: 1.2rem; }
body.premium-v2 .pv2-closing-copy > a::after { content: "↗"; }
body.premium-v2 .pv2-closing > img { width: 100%; height: 100%; max-height: 34rem; object-fit: cover; object-position: center 42%; }
body.premium-v2 footer { max-width: none; width: 100%; padding: 4rem max(4vw,calc((100vw - 76rem)/2)) 4.5rem; display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 2rem; border: 0; background: #1B2927; color: #E9F0EA; }
body.premium-v2 footer p:first-child { font: 400 1.8rem/1.1 var(--font-display); letter-spacing: -.035em; }
body.premium-v2 footer nav { gap: .8rem 1.3rem; margin: 0; align-content: start; }
body.premium-v2 footer a { color: inherit; font-size: .75rem; }
body.premium-v2 footer > p:last-child { margin: 0; text-align: right; }

/* Other editorial surfaces share the same typography, image language and spacing. */
body.premium-v2:not(.page-home) main { max-width: 76rem; padding-block: 4.5rem 7rem; }
body.premium-v2:not(.page-home) main > h1 { max-width: 18ch; font: 400 clamp(3.2rem,6vw,6rem)/1.04 var(--font-display); letter-spacing: -.045em; }
body.premium-v2:not(.page-home) main > section, body.premium-v2:not(.page-home) main > article { margin-block: 4rem; }
body.premium-v2 .article-card { background: transparent; border: 0; border-top: 1px solid var(--ink); padding: 0 0 1rem; }
body.premium-v2 .article-card-media { display: block; aspect-ratio: 1.45; margin: 0 0 1.3rem; overflow: hidden; background: #D5D8D2; }
body.premium-v2 .article-card-media img { width: 100%; height: 100%; object-fit: cover; }
body.premium-v2 .article-card h3 { font: 400 clamp(1.8rem,2.25vw,2.7rem)/1.12 var(--font-display); }
body.premium-v2 .article-card h3 a { text-decoration: none; }
body.premium-v2 .article-card p:not(.content-type) { color: var(--muted); }
body.premium-v2 .page-library .ebook-card { background: var(--surface); }
body.premium-v2.page-library .ebook-card, body.premium-v2.page-book .ebook-card { border: 0; background: var(--surface); box-shadow: 0 1px 0 var(--line); padding: 1.5rem; }
body.premium-v2.page-library .ebook-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.premium-v2.page-library .ebook-card .ebook-cover-link { min-height: 17rem; display: grid; place-items: center; background: #E8EAE5; }
body.premium-v2.page-library .ebook-card .ebook-cover { max-height: 16rem; }
body.premium-v2.page-library .book-cover-placeholder { background: #263E3B; color: #fff; max-width: 11rem; width: 72%; border-left: .4rem solid #1A2D2B; }
/* Phase 7.1: book and long-form article templates only. Homepage rules above are frozen. */
body.premium-v2.page-article main > h1 { max-width: 19ch; margin-bottom: 1.1rem; }
body.premium-v2.page-article .article-detail { max-width: none; grid-template-columns: minmax(0,44rem) minmax(12rem,17rem); gap: 0 clamp(2rem,5vw,5rem); align-items: start; }
body.premium-v2.page-article .article-detail > .content-type { grid-column: 1 / -1; color: var(--accent); margin: 0 0 1.5rem; }
body.premium-v2.page-article .article-detail > .pv2-article-lead { grid-column: 1 / -1; margin: 0 0 3.5rem; aspect-ratio: 1.9; overflow: hidden; }
body.premium-v2.page-article .pv2-article-lead img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.premium-v2.page-article .article-introduction { max-width: 43ch; font: 400 clamp(1.55rem,2.15vw,2rem)/1.48 var(--font-display); letter-spacing: -.018em; margin-bottom: 2rem; }
body.premium-v2.page-article .article-tldr { margin: 0 0 3rem; padding: 1.6rem 2rem; border: 0; border-left: 3px solid var(--accent); background: #E8EAE5; }
body.premium-v2.page-article .article-tldr strong { display: block; margin-bottom: .55rem; color: var(--accent); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
body.premium-v2.page-article .article-tldr p { margin: 0; line-height: 1.7; }
body.premium-v2.page-article .article-toc { grid-column: 2; grid-row: 4 / span 3; position: sticky; top: 2rem; padding: 1.25rem 0 1.5rem; border-top: 2px solid var(--ink); background: var(--paper); }
body.premium-v2.page-article .article-toc h2 { font: 700 .82rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
body.premium-v2.page-article .article-toc ol { margin: 0; padding-left: 1.25rem; color: var(--accent); }
body.premium-v2.page-article .article-toc li { padding: .4rem 0; line-height: 1.5; }
body.premium-v2.page-article .article-toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
body.premium-v2.page-article .article-content { max-width: 68ch; font: 1.08rem/1.84 var(--font-body); }
body.premium-v2.page-article .article-content p { margin-bottom: 1.45rem; }
body.premium-v2.page-article .article-content h2 { font: 400 clamp(2rem,3vw,2.7rem)/1.17 var(--font-display); letter-spacing: -.035em; padding-top: 1rem; margin: 2.3rem 0 1.15rem; scroll-margin-top: 2rem; }
body.premium-v2.page-article .article-content h3 { font: 700 1.2rem/1.4 var(--font-body); letter-spacing: -.01em; margin: 2.3rem 0 .8rem; }
body.premium-v2.page-article .article-references { max-width: 68ch; margin-top: 2.7rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
body.premium-v2.page-article .article-references h2 { font: 400 1.8rem/1.2 var(--font-display); margin-bottom: .7rem; }
body.premium-v2.page-article .article-references ul { padding-left: 1.2rem; color: var(--muted); font-size: .88rem; line-height: 1.7; }
body.premium-v2.page-article .pv2-author { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin: 4.5rem 0 2rem; padding: 2rem 2.4rem; border-top: 2px solid var(--ink); background: #E8EAE5; }
body.premium-v2.page-article .pv2-author .pv2-author-label { color: var(--accent); font: 800 .68rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem; }
body.premium-v2.page-article .pv2-author h2 { font: 400 clamp(1.55rem,2.3vw,2rem)/1.2 var(--font-display); margin: 0; }
body.premium-v2.page-article .pv2-author > p { margin: 0; font-size: .82rem; font-weight: 700; }
body.premium-v2.page-article .article-detail > :is(.related-articles,.related-books) { grid-column: 1 / -1; margin-top: 3rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
body.premium-v2.page-article :is(.related-articles,.related-books) > h2 { font: 400 clamp(2rem,3vw,2.8rem)/1.15 var(--font-display); margin-bottom: 1.7rem; }
body.premium-v2.page-article .related-articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 1.5rem; }
body.premium-v2.page-article .related-articles > h2 { grid-column: 1 / -1; }
body.premium-v2.page-article .related-articles .article-card { max-width: 31rem; }
body.premium-v2.page-article .related-books .ebook-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.premium-v2.page-article .related-books .ebook-card { background: var(--surface); border: 0; padding: 1.2rem; }

body.premium-v2.page-book main > h1 { margin-bottom: 2.3rem; }
body.premium-v2.page-book .ebook-product-hero { padding: clamp(2rem,4vw,3.5rem); background: #E8EAE5; grid-template-columns: minmax(17rem,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); }
body.premium-v2.page-book .ebook-product-hero > .ebook-cover { max-height: 38rem; width: 100%; }
body.premium-v2.page-book .ebook-product-hero > div { max-width: 30rem; }
body.premium-v2.page-book .ebook-product-hero .content-type { color: var(--accent); margin-bottom: 1.3rem; }
body.premium-v2.page-book .ebook-promise { font: 400 clamp(2rem,3vw,3.1rem)/1.16 var(--font-display); letter-spacing: -.035em; margin-bottom: 1.5rem; }
body.premium-v2.page-book .ebook-product-hero > div > p:not(.content-type):not(.ebook-promise):not(.ebook-price):not(.ebook-payment-note) { color: var(--muted); font-size: 1.05rem; line-height: 1.72; margin-bottom: 2rem; }
body.premium-v2.page-book .ebook-product-hero .ebook-price { font-size: 1.12rem; margin-bottom: 1.4rem; }
body.premium-v2.page-book .ebook-product-hero :is(.ebook-download,.ebook-buy,button) { min-height: 3.2rem; padding-inline: 1.25rem; }
body.premium-v2.page-book .ebook-practical { display: grid; grid-template-columns: minmax(12rem,.55fr) minmax(0,1.45fr); gap: 1rem 3rem; margin-block: 3.2rem; padding-block: 1.7rem; }
body.premium-v2.page-book .ebook-practical h2 { font: 400 1.8rem/1.2 var(--font-display); margin: .15rem 0 0; }
body.premium-v2.page-book .ebook-practical dl { grid-template-columns: 7rem minmax(0,1fr); max-width: none; margin: 0; gap: .45rem 1rem; font-size: .91rem; }
body.premium-v2.page-book .ebook-practical ul { grid-column: 2; margin: 0; padding-left: 1rem; color: var(--muted); font-size: .87rem; }
body.premium-v2.page-book .pv2-book-preview { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 2rem 4rem; align-items: center; padding: clamp(2rem,4vw,3.5rem); background: #E8EAE5; }
body.premium-v2.page-book .pv2-book-preview h2 { font: 400 clamp(2rem,3vw,3rem)/1.12 var(--font-display); margin: 0 0 1rem; }
body.premium-v2.page-book .pv2-book-preview p:not(.content-type) { color: var(--muted); line-height: 1.65; }
body.premium-v2.page-book .pv2-book-preview figure { margin: 0; padding: 1.3rem; background: var(--surface); text-align: center; }
body.premium-v2.page-book .pv2-book-preview .ebook-preview-image { width: auto; max-width: 100%; max-height: 30rem; margin: 0 auto; }
body.premium-v2.page-book .pv2-book-preview figcaption { margin-top: .7rem; color: var(--muted); font-size: .73rem; }
body.premium-v2.page-book .ebook-related { margin-block: 4.5rem 3rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
body.premium-v2.page-book .ebook-related > h2 { font: 400 clamp(2rem,3vw,2.8rem)/1.15 var(--font-display); margin-bottom: 1.7rem; }
body.premium-v2.page-book .ebook-related .article-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: .4rem 2rem; max-width: none; }
body.premium-v2.page-book .ebook-related .article-card-media { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
body.premium-v2.page-book .ebook-related .article-card > :not(.article-card-media) { grid-column: 2; }

@media (max-width: 900px) {
  body.premium-v2.page-article .article-detail { display: block; }
  body.premium-v2.page-article .article-toc { position: static; margin: 0 0 2.5rem; padding: 1.3rem 1.5rem; border-top: 2px solid var(--ink); background: #E8EAE5; }
  body.premium-v2.page-article .pv2-author { margin-top: 3.3rem; }
  body.premium-v2.page-book .ebook-product-hero { grid-template-columns: minmax(14rem,.8fr) minmax(0,1fr); gap: 2rem; }
  body.premium-v2 .pv2-intro { grid-template-columns: 1fr 2fr; }
  body.premium-v2 .pv2-intro > p:last-child { grid-column: 2; text-align: left; }
  body.premium-v2 .pv2-feature-grid { grid-template-columns: 1fr 1fr; }
  body.premium-v2 .pv2-books .ebook-grid { grid-template-columns: 1fr; }
  body.premium-v2 .pv2-closing-copy { padding-left: 5vw; }
}
@media (max-width: 650px) {
  body.premium-v2.page-article main > h1 { margin-bottom: 1rem; }
  body.premium-v2.page-article .article-detail > .pv2-article-lead { aspect-ratio: 1.15; margin-bottom: 2.3rem; }
  body.premium-v2.page-article .article-introduction { font-size: 1.45rem; line-height: 1.52; }
  body.premium-v2.page-article .article-tldr { padding: 1.3rem 1.45rem; margin-bottom: 2rem; }
  body.premium-v2.page-article .article-content { font-size: 1.04rem; line-height: 1.8; }
  body.premium-v2.page-article .article-content h2 { font-size: 2rem; }
  body.premium-v2.page-article .pv2-author { display: block; padding: 1.6rem; }
  body.premium-v2.page-article .pv2-author > p { margin-top: 1rem; }
  body.premium-v2.page-article .related-articles, body.premium-v2.page-article .related-books .ebook-grid { grid-template-columns: 1fr; }
  body.premium-v2.page-book .ebook-product-hero { grid-template-columns: 1fr; padding: 1.6rem; }
  body.premium-v2.page-book .ebook-product-hero > .ebook-cover { max-width: 24rem; max-height: 31rem; margin-inline: auto; }
  body.premium-v2.page-book .ebook-promise { font-size: 2.05rem; }
  body.premium-v2.page-book .ebook-practical { display: block; margin-block: 2.3rem; }
  body.premium-v2.page-book .ebook-practical h2 { margin-bottom: 1.2rem; }
  body.premium-v2.page-book .ebook-practical dl { grid-template-columns: 5.5rem minmax(0,1fr); }
  body.premium-v2.page-book .ebook-practical ul { margin-top: 1rem; }
  body.premium-v2.page-book .pv2-book-preview { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.6rem; }
  body.premium-v2.page-book .ebook-related .article-card { display: block; }
  body.premium-v2.page-book .ebook-related .article-card-media { margin-bottom: 1.2rem; }
  body.premium-v2 header { padding: 1.25rem 5vw; gap: 1rem; align-items: start; flex-direction: column; }
  body.premium-v2 header p { font-size: 1.5rem; }
  body.premium-v2 header nav { gap: .6rem 1.15rem; }
  body.premium-v2 header nav a { font-size: .67rem; }
  body.premium-v2 .pv2-hero { min-height: 39rem; align-items: end; }
  body.premium-v2 .pv2-hero-photo { object-position: 67% center; }
  body.premium-v2 .pv2-hero::after { background: linear-gradient(0deg,rgba(8,19,18,.90) 0%,rgba(8,19,18,.45) 55%,rgba(8,19,18,.12) 100%); }
  body.premium-v2 .pv2-hero-content { width: 90%; padding: 7rem 0 4.3rem; }
  body.premium-v2 .pv2-hero h1 { font-size: clamp(3rem,12vw,4.7rem); max-width: 11ch; }
  body.premium-v2 .pv2-hero-deck { font-size: 1rem; }
  body.premium-v2 .pv2-hero-index { bottom: 1.15rem; right: 5vw; font-size: .52rem; }
  body.premium-v2.page-home main > :is(.pv2-intro,.pv2-feature,.pv2-topics) { width: 90%; }
  body.premium-v2 .pv2-intro { display: block; padding-block: 2.7rem; }
  body.premium-v2 .pv2-intro h2 { margin: 1rem 0; font-size: 2rem; }
  body.premium-v2 .pv2-intro > p:last-child { text-align: left; }
  body.premium-v2 .pv2-section-head { display: block; }
  body.premium-v2 .pv2-section-head h2 { font-size: clamp(2.5rem,10vw,3.7rem); }
  body.premium-v2 .pv2-section-head > a { display: inline-block; margin-top: 1.4rem; }
  body.premium-v2 .pv2-feature { padding-block: 4.2rem; }
  body.premium-v2 .pv2-feature-grid { grid-template-columns: 1fr; }
  body.premium-v2 .pv2-feature-photo { aspect-ratio: 1.15; }
  body.premium-v2 .pv2-feature-copy { padding: 2.1rem 1.6rem 2.4rem; }
  body.premium-v2 .pv2-feature-copy h3 { font-size: 2.5rem; }
  body.premium-v2 .pv2-topics { padding-bottom: 4.2rem; }
  body.premium-v2 .pv2-topics li { grid-template-columns: 2rem 1fr; gap: .65rem 1rem; }
  body.premium-v2 .pv2-topics li a { grid-column: 2; justify-self: start; }
  body.premium-v2 .pv2-books { padding: 4.2rem 5vw 4.8rem; }
  body.premium-v2 .pv2-books .ebook-card { grid-template-columns: minmax(7.5rem,.75fr) minmax(0,1fr); min-height: 0; gap: .65rem; padding: .8rem; }
  body.premium-v2 .pv2-books .ebook-cover-link { min-height: 14rem; }
  body.premium-v2 .pv2-books .ebook-cover { max-height: 13rem; }
  body.premium-v2 .pv2-books .ebook-card h3 { font-size: 1.55rem; }
  body.premium-v2 .pv2-books .ebook-card-copy { padding: .25rem; }
  body.premium-v2 .pv2-books .book-cover-placeholder, body.premium-v2.page-library .book-cover-placeholder { width: 92%; padding: .5rem; border-left-width: .3rem; }
  body.premium-v2 .pv2-books .book-cover-placeholder strong, body.premium-v2.page-library .book-cover-placeholder strong { font-size: 1.02rem; line-height: 1.12; }
  body.premium-v2 .pv2-closing { grid-template-columns: 1fr; }
  body.premium-v2 .pv2-closing-copy { padding: 4.3rem 5vw 3.5rem; }
  body.premium-v2 .pv2-closing h2 { font-size: 3.5rem; }
  body.premium-v2 .pv2-closing > img { height: 19rem; object-position: center 36%; }
  body.premium-v2 footer { display: block; padding: 3.2rem 5vw 3.8rem; }
  body.premium-v2 footer nav { margin-block: 1.5rem; }
  body.premium-v2 footer > p:last-child { text-align: left; }
  body.premium-v2:not(.page-home) main { padding-block: 2.7rem 4rem; }
  body.premium-v2:not(.page-home) main > h1 { font-size: clamp(3rem,12vw,4.5rem); }
  body.premium-v2.page-library .ebook-grid { grid-template-columns: 1fr; }
}

/* Shared factory-site refinements. Frozen V2 theme styles and reference demos stay intact. */
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-card,
body:is(.modern-v2,.premium-v2,.ultra-v2) .uv2-story-copy,
body:is(.modern-v2,.premium-v2,.ultra-v2) .mv2-story-copy { min-width: 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) :is(.article-card,.uv2-story,.mv2-story) h2,
body:is(.modern-v2,.premium-v2,.ultra-v2) :is(.article-card,.uv2-story,.mv2-story) h3 { overflow-wrap: break-word; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
body.ultra-v2 .uv2-story-copy > p:not(.uv2-kicker) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-card { display: flex; flex-direction: column; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-card > a:last-child { align-self: flex-start; margin-top: auto; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .ebook-card-copy { display: flex; flex-direction: column; min-width: 0; height: 100%; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .ebook-card-copy > a:last-child { align-self: flex-start; margin-top: auto; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-contextual-link { font-weight: 700; text-underline-offset: .2em; }

/* Article manuscript v3: shared semantics, with each V2 theme supplying its own tokens. */
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content > section { min-width: 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content strong { font-weight: 750; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content p { max-width: 68ch; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll {
  max-width: 100%; overflow-x: auto; margin: 1.8rem 0 2.2rem;
  scrollbar-width: thin; overscroll-behavior-inline: contain;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-hint { display: none; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll table {
  width: 100%; min-width: 32rem; border-collapse: collapse; text-align: left; font-size: .9rem; line-height: 1.55;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll caption {
  caption-side: top; text-align: left; font: 700 .9rem/1.45 var(--font-body); padding: 0 0 .8rem;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll th,
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll td {
  padding: .75rem .85rem; border-bottom: 1px solid var(--line); vertical-align: top;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll thead { background: var(--surface); }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-scroll tbody th { font-weight: 700; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-callout {
  margin: 2rem 0; padding: 1.35rem 1.55rem; border-left: 3px solid var(--accent); background: var(--surface);
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-callout-warning { border-left-color: var(--ink); }
body:is(.modern-v2,.premium-v2,.ultra-v2) :is(.article-callout,.article-checklist,.article-steps,.article-faq) h3 {
  margin: 0 0 .75rem; padding: 0; font: 700 1.08rem/1.35 var(--font-body); letter-spacing: 0;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-callout p { margin: 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) :is(.article-checklist,.article-steps,.article-faq) { margin: 2rem 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) :is(.article-checklist,.article-steps) :is(ul,ol) { padding-left: 1.4rem; margin: .6rem 0 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) :is(.article-checklist,.article-steps) li { padding: .34rem 0 .34rem .3rem; line-height: 1.65; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-checklist li::marker { color: var(--accent); content: "✓  "; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-faq dt { font-weight: 700; margin-top: 1rem; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-faq dd { margin: .35rem 0 1rem; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content + .article-faq {
  max-width: 68rem; margin: clamp(2.8rem,5vw,5rem) auto 3rem; padding: clamp(1.3rem,3vw,2.2rem);
  border-top: 2px solid var(--ink); background: var(--surface);
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content + .article-faq h2 {
  margin: 0 0 1.3rem; font: 700 clamp(1.4rem,2.4vw,2rem)/1.2 var(--font-display);
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content + .article-faq dl { margin: 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-faq-item { padding: 1.05rem 0; border-top: 1px solid var(--line); }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-faq-item dt { margin: 0 0 .4rem; font-size: 1rem; line-height: 1.4; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-faq-item dd { margin: 0; max-width: 70ch; line-height: 1.65; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-sponsored {
  padding: 1rem 1.25rem; margin: 0 0 2rem; border: 1px solid var(--accent); background: var(--surface);
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-sponsored strong { display: block; margin-bottom: .35rem; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .article-sponsored p { margin: 0; }

body.modern-v2 .mv2-front-grid-solo { grid-template-columns: minmax(0,1fr); }
body.modern-v2 .mv2-front-grid-solo .mv2-story-lead {
  grid-template-columns: minmax(0,1.12fr) minmax(18rem,.88fr);
  grid-template-rows: minmax(28rem,auto);
}
body.modern-v2 .mv2-front-grid-solo .mv2-story-image img { max-height: none; min-height: 100%; object-position: center; }
body.modern-v2 .mv2-front-grid-solo .mv2-story-copy { justify-content: center; }
body.modern-v2 .mv2-books .mv2-section-heading > a { align-self: end; white-space: nowrap; }
body.ultra-v2 .uv2-diptych:empty,
body.ultra-v2 .uv2-diptych-head:has(+ .uv2-diptych:empty) { display: none; }

body:is(.modern-v2,.premium-v2,.ultra-v2) .author-profile {
  display: grid;
  grid-template-columns: 5.5rem minmax(0,1fr);
  align-items: start;
  gap: clamp(1rem,2.5vw,2rem);
  padding: clamp(1.4rem,3vw,2.2rem);
  margin-block: 3rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
body.premium-v2.page-article .author-profile { display: grid; grid-template-columns: 5.5rem minmax(0,1fr); align-items: start; position: relative; z-index: 2; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-mark {
  display: grid;
  place-items: center;
  width: 5.5rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--accent);
  font: 700 1.35rem/1 var(--font-display);
  letter-spacing: -.04em;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-portrait { margin: 0; width: 5.5rem; min-width: 0; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-portrait img {
  display: block; width: 5.5rem; height: 5.5rem; object-fit: cover; object-position: center 38%;
  border-radius: 50%; border: 1px solid var(--line);
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-portrait-caption {
  margin: -.35rem 0 .85rem; color: var(--muted); font-size: .76rem; line-height: 1.45;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-identity { min-width: 0; max-width: 54rem; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-role {
  margin: 0 0 .45rem;
  color: var(--accent);
  font: 800 .7rem/1.4 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-specialties {
  margin: 0 0 .4rem; color: var(--accent); font: 800 .7rem/1.4 var(--font-body);
  letter-spacing: .09em; text-transform: uppercase;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-function {
  margin: -.3rem 0 .85rem; color: var(--ink); font-size: .94rem; line-height: 1.45;
}
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-profile h2 { margin: 0 0 .8rem; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-presentation { margin: 0 0 1rem; color: var(--muted); line-height: 1.65; }
body:is(.modern-v2,.premium-v2,.ultra-v2) .author-about { display: inline-block; font-size: .8rem; font-weight: 800; text-underline-offset: .3em; }

@media (max-width: 860px) {
  body.modern-v2 .mv2-front-grid-solo .mv2-story-lead { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  body.modern-v2 .mv2-front-grid-solo .mv2-story-image { aspect-ratio: 1.55; }
  body.modern-v2 .mv2-front-grid-solo .mv2-story-image img { height: 100%; min-height: 0; }
  body.modern-v2 .mv2-books .mv2-section-heading > a { grid-column: 2; }
}
@media (max-width: 640px) {
  body:is(.modern-v2,.premium-v2,.ultra-v2) .article-table-hint {
    display: block; margin: 1.4rem 0 -.9rem; color: var(--muted); font-size: .77rem; line-height: 1.45;
  }
  body:is(.modern-v2,.premium-v2,.ultra-v2) .article-card-excerpt { -webkit-line-clamp: 4; }
  body.ultra-v2 .uv2-story-copy > p:not(.uv2-kicker) { -webkit-line-clamp: 4; }
  body.modern-v2 .mv2-front-grid-solo .mv2-story-image { aspect-ratio: 1.28; }
  body.modern-v2 .mv2-books .mv2-section-heading > a { grid-column: 1; }
  body:is(.modern-v2,.premium-v2,.ultra-v2) .author-profile,
  body.premium-v2.page-article .author-profile { grid-template-columns: 4.25rem minmax(0,1fr); padding: 1.2rem; }
  body:is(.modern-v2,.premium-v2,.ultra-v2) .author-mark { width: 4.25rem; font-size: 1rem; }
  body:is(.modern-v2,.premium-v2,.ultra-v2) .author-portrait,
  body:is(.modern-v2,.premium-v2,.ultra-v2) .author-portrait img { width: 4.25rem; }
  body:is(.modern-v2,.premium-v2,.ultra-v2) .author-portrait img { height: 4.25rem; }
  body:is(.modern-v2,.premium-v2,.ultra-v2) .article-content + .article-faq { padding: 1.15rem; }
}
