/* A quiet storybook palette. System type keeps the site fast and private. */
:root {
  --paper: #f8f4ea;
  --white: #fffdf7;
  --ink: #193f43;
  --muted: #53635e;
  --gold: #aa7b32;
  --line: #d9d7c7;
  --wash: #ece9dc;
  --night: #13363d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #98601c;
  outline-offset: 6px;
}
::selection {
  background: #ecd3a1;
  color: var(--ink);
}
.wrap {
  width: min(1240px, calc(100% - 100px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  background: var(--white);
  padding: 10px 20px;
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
.site-header {
  display: flex;
  /* Spacing overrides can widen both links: wrap instead of overflowing. */
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 112px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
.brand-small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.9px;
  text-transform: uppercase;
  margin-top: 7px;
}
.navigation {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.navigation a {
  text-decoration: none;
}
.navigation a:hover {
  text-decoration: underline;
}
.navigation .nav-buy {
  border: 1px solid var(--ink);
  padding: 10px 21px;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.eyebrow .star {
  color: var(--gold);
  font-size: 17px;
  margin-right: 8px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.6px;
}
h1 {
  font-size: clamp(44px, 4.7vw, 69px);
  margin: 0 0 27px;
}
h1 em {
  font-weight: 400;
  color: #8b642b;
}
h2 {
  font-size: clamp(37px, 3.8vw, 54px);
  margin-bottom: 22px;
}
h3 {
  font-size: 29px;
  letter-spacing: -0.65px;
}
.lead {
  font-size: 18px;
  line-height: 1.8;
  max-width: 470px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 62px;
  padding: 62px 0 74px;
}
.hero-copy {
  padding: 12px 0;
}
.hero-image {
  position: relative;
  margin: 0 0 13px;
}
.hero-image:before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid #b8b49f;
  z-index: -1;
}
.hero-image img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 160px 160px 3px 3px;
}
.hero-image figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--paper);
  padding: 7px 15px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 650;
  text-transform: uppercase;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--ink);
  line-height: 1.5;
  min-height: 50px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #29565a;
  transform: translateY(-2px);
}
.arrow {
  font-size: 20px;
  line-height: 1;
}
.text-link {
  font-size: 14px;
  font-weight: 600;
}
.hero-note {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 31px 0 0;
}
.ribbon {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 47px;
  font-family: var(--serif);
  font-size: 19px;
}
.ribbon .spark {
  font-size: 14px;
  color: var(--gold);
}
.section {
  padding: 100px 0;
}
.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 85px;
  align-items: center;
}
.intro-art {
  margin: 0;
  background: #fff;
  border: 1px solid #ebe7db;
  position: relative;
  isolation: isolate;
}
.intro-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.intro-art figcaption {
  text-align: center;
  padding: 0 20px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
}
.intro-copy {
  max-width: 610px;
}
.intro-copy > p:not(.eyebrow) {
  color: var(--muted);
}
.character-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 25px;
}
.character-notes h3 {
  font-size: 26px;
  margin-bottom: 9px;
}
.character-notes p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 45px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.books-section {
  background: var(--wash);
  border-block: 1px solid var(--line);
}
.collection {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border: 1px solid #d9d6c9;
  align-items: center;
  margin-bottom: 66px;
}
.collection-visual {
  padding: 50px;
  background: #e1e4d8;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-object {
  position: relative;
  box-shadow: 7px 12px 20px #15393b26;
  transform: rotate(-4deg);
  width: 100%;
  max-width: 320px;
}
.book-object:after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 7px solid #163e4633;
  box-shadow: inset -2px 0 1px #fff6;
  pointer-events: none;
}
.collection-copy {
  padding: 50px 58px;
}
.collection-copy h3 {
  font-size: 43px;
  margin-bottom: 18px;
}
.collection-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}
.book-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 21px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin: 23px 0;
}
.mini-heading {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 37px;
}
.book-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.book-card .book-visual {
  background: #dedfd4;
  padding: 32px;
  margin: 0 0 26px;
  transition: background 0.2s;
}
.book-card:nth-child(2) .book-visual {
  background: #dce1df;
}
.book-card:nth-child(3) .book-visual {
  background: #e4ddd8;
}
.book-visual img {
  width: 100%;
  box-shadow: 4px 8px 15px #163e4630;
  transition: transform 0.2s;
}
.book-visual:hover img {
  transform: rotate(-2deg) translateY(-3px);
}
.book-card .label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 11px;
}
.book-card h3 {
  font-size: 29px;
  min-height: 64px;
  margin-bottom: 14px;
}
.book-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 22px;
}
.book-card > .text-link {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #c6c8b9;
  display: flex;
  justify-content: space-between;
}
.purchase-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
  margin: 43px 0 0;
}
.sample {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.sample-image {
  margin: 0;
}
.sample-image img {
  border-radius: 3px 3px 150px 3px;
  aspect-ratio: 1;
  object-fit: cover;
}
.sample-image figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
}
.sample blockquote {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.65;
  margin: 30px 0;
  padding-left: 25px;
  border-left: 1px solid var(--gold);
}
.sample .small {
  font-size: 13px;
  color: var(--muted);
}
details {
  border-block: 1px solid var(--line);
  padding: 17px 0;
  margin-top: 25px;
  font-size: 15px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.9;
}
.goodnight {
  background: var(--night);
  color: var(--paper);
  padding: 65px 0;
  text-align: center;
}
.goodnight .eyebrow {
  color: #d9bc7e;
  margin-bottom: 25px;
}
.goodnight p.refrain {
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 42px);
  line-height: 1.65;
  letter-spacing: -0.5px;
  margin: 0;
}
.goodnight .closing {
  font-size: 12px;
  letter-spacing: 2px;
  color: #c9d5d1;
  margin: 26px 0 0;
}
.author {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: start;
}
.author-monogram {
  width: 96px;
  height: 96px;
  border: 1px solid #b7b69f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 35px;
  margin-bottom: 25px;
}
.author-name h2 {
  margin-bottom: 8px;
}
.author-name > p:last-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.author-copy > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}
.author-copy h3 {
  font-size: 27px;
  margin: 28px 0 12px;
}
.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 33px);
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}
.socials {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 12px 25px;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.legal {
  max-width: 760px;
  padding: 70px 0 100px;
  min-height: 65vh;
}
.legal h1 {
  font-size: 50px;
}
.legal h2 {
  font-size: 28px;
  margin-top: 35px;
}
.legal p {
  color: var(--muted);
}
.statement-contact {
  font-style: normal;
  margin-bottom: 1.5em;
  overflow-wrap: anywhere;
}
/* Content order remains logical when the desktop compositions stack. */
@media (min-width: 1500px) {
  .hero {
    padding-block: 78px 90px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 36px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero .lead {
    font-size: 16px;
  }
  .navigation {
    gap: 21px;
  }
  .intro {
    gap: 50px;
  }
  .collection-copy {
    padding: 35px;
  }
  .collection-visual {
    padding: 38px;
  }
  .book-grid {
    gap: 25px;
  }
  .book-card .book-visual {
    padding: 24px;
  }
  .sample {
    gap: 45px;
  }
  .author {
    gap: 50px;
  }
  .ribbon {
    gap: 30px;
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 44px);
  }
  body {
    font-size: 16px;
  }
  .site-header {
    min-height: 100px;
    gap: 18px;
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-small {
    font-size: 8px;
    letter-spacing: 2px;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
  }
  .navigation {
    gap: 19px;
    font-size: 12px;
  }
  .navigation .nav-buy {
    padding: 8px 12px;
  }
  .navigation .nav-meet {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 37px;
    padding: 42px 0 54px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(45px, 8.5vw, 65px);
  }
  .hero .lead {
    font-size: 17px;
    max-width: 560px;
  }
  .hero-image {
    max-width: 520px;
    width: calc(100% - 14px);
    margin-inline: auto;
  }
  .hero-image img {
    border-radius: 120px 120px 3px 3px;
  }
  .hero-note {
    margin-top: 23px;
    font-size: 10px;
  }
  .actions {
    margin-top: 25px;
  }
  .ribbon {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 16px;
    padding: 20px 0;
  }
  .ribbon .spark:nth-of-type(4) {
    display: none;
  }
  .section {
    padding: 65px 0;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .intro-art {
    max-width: 390px;
    margin-inline: auto;
    order: 2;
  }
  .intro-copy {
    max-width: none;
  }
  .intro-copy h2 {
    font-size: 40px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 520px;
  }
  .collection {
    grid-template-columns: 1fr;
    margin-bottom: 45px;
  }
  .collection-visual {
    padding: 38px;
  }
  .book-object {
    max-width: 280px;
  }
  .collection-copy {
    padding: 32px 27px;
  }
  .collection-copy h3 {
    font-size: 37px;
  }
  .collection-copy .eyebrow {
    font-size: 10px;
  }
  .book-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .book-card {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 0 24px;
  }
  .book-card .book-visual {
    grid-column: 1;
    grid-row: 1/5;
    margin: 0;
    padding: 20px;
    align-self: start;
  }
  .book-card .label,
  .book-card h3,
  .book-card > p,
  .book-card > .text-link {
    grid-column: 2;
  }
  .book-card h3 {
    font-size: 27px;
    min-height: 0;
    margin-bottom: 12px;
  }
  .book-card .label {
    margin-bottom: 8px;
  }
  .book-card > p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .book-card > .text-link {
    font-size: 13px;
  }
  .sample {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sample-image {
    max-width: 500px;
  }
  .sample h2 {
    font-size: 40px;
  }
  .sample blockquote {
    font-size: 24px;
  }
  .goodnight {
    padding: 50px 0;
  }
  .author {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .author-monogram {
    width: 75px;
    height: 75px;
    font-size: 29px;
  }
  .author-name h2 {
    font-size: 42px;
  }
  .author-copy > p {
    font-size: 16px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .footer p {
    margin: 0;
  }
  .legal h1 {
    font-size: 40px;
  }
}
@media (max-width: 430px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand-icon {
    width: 31px;
    height: 31px;
  }
  .brand {
    gap: 7px;
  }
  .brand-name {
    font-size: 21px;
  }
  .navigation {
    gap: 12px;
  }
  .navigation .nav-buy {
    padding: 7px 9px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.9px;
  }
  .ribbon {
    column-gap: 13px;
    font-size: 15px;
  }
  .ribbon span:nth-child(5) {
    flex-basis: 100%;
    text-align: center;
  }
  .ribbon .spark:nth-child(4) {
    display: none;
  }
  .character-notes {
    gap: 22px;
  }
  .book-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .book-card .book-visual {
    grid-column: 1;
    grid-row: auto;
    padding: 32px;
    margin-bottom: 23px;
  }
  .book-card .label,
  .book-card h3,
  .book-card > p,
  .book-card > .text-link {
    grid-column: 1;
  }
  .book-card h3 {
    font-size: 31px;
  }
  .book-card > p {
    font-size: 15px;
  }
  .book-card > .text-link {
    font-size: 14px;
  }
  .book-grid {
    gap: 44px;
  }
}
/* Keep the narrow phone header compact without wrapping the wordmark. */
.nav-mobile {
  display: none;
}
@media (max-width: 430px) {
  .brand-name {
    white-space: normal;
  }
  .brand-small {
    font-size: 7px;
    letter-spacing: 1.7px;
  }
  .navigation > a:not(.nav-buy) {
    display: none;
  }
  .navigation .nav-buy {
    white-space: nowrap;
    font-size: 11px;
    padding: 9px 11px;
    gap: 6px;
  }
  .nav-full {
    display: none;
  }
  .nav-mobile {
    display: inline;
  }
  .hero h1 {
    font-size: clamp(34px, 9.4vw, 40px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
