/* Tablet Kitabevi · Editorial v03
   One visual system for the publisher, catalogue and the books themselves.
   Fonts are linked separately; no remote CSS or JavaScript dependencies. */
:root {
  --plum: #744579;
  --plum-deep: #583861;
  --plum-dark: #482b50;
  --green: #9bb55a;
  --green-dark: #41631e;
  --paper: #f7f2ea;
  --paper-light: #faf7f2;
  --sheet: #fdfcf9;
  --ink: #231d25;
  --ink-muted: #5c5461;
  --off-white: #fbf9f5;
  --border: #d9d0c5;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --kid-bg: #d82762;
  --kid-pink: #e65a7f;
  --kid-orange: #fb5d2e;
  --kid-yellow: #fbc056;
  --kid-teal: #44bdbd;
  --kid-green: #41631e;
  --kid-lav: #b8a1cf;
  --wrap: 1320px;
  --gutter: clamp(22px, 5vw, 88px);
  --section: clamp(68px, 8vw, 120px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-synthesis: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button { border-radius: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h1 { font-size: clamp(48px, 6.5vw, 104px); letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 4.4vw, 68px); letter-spacing: -.025em; }
h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.018em; }
h4 { font-size: 23px; }
em { font-weight: inherit; }
strong { font-weight: 650; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.wrap > *, .split > *, .detail > *, .cols > *, .foot-grid > * { min-width: 0; }
.skip { position: fixed; z-index: 999; left: 16px; top: -100px; padding: 13px 22px; background: var(--green); color: var(--ink); font-weight: 600; }
.skip:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-muted); }
.label, .eyebrow { display: block; color: var(--plum); font: 600 12px/1.6 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.label { margin-bottom: 15px; }
.eyebrow { margin-bottom: 22px; }
.eyebrow::before { content: ''; display: inline-block; width: 26px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--green); }
.lead { max-width: 37rem; font: 400 clamp(21px, 2vw, 26px)/1.5 var(--serif); }

/* The same paper masthead follows every route. */
.site-header { position: relative; z-index: 80; background: var(--paper); border-bottom: 1px solid var(--border); }
.site-header > .wrap { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); min-height: 106px; }
.brand { flex: 0 0 170px; display: block; }
.brand img { width: 170px; height: auto; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 1.5vw, 24px); margin-left: auto; }
.nav a { position: relative; white-space: nowrap; padding-block: 13px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav a[aria-current=page]::after { transform: scaleX(1); }
.site-header .btn { flex-shrink: 0; min-height: 46px; padding: 10px 18px; font-size: 13px; }
.motion-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 10px; background: transparent; border: 1px solid var(--border); color: var(--ink-muted); font-size: 12px; }
.motion-toggle[aria-pressed=true] { border-color: var(--plum); color: var(--plum); }
.mnav { display: none; margin-left: auto; }
.mnav summary { position: relative; display: grid; place-items: center; list-style: none; width: 48px; height: 48px; border: 1px solid var(--plum); color: var(--plum); cursor: pointer; font-size: 0; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::before { content: ''; width: 20px; height: 1px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; transition: transform 200ms var(--ease); }
.mnav[open] summary::before { box-shadow: none; transform: rotate(45deg); }
.mnav[open] summary::after { content: ''; position: absolute; width: 20px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.mnav nav { position: absolute; z-index: 90; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; padding: 16px var(--gutter) 28px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--paper); box-shadow: 0 20px 24px -24px rgb(35 29 37 / .35); max-height: calc(100dvh - 90px); overflow-y: auto; }
.mnav nav a { padding-block: 15px; min-height: 50px; border-bottom: 1px solid var(--border); font: 400 24px/1.2 var(--serif); }

/* Quiet controls, legible labels, editorial underlines. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 14px 23px; border: 1px solid transparent; background: var(--green); color: var(--ink); font: 600 14px/1.5 var(--sans); text-align: center; text-decoration: none; transition: background-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.btn > span[aria-hidden] { font-size: 20px; line-height: 1; }
.btn--dark { background: var(--plum); color: var(--off-white); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost.btn--dark { color: var(--plum); }
.btn--sm { min-height: 44px; padding: 10px 18px; }
.text-link { display: inline-flex; align-items: center; gap: 28px; min-height: 46px; padding-block: 7px; border-bottom: 1px solid var(--plum); color: var(--plum); font: 500 14px/1.5 var(--sans); }
.text-link span { display: inline-block; font-size: 19px; transition: transform 240ms var(--ease); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 30px 34px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(38px, 4.5vw, 68px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 42px; }
.section-head > div { max-width: 48rem; }
.section-head > p { max-width: 25rem; margin-bottom: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.75; }
.section-head .label { margin-bottom: 13px; }
.band--paper { background: var(--paper-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band { background: var(--plum-dark); color: var(--off-white); }
.band .label, .band .eyebrow, .band .text-link { color: var(--off-white); }
.band .text-link { border-color: var(--green); }
.band :focus-visible { outline-color: var(--green); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(34px, 7vw, 110px); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 32px; }
.page-hero { position: relative; padding-block: clamp(52px, 6.5vw, 94px) clamp(42px, 5vw, 76px); background: var(--paper); border-bottom: 1px solid var(--border); }
.page-hero::after { content: ''; position: absolute; left: var(--gutter); bottom: -1px; width: 64px; height: 3px; background: var(--plum); }
.page-hero h1 { max-width: 62rem; color: var(--plum); }
.page-hero p { max-width: 42rem; margin: 24px 0 0; font: 400 22px/1.55 var(--serif); color: var(--ink-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-top: 27px; color: var(--ink-muted); font-size: 13px; line-height: 1.7; }
.crumbs a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border); }
.crumbs span { overflow-wrap: anywhere; }

/* Book catalogue: the whole cover is the image, never a cropped texture. */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-bottom: 30px; margin-bottom: 38px; border-bottom: 1px solid var(--border); }
.chip { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border); background: transparent; color: var(--ink-muted); font: 500 13px/1.45 var(--sans); text-align: center; transition: color 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease); }
.chip[aria-pressed=true], .chip[aria-current=page] { border-color: var(--plum); background: var(--plum); color: var(--off-white); }
.chip[aria-pressed=true] .muted { color: inherit; }
.search { flex: 1 1 260px; min-width: 0; min-height: 48px; max-width: 31rem; padding: 11px 15px; border: 0; border-bottom: 1px solid var(--plum); border-radius: 0; color: var(--ink); background: var(--sheet); font-size: 16px; }
.search::placeholder { color: var(--ink-muted); opacity: 1; }
.count { margin-left: auto; color: var(--ink-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 46px); row-gap: 56px; }
.bk { min-width: 0; display: block; position: relative; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.bk .cv { width: 100%; height: clamp(250px, 25vw, 340px); object-fit: contain; object-position: center bottom; padding: 22px 22px 12px; background: transparent; filter: drop-shadow(7px 10px 7px rgb(35 29 37 / .16)); transition: transform 350ms var(--ease), filter 350ms var(--ease); }
.bk h3 { margin-top: 25px; font: 400 26px/1.15 var(--serif); letter-spacing: -.015em; overflow-wrap: anywhere; }
.bk p { margin: 10px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.65; }
.bk .tag { display: inline-block; margin-top: 14px; color: var(--plum); font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .06em; text-transform: uppercase; }
.bk::after { content: '↗'; display: block; margin-top: 17px; color: var(--plum); font-size: 22px; line-height: 1; }
#bos { padding: 20px 0 40px; font: 400 26px/1.5 var(--serif); }
.page-topic .section--tight h1, .page-author .section--tight h1 { max-width: 60rem; color: var(--plum); }

/* A book gets a generous, tactile product stage and a calm reading column. */
.detail { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(36px, 6vw, 92px); align-items: start; padding-top: 44px; padding-bottom: var(--section); }
.cover-lg { position: sticky; top: 32px; padding: clamp(24px, 4vw, 62px) clamp(20px, 3.2vw, 48px) clamp(28px, 4vw, 62px); background: #eae2d6; background: color-mix(in srgb, var(--paper) 89%, var(--plum) 11%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cover-lg::before { content: ''; position: absolute; left: 0; right: 0; top: 20%; height: 48%; border-top: 1px solid rgb(116 69 121 / .14); border-bottom: 1px solid rgb(116 69 121 / .14); pointer-events: none; }
.cover-lg img { position: relative; width: 100%; max-height: 590px; object-fit: contain; filter: drop-shadow(10px 18px 11px rgb(35 29 37 / .23)); }
.detail h1 { margin-block: 18px 20px; font-size: clamp(37px, 4.2vw, 66px); line-height: 1.06; letter-spacing: -.028em; overflow-wrap: anywhere; }
.detail .by { margin-bottom: 22px; color: var(--plum); font: 400 22px/1.45 var(--serif); }
.detail .by a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--border); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tags a { padding-block: 3px; border-bottom: 1px solid var(--border); color: var(--plum); font-size: 11px; line-height: 1.7; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; margin: 0 0 34px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts > div { min-width: 0; }
.facts dt { color: var(--ink-muted); font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; }
.facts dd { margin: 7px 0 0; color: var(--ink); font: 400 21px/1.3 var(--serif); overflow-wrap: anywhere; }
.prose { max-width: 43rem; font-size: 16px; line-height: 1.85; overflow-wrap: break-word; }
.prose p { margin: 0 0 1.2em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 1.8em 0 .7em; font-size: 32px; }
.prose h4 { margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }
.detail .prose > p:first-child { color: var(--ink); font: 400 23px/1.55 var(--serif); }
.prose blockquote, .about-quote { margin: 0 0 32px; padding: 0 0 0 26px; border-left: 3px solid var(--green); }
.prose blockquote p, .about-quote p { color: var(--plum); font: 400 clamp(25px, 2.8vw, 37px)/1.3 var(--serif); }
.about-quote footer { margin-top: 14px; color: var(--ink-muted); font: 500 13px/1.6 var(--sans); }
.quote { font: 400 30px/1.4 var(--serif); color: var(--plum); }

/* People, subjects and documents use a printed index rather than feature tiles. */
.authors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; list-style: none; padding: 0; margin: 0; counter-reset: author; }
.authors li { min-width: 0; counter-increment: author; border-top: 1px solid var(--border); }
.authors li a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 24px 0; min-height: 86px; }
.authors li a::before { content: counter(author, decimal-leading-zero); color: var(--plum); font-size: 11px; font-variant-numeric: tabular-nums; }
.authors b { font: 400 29px/1.2 var(--serif); overflow-wrap: anywhere; }
.authors span { color: var(--ink-muted); font-size: 12px; white-space: nowrap; }
.author-feature { position: relative; max-width: 940px; padding-left: clamp(26px, 5vw, 70px); border-left: 3px solid var(--green); }
.author-feature h2, .author-feature .prose, .author-feature p { position: relative; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; counter-reset: topic; }
.topic { counter-increment: topic; position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 20px; gap: 15px; align-items: center; min-height: 110px; padding-block: 23px; border-top: 1px solid var(--border); color: var(--ink); background: transparent; }
.topic::before { content: counter(topic, decimal-leading-zero); color: var(--plum); font: 500 11px/1 var(--sans); }
.topic::after { content: '↗'; color: var(--plum); font-size: 22px; }
.topic h3 { font-size: clamp(26px, 2.7vw, 37px); line-height: 1.1; }
.topic p { margin: 0; color: var(--ink-muted); font-size: 12px; white-space: nowrap; }
.docs { padding: 0; margin: 24px 0 0; list-style: none; border-top: 1px solid var(--border); }
.docs li { border-bottom: 1px solid var(--border); }
.docs a { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 78px; padding: 19px 0; color: var(--plum); font-size: 15px; line-height: 1.6; }
.docs a span:last-child { font-size: 23px; }
.card { padding: clamp(26px, 3.5vw, 48px); border-top: 3px solid var(--plum); background: var(--sheet); }
.card h3 { margin-bottom: 20px; font-size: 34px; }
.card p { font-size: 15px; overflow-wrap: anywhere; }
.card .text-link { margin-top: 8px; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 20px; padding: 27px 0; border-top: 1px solid var(--border); }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--plum); font: 400 34px/1.2 var(--serif); }
.steps b { display: block; font: 400 28px/1.2 var(--serif); margin-bottom: 11px; }
.steps span { display: block; color: var(--ink-muted); font-size: 15px; line-height: 1.8; }
.stat { margin-bottom: 18px; font: 400 clamp(66px, 8vw, 120px)/.95 var(--serif); letter-spacing: -.045em; }
.stat-cap { max-width: 28rem; font: 400 24px/1.45 var(--serif); }

/* Homepage scene I: a book-led publisher's poster. */
.campaign-hero { position: relative; overflow: clip; padding-block: clamp(48px, 5vw, 76px) clamp(54px, 6vw, 92px); border-bottom: 1px solid var(--border); background: var(--paper); }
.campaign-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(35px, 5vw, 80px); }
.campaign-copy { position: relative; z-index: 2; padding-block: 20px; }
.campaign-copy h1 { max-width: 9.6em; color: var(--plum); font-size: clamp(58px, 6.5vw, 102px); line-height: .98; letter-spacing: -.035em; }
.campaign-copy h1 em { color: var(--ink); }
.campaign-copy > .lead { margin-top: 27px; margin-bottom: 0; max-width: 31rem; font-size: 23px; }
.campaign-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--ink-muted); font-size: 12px; line-height: 1.7; }
.campaign-meta > span:first-child { color: var(--plum); font-weight: 600; }
.hero-product { position: relative; min-width: 0; padding: 30px 14px 0; }
.product-frame { position: relative; display: grid; place-items: center; min-height: 550px; padding: 35px 52px 40px; perspective: 1200px; }
.product-frame::before { content: ''; position: absolute; inset: 15% 0 2%; background: var(--plum); }
.product-frame::after { content: ''; position: absolute; width: 60%; height: 45px; bottom: -8px; left: 20%; border-radius: 50%; background: rgb(35 29 37 / .15); filter: blur(16px); z-index: 0; }
.product-frame > img { position: relative; z-index: 1; width: auto; height: min(38vw, 520px); max-width: 100%; object-fit: contain; transform: rotate(-5deg); transform-origin: center bottom; filter: drop-shadow(10px 17px 13px rgb(35 29 37 / .3)); transition: transform 700ms var(--ease); }
.product-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 17px; color: var(--ink-muted); font-size: 11px; line-height: 1.6; border-top: 1px solid var(--border); }
.product-caption strong { font-weight: 600; color: var(--plum); }

/* Scene II: one real reading sample, set like the inside of a book. */
.reading-proof { position: relative; padding-block: var(--section); background: var(--plum-dark); color: var(--off-white); }
.reading-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.reading-intro .eyebrow, .reading-intro .label { color: var(--off-white); }
.reading-intro h2 { max-width: 8em; font-size: clamp(40px, 4.4vw, 66px); }
.reading-intro > p:not(.eyebrow):not(.label) { max-width: 26rem; margin-top: 24px; color: rgb(251 249 245 / .8); font-size: 15px; }
.reading-intro .text-link { color: var(--off-white); border-color: var(--green); }
.reading-excerpt { position: relative; border-top: 1px solid rgb(251 249 245 / .3); padding-top: 34px; }
.reading-excerpt:has(blockquote)::before { content: '“'; display: block; height: 54px; margin-top: -8px; color: var(--green); font: 400 98px/1 var(--serif); }
.reading-excerpt blockquote { margin: 0; font: 400 clamp(26px, 3vw, 42px)/1.35 var(--serif); letter-spacing: -.01em; }
.reading-excerpt blockquote p { margin-bottom: 1em; }
.reading-excerpt > p { color: rgb(251 249 245 / .8); font-size: 15px; }
.proof-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgb(251 249 245 / .25); color: rgb(251 249 245 / .75); font-size: 12px; line-height: 1.7; }
.reading-proof :focus-visible { outline-color: var(--green); }

/* Scene III: a literary index. Each row has its own rhythm. */
.feature-index { padding-block: var(--section); }
.feature-list { counter-reset: feature; border-top: 1px solid var(--border); }
.feature-row { display: grid; grid-template-columns: 40px 100px minmax(0, 1fr) 34px; gap: 30px; align-items: center; min-height: 206px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.feature-number { align-self: start; padding-top: 9px; color: var(--plum); font-size: 12px; font-variant-numeric: tabular-nums; }
.feature-row > img { width: 90px; height: 140px; object-fit: contain; filter: drop-shadow(5px 7px 4px rgb(35 29 37 / .16)); transition: transform 400ms var(--ease); }
.feature-copy h3 { max-width: 36em; color: var(--ink); font-size: clamp(27px, 3vw, 44px); line-height: 1.08; }
.feature-copy p { max-width: 44rem; margin: 12px 0 0; color: var(--ink-muted); font-size: 14px; line-height: 1.8; }
.feature-copy .label { font-size: 11px; margin: 0 0 10px; }
.feature-arrow { color: var(--plum); font-size: 30px; transition: transform 300ms var(--ease); }
.home-note { padding-block: clamp(52px, 7vw, 98px); border-top: 1px solid var(--border); background: var(--paper-light); }
.note-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(35px, 7vw, 110px); align-items: center; }
.home-note h2 { max-width: 9em; color: var(--plum); font-size: clamp(38px, 4.5vw, 66px); }
.home-note .prose { font-size: 16px; }
.home-note .text-link { margin-top: 8px; }

/* Legacy optional shelf/hero blocks remain usable in the same system. */
.hero { background: var(--plum); color: var(--off-white); position: relative; overflow: clip; }
.hero .shape { display: none; }
.hero .eyebrow { color: var(--off-white); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; padding-block: 80px; }
.hero h1 em { display: block; color: var(--off-white); }
.hero .lead { margin-top: 25px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 35px; padding-top: 25px; border-top: 1px solid rgb(251 249 245 / .25); }
.hero-meta strong { display: block; font: 400 26px/1.2 var(--serif); }
.hero-meta span { font-size: 13px; opacity: .8; }
.stage { position: relative; aspect-ratio: 1; max-width: 480px; }
.stage .sheet { display: none; }
.stage .cover { position: absolute; filter: drop-shadow(8px 15px 10px rgb(35 29 37 / .25)); }
.stage .cover--1 { left: 4%; top: 7%; width: 46%; transform: rotate(-7deg); }
.stage .cover--2 { right: 3%; top: 20%; width: 48%; transform: rotate(5deg); }
.shelf { display: flex; align-items: flex-start; gap: 36px; overflow-x: auto; padding: 20px 5px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.shelf-book { display: block; flex: 0 0 205px; scroll-snap-align: start; }
.shelf-book .cvw { display: grid; place-items: end center; min-height: 290px; }
.shelf-book .cv { max-height: 285px; width: 100%; object-fit: contain; filter: drop-shadow(5px 8px 5px rgb(35 29 37 / .15)); }
.shelf-book .cap { display: block; margin-top: 25px; }
.shelf-book .cap b { display: block; font: 400 24px/1.15 var(--serif); }
.shelf-book .cap span { display: block; margin-top: 10px; color: var(--ink-muted); font-size: 13px; line-height: 1.6; }

/* Masthead and colophon belong to the same printed object. */
.site-footer { padding-top: clamp(54px, 6vw, 88px); background: var(--plum-dark); color: var(--off-white); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; padding-bottom: 55px; }
.site-footer img { width: 205px; max-width: 100%; height: auto; }
.foot-note { max-width: 24rem; margin: 24px 0 0; color: rgb(251 249 245 / .75); font-size: 13px; line-height: 1.9; }
.site-footer h4 { margin: 4px 0 24px; color: var(--green); font: 600 11px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; font-size: 13px; line-height: 1.75; }
.site-footer a { overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-footer :focus-visible { outline-color: var(--green); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; min-height: 83px; padding-block: 18px; border-top: 1px solid rgb(251 249 245 / .2); color: rgb(251 249 245 / .7); font-size: 12px; line-height: 1.7; }
.foot-base a { display: inline-flex; align-items: center; min-height: 44px; color: var(--off-white); }

@media (hover: hover) and (pointer: fine) {
  .nav a:hover::after { transform: scaleX(1); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -6px var(--plum); }
  .btn--dark:hover { background: var(--plum-dark); }
  .text-link:hover span { transform: translate(3px, -2px); }
  .chip:hover { border-color: var(--plum); color: var(--plum); }
  .chip[aria-pressed=true]:hover { color: var(--off-white); }
  .bk:hover .cv { transform: translateY(-7px); filter: drop-shadow(8px 17px 9px rgb(35 29 37 / .2)); }
  .bk:hover h3, .authors a:hover b, .topic:hover h3 { color: var(--plum); }
  .hero-product:hover .product-frame > img { transform: rotate(-2deg) translateY(-5px); }
  .feature-row:hover > img { transform: rotate(-3deg) translateY(-4px); }
  .feature-row:hover .feature-arrow { transform: translate(4px, -4px); }
  .feature-row:hover h3, .docs a:hover { color: var(--plum); }
  .site-footer a:hover { text-decoration: underline; }
}

@media (max-width: 1320px) {
  .site-header > .wrap { min-height: 96px; }
  .site-header .nav, .site-header > .wrap > .btn { display: none; }
  .mnav { display: block; }
  .site-header .motion-toggle { margin-left: auto; }
  .site-header .motion-toggle + .mnav { margin-left: 0; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .bk .cv { height: 290px; padding-inline: 15px; }
  .detail { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 38px; }
  .detail h1 { font-size: 47px; }
  .product-frame { min-height: 470px; padding-inline: 35px; }
  .product-frame > img { height: 430px; }
  .campaign-copy h1 { font-size: 76px; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .foot-grid > :last-child { grid-column: 2 / -1; }
  .authors { column-gap: 35px; }
  .authors b { font-size: 26px; }
}
@media (max-width: 800px) {
  :root { --gutter: 28px; }
  html { scroll-padding-top: 94px; }
  .site-header > .wrap { min-height: 90px; gap: 16px; }
  .brand, .brand img { width: 151px; flex-basis: 151px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 22px; }
  .section-head > p { max-width: 34rem; }
  .split, .campaign-grid, .reading-grid, .note-grid, .hero-grid { grid-template-columns: 1fr; }
  .split { gap: 42px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 27px; }
  .bk .cv { height: 300px; }
  .bk h3 { font-size: 27px; }
  .detail { grid-template-columns: 1fr; gap: 40px; }
  .cover-lg { position: relative; top: auto; width: min(100%, 510px); margin-inline: auto; padding: 35px 50px; }
  .cover-lg img { max-height: 510px; }
  .detail h1 { max-width: 42rem; font-size: clamp(38px, 6.5vw, 58px); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts dd { font-size: 20px; }
  .authors { grid-template-columns: 1fr; }
  .authors b { font-size: 30px; }
  .topics { gap: 0 28px; }
  .topic { grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 10px; }
  .topic p { display: none; }
  .campaign-hero { padding-top: 40px; }
  .campaign-grid { gap: 28px; }
  .campaign-copy { padding-block: 0; }
  .campaign-copy h1 { max-width: 10.5em; font-size: clamp(58px, 10vw, 82px); }
  .campaign-copy > .lead { max-width: 34rem; font-size: 23px; }
  .campaign-meta { margin-top: 28px; }
  .hero-product { padding: 0; width: min(100%, 520px); margin: 0 auto; }
  .product-frame { min-height: 480px; padding: 30px 65px 35px; }
  .product-frame > img { height: 450px; }
  .reading-grid { gap: 42px; }
  .reading-intro h2 { max-width: 11em; }
  .reading-intro > p:not(.eyebrow):not(.label) { max-width: 35rem; }
  .feature-row { grid-template-columns: 26px 83px minmax(0, 1fr) 22px; gap: 22px; min-height: 180px; }
  .feature-row > img { width: 80px; height: 125px; }
  .feature-copy h3 { font-size: 32px; }
  .feature-copy p { font-size: 13px; }
  .note-grid { gap: 30px; }
  .home-note h2 { max-width: 12em; }
  .hero-grid { gap: 40px; padding-block: 55px; }
  .stage { width: min(100%, 430px); margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 38px 30px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .foot-grid > :last-child { grid-column: auto; }
}
@media (max-width: 540px) {
  :root { --gutter: 22px; --section: 64px; }
  body { font-size: 16px; line-height: 1.75; }
  h1 { font-size: 49px; letter-spacing: -.03em; }
  h2 { font-size: 39px; }
  .site-header > .wrap { min-height: 86px; gap: 12px; }
  .brand, .brand img { width: 140px; flex-basis: 140px; }
  .motion-toggle { font-size: 11px; padding: 8px; max-width: 85px; }
  .mnav summary { width: 44px; height: 44px; }
  .mnav nav { grid-template-columns: 1fr; gap: 0; }
  .mnav nav a { font-size: 25px; min-height: 48px; padding-block: 13px; }
  .eyebrow, .label { font-size: 11px; }
  .eyebrow { margin-bottom: 19px; }
  .btn { padding: 13px 18px; min-height: 50px; font-size: 13px; gap: 19px; }
  .hero-cta { gap: 14px; }
  .page-hero { padding-block: 47px 42px; }
  .page-hero h1 { font-size: 49px; }
  .page-hero p { font-size: 21px; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 39px; }
  .crumbs { padding-top: 23px; font-size: 12px; }
  .filters { gap: 9px; padding-bottom: 24px; margin-bottom: 26px; }
  .chip { min-height: 44px; padding: 9px 11px; font-size: 12px; }
  .search { order: -1; max-width: none; flex-basis: 100%; margin-bottom: 10px; }
  .count { width: 100%; margin-left: 0; margin-top: 7px; }
  .grid { column-gap: 19px; row-gap: 37px; }
  .bk { padding-bottom: 15px; }
  .bk .cv { height: 218px; padding: 15px 9px 8px; filter: drop-shadow(4px 6px 4px rgb(35 29 37 / .14)); }
  .bk h3 { font-size: 23px; line-height: 1.13; margin-top: 20px; }
  .bk p { font-size: 12px; line-height: 1.6; margin-top: 9px; }
  .bk .tag { font-size: 10px; margin-top: 11px; }
  .bk::after { font-size: 21px; margin-top: 14px; }
  .detail { padding-top: 30px; gap: 35px; }
  .cover-lg { padding: 28px 36px; }
  .cover-lg img { max-height: 410px; }
  .detail h1 { font-size: 41px; line-height: 1.06; margin-top: 20px; }
  .detail .by { font-size: 22px; }
  .tags { gap: 8px 15px; }
  .tags a { font-size: 10px; }
  .actions { margin-block: 25px 30px; }
  .actions .btn { justify-content: space-between; width: 100%; text-align: left; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 20px; padding-block: 23px; }
  .facts dt { font-size: 10px; }
  .facts dd { font-size: 21px; }
  .detail .prose > p:first-child { font-size: 23px; }
  .prose { font-size: 16px; line-height: 1.85; }
  .authors li a { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; padding-block: 24px; }
  .authors b { font-size: 27px; }
  .authors span { font-size: 11px; }
  .topics { grid-template-columns: 1fr; }
  .topic { grid-template-columns: 25px minmax(0, 1fr) auto 20px; min-height: 92px; }
  .topic p { display: block; font-size: 11px; }
  .topic h3 { font-size: 29px; }
  .card { padding: 29px 25px; }
  .card h3 { font-size: 32px; }
  .steps li { grid-template-columns: 39px minmax(0, 1fr); gap: 15px; padding-block: 24px; }
  .steps li::before { font-size: 28px; }
  .steps b { font-size: 26px; }
  .stat { font-size: 80px; }
  .stat-cap { font-size: 24px; }
  .campaign-hero { padding-block: 35px 45px; }
  .campaign-copy h1 { font-size: clamp(49px, 13.4vw, 67px); line-height: .99; max-width: 9.7em; }
  .campaign-copy > .lead { margin-top: 24px; font-size: 22px; line-height: 1.45; }
  .campaign-copy .hero-cta { margin-top: 26px; }
  .campaign-meta { gap: 7px 16px; font-size: 11px; padding-top: 17px; margin-top: 25px; }
  .campaign-grid { gap: 30px; }
  .product-frame { min-height: 395px; padding: 22px 44px 29px; }
  .product-frame::before { inset: 14% 0 3%; }
  .product-frame > img { height: 360px; }
  .product-caption { margin-top: 20px; font-size: 11px; gap: 16px; }
  .reading-proof { padding-block: 59px; }
  .reading-intro h2 { font-size: 40px; }
  .reading-intro > p:not(.eyebrow):not(.label) { font-size: 15px; }
  .reading-excerpt { padding-top: 27px; }
  .reading-excerpt blockquote { font-size: 29px; line-height: 1.35; }
  .proof-meta { font-size: 11px; }
  .feature-row { grid-template-columns: 19px 66px minmax(0, 1fr) 15px; gap: 13px; min-height: 153px; padding-block: 25px; }
  .feature-number { font-size: 10px; }
  .feature-row > img { width: 64px; height: 100px; }
  .feature-copy h3 { font-size: 25px; line-height: 1.1; }
  .feature-copy p { font-size: 12px; line-height: 1.6; margin-top: 10px; }
  .feature-copy .label { font-size: 10px; }
  .feature-arrow { font-size: 23px; }
  .home-note { padding-block: 52px; }
  .home-note h2 { font-size: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding-bottom: 35px; }
  .site-footer img { width: 180px; }
  .foot-grid > :last-child { grid-column: 1 / -1; }
  .site-footer h4 { margin-bottom: 20px; }
  .foot-note { max-width: 27rem; font-size: 13px; }
  .site-footer li { font-size: 13px; }
  .foot-base { display: block; font-size: 11px; padding-block: 21px; }
  .foot-base span { display: block; }
  .foot-base a { margin-top: 8px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .brand, .brand img { width: 128px; flex-basis: 128px; }
  .site-header > .wrap { gap: 8px; }
  .motion-toggle { font-size: 10px; max-width: 75px; }
  .campaign-copy h1 { font-size: 47px; }
  .product-frame { min-height: 350px; padding-inline: 35px; }
  .product-frame > img { height: 315px; }
  .bk .cv { height: 180px; padding-inline: 6px; }
  .bk h3 { font-size: 21px; }
  .detail h1 { font-size: 36px; }
  .feature-row { grid-template-columns: 17px 55px minmax(0, 1fr) 13px; gap: 10px; }
  .feature-row > img { width: 55px; height: 90px; }
  .feature-copy h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .product-frame > img { transform: none; }
}
body.motion-off *, body.motion-off *::before, body.motion-off *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.motion-off .product-frame > img { transform: none; }
@media print {
  .site-header, .site-footer, .filters, .motion-toggle, .hero-cta, .actions { display: none; }
  body { background: white; color: black; }
  .wrap { width: 100%; }
  .detail { display: block; }
  .cover-lg { position: static; max-width: 220px; padding: 0; background: none; border: 0; margin: 0 0 20px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  a { color: black; }
}
