@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  color-scheme: light;
  --ink: #1d1c19;
  --ink-soft: #373530;
  --night: #151719;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d5;
  --white: #fffdf8;
  --red: #8c2e37;
  --red-dark: #5e1d27;
  --teal: #416368;
  --gold: #c3a05d;
  --muted: #77736a;
  --line: rgba(33, 31, 27, .15);
  --serif: "Playfair Display", "Iowan Old Style", "Baskerville Old Face", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --shadow: 0 24px 65px rgba(36, 29, 20, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--red); }
.wrap { width: min(var(--wrap), calc(100% - 56px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 12px 18px; background: var(--white); color: var(--ink); transform: translateY(-160%); border: 2px solid var(--red); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 238, .96); border-bottom: 1px solid rgba(34, 30, 25, .12); backdrop-filter: blur(14px); }
.header-inner { width: min(1320px, calc(100% - 48px)); min-height: 80px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; position: relative; border: 1px solid var(--red); color: var(--red); transform: rotate(-4deg); }
.brand-mark span { font: 700 13px/1 var(--serif); letter-spacing: -.08em; transform: rotate(4deg); }
.brand-mark i { position: absolute; top: -4px; right: -4px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.brand-type { display: grid; line-height: 1; gap: 5px; }
.brand-type strong { font: 600 20px/1 var(--serif); letter-spacing: .07em; }
.brand-type small { font-size: 9px; font-weight: 700; letter-spacing: .32em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.primary-nav a { position: relative; padding: 30px 0 27px; color: #504d46; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.primary-nav a::after { position: absolute; content: ""; height: 2px; left: 0; right: 100%; bottom: 20px; background: var(--red); transition: right .24s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--red-dark); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, color .2s; }
.header-cta:hover { color: var(--white); background: var(--ink); }
.header-cta span { color: var(--red); font-size: 15px; }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 23px; height: 2px; display: block; background: var(--ink); position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -7px; }
.menu-lines::after { top: 7px; }

.hero { min-height: min(720px, calc(100svh - 80px)); display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--white); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: var(--hero-image); background-position: center 57%; background-size: cover; transform: scale(1.015); }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(12, 13, 15, .97) 0%, rgba(12, 13, 15, .86) 31%, rgba(12, 13, 15, .34) 66%, rgba(12, 13, 15, .05) 100%), linear-gradient(0deg, rgba(10, 10, 10, .52), transparent 38%); }
.hero-content { padding-block: 114px 112px; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-rule { width: 28px; height: 1px; flex: 0 0 auto; background: currentColor; }
.hero-eyebrow { color: #dec58f; }
.hero h1, .page-heading h1, .article-heading h1 { margin: 0; font: 500 clamp(56px, 7.6vw, 98px)/.99 var(--serif); letter-spacing: -.045em; }
.hero h1 em, .page-heading h1 em, h2 em { font-weight: 500; }
.hero h1 em { color: #dfc991; }
.hero-copy { max-width: 535px; margin: 26px 0 29px; color: rgba(255, 253, 248, .83); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 19px; border: 1px solid transparent; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: #70212c; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--red); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--red-dark); }
.button-secondary { border-color: var(--line); color: var(--ink); background: transparent; }
.button-secondary:hover { border-color: var(--red); color: var(--red); }
.button-small { min-height: 38px; padding: 9px 12px; font-size: 9px; letter-spacing: .055em; }
.hero-quiet-link { color: var(--white); font-size: 12px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 4px; }
.hero-quiet-link:hover { color: #dfc991; border-color: #dfc991; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 52px; color: rgba(255, 255, 255, .64); font-size: 11px; letter-spacing: .07em; }
.hero-note-dot { width: 7px; height: 7px; background: #c79351; transform: rotate(45deg); }
.hero-side-note { position: absolute; right: clamp(16px, 3vw, 48px); bottom: 38px; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .68); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-side-note i { height: 44px; width: 1px; background: var(--gold); }
.intro-band { background: var(--red-dark); color: var(--white); }
.intro-band-inner { min-height: 115px; display: grid; grid-template-columns: .8fr 2.1fr auto; align-items: center; gap: 32px; }
.section-label { margin: 0; color: #e9d9bb; font-size: 10px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.intro-band-inner > p:nth-child(2) { max-width: 610px; margin: 0; font: 500 clamp(17px, 2vw, 22px)/1.4 var(--serif); }
.intro-band .text-link { color: #fff5e5; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red-dark); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.text-link span { transition: transform .2s ease; }
.text-link:hover { color: var(--teal); }
.text-link:hover span { transform: translate(2px, -2px); }
.section-pad { padding-block: clamp(74px, 10vw, 126px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-heading h2, .author-intro h2, .asmodil-copy h2, .about-next h2, .projects-note h2, .book-afterword h2 { margin: 0; font: 500 clamp(39px, 5vw, 64px)/1.05 var(--serif); letter-spacing: -.035em; }
.section-heading h2 em, .author-intro h2 em, .asmodil-copy h2 em, .about-next h2 em, .projects-note h2 em, .book-afterword h2 em { color: var(--red); }
.section-intro { max-width: 400px; margin: 0 0 6px; color: var(--muted); line-height: 1.7; }
.split-heading { align-items: end; }
.reading-paths { padding-bottom: 104px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path-card { min-height: 360px; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: clamp(28px, 5vw, 54px); color: var(--white); background: #202225; transition: transform .25s ease; }
.path-card:hover { transform: translateY(-5px); }
.path-card::after { content: ""; width: 260px; height: 260px; position: absolute; right: -82px; bottom: -116px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255, 255, 255, .025), 0 0 0 55px rgba(255, 255, 255, .02); }
.path-adult { background: linear-gradient(135deg, rgba(29, 29, 30, .92), rgba(69, 28, 33, .97)), url('/manus-storage/hero-editorial_0818f05c.jpg') center/cover; }
.path-young { color: var(--ink); background: linear-gradient(140deg, rgba(233, 224, 208, .97), rgba(213, 226, 218, .96)); }
.path-count { color: #d7c294; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.path-young .path-count { color: var(--teal); }
.path-symbol { position: absolute; top: 39px; right: 46px; color: var(--gold); font-size: 32px; }
.path-young .path-symbol { color: var(--red); }
.path-card h3 { margin: 40px 0 14px; font: 500 clamp(38px, 4.2vw, 54px)/1.04 var(--serif); letter-spacing: -.035em; }
.path-card p { max-width: 380px; margin: 0 0 30px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.path-young p { color: #56574f; }
.path-arrow { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .22); color: #f8eee0; font-size: 11px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.path-young .path-arrow { color: var(--ink); border-color: rgba(30, 30, 30, .2); }
.path-arrow b { color: var(--gold); font-size: 17px; }
.path-young .path-arrow b { color: var(--red); }
.featured-section { background: var(--white); }
.featured-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shelf-book { min-width: 0; display: grid; grid-template-columns: minmax(92px, .72fr) 1fr; align-items: start; gap: 18px; padding: 17px; background: #f6f3ec; border: 1px solid rgba(32, 29, 25, .08); }
.shelf-cover { aspect-ratio: 2/3; display: block; overflow: hidden; background: #e5dfd2; box-shadow: 8px 10px 18px rgba(32, 26, 21, .17); }
.shelf-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shelf-cover:hover img { transform: scale(1.045); }
.shelf-book h3 { margin: 6px 0 9px; font: 500 19px/1.25 var(--serif); }
.shelf-book h3 a:hover { color: var(--red); }
.shelf-book p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.shelf-book .eyebrow { margin: 0; font-size: 8px; letter-spacing: .12em; }
.catalogue-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.asmodil-feature { padding-block: 94px; color: var(--white); background: var(--night); overflow: hidden; }
.asmodil-feature-grid { display: grid; grid-template-columns: minmax(230px, .8fr) 1.25fr; align-items: center; gap: clamp(45px, 10vw, 130px); }
.asmodil-cover-wrap { width: min(310px, 100%); margin-inline: auto; position: relative; transform: rotate(-2deg); }
.asmodil-cover { width: 100%; aspect-ratio: 2/3; object-fit: cover; box-shadow: 24px 28px 60px rgba(0, 0, 0, .48); }
.award-stamp { position: absolute; top: 13%; right: -40px; width: 82px; height: 82px; display: grid; place-content: center; border: 1px solid #e0c482; border-radius: 50%; color: #f5e3b2; background: rgba(28, 24, 18, .92); text-align: center; font-size: 9px; font-weight: 700; line-height: 1.1; letter-spacing: .08em; transform: rotate(8deg); }
.award-stamp small { font-size: 8px; letter-spacing: .14em; }
.eyebrow-red { color: #d9897e; }
.asmodil-copy h2 { font-size: clamp(48px, 6vw, 76px); }
.asmodil-copy h2 em { color: #dfc991; }
.asmodil-copy > p:not(.eyebrow):not(.quiet-note) { max-width: 550px; margin: 23px 0; color: rgba(255, 255, 255, .78); font-size: 16px; }
.content-alert { max-width: 460px; display: flex; align-items: center; gap: 14px; margin: 26px 0; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .78); font-size: 12px; }
.alert-mark { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #d7837b; color: #e3a5a0; font-size: 9px; font-weight: 700; }
.asmodil-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.asmodil-copy .quiet-note { margin: 16px 0 0; color: rgba(255,255,255,.58); font-size: 11px; }
.asmodil-actions .retailer-options { color: #eee; }
.asmodil-actions .retailer-options summary { color: #dfc991; }
.author-intro { background: var(--paper); }
.author-intro-grid { display: grid; grid-template-columns: minmax(250px, .9fr) 1.1fr; align-items: center; gap: clamp(48px, 9vw, 112px); }
.author-photo-wrap { margin: 0; position: relative; }
.author-photo { width: 100%; max-height: 510px; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 38%; filter: saturate(.76); }
.author-photo-wrap::after { content: ""; position: absolute; inset: 18px -16px -16px 18px; z-index: -1; border: 1px solid rgba(140, 46, 55, .45); }
.author-photo-wrap figcaption { margin: 13px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.image-credit { margin: 8px 0 16px; color: var(--muted); font-size: 10px; }
.image-credit a { text-decoration: underline; text-underline-offset: 3px; }
.author-intro-copy > p:not(.eyebrow):not(.image-credit) { max-width: 600px; color: #5d5950; }
.author-intro-copy .text-link { margin-top: 11px; }
.projects-ribbon { background: var(--paper-deep); }
.mini-project-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mini-project-grid a { min-height: 116px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, color .2s; }
.mini-project-grid a:hover { color: var(--white); background: var(--red-dark); }
.mini-project-grid span { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.mini-project-grid a:hover span { color: #e4cb9a; }
.mini-project-grid strong { font: 500 17px/1.2 var(--serif); }
.mini-project-grid b { align-self: flex-end; color: var(--red); font-size: 16px; }
.mini-project-grid a:hover b { color: #e4cb9a; }
.journal-preview, .blog-list-section { background: var(--white); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.journal-card { min-height: 280px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); background: var(--white); transition: box-shadow .25s, transform .25s; }
.journal-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.journal-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.journal-index { color: var(--red); font: 500 25px/1 var(--serif); }
.article-date { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.journal-card h3 { margin: 25px 0 12px; font: 500 23px/1.16 var(--serif); letter-spacing: -.015em; }
.journal-card h3 a:hover { color: var(--red); }
.journal-card > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.journal-card > .text-link { margin-top: auto; }

.page-heading { padding-block: clamp(74px, 9vw, 116px) 65px; background: linear-gradient(135deg, var(--paper) 0%, #eee8dc 74%, #e4e6df 100%); border-bottom: 1px solid rgba(40, 34, 28, .08); }
.page-heading h1 { font-size: clamp(50px, 7vw, 82px); }
.page-intro { max-width: 680px; margin: 22px 0 0; color: #666158; font-size: 16px; line-height: 1.7; }
.about-story { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(250px, .78fr) 1.22fr; align-items: start; gap: clamp(54px, 9vw, 115px); }
.about-photo-column { padding: 15px; background: #efebe3; }
.about-photo-frame { margin: 0; padding: 0 0 12px; }
.about-portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 38%; }
.about-photo-frame figcaption { padding: 10px 4px 0; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.prose h2 { margin: 0 0 26px; font: 500 clamp(32px, 3.6vw, 45px)/1.15 var(--serif); letter-spacing: -.025em; }
.prose h2:not(:first-child) { margin-top: 44px; }
.prose p { margin: 0 0 18px; color: #5e5a52; font-size: 15px; }
.prose em { color: var(--red-dark); }
.about-links { display: flex; flex-wrap: wrap; gap: 13px 23px; margin-top: 29px; }
.about-quote { padding-block: 68px; color: var(--white); background: #243b3c; }
.about-quote-inner { max-width: 830px; text-align: center; }
.about-quote .eyebrow { justify-content: center; color: #dec58f; }
.about-quote-statement { margin: 0; color: var(--white); font: 500 clamp(26px, 4vw, 40px)/1.35 var(--serif); }
.about-quote .quiet-note { margin-top: 21px; color: rgba(255,255,255,.62); font-size: 11px; }
.about-next { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 45px; }
.about-next-links { border-top: 1px solid var(--line); }
.about-next-links a { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); font: 500 18px var(--serif); }
.about-next-links a:hover { color: var(--red); }
.about-next-links span { color: var(--red); }

.catalogue-section { background: var(--white); }
.catalogue-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.search-field { min-width: 260px; max-width: 410px; flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); background: #faf8f2; }
.search-icon { color: var(--red); font: 26px/1 var(--serif); }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-field input::placeholder { color: #8c877d; }
.filter-controls { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-button { padding: 10px 13px; border: 1px solid transparent; color: #6b675e; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.filter-button:hover { color: var(--red-dark); }
.filter-button.is-active { border-color: var(--ink); color: var(--white); background: var(--ink); }
.catalogue-status { margin: 0 0 20px; color: var(--muted); font-size: 11px; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.book-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid rgba(32, 30, 25, .12); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.book-card:hover { box-shadow: 0 14px 36px rgba(36, 29, 20, .12); transform: translateY(-3px); }
.book-card-cover { aspect-ratio: 4/5.5; display: grid; place-items: center; overflow: hidden; background: #e6e0d5; }
.book-cover { width: 100%; height: 100%; object-fit: cover; transition: transform .38s ease; }
.book-card-cover:hover .book-cover { transform: scale(1.035); }
.book-cover-fallback { width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; color: #e7d2a7; background: linear-gradient(145deg, #251c20, #5b2630); font: 600 26px/1.2 var(--serif); text-align: center; letter-spacing: .12em; }
.book-card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 15px 16px; }
.book-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.eyebrow-pill, .rating-badge { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid rgba(65, 99, 104, .3); color: #365b5e; font-size: 8px; font-weight: 700; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.rating-badge { border-color: rgba(140, 46, 55, .35); color: var(--red-dark); }
.book-genre { min-height: 24px; margin: 13px 0 4px; color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.book-card h3 { margin: 0 0 9px; font: 500 19px/1.2 var(--serif); }
.book-card h3 a:hover { color: var(--red); }
.book-card-copy { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.58; }
.book-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 13px; margin-top: auto; }
.book-card-actions > .text-link { font-size: 9px; }
.retailer-options { position: relative; display: inline-block; color: var(--red-dark); font-size: 10px; font-weight: 600; }
.retailer-options summary { color: var(--red-dark); cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.retailer-options summary::-webkit-details-marker { display: none; }
.retailer-options summary::after { content: " +"; }
.retailer-options[open] summary::after { content: " −"; }
.retailer-menu { min-width: 165px; display: grid; gap: 8px; position: absolute; z-index: 10; left: 0; bottom: calc(100% + 7px); padding: 13px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.retailer-menu a { color: var(--ink); font-size: 10px; }
.retailer-menu a:hover { color: var(--red); }
.no-results { margin: 32px 0; padding: 28px; text-align: center; color: var(--muted); background: #f6f3ec; }
.catalogue-source { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 20px; margin-top: 60px; padding: 24px; background: #f2eee6; }
.catalogue-source-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--red); color: var(--red); font: 500 16px var(--serif); }
.catalogue-source h2 { margin: 0 0 3px; font: 500 21px var(--serif); }
.catalogue-source p { margin: 0; max-width: 710px; color: var(--muted); font-size: 11px; }

.book-detail-hero { padding-block: clamp(55px, 8vw, 105px); background: linear-gradient(130deg, var(--paper) 0%, #eeeadf 62%, #dfe6e0 100%); }
.book-detail-grid { display: grid; grid-template-columns: minmax(230px, .7fr) 1.3fr; align-items: center; gap: clamp(55px, 9vw, 122px); }
.detail-cover-frame { width: min(365px, 100%); margin-inline: auto; position: relative; }
.detail-cover { position: relative; z-index: 1; width: 100%; aspect-ratio: 2/3; object-fit: cover; box-shadow: 18px 27px 47px rgba(34, 28, 22, .22); }
.cover-shadow { position: absolute; z-index: 0; top: 13px; left: 15px; right: -15px; bottom: -15px; border: 1px solid rgba(140, 46, 55, .35); }
.detail-copy h1 { margin: 14px 0 11px; font: 500 clamp(39px, 5vw, 64px)/1.04 var(--serif); letter-spacing: -.04em; }
.detail-genre { margin: 0 0 23px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-synopsis { max-width: 680px; color: #59564e; font-size: 16px; line-height: 1.78; }
.detail-rating { max-width: 600px; display: flex; align-items: center; gap: 14px; margin-block: 25px; padding: 13px 15px; border-left: 2px solid var(--red); background: rgba(255, 255, 255, .57); }
.detail-rating p { margin: 0; color: var(--muted); font-size: 11px; }
.rating-icon { min-width: 40px; display: grid; place-items: center; color: var(--red-dark); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.purchase-panel { margin-top: 25px; padding: 19px; background: rgba(255, 253, 248, .86); border: 1px solid rgba(33,31,27,.09); }
.purchase-label { margin: 0 0 13px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.purchase-panel > .button { margin-right: 8px; }
.retailer-list { margin: 10px 0 0; color: var(--muted); font-size: 9px; }
.detail-secondary { display: flex; flex-wrap: wrap; gap: 17px 26px; margin-top: 19px; }
.detail-secondary .text-link { font-size: 10px; }
.detail-badges { margin-top: 7px; }
.book-afterword { background: var(--white); }
.book-afterword-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 50px; }
.book-afterword-copy p { margin-top: 0; color: var(--muted); }
.book-afterword-copy .button { margin: 7px 13px 10px 0; }
.book-afterword-copy > .text-link { margin: 8px 0; }

.blog-list-section { min-height: 400px; }
.journal-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal-grid-large .journal-card { min-height: 300px; padding: clamp(24px, 3.3vw, 38px); }
.blog-subscribe-note { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 22px; margin-top: 45px; padding: 27px; background: #f0ebe1; }
.blog-subscribe-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--red); border: 1px solid rgba(140,46,55,.35); font-size: 17px; }
.blog-subscribe-note h2 { margin: 0 0 4px; font: 500 22px var(--serif); }
.blog-subscribe-note p { margin: 0; color: var(--muted); font-size: 12px; }
.blog-subscribe-note > div:last-child { display: grid; gap: 10px; }
.article-heading { padding-block: 70px 62px; background: linear-gradient(140deg, #e9e2d5, #f6f2e8); }
.article-heading-inner { max-width: 890px; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--muted); font-size: 11px; font-weight: 600; }
.back-link:hover { color: var(--red); }
.article-heading h1 { max-width: 820px; font-size: clamp(43px, 6vw, 74px); }
.article-deck { max-width: 700px; margin: 20px 0; color: #625e54; font: 500 20px/1.5 var(--serif); }
.article-meta { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-body-section { padding-block: 70px 115px; background: var(--white); }
.article-layout { display: grid; grid-template-columns: minmax(0, 740px) minmax(160px, 1fr); gap: clamp(50px, 9vw, 120px); align-items: start; }
.article-prose { max-width: 740px; }
.article-prose p { font-size: 17px; line-height: 1.85; }
.article-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.source-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 15px; margin-top: 40px; padding: 18px; border: 1px solid var(--line); background: #f7f4ed; }
.source-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--teal); color: var(--teal); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.source-card p { margin: 0; font-size: 12px; }
.source-card .eyebrow { margin-bottom: 4px; font-size: 8px; }
.source-card .text-link { white-space: nowrap; }
.sidebar-sticky { position: sticky; top: 110px; display: grid; padding-top: 12px; border-top: 1px solid var(--red); }
.sidebar-sticky .eyebrow { margin-top: 11px; }
.sidebar-sticky a { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); color: #5a564f; font-size: 11px; }
.sidebar-sticky a:hover { color: var(--red); }
.sidebar-sticky a span { color: var(--red); }

.project-directory { background: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card { min-height: 320px; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: clamp(25px, 4vw, 42px); color: var(--white); background: var(--night); }
.project-card::after { content: ""; position: absolute; right: -65px; bottom: -95px; width: 215px; height: 215px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.03), 0 0 0 53px rgba(255,255,255,.025); }
.project-number { position: absolute; top: 25px; right: 28px; color: rgba(255,255,255,.5); font: 500 17px var(--serif); }
.project-card .eyebrow { margin-top: 20px; color: #e2c681; }
.project-card h3 { margin: 0 0 13px; font: 500 clamp(29px, 4vw, 44px)/1.1 var(--serif); }
.project-card > p:not(.eyebrow) { max-width: 430px; margin: 0 0 25px; color: rgba(255,255,255,.71); font-size: 13px; }
.project-card .project-link { margin-top: auto; color: #f5e2bc; }
.project-red { background: linear-gradient(135deg, #632733, #32191f); }
.project-cream { color: var(--ink); background: #ece5d7; }
.project-cream .eyebrow { color: var(--red); }
.project-cream > p:not(.eyebrow) { color: #5c584e; }
.project-cream .project-link { color: var(--red-dark); }
.project-cream .project-number { color: #8d8272; }
.project-teal { background: linear-gradient(145deg, #355b60, #1f383b); }
.project-dark { background: linear-gradient(145deg, #25272a, #121314); }
.projects-note { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 34px 70px; margin-top: 70px; padding: clamp(27px, 5vw, 52px); background: #f0ebe1; }
.projects-note .eyebrow { grid-column: 1 / -1; margin: 0; }
.projects-note h2 { grid-column: 1; grid-row: 2 / span 2; }
.projects-note > p:not(.eyebrow) { grid-column: 2; margin: 0; color: var(--muted); font-size: 14px; }
.projects-note-actions { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.projects-note-actions .text-link { font-size: 10px; }

.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { padding: clamp(26px, 5vw, 55px); border: 1px solid var(--line); background: #f8f5ef; }
.contact-card h2 { margin: 0 0 15px; font: 500 clamp(34px, 4vw, 48px)/1.1 var(--serif); }
.contact-card > p:not(.eyebrow) { max-width: 440px; color: var(--muted); font-size: 13px; }
.contact-destination { display: flex; justify-content: space-between; gap: 18px; margin-top: 0; padding-block: 15px; border-bottom: 1px solid var(--line); font: 500 16px var(--serif); }
.contact-destination:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-destination b { color: var(--red); font: 700 15px var(--sans); }
.contact-destination:hover, .contact-destination:hover b { color: var(--red); }
.contact-card-children { color: var(--white); background: #243b3c; }
.contact-card-children .eyebrow { color: #e0c88f; }
.contact-card-children > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.contact-email { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 12px; color: #f2d799; font: 500 clamp(16px, 2vw, 21px) var(--serif); overflow-wrap: anywhere; }
.contact-email:hover { color: var(--white); }
.contact-card-children .quiet-note { color: rgba(255,255,255,.57); font-size: 10px; }
.privacy-section { background: var(--white); }
.privacy-prose { max-width: 780px; }
.privacy-prose h2 { margin-top: 38px; font-size: 28px; }
.privacy-prose h2:first-child { margin-top: 0; }
.privacy-prose .quiet-note { margin-top: 40px; padding: 15px; background: #f5f1e8; font-size: 12px; }

.site-footer { color: rgba(255, 255, 255, .76); background: #171819; }
.footer-main { display: grid; grid-template-columns: 1.3fr .65fr .9fr; gap: 50px; padding-block: 64px 53px; }
.brand-footer { color: var(--white); }
.brand-footer .brand-type strong { color: var(--white); }
.footer-brand > p { max-width: 280px; margin-top: 18px; color: rgba(255,255,255,.56); font: 500 17px/1.4 var(--serif); }
.footer-heading { margin: 0 0 13px; color: #d9c28e; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.footer-col { display: grid; align-content: start; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.66); font-size: 11px; }
.footer-col a:hover, .footer-bottom a:hover { color: #e7cf97; }
.footer-bottom { min-height: 65px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.48); font-size: 9px; }
.footer-bottom div { display: flex; gap: 18px; }
.footer-bottom a { color: rgba(255,255,255,.7); }

@media (min-width: 1500px) { .hero { min-height: 760px; } }
@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .header-cta { display: none; }
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-shelf { grid-template-columns: 1fr; }
  .shelf-book { grid-template-columns: 115px 1fr; }
  .intro-band-inner { grid-template-columns: .8fr 1.8fr; }
  .intro-band .text-link { grid-column: 2; margin-top: -21px; }
  .mini-project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 38px, var(--wrap)); }
  .header-inner { width: calc(100% - 32px); min-height: 69px; }
  .menu-toggle { display: block; margin-left: auto; }
  .primary-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 10px 19px 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 30px rgba(20,18,16,.1); }
  .primary-nav.is-open { display: grid; gap: 0; }
  .primary-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .hero { min-height: min(710px, calc(100svh - 69px)); }
  .hero::before { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,13,15,.94), rgba(12,13,15,.62) 67%, rgba(12,13,15,.35)), linear-gradient(0deg, rgba(10,10,10,.5), transparent 50%); }
  .hero-content { padding-block: 82px 75px; }
  .hero h1 { font-size: clamp(50px, 11vw, 70px); }
  .hero-copy { max-width: 430px; font-size: 15px; }
  .hero-side-note { display: none; }
  .hero-note { margin-top: 37px; font-size: 9px; }
  .intro-band-inner { min-height: auto; grid-template-columns: 1fr; gap: 11px; padding-block: 24px; }
  .intro-band-inner > p:nth-child(2) { font-size: 20px; }
  .intro-band .text-link { grid-column: 1; margin-top: 0; }
  .section-heading { flex-direction: column; align-items: start; gap: 17px; margin-bottom: 29px; }
  .section-heading h2 { font-size: clamp(40px, 10vw, 56px); }
  .section-intro { max-width: 560px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 318px; }
  .asmodil-feature-grid { grid-template-columns: minmax(160px, .75fr) 1fr; gap: 30px; }
  .asmodil-cover-wrap { width: min(235px, 100%); }
  .award-stamp { right: -23px; width: 68px; height: 68px; font-size: 7px; }
  .asmodil-copy h2 { font-size: 48px; }
  .asmodil-copy > p:not(.eyebrow):not(.quiet-note) { font-size: 14px; }
  .author-intro-grid, .about-grid { grid-template-columns: minmax(0, .85fr) 1.15fr; gap: 32px; }
  .author-intro h2 { font-size: 43px; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .journal-card { min-height: 270px; }
  .catalogue-controls { align-items: stretch; flex-direction: column; }
  .search-field { max-width: none; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .book-card-body { padding: 13px 11px; }
  .book-card h3 { font-size: 17px; }
  .book-card-copy { font-size: 10px; }
  .book-card-actions { gap: 8px; }
  .book-card-actions .button { padding-inline: 8px; font-size: 8px; }
  .catalogue-source { grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; }
  .catalogue-source > .text-link { grid-column: 2; }
  .book-detail-grid { grid-template-columns: minmax(160px, .72fr) 1.28fr; gap: 35px; }
  .detail-copy h1 { font-size: 45px; }
  .detail-synopsis { font-size: 14px; }
  .book-afterword-grid, .about-next { grid-template-columns: 1fr 1fr; gap: 25px; }
  .project-grid, .contact-grid { gap: 13px; }
  .project-card { min-height: 300px; }
  .projects-note { gap: 24px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .footer-main { grid-template-columns: 1.1fr .8fr .9fr; gap: 25px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 34px); }
  .brand-type strong { font-size: 18px; }
  .hero { min-height: 660px; }
  .hero::before { background-position: 56% 50%; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-quiet-link { margin-left: 2px; }
  .hero-note { max-width: 250px; line-height: 1.45; }
  .section-pad { padding-block: 72px; }
  .reading-paths { padding-bottom: 74px; }
  .path-card { min-height: 300px; padding: 27px; }
  .path-card h3 { margin-top: 35px; }
  .shelf-book { grid-template-columns: 92px 1fr; gap: 14px; padding: 12px; }
  .shelf-book h3 { font-size: 17px; }
  .shelf-book p:not(.eyebrow) { font-size: 11px; }
  .asmodil-feature { padding-block: 68px; }
  .asmodil-feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .asmodil-cover-wrap { width: min(230px, 73%); }
  .asmodil-copy h2 { font-size: 52px; }
  .author-intro-grid, .about-grid { grid-template-columns: 1fr; }
  .author-photo-wrap { width: min(82%, 330px); margin-inline: auto; }
  .author-intro-copy { padding-top: 8px; }
  .mini-project-grid { grid-template-columns: 1fr 1fr; }
  .mini-project-grid a { min-height: 100px; padding: 14px; }
  .mini-project-grid strong { font-size: 14px; }
  .journal-grid, .journal-grid-large { grid-template-columns: 1fr; }
  .journal-card, .journal-grid-large .journal-card { min-height: auto; padding: 22px; }
  .catalogue-section { padding-top: 45px; }
  .filter-controls { display: grid; grid-template-columns: repeat(3, 1fr); }
  .filter-button { padding-inline: 5px; font-size: 8px; }
  .book-grid { gap: 9px; }
  .book-card-cover { aspect-ratio: 3/4.4; }
  .book-card-body { padding: 11px 9px 12px; }
  .eyebrow-pill, .rating-badge { padding: 3px 5px; font-size: 7px; }
  .book-genre { min-height: 22px; margin-top: 11px; font-size: 8px; }
  .book-card h3 { font-size: 15px; }
  .book-card-copy { font-size: 9px; line-height: 1.5; }
  .book-card-actions { flex-direction: column; align-items: start; }
  .book-card-actions .text-link { font-size: 8px; }
  .book-card-actions .button { width: 100%; min-height: 34px; justify-content: center; }
  .catalogue-source { grid-template-columns: 38px 1fr; margin-top: 38px; }
  .catalogue-source-mark { width: 36px; height: 36px; font-size: 13px; }
  .catalogue-source h2 { font-size: 18px; }
  .catalogue-source p { font-size: 10px; }
  .book-detail-grid { grid-template-columns: 1fr; gap: 38px; }
  .detail-cover-frame { width: min(270px, 78%); }
  .detail-copy h1 { font-size: 45px; }
  .detail-copy > .eyebrow { font-size: 9px; }
  .purchase-panel > .button { margin-bottom: 8px; }
  .book-afterword-grid, .about-next { grid-template-columns: 1fr; }
  .article-heading { padding-block: 43px; }
  .article-heading h1 { font-size: 46px; }
  .article-deck { font-size: 17px; }
  .article-body-section { padding-block: 47px 74px; }
  .article-prose p { font-size: 15px; }
  .source-card { grid-template-columns: 42px 1fr; }
  .source-card > .text-link { grid-column: 2; }
  .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 270px; }
  .projects-note { grid-template-columns: 1fr; gap: 14px; padding: 25px; }
  .projects-note .eyebrow, .projects-note h2, .projects-note > p:not(.eyebrow), .projects-note-actions { grid-column: 1; grid-row: auto; }
  .projects-note h2 { font-size: 43px; }
  .projects-note-actions { align-items: flex-start; flex-direction: column; }
  .blog-subscribe-note { grid-template-columns: 40px 1fr; gap: 14px; padding: 19px; }
  .blog-subscribe-mark { width: 36px; height: 36px; }
  .blog-subscribe-note > div:last-child { grid-column: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px; padding-block: 47px 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .footer-bottom div { gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Dark horror re-theme: near-black surfaces, restrained blood-red accents, legible editorial type. */
:root {
  color-scheme: dark;
  --ink: #f0e9e8;
  --ink-soft: #d8cece;
  --night: #07080a;
  --paper: #0b0c0f;
  --paper-deep: #111216;
  --white: #141519;
  --red: #c43a48;
  --red-dark: #5b111a;
  --teal: #24373c;
  --gold: #c4a469;
  --muted: #a49c9d;
  --line: rgba(237, 223, 221, .15);
  --shadow: 0 24px 65px rgba(0, 0, 0, .55);
}

html { color-scheme: dark; background: #08090b; }
body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% 12%, rgba(118, 15, 32, .13), transparent 34rem),
    radial-gradient(ellipse at 94% 54%, rgba(72, 12, 27, .11), transparent 42rem),
    #08090b;
}
.site-header {
  background: rgba(8, 9, 11, .95);
  border-bottom-color: rgba(196, 58, 72, .34);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}
.primary-nav a { color: #c7bfc0; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #f1d2d2; }
.header-cta { border-color: rgba(240, 233, 232, .42); }
.header-cta:hover { color: #fff; background: var(--red-dark); border-color: var(--red); }
.menu-lines, .menu-lines::before, .menu-lines::after { background: #e9dede; }
.hero { background: #050507; }
.hero::before { filter: brightness(.72) contrast(1.14) saturate(.8); }
.hero-shade {
  background:
    radial-gradient(ellipse at 79% 50%, rgba(101, 6, 22, .25), transparent 38%),
    linear-gradient(90deg, rgba(4, 4, 6, .98) 0%, rgba(5, 5, 7, .9) 36%, rgba(5, 5, 7, .54) 70%, rgba(5, 5, 7, .28) 100%),
    linear-gradient(0deg, rgba(3, 3, 4, .72), transparent 46%);
}
.hero h1 em { color: #d98789; }
.hero-note-dot { background: var(--red); box-shadow: 0 0 14px rgba(196, 58, 72, .8); }
.intro-band { background: #3a0b12; }
.intro-band .text-link { color: #f0d7d7; }
.text-link { color: #e28b92; }
.text-link:hover { color: #e5c58b; }
.section-heading h2 em,
.author-intro h2 em,
.about-next h2 em,
.projects-note h2 em,
.book-afterword h2 em { color: #d95a66; }
.path-card::after { pointer-events: none; border-color: rgba(208, 77, 89, .3); box-shadow: 0 0 0 22px rgba(146, 25, 39, .045), 0 0 0 55px rgba(146, 25, 39, .025); }
.path-adult { background: linear-gradient(135deg, rgba(11, 10, 13, .96), rgba(57, 10, 20, .97)), url('/manus-storage/hero-editorial_0818f05c.jpg') center/cover; }
.path-young { color: #eee5e2; background: linear-gradient(145deg, #20191d, #101317 75%, #172125); }
.path-young .path-count, .path-young .path-symbol { color: #d5ad72; }
.path-young p { color: #c6bcbb; }
.path-young .path-arrow { color: #f0e6e4; border-color: rgba(240, 230, 228, .22); }
.path-young .path-arrow b { color: #d8878d; }
.featured-section, .journal-preview, .blog-list-section, .about-story, .book-afterword,
.article-body-section, .privacy-section, .contact-section { background: #0d0e11; }
.shelf-book { color: var(--ink); background: #151316; border-color: rgba(228, 213, 211, .12); }
.shelf-cover { background: #171216; box-shadow: 8px 10px 20px rgba(0, 0, 0, .48); }
.shelf-book p:not(.eyebrow) { color: #b4aaab; }
.catalogue-note { color: #9f9698; }
.asmodil-feature { background: #07080a; }
.asmodil-copy h2 em { color: #d8878d; }
.author-intro { background: #0c0d10; }
.author-intro-copy > p:not(.eyebrow):not(.image-credit) { color: #c0b7b7; }
.author-photo-wrap::after { border-color: rgba(196, 58, 72, .58); }
.author-photo-wrap figcaption, .image-credit { color: #a49c9d; }
.projects-ribbon { background: #111216; }
.mini-project-grid { border-color: rgba(232, 216, 214, .16); }
.mini-project-grid a { border-color: rgba(232, 216, 214, .16); }
.mini-project-grid strong { color: #e9e1e0; }
.mini-project-grid a:hover { color: #fff; background: #511018; }
.mini-project-grid span, .mini-project-grid b { color: #d15a63; }
.mini-project-grid a:hover span, .mini-project-grid a:hover b { color: #e5c58b; }
.journal-card { color: var(--ink); background: #131418; border-color: rgba(233, 218, 216, .15); }
.journal-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, .42); }
.journal-card-top { border-bottom-color: var(--line); }
.journal-card h3 a:hover { color: #e38991; }
.journal-card > p { color: #b3aaab; }
.page-heading {
  color: var(--ink);
  background: radial-gradient(ellipse at 88% 15%, rgba(123, 19, 36, .2), transparent 34rem), linear-gradient(130deg, #111114 0%, #100d11 60%, #0b1113 100%);
  border-bottom-color: rgba(196, 58, 72, .23);
}
.page-intro { color: #b8aeaf; }
.about-photo-column { background: #171417; }
.about-photo-frame figcaption { color: #b4a9aa; }
.prose p, .about-next-links a { color: #c4bbbb; }
.prose em { color: #e3a2a6; }
.about-quote { background: #18282c; }
.about-next-links { border-color: var(--line); }
.about-next-links a { border-color: var(--line); }
.about-next-links a:hover { color: #e38d94; }
.catalogue-section { background: #0d0e11; }
.search-field { border-color: rgba(233, 218, 216, .2); background: #141519; }
.search-field input { color: #f0e9e8; }
.search-field input::placeholder { color: #969092; }
.filter-button { color: #b7adae; }
.filter-button:hover { color: #f2d9d9; }
.filter-button.is-active { color: #fff; background: #65131e; border-color: #9f2936; }
.catalogue-status { color: #aca2a3; }
.book-card { color: var(--ink); background: #141519; border-color: rgba(232, 217, 215, .14); }
.book-card-cover, .book-cover-fallback { background-color: #171216; }
.book-card h3 a:hover { color: #e78d94; }
.book-card-copy { color: #b4aaab; }
.eyebrow-pill { color: #b5d0cc; border-color: rgba(116, 162, 156, .38); }
.rating-badge { color: #f1b4b4; border-color: rgba(196, 58, 72, .5); }
.retailer-options { color: #f0a4a9; }
.retailer-options summary { color: #f0a4a9; }
.retailer-menu { background: #1a191d; border-color: rgba(232, 217, 215, .18); }
.retailer-menu a { color: #efe7e5; }
.retailer-menu a:hover { color: #ee929a; }
.no-results { color: #c2b8b8; background: #151519; }
.catalogue-source { background: #171619; border: 1px solid rgba(233, 218, 216, .12); }
.catalogue-source h2 { color: #f0e8e7; }
.catalogue-source p { color: #b7adae; }
.catalogue-source-mark { border-color: #ad3b48; color: #e58a92; }
.book-detail-hero { background: radial-gradient(ellipse at 15% 25%, rgba(113, 17, 33, .18), transparent 35rem), linear-gradient(125deg, #111114, #0f1013 62%, #121719); }
.detail-copy h1 { color: #f3ebea; }
.detail-genre { color: #e28b92; }
.detail-synopsis { color: #c1b8b9; }
.detail-rating { background: rgba(255, 255, 255, .055); border-left-color: #c43a48; }
.detail-rating p, .retailer-list { color: #b7adae; }
.rating-icon { color: #e18b92; }
.purchase-panel { border-color: rgba(232, 217, 215, .14); background: #15161a; }
.purchase-label { color: #b7adae; }
.book-afterword-copy p { color: #bdb4b5; }
.blog-subscribe-note, .source-card { color: var(--ink); background: #171619; border-color: rgba(232, 217, 215, .15); }
.blog-subscribe-note p, .source-card p { color: #bdb4b5; }
.blog-subscribe-note h2 { color: #f0e8e7; }
.article-heading { background: radial-gradient(ellipse at 85% 15%, rgba(114, 16, 32, .21), transparent 33rem), linear-gradient(140deg, #111114, #171114 68%, #0b1113); }
.article-deck { color: #c3b9ba; }
.article-meta, .back-link { color: #a79d9e; }
.article-meta time { color: #d8cccc; }
.source-card { border-color: rgba(232, 217, 215, .18); }
.sidebar-sticky a { color: #c5bbbb; border-color: var(--line); }
.sidebar-sticky a:hover { color: #e58f96; }
.project-cream { color: #f0e9e8; background: linear-gradient(145deg, #24171b, #131417 82%); }
.project-cream .eyebrow { color: #df8d94; }
.project-cream > p:not(.eyebrow) { color: #c2b8b9; }
.project-cream .project-link { color: #e8a0a3; }
.project-cream .project-number { color: #b59da0; }
.projects-note { color: var(--ink); background: #171619; }
.projects-note > p:not(.eyebrow) { color: #bdb4b5; }
.contact-card { color: var(--ink); background: #15161a; border-color: rgba(232, 217, 215, .14); }
.contact-card h2 { color: #f2e9e8; }
.contact-card > p:not(.eyebrow) { color: #bdb4b5; }
.contact-destination { color: #e8dfde; border-color: var(--line); }
.contact-destination:hover, .contact-destination:hover b { color: #e78e96; }
.contact-card-children { background: #17282c; }
.contact-card-children h2 { color: #f2e9e8; }
.contact-email { color: #e3c58d; }
.privacy-prose .quiet-note { color: #c5bbbb; background: #171619; }
.site-footer { background: #050607; border-top: 1px solid rgba(196, 58, 72, .34); }
.footer-bottom { border-top-color: rgba(232, 217, 215, .15); }
.button-primary { color: #fff; background: #a82432; }
.button-primary:hover { background: #c73947; }
.button-light { color: #171316; background: #eee4e2; }
.button-light:hover { color: #fff; background: #8d1926; }
.button-dark { color: #fff; background: #701722; }
.button-dark:hover { background: #a52331; }
.button-secondary { color: #e9dfde; border-color: rgba(233, 218, 216, .28); }
.button-secondary:hover { color: #fff; border-color: #ca5560; background: rgba(115, 22, 35, .22); }
::selection { color: #fff; background: #86202b; }

@media (max-width: 760px) {
  .primary-nav { background: #0c0d10; border-bottom-color: rgba(196, 58, 72, .34); }
  .primary-nav a { color: #e2d8d8; border-bottom-color: rgba(233, 218, 216, .12); }
}
@media (max-width: 540px) {
  .blog-subscribe-note { background: #171619; }
  .catalogue-source { background: #171619; }
}


/* Contrast correction: the shared white token is for type; dark theme surfaces are declared explicitly. */
:root { --white: #f2ebea; }
.skip-link { color: #161013; background: #f3e8e7; }
.project-directory { background: #0d0e11; }


/* Catalogue controls: clear audience paths, keyboard focus, and a stable editorial shelf. */
.filter-controls[role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  background: #0d0e12;
}
.filter-controls[role="tablist"] .filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  color: #c9c0c0;
  background: transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.filter-controls[role="tablist"] .filter-button:hover { color: #fff; background: rgba(255,255,255,.04); }
.filter-controls[role="tablist"] .filter-button[aria-selected="true"],
.filter-controls[role="tablist"] .filter-button.is-active {
  border-color: rgba(196, 58, 72, .72);
  color: #fff;
  background: linear-gradient(135deg, #60141e, #351015);
}
.filter-controls[role="tablist"] .filter-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.filter-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding-inline: 5px;
  border: 1px solid rgba(237, 223, 221, .2);
  border-radius: 999px;
  color: #d3b989;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
.filter-button[aria-selected="true"] .filter-count { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(0,0,0,.22); }
.catalogue-order-note { margin: -4px 0 15px; color: #a49c9d; font-size: 10px; letter-spacing: .025em; }
.latest-release-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid rgba(196, 58, 72, .5);
  color: #ffd9dc;
  background: rgba(102, 15, 26, .42);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.15;
  text-transform: uppercase;
}
.book-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 17px 0 20px;
  border: 1px solid var(--line);
  background: var(--line);
}
.book-specs > div { min-width: 0; padding: 10px 12px; background: #101115; }
.book-specs dt { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.book-specs dd { margin: 4px 0 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .catalogue-controls { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; max-width: none; }
  .filter-controls[role="tablist"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .filter-controls[role="tablist"] .filter-button { min-width: 0; gap: 5px; padding-inline: 6px; font-size: 8px; letter-spacing: .035em; }
}
@media (max-width: 420px) {
  .filter-controls[role="tablist"] .filter-button { flex-direction: column; gap: 4px; min-height: 54px; padding-block: 6px; }
  .book-specs > div { padding: 9px 8px; }
}

/* The card layout has an explicit display value, so enforce the native hidden state. */
.book-card[hidden] { display: none !important; }


/* Free-reading library: distinct from the retail catalogue, but part of the same shelf. */
.free-reading-section { background: #0d0e11; }
.free-reading-intro { max-width: 850px; margin: 0 0 28px; }
.free-reading-intro > p:last-child { margin: 0; color: #b8aeaf; font-size: 13px; line-height: 1.75; }
.free-reading-controls { align-items: stretch; }
.free-reading-controls .search-field { max-width: 350px; }
.free-reading-tabs { display: grid; flex: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.free-reading-tabs .free-filter-button { min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-color: rgba(233, 218, 216, .13); text-align: left; }
.free-reading-tabs .free-filter-button > span:first-child { line-height: 1.35; }
.free-reading-tabs .filter-count { flex: 0 0 auto; min-width: 23px; padding: 3px 6px; border-radius: 20px; color: #d8cece; background: rgba(255, 255, 255, .08); text-align: center; }
.free-reading-collection-note { margin: 0 0 8px; padding: 12px 15px; border-left: 2px solid #9f2936; color: #d4caca; background: rgba(255, 255, 255, .035); font-size: 12px; line-height: 1.65; }
.free-reading-grid { align-items: stretch; }
.free-reading-card { overflow: hidden; }
.free-reading-card .book-card-body { min-height: 255px; }
.free-reading-card .book-genre { min-height: 0; }
.free-reading-card .book-card-copy { margin-top: 3px; }
.free-reading-card .book-card-actions { gap: 9px 13px; }
.free-card-languages { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.language-chip { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid rgba(116, 162, 156, .38); border-radius: 2px; color: #c0d5d1; font-size: 8px; font-weight: 700; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; }
.free-source-directory { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .72fr); gap: 32px; align-items: center; margin-top: 64px; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(233, 218, 216, .12); background: #121317; }
.free-source-directory h2 { margin: 0 0 10px; color: #f0e8e7; font: 500 clamp(24px, 3vw, 34px)/1.08 var(--serif); }
.free-source-directory > div:first-child > p:last-child { max-width: 540px; margin: 0; color: #b7adae; font-size: 12px; line-height: 1.65; }
.free-source-links { display: grid; gap: 11px; padding-left: 25px; border-left: 1px solid rgba(233, 218, 216, .14); }
.free-source-links .text-link { display: flex; justify-content: space-between; gap: 12px; color: #e19aa0; font-size: 11px; }
.free-library-promo { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: clamp(22px, 4vw, 38px); border: 1px solid rgba(196, 58, 72, .32); background: radial-gradient(ellipse at 15% 50%, rgba(101, 19, 30, .18), transparent 50%), #151216; }
.free-library-promo > div { max-width: 650px; }
.free-library-promo h2 { margin: 5px 0 12px; color: #f0e8e7; font: 500 clamp(25px, 3vw, 36px)/1.08 var(--serif); }
.free-library-promo h2 em { color: #d95a66; }
.free-library-promo p:not(.eyebrow) { margin: 0; color: #b7adae; font-size: 12px; line-height: 1.7; }
.free-reading-detail .detail-badges { margin: 0 0 13px; }
.free-reading-specs { margin-top: 28px; }
.free-download-panel { margin-top: 25px; padding: 20px; border: 1px solid rgba(232, 217, 215, .14); background: #15161a; }
.free-download-panel > p:not(.purchase-label) { max-width: 600px; margin: 0 0 16px; color: #bdb4b5; font-size: 12px; line-height: 1.65; }
.free-download-panel .button { width: fit-content; }
.free-reading-detail .detail-secondary { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 20px; }
.free-catalogue-promo { background: #0d0e11; }
.free-catalogue-promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(25px, 4vw, 40px); border: 1px solid rgba(196, 58, 72, .28); background: radial-gradient(ellipse at 85% 10%, rgba(101, 19, 30, .2), transparent 38rem), #141216; }
.free-catalogue-promo-inner > div { max-width: 680px; }
.free-catalogue-promo h2 { margin: 6px 0 12px; color: #f0e8e7; font: 500 clamp(27px, 3.6vw, 40px)/1.08 var(--serif); }
.free-catalogue-promo h2 em { color: #d95a66; }
.free-catalogue-promo p:not(.eyebrow) { max-width: 620px; margin: 0; color: #b7adae; font-size: 13px; line-height: 1.7; }
@media (max-width: 1050px) {
  .free-reading-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .free-reading-controls .search-field { width: 100%; max-width: none; }
  .free-reading-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .free-reading-tabs .free-filter-button { padding-inline: 9px; font-size: 8px; }
  .free-source-directory { grid-template-columns: 1fr; gap: 22px; }
  .free-source-links { padding: 18px 0 0; border-top: 1px solid rgba(233, 218, 216, .14); border-left: 0; }
  .free-library-promo, .free-catalogue-promo-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 540px) {
  .free-reading-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .free-reading-tabs .free-filter-button { min-height: 42px; }
  .free-reading-card .book-card-body { min-height: 0; }
  .free-reading-detail .detail-secondary { flex-direction: column; align-items: flex-start; }
}
