@font-face { font-family: Instrument Serif; src: url(fonts/instrumentserif.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Instrument Sans; src: url(fonts/instrumentsans.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
:root {
  --paper: #f7f3ec;
  --ink: #292421;
  --muted: #62544e;
  --wine: #550000;
  --dark: #241518;
  --gold: #b39a72;
  --line: #d8cfc3;
  --wash: #efe8de;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --width: 70rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1; }
h2 { font-size: clamp(2.65rem, 6vw, 4.25rem); }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
button:not(:disabled) { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; background: var(--paper); padding: .5rem; z-index: 4; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font: 2.45rem/1 var(--display); text-decoration: none; }
.navigation { display: flex; align-items: center; gap: clamp(.85rem, 2.3vw, 2rem); }
.navigation a, .navigation button, .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: inherit; background: none; border: 0; text-decoration: none; }
.navigation [aria-current], .navigation a:hover, .navigation button:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .55em; }
.menu-toggle { display: none; gap: .55rem; }
.nav-group { position: relative; }
.nav-trigger { gap: .55rem; }
.chevron { width: .43rem; height: .43rem; border: solid currentColor; border-width: 0 1px 1px 0; rotate: 45deg; margin-top: -.25rem; }
.subnav { position: absolute; z-index: 2; top: 100%; left: -.85rem; min-width: max-content; padding: .4rem .85rem; background: var(--paper); border: 1px solid var(--line); }
.subnav a, .subnav button { display: flex; width: 100%; }
.home .hero { margin-top: clamp(1.75rem, 5vw, 4.5rem); }
.hero { background: var(--dark); color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(15rem, 32%); grid-template-areas: "heading cover" "copy cover"; align-items: center; gap: 1.65rem clamp(2rem, 8vw, 8rem); padding-block: clamp(3rem, 8vw, 7rem); max-width: 62rem; }
.hero-heading { grid-area: heading; align-self: end; }
.hero-cover { grid-area: cover; }
.hero-copy { grid-area: copy; align-self: start; }
.eyebrow { color: var(--wine); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.hero .eyebrow { color: var(--gold); }
h1 { font-size: clamp(4.1rem, 9.5vw, 8rem); line-height: .87; margin-block: 1rem 1.45rem; }
.release { color: var(--gold); font-size: 1rem; }
.quote { max-width: 30rem; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid transparent; padding: .6rem 1.15rem; text-decoration: none; font-weight: 600; }
.primary { background: var(--wine); color: var(--paper); }
.hero .primary { background: var(--paper); color: var(--wine); }
.hero .primary:disabled { background: var(--line); color: #4b3b38; }
.quiet { color: inherit; border-color: var(--gold); }
.quiet:hover { background: #ffffff12; }
.availability { margin-top: .55rem; color: var(--gold); font-size: .875rem; }
.cover { display: grid; place-items: center; width: 100%; aspect-ratio: 2 / 3; object-fit: contain; }
.placeholder { border: 1px solid var(--line); background: var(--wash); color: var(--muted); text-align: center; padding: .75rem; }
.hero .placeholder { border-color: var(--gold); outline: 1px solid #b39a7250; outline-offset: -9px; background: #321f23; color: var(--paper); }
.series, .author-inner, .newsletter { padding-block: clamp(3.35rem, 8vw, 6rem); }
.section-head { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1.65rem; }
.section-head p { color: var(--muted); max-width: 30ch; }
.books {
  --cover-gap: clamp(.75rem, 3vw, 2.15rem);
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}
.books > li {
  --cover-column: calc((100% - 3 * var(--cover-gap)) / 4);
  display: grid;
  grid-template-columns: var(--cover-column) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 5vw, 4rem);
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.book-details { max-width: 39rem; overflow-wrap: anywhere; }
.book-blurb { margin-top: 1rem; white-space: pre-line; }
.book-tropes { margin-top: .5rem; padding-left: 1.25rem; }
.book-purchase { margin-top: 1.25rem; text-align: center; }
.book-purchase:disabled { background: var(--line); color: var(--ink); }
.book-details h3 { font-size: 1.4rem; margin-top: 1.25rem; }
.book-no { margin-bottom: .45rem; color: var(--wine); }
.book-status { color: var(--muted); }
.author { border-block: 1px solid var(--line); }
.author-inner { max-width: 62rem; }
.author-inner h2 { margin-block: .5rem .85rem; }
.author-inner button, footer button { background: none; border: 0; color: var(--wine); padding: 0; min-height: 44px; text-decoration: underline; text-underline-offset: .25em; }
.newsletter { text-align: center; }
.newsletter h2 { margin-bottom: .65rem; }



.newsletter-form { max-width: 28rem; margin: 1.25rem auto .5rem; }
.newsletter-form .formkit-form[data-uid] .formkit-input { background: #fffcf8; }
.newsletter-form .formkit-form[data-uid] .formkit-input:focus-visible,
.newsletter-form .formkit-form[data-uid] .formkit-submit:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
.newsletter-note { color: var(--muted); font-size: .875rem; }
.social-row, .social-rail { display: flex; justify-content: center; gap: .35rem; }
.social-row { margin-top: 1.75rem; }
.social-rail { display: none; }
.social-item { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); text-decoration: none; border: 1px solid transparent; font-size: .875rem; }
.social-item:hover, .social-item:focus-visible { border-color: var(--wine); color: var(--wine); }
.social-item img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0); opacity: .72; }
footer { border-top: 1px solid var(--line); font-size: .875rem; }
.footer-inner, .footer-links { display: flex; align-items: center; gap: .5rem 1.25rem; flex-wrap: wrap; }
.footer-inner { justify-content: space-between; padding-block: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 78rem) {
  .social-rail { display: flex; flex-direction: column; position: fixed; z-index: 3; inset: 50% 0 auto auto; translate: 0 -50%; padding: .5rem .35rem; background: var(--paper); border: 1px solid var(--line); border-right: 0; }
}
@media (max-width: 47.99rem) {
  .header-inner { flex-wrap: wrap; padding-block: .8rem; min-height: 4.15rem; }
  .wordmark { font-size: 2.15rem; }
  .menu-toggle { display: inline-flex; }
  .navigation { display: block; width: 100%; border-top: 1px solid var(--line); }
  .navigation > a, .navigation > button, .nav-trigger { display: flex; width: 100%; }
  .subnav { position: static; border: 0; border-left: 1px solid var(--line); margin-left: .5rem; padding-block: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "cover" "copy"; gap: 1.4rem; }
  .hero-cover { width: min(62%, 15rem); }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .books > li { --cover-column: calc((100% - var(--cover-gap)) / 2); gap: var(--cover-gap); }
}
@media (max-width: 30rem) {

  .footer-inner { flex-direction: column; align-items: start; }
}


.brand-row { display: grid; place-items: center; padding-block: clamp(1.8rem, 5vw, 3.5rem); }
.brand-row .wordmark { font-size: clamp(2.6rem, 6vw, 4.65rem); text-align: center; }
.wordmark img { display: block; width: auto; height: auto; max-width: min(65vw, 20rem); max-height: 7rem; }
.nav-bar { border-block: 1px solid var(--line); }
.nav-bar .header-inner { display: grid; grid-template-columns: 1fr; min-height: 3.7rem; gap: .75rem; }
.navigation { justify-content: center; gap: clamp(.85rem, 4vw, 3.25rem); }
.nav-group { display: flex; align-items: center; }
.nav-group .nav-trigger { display: grid; place-items: center; min-width: 32px; }
.nav-group.is-active > a { color: var(--wine); text-decoration: underline; text-underline-offset: .55em; }
.interior { min-height: 20rem; padding-block: clamp(3rem, 8vw, 6rem); }
.interior h1 { font-size: clamp(3rem, 8vw, 6.1rem); line-height: .96; margin: 0 0 1.5rem; }
.interior h2 { font-size: clamp(1.8rem, 4vw, 2.85rem); }
.interior + #site-end { border-top: 1px solid var(--line); }
.page-links { list-style: none; padding: 0; max-width: 42rem; }
.page-links li { border-top: 1px solid var(--line); padding-block: .85rem; }
.page-links a { color: var(--wine); }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--wine); }
.extra-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem; }
.extra-list section { border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 47.99rem) {
  .nav-bar .header-inner { grid-template-columns: 1fr; padding-block: .2rem; }
  .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
  .navigation { grid-column: 1 / -1; }
  .nav-group { display: grid; grid-template-columns: 1fr 44px; }
  .nav-group .subnav { grid-column: 1 / -1; min-width: 0; }
}


