:root {
  --ink: #17191a;
  --muted: #5e615d;
  --paper: #f3eadb;
  --surface: #fffaf0;
  --line: #cfc2ad;
  --blue: #07597a;
  --blue-dark: #163654;
  --orange: #d9780c;
  --shadow: 0 18px 44px rgba(31, 27, 22, 0.16);
  --sans: Optima, Candara, "Segoe UI", sans-serif;
  --serif: Charter, "Bitstream Charter", Cambria, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 40rem);
  align-items: start;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  padding:
    clamp(1.2rem, 2.4vw, 2rem)
    clamp(1rem, 5vw, 5rem)
    clamp(1.2rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-copy {
  max-width: 39rem;
}

.series,
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.1rem;
  color: var(--blue-dark);
  font-size: clamp(2.75rem, 6.5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--blue-dark);
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.authors {
  margin-bottom: 1rem;
  color: var(--orange);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  font-weight: 700;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.book-actions {
  margin-top: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--blue);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: transparent;
}

.resource-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.flyer-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.88rem;
}

.cover-figure {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 38rem);
  margin: 0;
}

.cover-figure img {
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.discount-note {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.1rem 0.75rem;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--orange);
  background: #fff4df;
  font-family: var(--sans);
}

.discount-note span,
.discount-note small {
  color: var(--muted);
}

.discount-note strong {
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}

.discount-note small {
  grid-column: 1 / -1;
}

.overview,
.authors-section,
.quote-band {
  padding: clamp(1.8rem, 4vw, 3.5rem) clamp(1rem, 5vw, 5rem);
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
}

.authors-section {
  display: block;
}

.section-heading {
  max-width: 45rem;
}

.overview-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.overview-text p:last-child {
  margin-bottom: 0;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.facts div {
  min-height: 6.5rem;
  padding: 1.05rem 1.25rem;
  border-right: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 0;
}

.fact-value,
.fact-label {
  display: block;
}

.fact-value {
  color: var(--blue-dark);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
}

.fact-label {
  margin-top: 0.25rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.author-card p {
  color: var(--muted);
}

.author-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 68rem;
  margin: 0 auto;
}

.author-card {
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}

.author-card img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  object-position: center 24%;
}

.author-card:first-child img {
  object-position: center;
}

.author-card div {
  padding: 1.25rem;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(8rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  color: var(--surface);
  background:
    linear-gradient(rgba(22, 54, 84, 0.88), rgba(22, 54, 84, 0.88)),
    url("assets/network-mark.png") right center / 42rem auto no-repeat,
    var(--blue-dark);
}

blockquote {
  max-width: 62rem;
  margin: 0;
}

.review-label {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

blockquote p {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3.4vw, 3rem);
  line-height: 1.1;
}

blockquote cite {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--sans);
  font-style: normal;
}

@media (max-width: 980px) {
  .hero,
  .overview {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
  }

  .cover-figure {
    justify-self: start;
    width: min(100%, 31rem);
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .facts,
  .author-list {
    grid-template-columns: 1fr;
  }

  .facts div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .author-card {
    grid-template-columns: 7.5rem 1fr;
  }

  .discount-note {
    grid-template-columns: 1fr;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
