:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --ink: #24221f;
  --muted: #6e706f;
  --kingfisher: #145b70;
  --kingfisher-dark: #0f4657;
  --hairline: #dcddda;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.masthead {
  width: min(74rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.imprint {
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: lowercase;
}

.imprint span {
  color: var(--kingfisher);
}

main {
  overflow: hidden;
}

.book {
  display: grid;
  grid-template-columns: minmax(18rem, .88fr) minmax(22rem, 1fr);
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
  width: min(68rem, calc(100% - 3rem));
  min-height: calc(100svh - 6rem);
  margin: 0 auto;
  padding: 3rem 0 7rem;
}

.cover-stage {
  display: flex;
  justify-content: center;
  perspective: 75rem;
}

.cover {
  position: relative;
  display: block;
  width: min(100%, 22rem);
  aspect-ratio: 17 / 23;
  object-fit: cover;
  box-shadow: 0 2.5rem 5rem rgba(22, 32, 29, .13), 0 .4rem 1rem rgba(22, 32, 29, .08);
  transform: rotateY(2deg) rotateZ(-.35deg);
}

.book-copy {
  max-width: 31rem;
}

.kind {
  margin: 0 0 1.2rem;
  color: var(--kingfisher);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
}

.author {
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.tagline {
  max-width: 27rem;
  margin: 3.3rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.4;
}

.description {
  max-width: 29rem;
  margin: 2rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.purchase {
  margin-top: 2.2rem;
}

.order {
  display: inline-block;
  min-width: 14rem;
  padding: 1rem 1.6rem;
  border: 0;
  border-radius: 0;
  background: var(--kingfisher);
  color: #fff;
  cursor: pointer;
  font: 600 1rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .025em;
  text-align: center;
  text-decoration: none;
}

.order:hover,
.order:focus-visible {
  background: var(--kingfisher-dark);
}

.purchase p {
  margin: .85rem 0 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  line-height: 1.45;
}

.purchase .channels {
  margin-top: .2rem;
}

.purchase .price {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1;
}

.details {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.5rem;
  width: min(68rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .86rem;
}

.details p {
  margin: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(68rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 3.5rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .76rem;
}

footer p {
  margin: 0;
}

.puls {
  color: var(--kingfisher);
}

@media (max-width: 760px) {
  .masthead {
    width: min(100% - 2rem, 36rem);
    padding-top: 1.4rem;
  }

  .book {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    width: min(100% - 2rem, 36rem);
    min-height: auto;
    padding: 2.5rem 0 6rem;
  }

  .cover {
    width: min(78vw, 20rem);
  }

  .book-copy {
    max-width: none;
  }

  h1 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }

  .description {
    margin-top: 2.6rem;
  }

  .order {
    width: 100%;
  }

  .details,
  footer {
    width: min(100% - 2rem, 36rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
