@font-face {
  font-family: "Le Jour Serif Local";
  src: local("Le Jour Serif"), local("Le Jour Serif Regular"), local("LeJourSerif");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #070707;
  --panel: rgba(5, 5, 5, .83);
  --panel-strong: rgba(5, 5, 5, .91);
  --text: #f1eee8;
  --muted: #c8c3bb;
  --line: rgba(241, 238, 232, .24);
  --line-strong: rgba(241, 238, 232, .52);
  --display: "Le Jour Serif Local", Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/cover-background-desktop.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22));
}

img { display: block; max-width: 100%; }
a { color: inherit; }
header, main, footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(4,4,4,.93);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand, .footer-brand {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .18em;
  text-decoration: none;
  white-space: nowrap;
}
.brand { font-size: 1.38rem; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.desktop-nav a {
  padding: 27px 0 23px;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: Georgia, serif;
  font-size: .78rem;
  white-space: nowrap;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--text); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  list-style: none;
  display: grid;
  place-items: center;
  background: #090909;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 23px;
  height: 1px;
  background: var(--text);
  content: "";
  transition: transform .15s ease;
}
.menu-icon { position: relative; }
.menu-icon::before { position: absolute; top: -7px; }
.menu-icon::after { position: absolute; top: 7px; }
.mobile-nav[open] .menu-icon { background: transparent; }
.mobile-nav[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.mobile-links {
  position: absolute;
  top: 60px;
  right: 0;
  width: min(82vw, 330px);
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(5,5,5,.98);
  box-shadow: 0 22px 50px rgba(0,0,0,.5);
}
.mobile-links a {
  display: block;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: Georgia, serif;
  font-size: .86rem;
}
.mobile-links a:last-child { border-bottom: 0; }
.mobile-links a[aria-current="page"] { background: rgba(255,255,255,.07); }

main { padding: 52px 0 72px; }
.shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(7,7,7,.88), rgba(4,4,4,.78));
  box-shadow: 0 20px 60px rgba(0,0,0,.34);
}
.hero {
  min-height: 600px;
  padding: clamp(42px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}
.hero-photo, .book-cover, .shop-image {
  margin: 0;
  border: 1px solid var(--line);
  padding: 8px;
  background: rgba(0,0,0,.5);
}
.hero-photo { max-width: 480px; justify-self: end; }
.hero-photo img, .shop-image img { width: 100%; height: auto; }

.hero-welcome {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  background: rgba(0,0,0,.34);
}
.hero-welcome h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); }
.hero-welcome .lede { font-size: 1rem; }

.kicker, .book-number, .eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-family: Georgia, serif;
  font-size: .83rem;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(3.1rem, 5.8vw, 5.9rem); }
h2 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.rule { width: 130px; height: 1px; margin: 28px 0; background: var(--line-strong); }
.lede { margin: 0; max-width: 650px; color: #d5d0c8; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button {
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: Georgia, serif;
  font-size: .84rem;
  background: rgba(0,0,0,.2);
}
.button.primary { background: var(--text); color: #090909; border-color: var(--text); }
.button:hover { background: var(--text); color: #090909; }
.button.primary:hover { background: transparent; color: var(--text); }

.book-list { margin-top: 42px; display: grid; gap: 42px; }
.book-row {
  padding: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: center;
}
.book-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); }
.book-row.reverse .book-cover { order: 2; }
.book-row.reverse .book-copy { order: 1; }
.book-cover { width: 100%; max-width: 390px; justify-self: center; }
.book-cover img { width: 100%; height: auto; }
.book-quote { margin: 22px 0; font-family: Georgia, serif; font-size: 1.24rem; line-height: 1.45; color: #e8e3dc; }
.book-description { margin: 0; max-width: 650px; color: #d0cbc3; font-size: 1.03rem; }
.book-meta { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-family: Georgia, serif; font-size: .79rem; }

.page-hero { padding: clamp(38px, 5vw, 62px); }
.page-hero h1 { font-size: clamp(3rem, 5vw, 5rem); }
.page-hero .lede { margin-top: 22px; }
.page-copy {
  width: min(calc(100% - 48px), 820px);
  margin: 38px auto 0;
  padding: clamp(34px, 5vw, 58px);
  text-align: left;
}
.page-copy p { margin: 0 0 1.35em; color: #ddd8d1; font-size: 1.04rem; }
.page-copy p:last-child { margin-bottom: 0; }
.page-copy em { font-family: Georgia, serif; }

.shop-feature {
  margin-top: 42px;
  padding: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: center;
}
.shop-image { max-width: 480px; justify-self: center; }

.simple-page { min-height: calc(100svh - 230px); display: flex; flex-direction: column; }
.simple-page .page-copy { flex: 0 0 auto; }

.site-footer { border-top: 1px solid var(--line); background: rgba(4,4,4,.92); }
.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { font-size: 1rem; }
.copyright { color: #9f9a93; font-size: .82rem; }


.welcome {
  margin-top: 28px;
  padding: clamp(38px, 5vw, 62px);
  text-align: center;
}
.welcome h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.35rem);
}
.welcome .rule { margin-inline: auto; }
.welcome .lede { max-width: 760px; margin: 20px auto 0; }
.shop-feature-text { grid-template-columns: 1fr; }
.shop-feature-text > div { max-width: 780px; margin-inline: auto; text-align: center; }
.shop-feature-text .rule { margin-inline: auto; }
.shop-feature-text .lede { margin-inline: auto; }

@media (max-width: 860px) {
  body::before { background-image: url("assets/cover-background-mobile.jpg"); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .header-inner { width: min(calc(100% - 32px), var(--max)); min-height: 72px; }
  .brand { font-size: 1.18rem; }
  main { padding: 28px 0 52px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 0; padding: 36px 24px; grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .hero-copy { width: 100%; min-width: 0; }
  .hero h1 { max-width: 680px; margin-inline: auto; font-size: clamp(2.65rem, 10vw, 4.2rem); }
  .hero .lede { margin-inline: auto; }
  .hero .rule { margin-inline: auto; }
  .hero-photo { width: min(100%, 430px); justify-self: center; }
  .hero-welcome { text-align: center; }
  .hero-welcome .rule, .hero-welcome .lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .book-list { margin-top: 28px; gap: 28px; }
  .book-row, .book-row.reverse { padding: 34px 24px; grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .book-row.reverse .book-cover, .book-row.reverse .book-copy { order: initial; }
  .book-cover { width: min(76vw, 330px); }
  .book-description { margin-inline: auto; }
  .book-meta { max-width: 560px; margin-inline: auto; }
  .page-hero { padding: 36px 24px; text-align: center; }
  .page-hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .page-hero .lede { margin-inline: auto; }
  .page-copy { width: min(calc(100% - 28px), 760px); margin-top: 28px; padding: 32px 24px; text-align: left; }
  .page-copy p { font-size: 1rem; line-height: 1.72; }
  .shop-feature { margin-top: 28px; padding: 32px 24px; grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .shop-feature .rule { margin-inline: auto; }
  .shop-feature .lede { margin-inline: auto; }
  .footer-inner { width: min(calc(100% - 32px), var(--max)); min-height: 96px; flex-direction: column; justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .header-inner { width: calc(100% - 28px); }
  .brand { letter-spacing: .15em; }
  .mobile-nav summary { width: 48px; height: 48px; }
  .shell { width: calc(100% - 22px); }
  .hero, .book-row, .book-row.reverse, .page-hero, .shop-feature { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(2.4rem, 11.2vw, 3.45rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.35rem); }
  .lede { font-size: 1rem; }
  .actions { width: 100%; }
  .button { width: 100%; }
  .book-cover { width: min(78vw, 310px); }
  .book-quote { font-size: 1.12rem; }
  .book-description { text-align: left; }
  .page-copy { width: calc(100% - 22px); padding: 28px 21px; }
  .page-copy p { font-size: .98rem; }
}
