:root {
  color-scheme: light;
  --ink: #152534;
  --deep: #0b1a29;
  --midnight: #10273a;
  --paper: #f8f5ed;
  --cream: #eee7d7;
  --gold: #e2bc74;
  --ochre: #956f39;
  --muted: #65717a;
  --line: rgba(33, 52, 65, .16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #c58a3e; outline-offset: 4px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: .72rem; font-weight: 720; letter-spacing: .19em; text-transform: uppercase; }
.notice { background: #091723; color: #d9c6a4; text-align: center; padding: 11px 20px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; gap: 24px; align-items: center; min-height: 90px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 42px; border: 1px solid #bda273; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #7f5e32; font: 24px/1 var(--serif); }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-text strong { font: 700 .85rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.brand-text small { font: italic .75rem/1.3 var(--serif); color: var(--muted); }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px clamp(13px, 2vw, 24px); align-items: center; }
.site-nav a { font-size: .77rem; white-space: nowrap; letter-spacing: .04em; text-decoration: none; color: #3c4b56; }
.site-nav a:hover { color: #9d7337; }
.site-nav .nav-feature { color: #88622b; border-bottom: 1px solid #9d7337; padding-bottom: 5px; }
.book-hero { position: relative; overflow: hidden; color: #f7eee0; background: radial-gradient(circle at 84% 42%, rgba(127,149,149,.2), transparent 34%), linear-gradient(120deg, #12293a 0%, #091826 84%); }
.book-hero::before { content: ''; position: absolute; inset: 26px; border: 1px solid rgba(226,188,116,.13); pointer-events: none; }
.book-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.7fr); align-items: center; gap: clamp(50px,7vw,110px); padding-block: 67px 76px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #d4c2a5; font-size: .73rem; letter-spacing: .05em; margin: 0 0 31px; }
.breadcrumb a { text-underline-offset: 4px; }
.breadcrumb .divider { color: #9d927f; }
.book-hero .eyebrow { color: var(--gold); margin-bottom: 19px; }
.book-hero h1 { font: 400 clamp(3.2rem,5.8vw,5.6rem)/1.07 var(--serif); letter-spacing: -.045em; margin: 0 0 23px; }
.book-hero .subtitle { color: #e7cb9b; font: italic clamp(1.12rem,1.65vw,1.45rem)/1.55 var(--serif); max-width: 740px; margin: 0 0 24px; }
.book-hero .byline { color: #d8cab5; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.book-hero .hero-copy { color: #e0d8ce; font: 1.12rem/1.75 var(--serif); max-width: 665px; margin: 30px 0 0; }
.book-hero .availability { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(228,189,122,.6); color: #f2d7a1; padding: 10px 14px; margin-top: 24px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.availability::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.book-date { color: #d3c4ad; font-size: .75rem; margin-top: 16px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 16px 22px; text-decoration: none; font: 700 .71rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: background .2s ease; }
.button-gold { color: #17212a; background: #e4bd7a; border: 1px solid #e4bd7a; }
.button-gold:hover { background: #f2ce8e; }
.text-link { color: #ead7bb; font-size: .73rem; text-decoration: none; border-bottom: 1px solid #b99e71; padding-bottom: 6px; letter-spacing: .09em; text-transform: uppercase; }
.hero-cover-figure { margin: 0; justify-self: center; width: min(100%,365px); }
.hero-cover { width: 100%; height: auto; aspect-ratio: 5/8; object-fit: contain; box-shadow: 0 18px 40px rgba(0,0,0,.42); }
.cover-caption { color: #d2c0a6; text-align: center; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 20px; }
.quickline { text-align: center; color: #80623d; padding: 25px 18px; font: italic 1.02rem/1.6 var(--serif); background: var(--cream); border-bottom: 1px solid #ded0b9; }
.section { padding-block: 89px; }
.section-heading { font: 400 clamp(2.35rem,4vw,4rem)/1.14 var(--serif); letter-spacing: -.025em; margin: 14px 0 22px; }
.section-copy { font: 1.1rem/1.86 var(--serif); color: #4d5962; max-width: 870px; }
.section .eyebrow { color: #986e37; }
.about-book { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) 235px; gap: 65px; align-items: center; }
.book-facts { border-left: 1px solid #ccb99c; padding-left: 29px; }
.book-facts dt { font-size: .66rem; color: #8c683d; letter-spacing: .15em; text-transform: uppercase; margin-top: 20px; }
.book-facts dt:first-child { margin-top: 0; }
.book-facts dd { font: 1.09rem/1.45 var(--serif); margin: 7px 0 0; }
.themes { background: #ebe5d9; }
.themes-intro { max-width: 820px; margin-bottom: 42px; }
.theme-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.theme-card { position: relative; min-height: 225px; background: #f7f3e9; padding: 30px; border: 1px solid rgba(66,67,62,.09); overflow: hidden; }
.theme-card::after { content: attr(data-symbol); position: absolute; right: 10px; bottom: -27px; font: 170px/1 var(--serif); color: rgba(160,131,88,.075); pointer-events: none; }
.theme-card .theme-no { position: relative; z-index: 1; color: #a37c44; font-size: .69rem; letter-spacing: .2em; }
.theme-card h3 { position: relative; z-index: 1; font: 400 clamp(1.85rem,2.8vw,2.35rem)/1.15 var(--serif); margin: 28px 0 14px; max-width: 490px; }
.theme-card p { position: relative; z-index: 1; font: italic .96rem/1.55 var(--serif); color: #6a706d; margin: 0; }
.contents-accordion { margin-top: 38px; border: 1px solid rgba(92,82,66,.2); background: #f8f5ed; }
.contents-accordion summary { display: flex; align-items: center; gap: 16px; padding: 24px 29px; cursor: pointer; list-style: none; }
.contents-accordion summary::-webkit-details-marker { display: none; }
.contents-accordion summary strong { font: 400 1.43rem/1.3 var(--serif); }
.contents-accordion summary small { font: italic .93rem/1.3 var(--serif); color: #788079; margin-left: auto; text-align: right; }
.contents-accordion summary::after { content: '+'; font: 400 1.7rem/1 var(--serif); color: #9e774b; padding-left: 5px; }
.contents-accordion[open] summary::after { content: '−'; }
.toc-content { border-top: 1px solid rgba(92,82,66,.16); padding: 24px 29px 31px; }
.toc-extra { margin: 0 0 24px; font: italic .97rem/1.8 var(--serif); color: #686f70; }
.toc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 48px; }
.toc-part h4 { font: 400 1.45rem/1.3 var(--serif); color: #253546; margin: 0 0 11px; }
.toc-part-label { display: block; text-transform: uppercase; font: 700 .65rem/1.4 var(--sans); letter-spacing: .17em; color: #9c754b; margin-bottom: 8px; }
.toc-part ol { margin: 0; padding-left: 24px; color: #48545c; font: .98rem/1.55 var(--serif); }
.toc-part li { padding-left: 5px; margin: 9px 0; }
.toc-part li::marker { color: #a07443; font: .73rem var(--sans); }
.toc-end { margin: 26px 0 0; border-top: 1px solid rgba(92,82,66,.16); padding-top: 19px; }
.volume-next { background: #f8f5ed; border-block: 1px solid #dfd7ca; }
.volume-next-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.volume-next h2 { font: 400 clamp(2rem,3vw,3rem)/1.15 var(--serif); margin: 13px 0; }
.volume-next p { color: #64707a; font: italic 1.03rem/1.6 var(--serif); max-width: 670px; }
.volume-next a { white-space: nowrap; }
.footer { background: #0b1b29; color: #c4c0b6; padding-block: 39px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-name { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .19em; color: #e5c383; }
.footer small { font-size: .73rem; line-height: 1.65; }
.footer a { color: #ded3bb; text-decoration: none; border-bottom: 1px solid rgba(222,211,187,.5); }
.footer a.footer-name { color: #e5c383; border-bottom-color: transparent; }
.footer a.footer-name:hover { color: #f5d696; border-bottom-color: currentColor; }
.footer-legal { white-space: nowrap; }
@media (max-width: 960px) {
  .footer-legal { white-space: normal; }
}
@media (max-width: 860px) {
  .container { width: calc(100% - 56px); }
  .book-hero-grid { gap: 35px; grid-template-columns: minmax(0,1fr) minmax(205px,.62fr); }
  .book-hero h1 { font-size: clamp(3rem,6vw,4.5rem); }
  .theme-card { padding: 25px; }
  .theme-card h3 { font-size: 1.8rem; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 1rem; }
  .container { width: calc(100% - 40px); }
  .notice { font-size: .57rem; line-height: 1.5; padding: 9px 13px; }
  .header-inner { min-height: 74px; flex-wrap: wrap; padding-block: 14px; gap: 13px; }
  .brand-mark { width: 34px; height: 34px; font-size: 21px; }
  .brand-text strong { font-size: .75rem; }
  .brand-text small { font-size: .65rem; }
  .site-nav { width: 100%; justify-content: center; gap: 12px 17px; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-nav a { font-size: .73rem; }
  .book-hero::before { inset: 12px; }
  .book-hero-grid { display: flex; flex-direction: column; align-items: stretch; padding-block: 42px 52px; gap: 38px; }
  .breadcrumb { font-size: .68rem; margin-bottom: 24px; }
  .book-hero h1 { font-size: clamp(3.1rem,13vw,5.2rem); }
  .book-hero .hero-copy { margin-top: 23px; }
  .hero-cover-figure { width: min(66%,290px); }
  .section { padding-block: 69px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .book-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 15px; border-left: 0; border-top: 1px solid #ccb99c; padding: 22px 0 0; }
  .book-facts dt { margin: 8px 0 0; }
  .book-facts dd { margin: 6px 0 18px; }
  .theme-grid { grid-template-columns: 1fr; gap: 15px; }
  .theme-card { min-height: 180px; }
  .theme-card h3 { font-size: 1.9rem; }
  .contents-accordion summary { padding: 20px; flex-wrap: wrap; }
  .contents-accordion summary strong { font-size: 1.22rem; }
  .contents-accordion summary small { font-size: .83rem; }
  .toc-content { padding: 22px 20px; }
  .toc-grid { grid-template-columns: 1fr; gap: 27px; }
  .volume-next-grid { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
