:root {
  color-scheme: light;
  --ink: #172b25;
  --pine: #163b32;
  --muted: #40564a;
  --cream: #fbf7ec;
  --paper: #fffdf6;
  --gold: #f5cd71;
  --line: #dfdbcb;
  --mint: #dcead8;
  --peach: #f2ddcf;
  --ice: #e2edf7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--sans) }
img { display: block; max-width: 100%; height: auto }
a { color: inherit }
a:focus-visible { outline: 3px solid #a64829; outline-offset: 4px }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold) }
h1,h2,h3,p,figure,dl { margin: 0 }
h1,h2,h3 { font-family: var(--serif); line-height: 1.07; letter-spacing: -.035em }
h1 { font-size: clamp(2.7rem, 7vw, 5.6rem) }
h2 { font-size: clamp(2rem, 4vw, 3.3rem) }
h3 { font-size: clamp(1.4rem, 2.6vw, 2rem) }
.container { width: min(100% - 72px, 1200px); margin-inline: auto }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--paper); transform: translateY(-150%) }
.skip:focus { transform: translateY(0) }
.site-header { background: var(--cream); border-bottom: 1px solid #efe8db }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 1.44rem/1 var(--serif); letter-spacing: -.035em; text-decoration: none; white-space: nowrap }
.brand b { font-weight: 400 }
.brand-icon { width: 33px; height: 33px; display: grid; place-items: center; background: var(--pine); border-radius: 50% }
.brand-icon i { display: block; width: 12px; height: 17px; background: var(--gold); border-radius: 95% 0 95% 0; transform: rotate(24deg) }
.nav nav,.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1rem, 3.2vw, 2.2rem); font-size: .89rem; font-weight: 640 }
.nav nav a,.site-footer nav a { text-decoration: none }
.nav nav a:hover,.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px }
.hero { color: var(--paper); background: radial-gradient(ellipse at 78% 28%, #2a5a47, transparent 63%), var(--pine); overflow: hidden }
.hero-grid { min-height: 492px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; position: relative }
.hero-copy { padding: 62px 0; z-index: 1 }
.hero-copy h1 { font-size: clamp(2.7rem, 5.6vw, 5.6rem); font-weight: 700; line-height: .97 }
.hero-copy h1 span,.hero-copy h1 em { display: block }
.hero-copy h1 em { color: var(--gold); font-weight: 400 }
.hero-copy p { max-width: 46ch; margin: 22px 0 27px; color: #f4ecdb; font-size: clamp(1.04rem, 2vw, 1.22rem) }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 47px; padding: .58rem 1.08rem; border-radius: 6px; border: 1px solid var(--pine); background: var(--pine); color: var(--paper); font-size: .91rem; font-weight: 700; text-decoration: none; white-space: nowrap }
.button:hover { background: #2b5949 }
.button.gold { background: var(--gold); border-color: var(--gold); color: var(--pine) }
.button.gold:hover { background: #ffe098 }
.button.outline { color: var(--pine); background: transparent }
.button.outline:hover { background: var(--mint) }
.button.compact { padding: .42rem .63rem; min-height: 39px; font-size: .79rem }
.hero-shelf { position: relative; isolation: isolate; height: 420px; width: min(100%, 550px); margin: 0 auto; display: flex; align-items: center; justify-content: center }
.hero-shelf::before,.hero-shelf::after { content: ""; position: absolute; z-index: -1; width: 81%; aspect-ratio: 1; border: 1px solid #e8cb7a40; border-radius: 50%; top: 50%; transform: translateY(-50%) }
.hero-shelf::after { width: 69%; border-color: #e8cb7a27 }
.hero-cover { width: 30%; min-width: 0; display: block; position: relative; border-radius: 3px 9px 9px 3px; transform: translateY(var(--rise)) rotate(var(--tilt)); transition: transform .22s ease; box-shadow: 0 18px 37px #071c1280, 4px 3px 0 #d9d0ae }
.hero-cover img { border-radius: inherit; width: 100% }
.hero-cover-0 { --rise: 3%; --tilt: -8deg }
.hero-cover-1 { --rise: -3%; --tilt: 0deg; width: 40%; margin-inline: -2%; z-index: 2 }
.hero-cover-2 { --rise: 3%; --tilt: 8deg }
.hero-cover:hover,.hero-cover:focus-visible { transform: translateY(calc(var(--rise) - 4%)) rotate(var(--tilt)) }
.hero-cover:focus-visible { z-index: 3 }
.spark { position: absolute; color: var(--gold); font-family: var(--serif); line-height: 1; z-index: 2; pointer-events: none }
.spark.a { font-size: 2.4rem; top: 12%; left: 6% }
.spark.b { font-size: 2.8rem; top: 14%; right: 3% }
.spark.c { font-size: 1.4rem; bottom: 13%; right: 4% }
.section { padding: clamp(45px, 6vw, 78px) 0 }
.section-head { margin-bottom: 26px; display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: end }
.section-head p { max-width: 33ch; color: var(--muted) }
.book-grid,.guide-grid,.sample-grid { display: grid; gap: 21px }
.book-grid,.guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)) }
.sample-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
.book-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--paper) }
.book-art,.detail-cover { display: grid; place-items: center; padding: 24px }
.mint { background: var(--mint) }
.peach { background: var(--peach) }
.ice { background: var(--ice) }
.book-art.ice { background: radial-gradient(ellipse at 50% 78%, #f5cd7166, transparent 54%), var(--ice) }
.book-art img,.detail-cover img { width: 100%; max-width: 220px; border-radius: 2px 5px 5px 2px; box-shadow: 0 12px 22px #493e332e, 3px 2px 0 #c9c6b3 }
.card-body { display: flex; flex-direction: column; gap: 11px; padding: 24px }
.card-body .book-facts { margin-top: auto }
.book-card h3 a,.guide-card h3 a { text-decoration: none }
.book-card h3 a:hover,.guide-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px }
.book-card p,.guide-copy p { color: var(--muted); font-size: .93rem }
.book-card .book-facts { font-weight: 700; font-size: .77rem; color: var(--pine) }
.book-facts span { padding: 0 .2rem }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem }
.text-link { display: inline-block; font-weight: 720; color: var(--pine); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: .93rem }
.text-link:hover { color: #963c27 }
.guide-section { background: #ececde }
.guide-card { display: grid; grid-template-columns: 28% 1fr; overflow: hidden; border-radius: 11px; background: var(--paper); border: 1px solid var(--line) }
.guide-thumb { padding: 12px; display: grid; align-items: center }
.guide-thumb img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--line) }
.guide-copy { padding: 24px; display: grid; align-content: center; gap: .55rem; justify-items: start }
.guide-copy h3 { font-size: clamp(1.2rem, 2.2vw, 1.75rem) }
.site-footer { background: var(--pine); color: var(--cream) }
.footer-inner { display: flex; gap: 1rem 2rem; justify-content: space-between; flex-wrap: wrap; padding: 32px 0 }
.site-footer p { margin-top: .15rem; color: #e6ddca; font-size: .88rem }
.site-footer strong { font: 700 1.28rem var(--serif) }
.back { padding: 22px 0; color: var(--muted); font-size: .88rem; font-weight: 640 }
.back a { text-underline-offset: 3px }
.detail { padding-bottom: 12px }
.detail-grid { display: grid; grid-template-columns: minmax(245px,.77fr) 1.23fr; align-items: start; gap: clamp(26px, 6vw, 82px) }
.detail-cover { border-radius: 13px; padding: clamp(24px,5vw,60px); min-height: 360px }
.detail-cover img { max-width: 330px }
.detail-copy { padding: 12px 0 }
.detail-copy h1,.reading h1 { font-size: clamp(2.6rem, 6vw, 4.5rem) }
.detail-copy .subtitle { color: var(--pine); font-weight: 730; font-size: 1.04rem }
.detail-copy p { margin: 12px 0; max-width: 58ch }
.facts { margin: 23px 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px 16px }
.facts div { border-top: 1px solid var(--line); padding-top: 7px }
.facts dt { font-size: .8rem; color: var(--muted) }
.facts dd { margin: 1px 0 0; font-weight: 750 }
.status { color: var(--muted); font-size: .89rem }
.sample-grid { max-width: 790px; margin-inline: auto }
.sample-actions { margin-top: 24px; text-align: center }
figure { min-width: 0 }
.sample-image { width: 100%; border: 1px solid var(--line); background: white; border-radius: 7px }
figcaption { margin-top: .5rem; color: var(--muted); font-size: .9rem }
.qa { background: #ebeddf }
.questions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 36px; margin-top: 22px }
.questions div { padding: 15px 0; border-top: 1px solid #bfc4b5 }
.questions h3 { font-size: 1.28rem; letter-spacing: -.015em; line-height: 1.2 }
.questions p { color: var(--muted); margin-top: .5rem }
.related { padding-block: 32px 39px }
.related h2,.guide-recommend h2 { font-size: 1.75rem; margin-bottom: .5rem }
.reading { max-width: 780px; padding-block: 20px 62px }
.reading h1 { margin-bottom: 18px }
.reading .byline { color: var(--muted); font-weight: 700; font-size: .86rem }
.reading .intro { margin-top: 20px; font-size: 1.19rem }
.reading h2 { font-size: 1.72rem; margin: 27px 0 9px }
.guide-recommend { padding: 20px; margin-top: 28px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper) }
.guide-recommend h2 { margin-top: 0 }
.guide-recommend a { margin-top: .5rem }
@media (max-width: 980px) {
  .book-art { padding: 18px }
  .card-body { padding: 17px }
  .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media (max-width: 730px) {
  .container { width: calc(100% - 36px) }
  .nav { min-height: 65px }
  .hero-grid { padding-top: 35px; grid-template-columns: 1fr; gap: 0; text-align: center }
  .hero-copy { padding: 0 }
  .hero-copy h1 { margin-inline: auto; max-width: none; font-size: clamp(2.65rem,9vw,4rem) }
  .hero-copy h1 em { white-space: normal }
  .hero-copy p { margin: 16px auto 19px }
  .hero-shelf { height: clamp(225px,64vw,325px); width: min(100%,420px) }
  .hero-shelf::before { width: 69% }
  .hero-shelf::after { width: 59% }
  .spark.a,.spark.b { font-size: 1.8rem }
  .section-head { display: grid; align-items: start }
  .book-grid,.guide-grid,.detail-grid,.questions { grid-template-columns: 1fr }
  .book-art img { max-width: 190px }
  .detail-cover { min-height: unset }
  .detail-cover img { max-width: 220px }
  .detail-copy { padding-top: 0 }
}
@media (max-width: 520px) {
  .sample-grid { grid-template-columns: 1fr }
}
@media (max-width: 420px) {
  .brand { font-size: 1.13rem; gap: 7px }
  .brand-icon { width: 27px; height: 27px }
  .nav nav { gap: .65rem; font-size: .76rem }
  .container { width: calc(100% - 28px) }
  .sample-grid { gap: 10px }
  figcaption { font-size: .77rem }
  .card-body { padding: 13px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .hero-cover { transition: none }
}
