:root {
  color-scheme: light;
  --ink: #25221f;
  --muted: #61554c;
  --paper: #fbf8f2;
  --hero: #f4ede0;
  --line: #d7c6b6;
  --copper: #924528;
  --copper-deep: #73331d;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
button { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h2 { font-size: clamp(2.4rem, 5.7vw, 4.15rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.04em; }
h2 em { color: var(--copper); font-weight: 400; }
:focus-visible { outline: 3px solid #246485; outline-offset: 4px; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; padding: .75rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { font-size: clamp(1.45rem, 3vw, 1.9rem); white-space: nowrap; text-decoration: none; letter-spacing: -.045em; }
.header nav { display: flex; flex-wrap: wrap; column-gap: clamp(1rem, 3vw, 2.25rem); row-gap: .4rem; }
.header nav a, .menu-button {
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 650;
  letter-spacing: .015em;
}
.header nav a { text-decoration: none; }
.footer a:not(.brand) { font-size: .94rem; text-decoration: none; }
.header nav a:hover, .footer a:not(.brand):hover, .socials a:hover { color: var(--copper); text-decoration: underline; text-underline-offset: .25em; }
.menu-button { display: none; }
.hero {
  background: radial-gradient(ellipse at 18% 52%, #e6ccb1 0%, transparent 47%), linear-gradient(110deg,#eddfce,var(--hero) 63%,#faf4eb);
  border-bottom: 1px solid var(--line);
}
.hero-inner { min-height: 635px; display: grid; grid-template-columns: 49% 51%; align-items: center; }
.book-stage { min-height: 550px; position: relative; isolation: isolate; display: grid; place-items: center; }
.book-stage::before, .book-stage::after { content: ''; position: absolute; pointer-events: none; }
.book-stage::before {
  z-index: -1; width: min(94%, 455px); aspect-ratio: 1; border: 1px solid #ac73575b; border-radius: 50%;
  box-shadow: 0 0 0 24px #bd875713, 0 0 0 46px #bd87570f;
}
.book-stage::after { z-index: -1; bottom: 8%; width: 75%; height: 10%; background: #53321e70; filter: blur(30px); border-radius: 50%; }
.book {
  position: relative; width: min(55%, 300px); transform: rotate(-7deg);
  border-radius: 3px 4px 4px 3px; box-shadow: 16px 23px 37px #4a291f54, 2px 6px 12px #130d0a70;
}
.book::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 3px 0 #ffffff2b, inset 9px 0 11px #0008; pointer-events: none; }
.book img { width: 100%; border-radius: inherit; }
.hero-copy { padding: 3rem 0 3rem clamp(1.25rem, 5vw, 4.25rem); }
.label { display: block; color: var(--copper); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; line-height: 1.5; }
h1 { margin: .01em 0 .12em -.045em; font-size: clamp(5rem, 12.4vw, 11.25rem); letter-spacing: -.085em; line-height: 1; }
.hero-copy .lead { font: italic clamp(1.32rem, 2.5vw, 2rem)/1.24 var(--serif); letter-spacing: -.02em; color: var(--ink); margin-bottom: .9rem; max-width: 25ch; }
.hero-copy > p:not(.label):not(.lead):not(.hero-formats) { color: var(--muted); max-width: 40ch; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.2rem; border-radius: 5px; border: 1px solid transparent; text-decoration: none; font-size: .94rem; line-height: 1.3; font-weight: 650; text-align: center; transition: background-color .18s ease, border-color .18s ease; cursor: pointer; }
.primary { background: var(--copper); color: white; }
.primary:hover { background: var(--copper-deep); }
.outline { color: var(--copper-deep); border-color: #b48e79; background: transparent; }
.outline:hover { border-color: var(--copper-deep); background: #ecdccc; }
.hero-copy .button { margin-top: 1.65rem; }
.hero-formats { margin-top: 1.1rem; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.hero-formats span { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.editions, .encounters { padding-block: clamp(3.5rem, 7vw, 6.25rem); }
.section-top { margin-bottom: 2.2rem; }
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.edition { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fffdf8; }
.edition-image { display: grid; place-items: center; padding: 1.65rem; background: radial-gradient(ellipse at center,#eddac6,#eaddcd 72%); }
.edition-image img { width: 122px; border-radius: 2px; box-shadow: 6px 10px 14px #35241d50; }
.edition-copy { padding: 1.35rem; }
.edition-copy .price { color: var(--muted); font-size: 1rem; margin: .45rem 0 1rem; }
.author { background: #302520; color: #fbf2e6; padding-block: clamp(3.5rem, 7vw, 6.25rem); }
.author-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 6.5rem); align-items: center; }
.author-image { width: min(100%, 370px); margin-inline: auto; padding: .65rem; border: 1px solid #bd9d817a; border-radius: 6px; }
.author-image img { aspect-ratio: 4 / 4.7; width: 100%; object-fit: cover; object-position: 50% 42%; border-radius: 3px; }
.author .label { color: #efad87; }
.author h2 { margin: .5rem 0 1.2rem; }
.author-copy > p:not(.label) { max-width: 53ch; color: #ecddd0; }
blockquote { border-left: 2px solid #d1946d; margin: 1.6rem 0 0; padding-left: 1.25rem; font: italic clamp(1.15rem, 2.45vw, 1.75rem)/1.42 var(--serif); max-width: 34ch; }
.event { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.25rem); background: #f2e8db; border-radius: 8px; overflow: hidden; }
.event-image img { width: 100%; height: 100%; max-height: 410px; object-fit: cover; object-position: 50% 62%; }
.event-copy { margin-block: auto; padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 2rem 0; }
.event h3 { margin: .55rem 0 1rem; }
.event p { color: var(--muted); max-width: 54ch; }
.reviews-header { margin: 3.4rem 0 1.25rem; }
.reviews-header p { color: var(--muted); margin-top: .55rem; }
.review-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .85rem; }
.review { display: block; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.review:hover { border-color: var(--copper); box-shadow: 0 4px 14px #51361a25; }
.contact { background: #efe1d1; padding-block: clamp(3.4rem, 7vw, 5.25rem); border-block: 1px solid var(--line); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.contact h2 { margin: .4rem 0 .7rem; }
.contact-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.25rem; }
.socials { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.socials a { text-underline-offset: .23em; }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 8px; width: min(900px, calc(100% - 1.5rem)); max-height: 92vh; padding: 1rem; background: var(--paper); }
dialog::backdrop { background: #221b17d9; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.dialog-header h2 { font-size: clamp(1.25rem, 4vw, 2rem); }
#review-image { margin-inline: auto; width: min(100%, 78vh); }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 48px); }
  .hero-inner { min-height: 540px; }
  .book-stage { min-height: 460px; }
  .book { width: min(62%, 260px); }
  .book-stage::before { width: 84%; box-shadow: 0 0 0 18px #bd875713; }
  .review-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 66px; gap: .65rem; flex-wrap: wrap; }
  .js .menu-button { display: inline-flex; gap: .5rem; align-items: center; border: 1px solid var(--line); border-radius: 5px; padding: .45rem .65rem; min-height: 42px; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-button span { height: 8px; width: 12px; border-block: 1px solid currentColor; }
  .header nav { display: flex; width: 100%; padding: 0 0 1rem; gap: .55rem 1rem; }
  .js .header nav { display: none; }
  .js .header nav[data-open] { display: flex; }
  .hero { background: radial-gradient(ellipse at 50% 20%, #e6ccb1, transparent 55%), var(--hero); }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; }
  .book-stage { min-height: 0; padding-block: 2rem 1rem; }
  .book { width: clamp(138px, 41vw, 210px); transform: rotate(-5deg); }
  .book-stage::before { width: min(68%, 265px); }
  .hero-copy { padding: .9rem 0 2.5rem; text-align: center; }
  h1 { margin-left: 0; font-size: clamp(4.7rem, 18vw, 7rem); }
  .hero-copy .lead, .hero-copy > p:not(.label):not(.lead):not(.hero-formats) { margin-inline: auto; }
  .hero-copy .button { margin-top: 1.2rem; }
  .hero-formats { justify-content: center; }
  .edition-grid { grid-template-columns: 1fr; gap: .9rem; }
  .edition { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; }
  .edition-image { padding: .85rem; }
  .edition-image img { width: min(100%, 92px); }
  .edition-copy { padding: .95rem .8rem; }
  .edition-copy .button { padding-inline: .6rem; }
  .author-inner, .event { grid-template-columns: minmax(0,1fr); }
  .author-image { margin-inline: 0; width: min(100%, 280px); }
  .event { gap: 0; }
  .event-image img { height: clamp(190px, 65vw, 330px); }
  .event-copy { padding: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
