:root {
  color-scheme: light;
  --ink: #173b33;
  --green: #235446;
  --cream: #fff3d3;
  --white: #fffdf7;
  --mint: #e4eed6;
  --gold: #f1ba51;
  --border: #dddfce;
  --muted: #415449;
  --display: "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --body: "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 1rem/1.58 var(--body); }
a { color: inherit; text-underline-offset: .2em; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
figure, p, h1, h2 { margin: 0; }
h1, h2, strong { font-family: var(--display); }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 800; }
:focus-visible { outline: 3px solid #875219; outline-offset: 5px; }
[id] { scroll-margin-top: 1.2rem; }

.skip { position: absolute; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .7rem 1rem; background: white; }
.skip:focus { transform: translateY(0); }

.shell { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.site-header { background: var(--white); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 800 1.2rem/1.1 var(--display); text-decoration: none; letter-spacing: -.035em; }
.brand img { border-radius: 50%; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2rem); }
nav a { font-weight: 650; font-size: .95rem; text-decoration: none; padding-block: .55rem; }
nav a:hover, .text-link:hover { text-decoration: underline; }

.hero { background: var(--cream); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: center; min-height: 36.5rem; padding-block: 3.7rem; gap: clamp(1rem, 4.5vw, 4rem); }
.hero-copy { position: relative; z-index: 1; }
.book-type { color: var(--green); font-size: .98rem; font-weight: 760; margin-bottom: .9rem; }
h1 { font-size: clamp(3.05rem, 6.6vw, 6rem); line-height: .99; letter-spacing: -.072em; font-weight: 850; }
.byline { margin-top: 1rem; font-weight: 680; }
.intro { color: var(--muted); font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.46; max-width: 30rem; margin-top: 1.15rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.3rem; margin-top: 1.65rem; }
.button { display: inline-flex; max-width: 100%; align-items: center; justify-content: center; text-align: center; min-height: 3.25rem; padding: .75rem 1.3rem; border-radius: 999px; color: #fffdf2; background: var(--green); font-weight: 760; text-decoration: none; }
.button:hover { background: #173e33; }
.text-link { font-weight: 740; padding-block: .55rem; }
.hero-facts { margin-top: 1.15rem; display: flex; flex-wrap: wrap; gap: .3rem 1.15rem; color: var(--muted); font-size: .94rem; }
.hero-facts span + span::before { content: ""; display: inline-block; width: .36rem; height: .36rem; margin: 0 .9rem .16rem 0; border-radius: 50%; background: #627451; }

.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 28rem; }
.hero-art::before { content: ""; position: absolute; z-index: -1; width: 114%; max-width: 36rem; aspect-ratio: 1.08; border-radius: 55% 45% 50% 45%; transform: rotate(-13deg); background: #f8d16f; }
.hero-art::after { content: ""; position: absolute; z-index: -1; inset: 5% -5% 6%; border: 2px dashed #a9782e; border-radius: 56% 45%; opacity: .56; transform: rotate(15deg); }
.hero-art img { width: min(69%, 19.5rem); border-radius: .18rem .5rem .5rem .18rem; transform: rotate(6deg); box-shadow: 1rem 1.2rem 1.8rem #71521c3d, .2rem .25rem .3rem #71521c36; }

.samples { padding-block: clamp(3.5rem, 7vw, 6.3rem); }
.section-intro { max-width: 39rem; }
.section-intro p, .story-copy p { margin-top: .75rem; color: var(--muted); font-size: 1.08rem; }
.sample-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); margin-top: 1.75rem; }
.sample-card { overflow: hidden; border: 1px solid #e8e3d3; border-radius: 1.25rem; background: #fff; }
.sample-card img { width: 100%; }
.sample-card figcaption { display: grid; gap: .3rem; padding: 1rem 1.15rem 1.24rem; color: var(--muted); }
.sample-card strong { color: var(--ink); font-size: 1.16rem; letter-spacing: -.025em; }

.story { background: var(--mint); }
.story-layout { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(12rem, .62fr); gap: clamp(1.5rem, 7vw, 7rem); padding-block: clamp(3rem, 6vw, 5.2rem); }
.story-copy { max-width: 35rem; }
.story-copy p { margin-top: 1rem; }
.video-card { justify-self: center; width: min(100%, 14.5rem); text-align: center; }
.video-card video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 1rem; background: var(--cream); box-shadow: 0 .65rem 1.4rem #173b3329; }
.video-card figcaption { margin-top: .55rem; font-size: .93rem; font-weight: 650; }

.details { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 5vw, 5.2rem); align-items: start; padding-block: clamp(3.5rem, 7vw, 6.3rem); }
.facts { border-radius: 1.35rem; background: #f9efcf; padding: clamp(1.2rem, 3.5vw, 2rem); }
.facts h2 { font-size: clamp(1.82rem, 3vw, 2.45rem); }
dl { margin: 1rem 0 1.35rem; }
dl div { display: grid; grid-template-columns: minmax(7rem, .8fr) minmax(0, 1fr); gap: .7rem; padding-block: .55rem; border-bottom: 1px solid #d9d6b9; }
dt { font-weight: 720; }
dd { margin: 0; color: var(--muted); }
.questions h2 { margin: .15rem 0 1rem; }
details { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; position: relative; display: block; padding: 1rem 2rem 1rem 0; color: var(--ink); font-size: 1.06rem; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: .86rem; line-height: 1.3; font-size: 1.35rem; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { padding: 0 .8rem 1rem 0; color: var(--muted); }

.site-footer { background: var(--ink); color: #fff8e4; }
.footer-inner { min-height: 5.25rem; padding-block: .8rem; }
.footer-inner strong { font-size: 1.02rem; }
.footer-inner nav a { padding-block: .35rem; }

@media (max-width: 875px) {
  .hero-layout { min-height: 31rem; gap: 1rem; }
  .hero-art { min-height: 20rem; }
  .hero-art img { width: min(75%, 17rem); }
}

@media (max-width: 660px) {
  .shell { width: min(100% - 2rem, 73rem); }
  .header-inner { min-height: 4rem; }
  .brand { gap: .35rem; font-size: 1.04rem; }
  .brand img { width: 33px; }
  nav { gap: .72rem; }
  nav a { font-size: .88rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 1.4rem; min-height: auto; padding-top: 2.4rem; padding-bottom: 2.1rem; }
  h1 { font-size: clamp(2.85rem, 11vw, 4.2rem); }
  .wide-break { display: none; }
  .book-type { font-size: .93rem; }
  .intro { margin-top: .8rem; }
  .byline { margin-top: .7rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-facts { margin-top: .85rem; }
  .hero-facts span + span::before { margin-right: .5rem; }
  .hero-art { justify-self: center; width: min(100%, 24rem); min-height: 15rem; }
  .hero-art::before { width: 84%; }
  .hero-art::after { inset: 7% 14% 5%; }
  .hero-art img { width: min(50%, 12.1rem); }
  .sample-grid { grid-template-columns: 1fr; gap: .9rem; }
  .sample-card { display: grid; grid-template-columns: minmax(6rem, .85fr) minmax(0, 1.15fr); }
  .sample-card img { height: 100%; object-fit: cover; }
  .sample-card figcaption { align-content: center; padding: .75rem; }
  .sample-card strong { font-size: 1.08rem; }
  .story-layout, .details { grid-template-columns: 1fr; }
  .video-card { width: min(100%, 12rem); }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
