@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/home/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/home/cormorant-garamond-latin-400-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans Variable';
  src: url('../fonts/home/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --book-ink: #28142b;
  --book-paper: #fff9f5;
  --book-pink: #fac6e0;
  --book-brand: #78234f;
  --book-muted: #694f61;
  --book-line: #dfccd6;
  --book-serif: 'Cormorant Garamond', Georgia, serif;
  --book-sans: 'DM Sans Variable', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--book-paper);
  color: var(--book-ink);
  font: 16px/1.65 var(--book-sans);
}

[hidden] { display: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--book-pink); color: var(--book-ink); }

h1, h2, h3 { font-family: var(--book-serif); font-weight: 500; }
h1 { font-size: clamp(68px, 9.2vw, 136px); line-height: .82; letter-spacing: -.055em; }
h2 { font-size: clamp(44px, 5.5vw, 78px); line-height: .98; letter-spacing: -.04em; }
h3 { font-size: clamp(28px, 3.25vw, 46px); line-height: 1.06; letter-spacing: -.025em; }
h1 em, h2 em { font-weight: 400; }

.book-shell {
  width: min(1240px, calc(100% - clamp(36px, 9vw, 144px)));
  margin-inline: auto;
}

.book-skip {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 8px 14px;
  background: var(--book-paper);
  transform: translateY(-150%);
}

.book-skip:focus { transform: none; }

.book-header,
.book-hero { background-color: var(--book-ink); color: var(--book-paper); }
.book-header { border-bottom: 1px solid #f7d7ea26; }

.book-header-inner,
.book-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.book-header-inner { min-height: 82px; padding-block: 11px; }
.book-brand img { width: clamp(115px, 14vw, 166px); height: auto; }
.book-site-link { padding-block: 9px; font-size: 15px; }

.book-hero {
  overflow: hidden;
  background-image: radial-gradient(ellipse at 88% 42%, #64204b 0%, transparent 60%);
}

.book-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px clamp(22px, 5vw, 75px);
  min-height: clamp(520px, 62vh, 720px);
  padding-block: clamp(54px, 7.5vw, 112px);
}

.book-kicker {
  margin-bottom: 20px;
  color: var(--book-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.book-hero .book-kicker { color: var(--book-pink); }
.book-hero h1 em {
  display: block;
  margin-top: .07em;
  color: var(--book-pink);
  font-size: .86em;
}

.book-lead {
  max-width: 38ch;
  margin-top: 28px;
  color: #f1dce9;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.65;
}

.book-hero-action { margin-top: 27px; }
.book-hero-action p { margin-top: 9px; color: #e4c8dc; font-size: 14px; }

.book-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--book-pink);
  color: var(--book-ink);
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.book-button svg { flex: 0 0 auto; }
.book-button:hover { background: #fff0f7; }

.book-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.book-art::before,
.book-art::after {
  position: absolute;
  z-index: -1;
  content: '';
  border-radius: 50%;
}

.book-art::before {
  inset: 8% 0;
  background: radial-gradient(ellipse at 48% 47%, #d984b78f 0%, #a34e8366 47%, transparent 72%);
}

.book-art::after { inset: 3% 6%; border: 1px solid #f4bbdf59; transform: rotate(-12deg); }

.book-art img {
  width: min(58%, 285px);
  height: auto;
  transform: rotate(-7deg);
  filter: drop-shadow(14px 22px 15px #1d071fa6);
}

.book-topics, .book-author { padding-block: clamp(54px, 8vw, 105px); }
.book-topics h2 em, .book-final h2 em { color: var(--book-brand); }

.book-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px clamp(22px, 4vw, 60px);
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.book-topics-grid li { padding-top: 18px; border-top: 2px solid var(--book-line); }
.book-topics-grid p, .book-author p:not(.book-kicker) { margin-top: 8px; color: var(--book-muted); }
.book-edition { margin-top: 27px; color: var(--book-muted); font-size: 14px; }

.book-author { background: #f2e4eb; }
.book-author-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 28px clamp(30px, 8vw, 105px);
}

.book-author-image { overflow: hidden; aspect-ratio: 1.28; border-radius: 4px; background: #e6cbd9; }
.book-author-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.book-author .book-register { font-size: 14px; }
.book-text-link {
  display: inline-block;
  margin-top: 14px;
  padding-block: 6px;
  color: var(--book-brand);
  font-weight: 650;
  text-underline-offset: 4px;
}

.book-final { padding-block: clamp(43px, 6vw, 76px); }
.book-final-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.book-final h2 { font-size: clamp(40px, 5.2vw, 70px); }
.book-final .book-button { background: var(--book-brand); color: #fff; }
.book-final .book-button:hover { background: var(--book-ink); }
.book-footer { padding-block: 20px; background: var(--book-ink); color: var(--book-paper); font-size: 14px; }
.book-footer-inner { justify-content: flex-start; }
.book-footer-inner span { margin-right: auto; }
.book-site-link, .book-footer a { text-underline-offset: 4px; }

@media (max-width: 800px) {
  .book-hero-grid { gap: 25px; }
  .book-art { min-height: 330px; }
  h1 { font-size: clamp(61px, 10.3vw, 82px); }
}

@media (max-width: 600px) {
  .book-header-inner { min-height: 64px; gap: 8px; }
  .book-site-link { font-size: 14px; }
  .book-hero-grid, .book-author-grid, .book-topics-grid { grid-template-columns: minmax(0, 1fr); }
  .book-hero-grid { padding-block: 45px 36px; }
  h1 { font-size: clamp(59px, 13.5vw, 77px); }
  .book-kicker { margin-bottom: 16px; }
  .book-lead { margin-top: 20px; }
  .book-hero-action { margin-top: 21px; }
  .book-art { min-height: 255px; }
  .book-art img { width: min(50%, 171px); }
  .book-art::after { inset: 0 9%; }
  .book-topics-grid { margin-top: 24px; }
  .book-author-image { width: min(100%, 390px); }
  .book-footer-inner { gap: 8px 19px; }
  .book-footer-inner span { flex-basis: 100%; }
}
