@font-face {
  font-family: Garamond;
  src: url('/assets/Garamond-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #faf8f3;
  --ink: #272621;
  --muted: #6f6b63;
  --line: #dcd6ca;
  --gold: #ab884b;
  --serif: Garamond, Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #183ed1; outline-offset: 6px; }
::selection { background: #e5d8b9; }
h1, h2, p, figure { margin: 0; font-weight: 400; }
.skip-link { position: fixed; z-index: 3; left: 20px; top: 15px; padding: 12px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { max-width: 1220px; margin: auto; padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.author-name { font-family: var(--serif); font-size: 31px; line-height: 1; }
.book-hero { max-width: 1160px; margin: 0 auto; padding: 34px 40px 95px; display: grid; grid-template-columns: 1.13fr 1fr; grid-template-areas: 'copy cover'; align-items: center; gap: 75px; }
.hero-copy { grid-area: copy; padding-bottom: 10px; }
h1 { font-family: var(--serif); font-size: clamp(100px, 11.5vw, 158px); line-height: .91; letter-spacing: -.05em; margin-left: -5px; }
.premise { font-family: var(--serif); font-size: 31px; line-height: 1.2; margin-top: 41px; max-width: 410px; }
.about-link { font-size: 12px; display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 44px; margin-top: 27px; border-bottom: 1px solid var(--ink); }
.about-link span { font-size: 17px; }
.about-link:hover { color: #183ed1; border-color: #183ed1; }
.book-cover { grid-area: cover; justify-self: center; width: 100%; max-width: 354px; position: relative; }
.book-cover img { display: block; width: 100%; height: auto; box-shadow: 3px 3px 3px #30281714, 13px 19px 24px #30281720; }
.about-book { max-width: 1140px; margin: 0 auto; padding: 75px 30px 85px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 90px; border-top: 1px solid var(--line); }
.about-heading h2 { font-family: var(--serif); font-size: 42px; line-height: 1.1; letter-spacing: -.018em; }
.synopsis { max-width: 575px; }
.synopsis p { font-family: var(--serif); font-size: 23px; line-height: 1.5; margin-bottom: 20px; }
.synopsis p:last-child { margin-bottom: 0; }
.synopsis .synopsis-lead { font-size: 27px; line-height: 1.32; margin-bottom: 27px; }
.site-footer { max-width: 1220px; margin: 0 auto; border-top: 1px solid var(--line); padding: 28px 40px 36px; display: flex; align-items: center; gap: 30px; font-size: 11px; color: var(--muted); }
.site-footer a { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
.not-found { max-width: 700px; margin: 10vh auto; padding: 25px; }
.not-found h1 { font-size: 50px; margin-bottom: 35px; }
.not-found a { text-decoration: underline; }
@media (min-width: 1450px) {
  .site-header { padding-top: 39px; }
  .book-hero { padding-top: 42px; padding-bottom: 115px; }
  .book-cover { max-width: 374px; }
}
@media (max-width: 1000px) {
  .book-hero { gap: 40px; padding: 25px 6% 70px; }
  .book-cover { max-width: 305px; }
  h1 { font-size: 116px; }
  .premise { font-size: 27px; margin-top: 30px; }
  .about-book { gap: 55px; margin: 0 6%; padding: 60px 0 65px; }
  .about-heading h2 { font-size: 36px; }
}
@media (max-width: 680px) {
  :root { scroll-padding-top: 25px; }
  .site-header { padding: 19px 7%; gap: 15px; }
  .author-name { font-size: 28px; white-space: nowrap; }
  .book-hero { grid-template-columns: 1fr; grid-template-areas: 'cover' 'copy'; gap: 42px; padding: 25px 8% 55px; text-align: center; }
  .book-cover { max-width: 240px; width: 75%; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: 107px; margin-left: 0; }
  .premise { font-size: 28px; line-height: 1.22; margin: 27px auto 0; max-width: 380px; }
  .about-link { margin-top: 18px; min-height: 44px; }
  .about-book { display: block; margin: 0 8%; padding: 43px 0 50px; }
  .about-heading h2 { font-size: 38px; }
  .synopsis { margin-top: 29px; }
  .synopsis .synopsis-lead { font-size: 26px; }
  .synopsis p { font-size: 22px; line-height: 1.52; }
  .site-footer { margin: 0 8%; padding: 20px 0 28px; flex-wrap: wrap; gap: 10px 18px; font-size: 10px; }
  .site-footer a { margin-left: auto; }
}
@media (max-width: 359px) {
  .author-name { font-size: 26px; }
  h1 { font-size: 93px; }
  .book-cover { width: 82%; }
  .premise { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
