:root {
  --black: #d8e6a9;
  --white: #d8e6a9;
  --red: #c52d20;
  --olive: #151515;
  --olive-light: #151515;
  --line: 1px solid var(--black);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--black);
  background: var(--olive-light);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}
a {
  color: inherit;
}
button {
  color: inherit;
  font: inherit;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: var(--line);
  background: var(--olive-light);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.site-header a:hover,
.podcast-link:hover {
  color: var(--red);
}
.site-footer {
  border-top: var(--line);
  border-bottom: 0;
}

.intro {
  display: grid;
  justify-items: center;
  padding: 7rem 1rem 8rem;
  border-bottom: var(--line);
  background: var(--olive-light);
  text-align: center;
}
.intro p {
  max-width: 32rem;
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 900;
}
h1,
h2,
h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.08em;
}
h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.7rem, 11vw, 10rem);
  line-height: 0.82;
  text-transform: uppercase;
}

h3 {
  margin: auto;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.podcast,
.campaign {
  max-width: 60rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  border-bottom: var(--line);
  background: var(--olive-light);
  text-align: center;
}
.section-label {
  margin: 0 0 2rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.podcast h2,
.campaign h2 {
  max-width: 18ch;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.podcast-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.78rem;
}
.podcast iframe {
  display: block;
  margin: 0 auto;
  max-width: 42rem;
  border: var(--line);
}

#podcast-title {
  margin-bottom: 3rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.reader {
  padding: 1rem;
  background: var(--olive);
  color: var(--white);
}
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}
.page-status,
.reader-actions,
.view-switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.page-status {
  color: var(--white);
}
.status-rule {
  width: 2rem;
  border-top: 1px solid currentColor;
}
.view-switch {
  margin-left: 0;
}
.view-button,
.icon-button,
.text-button {
  padding: 0.25rem 0.4rem;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.all-pages-link {
  color: var(--white);
  text-decoration: none;
}
.all-pages-link:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.icon-button {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--white);
  font-size: 1.1rem;
  line-height: 1;
}
.icon-button:hover,
.text-button:hover {
  border-color: var(--red);
  color: var(--red);
}
.reader-actions output {
  min-width: 3.2rem;
  text-align: center;
}

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(66vw, 45rem);
  overflow: auto;
}
.page-frame {
  flex: 0 0 auto;
  width: min(82vw, 64rem);
  margin: 0;
  background: var(--white);
  transition: width 180ms ease;
}
.page-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.page-nav {
  position: absolute;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--white);
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
}
.page-nav:hover {
  border-color: var(--red);
  color: var(--red);
}
.page-nav-prev {
  left: 0.5rem;
}
.page-nav-next {
  right: 0.5rem;
}
.page-strip {
  margin-top: 1rem;
  overflow-x: auto;
}
.page-strip ol {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.page-strip button {
  width: 3.6rem;
  padding: 0.35rem 0;
  border: 0;
  border-top: 1px solid #777;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}
.page-strip button:hover {
  border-color: var(--red);
  color: var(--red);
}
.page-strip button[aria-current="page"] {
  border-color: var(--white);
  background: var(--red);
  color: var(--white);
  padding-right: 0.35rem;
  padding-left: 0.35rem;
  font-weight: 900;
}
.page-strip button.is-current {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.campaign img {
  display: block;
  margin: 0 auto;
  width: min(100%, 38rem);
  height: auto;
  border: var(--line);
}
.paypal-button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--black);
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.paypal-button:hover {
  background: var(--white);
  color: var(--olive);
}
.campaign-note {
  max-width: 30rem;
  margin: 1rem 0 0;
  font-size: 0.78rem;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.45;
}
.site-footer {
  margin-top: 0;
}
.all-pages {
  min-height: 100vh;
}
.all-pages-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: var(--line);
  background: var(--olive-light);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}
.all-pages-heading a:hover {
  color: var(--red);
}
.simple-pages {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}
.simple-pages figure {
  margin: 0 0 4rem;
}
.simple-pages figure span {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--red);
  font-size: 0.7rem;
}
.simple-pages img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-header span {
    width: 100%;
  }
  .intro {
    padding: 5rem 1rem 6rem;
  }
  .reader {
    padding: 0.7rem;
  }
  .reader-toolbar {
    gap: 0.8rem;
  }
  .stage {
    min-height: 73vw;
  }
  .page-frame {
    width: 88vw;
  }
  .page-nav {
    width: 2rem;
    height: 2rem;
  }
  .page-nav-prev {
    left: 0.2rem;
  }
  .page-nav-next {
    right: 0.2rem;
  }
  .podcast,
  .campaign {
    padding: 3rem 1rem;
  }
  .all-pages-heading {
    flex-wrap: wrap;
  }
  .all-pages-heading span:last-child {
    width: 100%;
  }
}
