:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #202020;
  background: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(250px, 1fr);
  gap: 44px;
  width: min(1180px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 44px 0 0;
}

.title-row {
  display: flex;
  align-items: baseline;
  gap: 28px;
  min-height: 58px;
  border-bottom: 1px dashed #c9c9c9;
  padding: 0 24px 10px;
}

.title-row p,
.title-row h1 {
  margin: 0;
  white-space: nowrap;
}

.title-row p {
  font-size: clamp(24px, 3vw, 39px);
  font-weight: 300;
}

.title-row h1 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
}

.book-hero {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(330px, 1.2fr);
  align-items: start;
  min-height: 480px;
  padding: 90px 0 0 30px;
  overflow: hidden;
}

.claim {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-top: 6px;
  color: #303030;
}

.claim strong {
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.claim span {
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 300;
  line-height: 1.25;
}

.book-visual {
  display: block;
  position: relative;
  width: 420px;
  height: 450px;
  overflow: visible;
}

.book-visual img {
  position: absolute;
  bottom: 0;
  left: -25%;
  width: 150%;
  height: 150%;
  object-fit: contain;
  object-position: center bottom;
}

.details {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 36px;
  padding: 0 18px 0 0;
}

.details h2 {
  margin: 0 0 12px;
  border-bottom: 1px dashed #c9c9c9;
  padding-bottom: 10px;
  font-size: 25px;
}

.purchase h2 {
  height: auto;
  margin-bottom: 12px;
  border-bottom: 0;
  padding-bottom: 0;
}

.details dl {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 14px;
}

.details dl div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.details dt,
.details dd {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.details dd {
  color: #555;
  font-weight: 300;
}

.contact dl {
  gap: 14px;
}

.contact dl div {
  display: grid;
  gap: 2px;
}

.contact dd {
  padding-left: 26px;
}

.details a {
  color: inherit;
  text-decoration: none;
}

.details a:hover,
.details a:focus-visible {
  text-decoration: underline;
}

.details .buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-left: 14px;
  padding: 11px 18px;
  border-radius: 4px;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 700;
}

.details .buy-link:hover,
.details .buy-link:focus-visible {
  background: #111;
  color: #fff;
  text-decoration: none;
}

@media (min-width: 681px) and (max-width: 900px) {
  .page-shell {
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
    gap: 24px;
    width: calc(100% - 32px);
    padding-top: 28px;
  }

  .title-row {
    gap: 14px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .title-row p {
    font-size: 22px;
  }

  .title-row h1 {
    font-size: 25px;
  }

  .book-hero {
    grid-template-columns: minmax(150px, 0.7fr) minmax(250px, 1.3fr);
    padding-left: 10px;
  }

  .book-visual {
    width: 260px;
    height: 320px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100% - 32px, 650px);
    padding-top: 24px;
  }

  .title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 0 0 10px;
    min-height: 0;
  }

  .title-row p,
  .title-row h1 {
    white-space: normal;
  }

  .book-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 0 0;
  }

  .book-visual {
    justify-self: center;
    height: 420px;
    margin-top: 28px;
  }

  .details {
    gap: 36px;
    padding: 0 0 36px;
  }

}

@media (max-width: 430px) {
  .book-visual {
    width: 100%;
    max-width: 370px;
  }

}
