@font-face {
  font-family: Cinzel;
  src: url("assets/cinzel.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/libre-baskerville.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #271e16;
  --paper: #f7f2e8;
  --soft: #5d5041;
  --brass: #7b552a;
  --dark: #241b14;
  --gold: #ebc98a;
  --measure: 72rem;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.wrap { width: min(var(--measure), calc(100% - 6rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; padding: .6rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { background: #fcf8ee; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.75rem; min-height: 4.7rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; font: 1rem Cinzel, Georgia, serif; color: inherit; text-decoration: none; }

.hero {
  color: #fbf3e3;
  background: radial-gradient(ellipse at 77% 34%, #533b25 0%, #302218 42%, #211913 79%);
  border-bottom: 1px solid #8d6a42;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(1.5rem, 7vw, 7rem); padding-block: clamp(3.5rem, 6vw, 5.6rem); }
.hero-copy { padding-block: .75rem; }
.eyebrow { margin: 0 0 1rem; color: var(--brass); font-size: .71rem; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.2vw, 4rem); line-height: 1.2; letter-spacing: -.055em; }
.hero-intro { max-width: 31rem; margin: 1.4rem 0 1.85rem; font-size: clamp(1rem, 1.5vw, 1.14rem); color: #e3d3bb; line-height: 1.7; }
.buy { display: flex; flex-wrap: wrap; align-items: end; gap: .85rem 1rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .85rem; min-height: 3rem; padding: .7rem 1rem; border: 1px solid var(--gold); background: var(--gold); color: #2c2015; font-size: .93rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #f7db9f; }
.button:focus-visible { outline-color: #fff6e5; }
.store-switch label { display: block; margin-bottom: .18rem; color: #e2cdae; font-size: .68rem; }
.store-switch select { min-height: 2.15rem; max-width: 14rem; padding: .27rem .46rem; border: 1px solid #a68b6e; border-radius: 0; color-scheme: dark; color: #fff2dd; background: #30241a; font: inherit; font-size: .83rem; }
.hero-book { margin: 0; justify-self: center; width: min(100%, 22.5rem); }
.book-frame { padding: clamp(1rem, 3vw, 2.15rem); border: 1px solid #b08f5d85; outline: 1px solid #e6c18332; outline-offset: -.48rem; background: #23190f42; }
.book-frame img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; box-shadow: 0 14px 32px #130e09a8; }

.about { border-bottom: 1px solid #d9cbb5; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.6rem 5rem; padding-block: clamp(3.1rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.25; letter-spacing: -.045em; }
.about-grid h2 { max-width: 28rem; text-wrap: initial; }
.about-text { color: var(--soft); line-height: 1.75; font-size: 1rem; }
.about-text p { margin: 0; }
.about-text p + p { margin-top: 1rem; }

.books { padding-block: clamp(3rem, 6vw, 4.8rem); background: #f1eadb; }
.books h2 { margin-bottom: 1.55rem; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; padding: 0; margin: 0; list-style: none; }
.title-card { display: flex; flex-direction: column; }
.card-image { display: grid; place-items: center; padding: clamp(.75rem, 2.3vw, 1.6rem); }
.card-image.warm { background: #e7ddc9; }
.card-image.cool { background: #dce2e5; }
.card-image img { width: min(100%, 12.4rem); aspect-ratio: 2 / 3; object-fit: contain; box-shadow: 2px 7px 14px #281a1633; }
.card-kind { margin: 1rem 0 .35rem; font-size: .65rem; letter-spacing: .11em; }
h3 { font-size: clamp(1rem, 1.55vw, 1.22rem); line-height: 1.38; letter-spacing: -.035em; text-wrap: initial; }
.subtitle { margin: .3rem 0 .75rem; color: var(--soft); font-size: .87rem; line-height: 1.45; }
.launch-alerts { background: #fcf8ee; border-top: 1px solid #d9cbb5; }
.alerts-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1.5rem 4rem; padding-block: clamp(2.65rem, 5vw, 4.25rem); }
.alerts-intro { max-width: 26rem; margin: .75rem 0 0; color: var(--soft); line-height: 1.65; }
.site-footer { background: var(--dark); color: #edddc5; }
.site-footer small { color: #dbc6aa; }
.footer-inner { min-height: 5.2rem; }

@media (max-width: 60rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-grid { gap: 2.5rem; }
  .about-grid { column-gap: 2.5rem; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.2rem; }
  .wordmark { font-size: .8rem; gap: .47rem; }
  .hero-grid, .about-grid, .alerts-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.65rem 2.9rem; }
  .hero-copy { padding: 0; }
  .hero-book { width: min(74%, 17rem); }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.65rem .85rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1rem; }
}
@media (max-width: 23rem) {
  .wrap { width: calc(100% - 1.7rem); }
  .header-inner { flex-wrap: wrap; gap: .45rem .55rem; padding-block: .65rem; }
  h1 { font-size: 2.18rem; }
}

/* Sticky launch alerts and localized Amazon links */
html { scroll-padding-top: 8rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; }
.site-header { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid #dfd1bc; }
.header-inner { min-height: 5rem; }
.wordmark img { flex: none; object-fit: contain; }
.site-footer .wordmark img { filter: brightness(0) invert(.88) sepia(.24) saturate(.7); }
.header-alerts { flex: none; display: flex; align-items: center; gap: .7rem; }
.header-prompt { max-width: 10rem; font-size: .78rem; font-weight: 650; line-height: 1.3; }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .47rem; margin: 0; }
.signup input[type=email] { width: 100%; min-height: 2.65rem; padding: .53rem .72rem; border: 1px solid #9f886b; background: #fffdf8; color: var(--ink); border-radius: 0; font: inherit; font-size: .9rem; }
.signup .button { min-height: 2.65rem; justify-content: center; cursor: pointer; white-space: nowrap; }
.signup .button:focus-visible { outline-color: var(--ink); }
.signup :disabled { cursor: default; }
.signup input:disabled { background: #f1eadb; opacity: 1; }
.signup button:disabled { background: #e5d7bd; border-color: #c9b28d; color: #574532; }
.form-message { grid-column: 1 / -1; font-size: .76rem; line-height: 1.35; color: var(--soft); margin: 0; }
.form-message:empty { display: none; }
.header-alerts .signup { width: min(17rem, 34vw); position: relative; }
.header-alerts .form-message { position: absolute; top: 100%; margin-top: .21rem; padding: .12rem .25rem; background: #fcf8ee; }
.book-frame { display: block; }
.book-frame:hover, .card-image:hover { filter: brightness(1.07); }
.formats { display: flex; flex-wrap: wrap; gap: .3rem .65rem; color: #e2cdae; font-size: .85rem; margin: 1rem 0; line-height: 1.5; }
.formats > span + span { border-left: 1px solid #ad9475; padding-left: .65rem; }
.hero-more { display: inline-block; color: #fbf3e3; font-size: .92rem; text-underline-offset: .28em; margin-top: .5rem; }
.hero-more span { margin-left: .35rem; }
.hero-intro cite { font-family: var(--serif); }
.about-grid { padding-bottom: 2.65rem; }
.virtues { padding-bottom: clamp(3.1rem, 6vw, 5rem); }
.virtues h2 { margin-bottom: 1.2rem; }
@media (width > 42rem) {
  .virtues h2 { text-align: center; }
}
.volume-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; align-items: start; }
.volume-lists details { background: #fffbf2; border: 1px solid #d9cbb5; }
.volume-lists summary, .coming summary { cursor: pointer; font-weight: 700; }
.volume-lists summary { padding: .85rem 1rem; line-height: 1.55; }
.volume-lists summary span { font: 700 .72rem var(--sans); color: var(--brass); text-transform: uppercase; margin-inline: .3rem .5rem; letter-spacing: .075em; }
.virtue-columns { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; padding: 0 1rem .8rem; }
.virtue-columns h4 { font-size: .87rem; margin: .35rem 0; }
.virtue-columns ol { padding-left: 1.65rem; margin: 0; color: var(--soft); font-size: .86rem; line-height: 1.75; }
.books h2 { margin-bottom: .6rem; }
.section-intro { margin: 0 0 1.55rem; color: var(--soft); line-height: 1.6; }
.coming, .card-buy { margin-top: auto; border-top: 1px solid #cdbfa8; padding: .65rem 0; font-size: .82rem; color: var(--soft); }
.coming .signup { display: grid; grid-template-columns: 1fr; margin-top: .5rem; }
.coming .signup .button { justify-self: start; }
.signup-terms, .privacy { font-size: .84rem; line-height: 1.5; }
.signup-terms { color: var(--soft); }
.privacy { padding: 0 0 1.2rem; color: #dbc6aa; max-width: 48rem; overflow-wrap: anywhere; }
.privacy summary { cursor: pointer; }
@media (max-width: 64rem) {
  .header-alerts .signup { width: 17rem; }
}
@media (max-width: 42rem) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: .32rem; padding-block: .4rem .65rem; }
  .header-inner .wordmark img { width: 24px; height: 27px; }
  .header-alerts { gap: .45rem; width: 100%; justify-content: space-between; }
  .header-prompt { max-width: 6.15rem; font-size: .71rem; }
  .header-alerts .signup { flex: 1; min-width: 0; max-width: 18rem; }
  .header-alerts .signup input[type=email], .header-alerts .signup .button { font-size: .79rem; padding-inline: .45rem; }
  .header-alerts .form-message { position: static; padding: 0; margin: 0; }
  .volume-lists { grid-template-columns: 1fr; }
  .formats > span { flex-basis: 100%; }
  .formats > span + span { padding-left: 0; border: 0; }
}
