:root {
  --orange: #ef5323;
  --orange-soft: #f8774c;
  --ink: #2e2e2e;
  --body: #424242;
  --muted: #6d6d6d;
  --faint: #c6c6c6;
  --paper: #f7f7f7;
  --white: #fff;
  --display: "Otoiwo Grotesk Compressed", "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: Inter, -apple-system, Roboto, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
}

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

[hidden] {
  display: none !important;
}

button,
a {
  font: inherit;
}

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

.eyebrow,
.kicker,
h1,
h2,
h3,
.price,
.btn,
.part-num,
.person strong,
.reviewer strong {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.4px;
}

h1 {
  margin-top: 24px;
  color: #000;
  font-size: 70px;
  line-height: 0.96;
  letter-spacing: -2.08px;
}

.lede {
  margin-top: 12px;
  max-width: 496px;
  color: var(--body);
  font-size: 18px;
  line-height: 30px;
}

.price {
  margin-top: 24px;
  color: var(--ink);
  font-size: 40px;
  line-height: 0.96;
  letter-spacing: -0.8px;
}

.btn {
  margin-top: 40px;
  padding: 20px 32px;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.27);
  color: var(--white);
  font-size: 22px;
  line-height: 1.27;
  letter-spacing: 0.44px;
  cursor: not-allowed;
}

.btn:disabled {
  opacity: 1;
}

.hero {
  background: var(--paper);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 640px);
  max-width: 1440px;
  min-height: 800px;
  margin: 0 auto;
}

.hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px 88px 48px 24px;
}

.hero-copy-inner {
  width: 496px;
  max-width: 100%;
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 800px;
  overflow: hidden;
  padding: 48px 40px 120px;
  background: #2e2e2e url("images/hero-bg.png") center / cover no-repeat;
}

.book {
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.book[hidden] {
  display: none;
}

.thumbs {
  position: absolute;
  bottom: 48px;
  left: 50%;
  display: flex;
  gap: 16px;
  transform: translateX(-50%);
}

.thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 88px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.thumb.is-active {
  border-color: #6d6d6d;
}

.why {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1127px;
  min-height: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.why-media {
  display: flex;
  flex: 0 0 501px;
  align-items: center;
  justify-content: center;
  width: 600px;
  height: 640px;
}

.why-media img {
  width: 501px;
  height: 640px;
  object-fit: cover;
}

.why-copy {
  width: 495px;
}

.why-copy h2,
.parts h2,
.review h2,
.buy h2,
.footer h2 {
  color: var(--ink);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1.76px;
}

.prose {
  margin-top: 16px;
  color: var(--body);
  font-size: 16px;
  line-height: 28px;
}

.prose p + p {
  margin-top: 24px;
}

.person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 0;
}

.person img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.person strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 0.96;
  letter-spacing: 0.4px;
}

.person span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}

.parts {
  background: var(--paper);
  padding: 176px 24px 120px;
}

.parts h2 {
  width: min(625px, 100%);
  margin: 0 auto 88px;
  line-height: 88px;
  text-align: center;
}

.parts-track {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1232px;
  margin: 0 auto;
}

.part {
  display: flex;
  align-items: center;
  gap: 120px;
}

.part-copy {
  flex: 0 1 406px;
}

.part-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(408px, 100%);
}

.part-num {
  color: var(--orange);
  font-size: 132px;
  line-height: 0.88;
  letter-spacing: -2.64px;
}

.part h3 {
  width: 272px;
  color: var(--ink);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.12px;
}

.part p {
  margin-top: 16px;
  color: var(--body);
  font-size: 16px;
  line-height: 28px;
}

.part img {
  flex: 1 1 498px;
  width: 498px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.dots {
  display: none;
}

.reviews {
  background: var(--ink);
  color: var(--white);
}

.reviews-frame {
  position: relative;
  width: min(1024px, calc(100% - 48px));
  margin: 0 auto;
  padding: 176px 0 136px;
}

.kicker {
  color: var(--orange-soft);
  font-size: 20px;
  line-height: 0.96;
  letter-spacing: 0.4px;
}

.review {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 32px;
}

.review h2 {
  flex: 0 1 397px;
  color: var(--white);
  line-height: 88px;
}

.review-body {
  flex: 0 1 397px;
  min-width: 240px;
}

.review-body p {
  color: var(--white);
  font-size: 18px;
  line-height: 30px;
}

.reviewer {
  margin-top: 28px;
}

.reviewer strong {
  display: block;
  letter-spacing: -0.28px;
}

.reviewer span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: 16px;
}

.review-nav {
  position: absolute;
  right: 0;
  bottom: 136px;
  left: 0;
  height: 40px;
}

.arrow {
  position: absolute;
  top: 0;
  width: 64px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.arrow img {
  width: 64px;
  height: 40px;
}

.arrow-prev {
  left: 0;
}

.arrow-next {
  right: 0;
}

.buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--paper);
  padding: 88px 24px;
}

.buy-copy {
  width: min(496px, 100%);
}

.buy h2 {
  font-size: 52px;
  line-height: 56px;
  letter-spacing: -1.12px;
}

.buy-book {
  width: min(496px, 100%);
  height: auto;
}

.footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  width: min(556px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 36px;
}

.footer h2 {
  color: var(--white);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.12px;
}

.footer-inner > p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 30px;
}

.contacts {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.contacts img {
  width: 56px;
  height: 56px;
}

.copyright {
  margin-top: 74px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

@media (max-width: 1439px) {
  h1 {
    font-size: 40px;
    line-height: 43px;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    justify-content: center;
    padding: 120px 24px 64px;
    text-align: center;
  }

  .hero-copy-inner,
  .lede {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-stage {
    height: 768px;
    padding-top: 65px;
  }

  .thumb {
    width: 60px;
    height: 66px;
  }

  .why {
    flex-direction: column-reverse;
    width: min(656px, 100%);
    min-height: 0;
    padding: 176px 24px;
  }

  .why-media,
  .why-copy,
  .why-media img {
    width: 100%;
    height: auto;
  }

  .why-media {
    flex-basis: auto;
    margin-top: 48px;
  }

  .why-copy,
  .person {
    text-align: center;
  }

  .person {
    flex-direction: column;
    width: min(331px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .why-copy h2,
  .parts h2,
  .review h2,
  .buy h2,
  .footer h2 {
    font-size: 40px;
    line-height: 45px;
  }

  .parts {
    padding: 100px 0;
  }

  .parts h2 {
    margin-bottom: 40px;
    padding: 0 24px;
    line-height: 45px;
  }

  .parts-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .parts-track::-webkit-scrollbar {
    display: none;
  }

  .part {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    width: min(656px, calc(100% - 48px));
    margin: 0 auto;
    scroll-snap-align: center;
  }

  .part-copy {
    flex-basis: auto;
  }

  .part-num,
  .part h3 {
    font-size: 40px;
    line-height: 1;
  }

  .part h3 {
    width: auto;
  }

  .part img {
    width: 100%;
    margin-top: 0;
  }

  .dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
  }

  .dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  .dot.is-active {
    background: var(--orange);
  }

  .reviews-frame {
    width: min(496px, calc(100% - 48px));
  }

  .review {
    flex-direction: column;
  }

  .review h2,
  .review-body {
    flex-basis: auto;
    width: 100%;
  }

  .buy {
    flex-direction: column;
    text-align: center;
  }

  .buy h2 {
    font-size: 40px;
    line-height: 45px;
  }

  .footer-inner {
    width: min(496px, calc(100% - 48px));
  }

  .copyright {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .hero-copy {
    padding: 80px 16px 56px;
  }

  .hero-copy-inner,
  .lede,
  .why,
  .buy-copy {
    width: min(343px, 100%);
  }

  .hero-stage {
    height: 600px;
    padding: 38px 16px 120px;
  }

  .book {
    max-width: 72%;
    max-height: 360px;
  }

  .thumb {
    width: 80px;
    height: 88px;
  }

  .why {
    padding: 96px 16px;
  }

  .why-media img {
    height: 366px;
    object-fit: cover;
  }

  .parts h2,
  .part {
    width: min(343px, calc(100% - 32px));
  }

  .reviews-frame {
    width: min(343px, calc(100% - 32px));
    padding: 96px 0;
  }

  .review h2 {
    line-height: 45px;
  }

  .review-nav {
    bottom: 48px;
  }

  .buy {
    padding: 72px 16px;
  }

  .footer-inner {
    width: min(343px, calc(100% - 32px));
    padding-top: 96px;
    text-align: center;
  }

  .contacts {
    justify-content: center;
  }
}
