/* Shared editorial book pages. Kept independent from the home-page components. */
.book-landing { --book-accent: #4B1018; --book-soft: #E9DED0; --book-highlight: #D8A383; --wine: var(--book-accent); }
.book-two { --book-accent: #1B3240; --book-soft: #DFE5E2; --book-highlight: #D6AB8D; }
.book-landing h1, .book-landing h2, .book-landing h3 { text-wrap: balance; }
.book-landing h2 { font-size: clamp(40px,4.4vw,64px); line-height: 1.04; }
.book-landing p { text-wrap: pretty; }
.book-landing .button .cta-label { font-size: inherit; line-height: 1.5; }
.book-landing .button:hover { background: var(--charcoal); }
.book-landing .eyebrow { margin-bottom: 22px; }
.book-landing summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
.lp-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid var(--rule); }
.lp-topbar { min-height: 88px; display: flex; align-items: center; gap: 38px; }
.lp-nav { margin-left: auto; display: flex; gap: 32px; }
.lp-nav a { display: flex; align-items: center; min-height: 44px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.lp-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.lp-hero { background: var(--book-accent); color: var(--ivory); overflow: clip; }
.lp-hero-inner { display: grid; grid-template-columns: 1.12fr 1fr; gap: 7%; align-items: center; padding-block: 38px 65px; }
.lp-back { display: inline-block; margin-bottom: 36px; font-size: 11px; color: #E6D9CD; min-height: 24px; }
.lp-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.lp-hero .eyebrow { color: var(--book-highlight); margin-bottom: 10px; font-size: 9px; }
.lp-book-name { font: 500 20px/1.3 var(--serif); color: #EADDCF; margin-bottom: 22px; }
.lp-hero h1 { color: var(--ivory); font-size: clamp(48px,4.7vw,72px); line-height: .99; letter-spacing: -.045em; }
.lp-hero h1 em { color: var(--book-highlight); }
.lp-lead { max-width: 500px; font-size: 14px; line-height: 1.85; color: #E3D8CD; margin-top: 26px; }
.lp-hero .button { background: var(--ivory); color: var(--book-accent); border-color: var(--ivory); margin-top: 28px; letter-spacing: .075em; }
.lp-hero .button:hover { background: var(--book-highlight); border-color: var(--book-highlight); }
.lp-inline-link { display: block; width: fit-content; margin-top: 16px; font: 400 18px/1.4 var(--serif); text-decoration: underline; text-underline-offset: 5px; }
.lp-byline { margin-top: 27px; font-size: 9px; letter-spacing: .05em; color: #D7C7BA; }
.lp-cover-scene { position: relative; isolation: isolate; padding: 35px 35px 24px; text-align: center; }
.lp-cover-scene::before { content: ''; position: absolute; inset: 18% -9% 10%; z-index: -1; border: 1px solid rgba(234,215,193,.32); border-radius: 50%; transform: rotate(-24deg); }
.lp-cover-scene::after { content: ''; position: absolute; inset: 12% 0 10%; z-index: -2; background: radial-gradient(ellipse,rgba(233,209,179,.18),transparent 70%); }
.lp-cover { width: min(100%,335px); height: auto; margin-inline: auto; transform: rotate(-5deg); filter: drop-shadow(16px 25px 20px rgba(0,0,0,.3)); }
.book-two .lp-cover { transform: rotate(4deg); }
.lp-edition { position: absolute; top: 0; right: 0; font-size: 9px; letter-spacing: .22em; color: var(--book-highlight); }
.lp-cover-scene figcaption { position: relative; margin-top: 35px; font: 400 25px/1.2 var(--hand); color: var(--book-highlight); }
.lp-facts { background: var(--book-soft); border-bottom: 1px solid var(--rule); }
.lp-facts > div { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 27px; }
.lp-facts p { display: flex; align-items: center; justify-content: center; gap: 18px; border-right: 1px solid var(--rule); padding-inline: 15px; }
.lp-facts p:last-child { border-right: 0; }
.lp-facts strong { font: 500 49px/1 var(--serif); color: var(--book-accent); }
.lp-facts span { max-width: 155px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.7; }
.lp-space { padding-block: clamp(70px,8vw,120px); }
.lp-split { display: grid; grid-template-columns: 1.12fr 1fr; gap: 10%; align-items: start; }
.lp-split > div p + p { margin-top: 22px; }
.lp-split > div, .lp-section-heading > p, .lp-author > div > p:not(.eyebrow):not(.lp-signature) { font-size: 14px; line-height: 1.9; color: var(--muted); }
.lp-outcomes { background: var(--book-soft); }
.lp-outcomes h2 { max-width: 810px; }
.lp-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 6%; margin-top: 58px; }
.lp-benefits article { border-top: 1px solid var(--rule); padding-top: 20px; }
.lp-benefits article > span { font: 400 15px/1 var(--serif); color: var(--muted); }
.lp-benefits h3 { font-size: 33px; margin-block: 28px 17px; }
.lp-benefits p { font-size: 13px; line-height: 1.9; color: #514D48; }
.lp-section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10%; align-items: end; margin-bottom: 42px; }
.lp-chapters { border-top: 1px solid var(--rule); }
.lp-chapters details, .lp-faq details { border-bottom: 1px solid var(--rule); }
.lp-chapters summary { list-style: none; display: flex; align-items: center; gap: 30px; padding: 24px 0; cursor: pointer; color: var(--book-accent); }
.book-landing summary::-webkit-details-marker { display: none; }
.lp-chapters summary::after, .lp-faq summary::after { content: '+'; flex-shrink: 0; font: 400 26px/1 var(--serif); }
.lp-chapters details[open] summary::after, .lp-faq details[open] summary::after { content: '−'; }
.lp-chapters summary > span { font: 400 20px/1 var(--serif); color: var(--muted); }
.lp-chapters summary strong { font: 500 30px/1.2 var(--serif); }
.lp-chapters summary small { margin-left: auto; font-size: 10px; color: var(--muted); white-space: nowrap; }
.lp-chapters details > p { max-width: 770px; margin: 0 0 25px 50px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.lp-samples { background: #EEE6DB; }
.lp-recipe-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-block: 44px 30px; }
.lp-recipe-strip img { width: 100%; height: auto; }
.lp-recipe-strip figcaption { padding-block: 19px; }
.lp-recipe-strip small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lp-recipe-strip h3 { font-size: 29px; margin-top: 8px; }
.lp-author { display: grid; grid-template-columns: .88fr 1.12fr; gap: 11%; align-items: center; }
.lp-author > figure { position: relative; }
.lp-author > figure img { width: 100%; height: auto; border-radius: 48% 48% 0 0; }
.lp-author figcaption { font: 400 35px/1.2 var(--hand); color: var(--ivory); position: absolute; bottom: 22px; left: 30px; text-shadow: 0 1px 12px #252321; transform: rotate(-7deg); }
.lp-author h2 { margin-bottom: 28px; }
.lp-author > div > p + p { margin-top: 18px; }
.lp-signature { font: italic 500 48px/1.2 var(--serif); color: var(--book-accent); margin-block: 26px !important; }
.lp-signature span { display: block; margin-top: 6px; font: 400 9px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.lp-faq { max-width: 850px; border-top: 1px solid var(--rule); }
.lp-faq h2 { margin-bottom: 40px; }
.lp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 23px; font-size: 14px; cursor: pointer; }
.lp-faq details > p { padding: 0 45px 25px 0; font-size: 13px; color: var(--muted); line-height: 1.9; }
.lp-purchase { background: var(--book-accent); color: var(--ivory); text-align: center; padding-block: 90px; }
.lp-purchase .eyebrow { color: var(--book-highlight); }
.lp-purchase h2 { color: var(--ivory); max-width: 950px; margin-inline: auto; }
.lp-purchase h2 em { color: var(--book-highlight); }
.lp-purchase p:not(.eyebrow) { max-width: 560px; margin: 26px auto; font-size: 14px; color: #E3D8CD; }
.lp-purchase .button { background: var(--ivory); color: var(--book-accent); border-color: var(--ivory); }
.lp-purchase .button:hover { background: var(--book-highlight); }
.lp-purchase small { display: block; max-width: 480px; margin: 18px auto 0; font-size: 10px; color: #D7C7BA; line-height: 1.7; }
.lp-next { padding-block: 42px; display: flex; justify-content: space-between; align-items: center; gap: 40px; border-bottom: 1px solid var(--rule); }
.lp-next .eyebrow { margin-bottom: 10px; }
.lp-next h3 { font-size: 29px; }
.lp-next .text-link { flex-shrink: 0; max-width: 43%; }
.lp-next .text-link span:first-child { font-size: 18px; }
.lp-footer { padding-block: 35px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.lp-footer > a { font: 500 23px/1.4 var(--serif); color: var(--book-accent); }
.lp-footer > a span { font-style: italic; }
.lp-footer p { max-width: 330px; font-size: 10px; color: var(--muted); }
.lp-footer small { font-size: 9px; color: var(--muted); }
.lp-mobile-cta { display: none; }
/* All categories remain readable if JavaScript is unavailable. */
.book-landing:not(.book-interactive) .lp-texture-tabs { display: none; }
.book-landing:not(.book-interactive) [data-texture-panel][hidden] { display: block !important; margin-top: 32px; }
/* Five real controls; no animation or automatic progression is required to read. */
.lp-texture-tabs { display: grid; grid-template-columns: repeat(5,1fr); border-block: 1px solid var(--rule); }
.lp-texture-tabs button { padding: 27px 10px; border: 0; border-right: 1px solid var(--rule); background: transparent; color: var(--book-accent); display: flex; flex-direction: column; align-items: center; gap: 13px; transition: background .2s,color .2s; }
.lp-texture-tabs button:last-child { border-right: 0; }
.lp-texture-tabs button:hover { background: var(--book-soft); }
.lp-texture-tabs button[aria-pressed="true"] { background: var(--book-accent); color: var(--ivory); }
.lp-texture-tabs button > span { font-size: 32px; line-height: 1; }
.lp-texture-tabs strong { font: 500 25px/1.2 var(--serif); }
.lp-texture-tabs small { font-size: 9px; letter-spacing: .13em; }
.lp-texture-panels { background: var(--book-soft); padding: 38px 45px; min-height: 250px; }
.lp-texture-panels .eyebrow { margin-bottom: 12px; }
.lp-texture-panels h3 { font-size: 36px; margin-bottom: 17px; }
.lp-texture-panels article > p:last-child { font-size: 14px; max-width: 760px; color: #514D48; line-height: 1.8; }
.lp-texture-section > .small-note { margin-top: 18px; max-width: 810px; }
.lp-bridge { background: var(--book-soft); }
.lp-bridge h2 { max-width: 970px; }
.lp-bridge-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; margin-top: 36px; color: #514D48; font-size: 14px; line-height: 1.9; }
@media (min-width: 1550px) { .lp-hero-inner { padding-block: 50px 80px; } .lp-cover { width: 380px; } }
@media (max-width: 1050px) {
  .lp-topbar { gap: 24px; } .lp-nav { gap: 20px; }
  .lp-hero-inner { gap: 5%; grid-template-columns: 1.15fr 1fr; }
  .lp-hero h1 { font-size: 49px; }
  .lp-cover-scene { padding-inline: 15px; }
  .lp-facts span { font-size: 9px; }
  .lp-section-heading { gap: 6%; }
}
@media (max-width: 760px) {
  .book-landing { --header-height: 73px; padding-bottom: calc(82px + env(safe-area-inset-bottom,0px)); }
  .book-landing .container { width: calc(100% - 44px); }
  .lp-topbar { min-height: 73px; justify-content: space-between; gap: 12px; }
  .lp-topbar .brand { gap: 9px; } .lp-topbar .brand-mark { width: 37px; height: 37px; font-size: 20px; }
  .lp-topbar .brand-name { font-size: 24px; } .lp-topbar .brand-name small { font-size: 7px; }
  .lp-nav { display: none; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 35px; padding-block: 24px 42px; }
  .lp-back { margin-bottom: 29px; }
  .lp-hero h1 { font-size: clamp(43px,10.7vw,66px); }
  .lp-book-name { font-size: 20px; }
  .lp-lead { font-size: 13px; max-width: none; margin-top: 22px; }
  .lp-hero .button { font-size: 10px; gap: 18px; max-width: 100%; }
  .lp-byline { line-height: 1.7; }
  .lp-cover-scene { width: min(100%,370px); margin-inline: auto; padding: 22px 35px 5px; }
  .lp-cover { width: min(100%,280px); }
  .lp-cover-scene::before { inset: 15% 0 8%; }
  .lp-cover-scene figcaption { font-size: 25px; }
  .lp-facts > div { padding-block: 22px; }
  .lp-facts p { flex-direction: column; gap: 8px; text-align: center; padding-inline: 10px; }
  .lp-facts strong { font-size: 39px; }
  .lp-facts span { font-size: 8px; letter-spacing: .04em; }
  .lp-space { padding-block: 65px; }
  .book-landing h2 { font-size: clamp(38px,10vw,53px); }
  .book-landing .eyebrow { font-size: 9px; }
  .lp-split, .lp-section-heading { grid-template-columns: 1fr; gap: 27px; }
  .lp-benefits { grid-template-columns: 1fr; gap: 30px; margin-top: 36px; }
  .lp-benefits article { position: relative; padding-left: 43px; }
  .lp-benefits article > span { position: absolute; left: 0; top: 28px; }
  .lp-benefits h3 { margin-top: 0; font-size: 30px; }
  .lp-chapters summary { gap: 12px; padding-block: 20px; }
  .lp-chapters summary strong { font-size: 24px; }
  .lp-chapters summary > span { font-size: 14px; }
  .lp-chapters summary small { font-size: 9px; }
  .lp-chapters details > p { margin-left: 26px; font-size: 13px; }
  .lp-recipe-strip { grid-template-columns: 1fr; gap: 26px; }
  .lp-recipe-strip h3 { font-size: 30px; }
  .lp-author { grid-template-columns: 1fr; gap: 40px; }
  .lp-author > figure { max-width: 430px; width: 100%; margin-inline: auto; }
  .lp-signature { font-size: 46px; }
  .lp-faq summary { font-size: 13px; }
  .lp-faq details > p { padding-right: 20px; }
  .lp-purchase { padding-block: 65px; }
  .lp-purchase .button { gap: 14px; font-size: 10px; padding-inline: 18px; max-width: 100%; }
  .lp-next { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 35px; }
  .lp-next .text-link { max-width: 100%; }
  .lp-footer { flex-direction: column; align-items: flex-start; gap: 15px; }
  .lp-mobile-cta { display: flex; position: fixed; inset: auto 0 0; z-index: 110; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream); border-top: 1px solid var(--rule); padding: 12px 22px calc(12px + env(safe-area-inset-bottom,0px)); box-shadow: 0 -4px 20px rgba(0,0,0,.05); }
  .lp-mobile-cta > span { font: 500 19px/1.1 var(--serif); color: var(--book-accent); max-width: 155px; }
  .lp-mobile-cta .button { min-height: 44px; padding: 11px 13px; font-size: 9px; letter-spacing: .06em; white-space: nowrap; }
  .lp-texture-tabs button { padding: 19px 3px; gap: 12px; }
  .lp-texture-tabs button > span { font-size: 25px; }
  .lp-texture-tabs strong { font-size: 17px; }
  .lp-texture-tabs small { font-size: 8px; }
  .lp-texture-panels { padding: 28px 22px; min-height: 335px; }
  .lp-texture-panels h3 { font-size: 32px; }
  .lp-bridge-copy { grid-template-columns: 1fr; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-landing *, .book-landing *::before, .book-landing *::after { transition: none !important; animation: none !important; }
}
