:root {
  color-scheme: light;
  --paper: #faf8f5;
  --ink: #251c22;
  --plum: #5e263e;
  --rose: #ecd5d9;
  --sage: #e5eae2;
  --line: #d2c9ca;
  --anchor-offset: 6.75rem;
  --display: 'Newsreader', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --serif: var(--display);
  --sans: var(--body);
  --muted: #655b61;
  --rose-pale: var(--rose);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block-start: var(--anchor-offset); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.3em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; }
h2 { font-size: 3.625rem; text-wrap: balance; }
.shell { width: min(calc(100% - 7rem), 76rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 0 auto auto 1rem; padding: .5rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(.5rem); }
.kicker, .chapter-label { font: 700 .75rem/1.35 var(--body); text-transform: uppercase; }

.masthead { position: sticky; inset-block-start: 0; z-index: 4; background: var(--paper); }
.masthead-inner { display: flex; min-height: 5.75rem; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.brand { display: inline-block; }
.brand img { width: 11.5rem; height: auto; }
.masthead nav { display: flex; gap: .5rem 1.75rem; align-items: center; flex-wrap: wrap; }
.masthead nav a { font-size: .9rem; text-decoration: none; }
.masthead nav a:hover, .footer a:hover { text-decoration: underline; }
.official-site { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex-shrink: 0; min-height: 2.75rem; padding: .5rem .875rem; border: 1px solid var(--plum); border-radius: 3px; color: var(--plum); font: 600 .875rem/1.3 var(--body); text-decoration: none; }
.official-site img { width: 1rem; height: 1rem; }
.official-site:hover { background: var(--rose); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 39rem; color: #fff9f6; background: #2d1a24; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 50% 54%; }
.hero::after { content: ''; background: linear-gradient(90deg, #28141ff5 0%, #2c1722ed 24%, #311c29a8 41%, #311c2910 70%); }
.hero-inner { padding-block: 4rem; }
.hero-copy { max-width: 32rem; }
.book-presentation { background: var(--sage); padding-block: 3.5rem; }
.book-presentation-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: center; }
.book-copy .kicker { color: var(--plum); margin-bottom: 1rem; }
.book-copy h2 { margin-bottom: 1.5rem; }
.book-copy .button { margin-top: 1.75rem; background: var(--plum); border-color: var(--plum); color: white; }
.book-copy .button:hover { background: #472033; }
.book-viewer { min-width: 0; }
.book-stage { position: relative; height: 34rem; min-width: 0; isolation: isolate; }
.book-stage::after { content: ''; position: absolute; z-index: -1; bottom: 2%; left: 20%; width: 65%; height: 6%; background: #160c18a8; border-radius: 50%; filter: blur(17px); }
.book-fallback { position: absolute; height: 88%; width: auto; max-width: 90%; object-fit: contain; top: 4%; left: 50%; transform: translateX(-50%); filter: drop-shadow(12px 15px 18px #160c1855); }
.book-canvas { position: absolute; inset: 0; opacity: 0; }
.book-canvas canvas { display: block; width: 100%; height: 100%; }
.book-stage.is-ready .book-canvas { opacity: 1; }
.book-stage.is-ready .book-fallback { visibility: hidden; }
.book-controls { display: flex; justify-content: center; gap: .25rem; margin: .5rem auto 0; }
.book-controls[hidden] { display: none; }
.book-controls button { min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid #8e7b80; border-radius: 2px; color: var(--plum); background: transparent; font: 600 .875rem var(--body); cursor: pointer; }
.book-controls button[aria-pressed="true"] { background: var(--plum); color: white; border-color: var(--plum); }
.book-controls button:hover { border-color: var(--plum); }
.book-controls button:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.book-back-static { max-height: 28rem; width: auto; margin: 1.5rem auto 0; }
.hero .kicker { color: var(--rose); margin-bottom: 1.375rem; }
.hero h1 { font-size: 6rem; line-height: .94; }
.hero h1 span { display: block; color: var(--rose); font-style: italic; }
.subtitle { font: 400 2.125rem/1.2 var(--display); margin-top: 1.25rem; }
.hero-note { margin-top: .625rem; color: #f3e3e5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.25rem; padding: .75rem 1.125rem; border: 1px solid var(--rose); border-radius: 2px; background: var(--rose); color: #371d2b; font-size: .9rem; font-weight: 700; text-decoration: none; }
.hero .button { margin-top: 1.75rem; }
.button:hover { background: #ffedf0; }
.hero .button:focus-visible { outline-color: #fff9f6; }

.intro { padding-block: 4.25rem; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: start; }
.intro h2 { max-width: 13ch; text-wrap: unset; }
.intro .kicker, .contents .kicker, .author .kicker { color: var(--plum); margin-bottom: 1rem; }
.body-copy { max-width: 52ch; font-size: 1.0625rem; }
.body-copy p + p { margin-top: 1rem; }
.reflection, .responsibility { padding-block: 4.5rem; }
.reflection { background: #f0e0e5; }
.responsibility { background: var(--sage); }
.reflection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: start; }
.reflection-grid .kicker { color: var(--plum); margin-bottom: 1rem; }
.reflection-grid h2, .practice h2 { font-size: 3.125rem; }
.five-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.5rem; list-style: none; padding: 1rem 0; margin: 1rem 0; border-block: 1px solid var(--line); font: 400 1.625rem/1.5 var(--display); }
.five-in span { color: #983454; font-weight: 500; }
.readers { padding-block: 4.5rem; border-bottom: 1px solid var(--line); }
.readers-grid, .practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: start; }
.readers .kicker, .practice .kicker { color: var(--plum); margin-bottom: 1rem; }
.practice { background: #f0e0e5; padding-block: 4.5rem; }
.practice h2 { max-width: 15ch; }

.contents { padding-block: 5rem 5.5rem; }
.contents-lead { margin-top: 1rem; max-width: 50rem; }
.chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; list-style: none; padding: 0; margin: 2.25rem 0 0; }
.chapters li { border-block-start: 1px solid var(--line); padding: 1.5rem 0 1.625rem; }
.chapter-label { display: block; color: var(--plum); margin-bottom: .625rem; }
.chapters h3 { font-size: 2.125rem; margin-bottom: .625rem; }
.chapters p { max-width: 48ch; }
.chapters p + p { margin-top: .75rem; }

.excerpt { background: #482335; color: #fdf8f5; padding-block: 4.75rem; }
.excerpt-inner { max-width: 53rem; }
.excerpt .kicker { color: var(--rose); margin-bottom: 1.25rem; }
.excerpt blockquote { font: italic 400 3.375rem/1.12 var(--display); }
.excerpt figcaption { display: flex; flex-wrap: wrap; gap: .125rem 1rem; padding-top: 1rem; margin-top: 1.5rem; border-top: 1px solid #a4778d; font-weight: 600; }
.excerpt figcaption span { color: var(--rose); font-weight: 400; }
.sara-quote { padding-block: 4.25rem; border-bottom: 1px solid var(--line); }
.sara-quote blockquote { font: italic 400 2.75rem/1.15 var(--display); color: var(--plum); }
.sara-quote figcaption { margin-top: 1.25rem; font-weight: 600; }
.purchase { background: var(--plum); color: var(--paper); padding-block: 4.5rem; }
.purchase-inner { max-width: 57rem; text-align: center; }
.purchase .kicker { color: var(--rose); margin-bottom: 1.25rem; }
.purchase h2 { font-size: 3.125rem; }
.purchase .button { margin-top: 2rem; }

.author { display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 31rem); justify-content: center; align-items: center; gap: 2rem 5rem; padding-block: 5.5rem; }
.author img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 47%; background: var(--sage); }
.author h2 { text-wrap: unset; }
.author-role { margin: .25rem 0 1rem; color: var(--plum); }
.text-link { display: inline-block; margin-top: 1.25rem; color: var(--plum); font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding-block: 1.375rem; font-size: .875rem; }
.footer a { text-decoration: none; }
.footer-preferences { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.footer-preferences[data-cookie-controls] .sm-consent-manage { margin-inline-start: 0; }

@media (max-width: 62rem) {
  .shell { width: calc(100% - 4rem); }
  .hero h1 { font-size: 4rem; }
  .intro-grid, .author, .reflection-grid, .book-presentation-grid { column-gap: 2.5rem; }
  .book-stage { height: 29rem; }
  .readers-grid, .practice-grid { column-gap: 2.5rem; }
  h2 { font-size: 3.125rem; }
}

@media (max-width: 42rem) {
  :root { --anchor-offset: 7.5rem; }
  .shell { width: calc(100% - 2.5rem); }
  .masthead-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .75rem; padding-block: .625rem; min-height: unset; }
  .brand img { width: 8.5rem; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; gap: .25rem 1.125rem; }
  .official-site { grid-row: 1; grid-column: 2; padding-inline: .625rem; }
  .masthead nav a { font-size: .8125rem; padding-block: .25rem; }
  .hero { min-height: 36rem; align-items: end; }
  .hero-image { object-position: 58% center; }
  .hero::after { background: linear-gradient(0deg, #26131ef5, #2c1723df 40%, #351d2b45 72%, #351d2b08); }
  .hero-inner { padding-block: 13rem 2.25rem; }
  .hero-copy { width: 100%; margin-inline: auto; text-align: center; }
  .book-presentation { padding-block: 1.5rem 3rem; }
  .book-presentation-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .book-viewer { grid-row: 1; }
  .book-stage { width: min(100%, 27rem); height: auto; aspect-ratio: 3 / 4; margin-inline: auto; }
  .book-copy { text-align: center; }
  .book-copy .body-copy { margin-inline: auto; }
  .hero h1 { font-size: 3.25rem; }
  .hero .kicker { margin-bottom: .75rem; }
  .hero .button { margin-top: 1.25rem; }
  .subtitle { font-size: 1.625rem; }
  .hero-note { font-size: .875rem; }
  h2 { font-size: 2.625rem; }
  .intro-grid, .chapters, .author, .reflection-grid { grid-template-columns: minmax(0, 1fr); }
  .readers-grid, .practice-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .readers, .practice, .reflection, .responsibility, .sara-quote, .purchase { padding-block: 3rem; }
  .intro, .excerpt { padding-block: 3rem; }
  .reflection-grid h2, .practice h2, .purchase h2 { font-size: 2.625rem; }
  .sara-quote blockquote { font-size: 2.25rem; }
  .intro-grid { row-gap: 1.25rem; }
  .contents, .author { padding-block: 3.25rem; }
  .chapters { margin-top: 1.5rem; }
  .chapters h3 { font-size: 1.875rem; }
  .excerpt blockquote { font-size: 2.375rem; }
  .author img { max-width: 26rem; }
}

@media (max-width: 22rem) {
  .hero h1 { font-size: 3.125rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
