/* Teach Sleep Repeat: main stylesheet. Design A, "Exercise Book".

   Part 1 is layout: where things sit and how the page reflows on small screens.
   Part 2 is the look: colours, fonts, the exercise-book details.
   Part 2 comes second on purpose, so its rules win where both parts
   style the same thing. */

/* ==========================================================
   FONTS
   The font files live in assets/fonts/ and are served from our own
   site. That is faster than fetching them from Google, and it means
   no visitor's details are sent to Google just to show the text.

   Archivo is a "variable" font: one file covers every weight (300 to
   900) and every width (62% to 125%). "latin" has the everyday
   characters. "latin-ext" has rarer accented letters and is only
   downloaded if a page uses one.
   "font-display: swap" shows text straight away in a fallback font,
   then swaps when the real font arrives.
   ========================================================== */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gochi Hand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/gochi-hand-latin.woff2") format("woff2");
}

/* ==========================================================
   PART 1: LAYOUT
   ========================================================== */
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn .ic {
  flex: none;
}
.btn-big {
  font-size: 18px;
  padding: 16px 26px;
}
.done {
  display: none;
  margin: 6px 0 0;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  text-decoration: none;
}
.head-ctas {
  display: flex;
  gap: 10px;
}
.menu-btn {
  display: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.drawer nav {
  display: grid;
  gap: 4px;
  padding: 8px 24px 24px;
}
.drawer nav a {
  padding: 12px 0;
  font-size: 20px;
  text-decoration: none;
}
.drawer .btn {
  margin-top: 12px;
}
.sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: none;
  gap: 8px;
  padding: 8px;
  transform: translateY(160%);
  transition: transform 0.25s ease;
}
.sticky.show {
  transform: none;
}
.sticky .btn {
  flex: 1;
}
.s-head {
  margin-bottom: 36px;
}
.s-head p {
  margin: 10px 0 0;
  max-width: 56ch;
}
.s-head:has(.s-head-btn) {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 24px;
}
.s-head-btn {
  grid-column: 2;
  grid-row: 1/3;
  align-self: end;
}
.eps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ep {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: start;
}
.ep-body h3 {
  margin: 0;
}
.ep-body h3 a {
  text-decoration: none;
}
.ep-meta,
.ep-sum,
.ep-kind {
  margin: 0;
}
.ep-go {
  align-self: center;
}
.eps-more {
  margin-top: 28px;
}
.picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pick {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.pick h3 {
  margin: 0;
}
.pick p {
  margin: 0;
}
.pick-go {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.pick-top {
  display: flex;
  flex-direction: column;
}
.proof {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.proof-full {
  grid-template-columns: 1fr;
}
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat {
  display: grid;
  grid-template-columns: auto 1fr 170px 90px;
  gap: 16px;
  align-items: center;
  text-decoration: none;
}
.stat-name {
  min-width: 0;
  overflow-wrap: anywhere;
}
.stat-name b,
.stat-name small,
.stat-num strong,
.stat-num small {
  display: block;
}
.stat-cta {
  text-align: right;
}
.stat-cta > span {
  display: block;
}
.guests {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.guest {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hosts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.host {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}
.host-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.host h3 {
  margin: 0;
}
.host p {
  margin: 0;
}
.hosts-big .host {
  grid-template-columns: 1fr;
  align-items: start;
}
.hosts-big .host-pic {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.send-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.s-sendpage .send-grid {
  grid-template-columns: 1.2fr 0.8fr;
}
.why {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.why li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.why .ic {
  flex: none;
  margin-top: 3px;
}
.send-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.lbl {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
}
.hint {
  font-weight: 400;
  opacity: 0.75;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  position: relative;
}
.chips input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
}
.chips span {
  display: inline-block;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
textarea,
select,
input[type="text"],
input[type="email"],
input[type="search"] {
  font: inherit;
  color: inherit;
  width: 100%;
}
textarea {
  min-height: 160px;
  resize: vertical;
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  margin: 6px 0 18px;
}
.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
}
.f-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.f-more {
  display: inline-block;
  margin: 14px 0 6px;
  font-size: 15px;
}
.news-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.nb-form {
  display: grid;
  gap: 14px;
}
.work-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.work-cta .btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.site-foot .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-foot a {
  text-decoration: none;
}
.site-foot h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.f-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
}
.f-brand p {
  margin: 0;
  max-width: 36ch;
}
.f-small {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  padding-top: 24px;
  margin-top: 16px;
}
.tools {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  padding: 12px 0;
  font-size: 17px;
}
.fchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fchip {
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  cursor: pointer;
}
.count {
  margin: 0 0 12px;
  font-size: 14px;
}
.ep-hero .wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}
.ep-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.crumb {
  margin: 0 0 10px;
  font-size: 14px;
}
.crumb a {
  text-decoration: none;
}
.player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 24px 0 8px;
}
.play {
  width: 60px;
  height: 60px;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.player .pi-pause {
  display: none;
}
.player.on .pi-pause {
  display: block;
}
.player.on .pi-play {
  display: none;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
}
.wave i {
  flex: 1;
  height: calc(var(--h) * 1%);
  border-radius: 2px;
}
.pnote {
  font-size: 13px;
  margin: 0 0 20px;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.ep-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.notes h2 {
  margin: 0 0 14px;
}
.notes h2 + p {
  margin-top: 0;
}
.notes h2:not(:first-child) {
  margin-top: 44px;
}
.topics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topics a {
  display: inline-block;
  padding: 7px 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.transcript .tl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
}
.skel {
  display: block;
  height: 12px;
  width: var(--w);
  border-radius: 6px;
}
.tnote {
  font-size: 14px;
  margin: 18px 0 0;
}
.ep-aside {
  display: grid;
  gap: 20px;
}
.aside-card h3 {
  margin: 0 0 6px;
}
.aside-card p {
  margin: 0 0 14px;
}
.news-inline .ni-lead {
  margin: 0 0 10px;
}
.ni-row {
  display: flex;
  gap: 8px;
}
.ni-row input {
  flex: 1;
  min-width: 0;
}
.ep-aside .ni-row {
  flex-direction: column;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
}
.timeline h3,
.timeline p {
  margin: 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}
.steps h3,
.steps p {
  margin: 0;
}
.step-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-weight: 800;
}
.send-side h2 {
  margin: 0 0 18px;
}
.faq details {
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
}
.faq p {
  margin: 10px 0 0;
}
.kpis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kpis li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.formats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.format h3,
.format p {
  margin: 0;
}
.format h3 {
  margin-bottom: 8px;
}
.enq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.enq-form textarea {
  min-height: 110px;
}
.small {
  font-size: 15px;
}
.ph-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.post {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}
.post h3,
.post p {
  margin: 0;
}
.post-meta {
  margin-top: auto;
  font-size: 13px;
}
.post-feature h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
}
.page-head .fchips {
  margin-top: 26px;
}
@media (max-width: 1020px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
}
@media (max-width: 960px) {
  .s-sendpage .send-grid {
    grid-template-columns: 1fr;
  }
  .proof,
  .send-grid,
  .news-block,
  .hosts,
  .ep-layout,
  .enq-grid {
    grid-template-columns: 1fr;
  }
  .picks,
  .posts,
  .formats {
    grid-template-columns: 1fr 1fr;
  }
  .guests,
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .site-foot .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .ep-hero .wrap {
    grid-template-columns: 240px 1fr;
  }
}
@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }
  .head-ctas {
    display: none;
  }
  .sticky {
    display: flex;
  }
  .picks,
  .posts,
  .formats,
  .f-row {
    grid-template-columns: 1fr;
  }
  .ep {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }
  .ep-go {
    grid-column: 2;
    justify-self: start;
  }
  .stat {
    grid-template-columns: auto 1fr auto;
    row-gap: 6px;
  }
  .stat-num {
    grid-column: 2;
  }
  .stat-cta {
    grid-row: 1/3;
    grid-column: 3;
  }
  .host {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: start;
  }
  .host-pic {
    width: 110px;
    height: 110px;
  }
  .hosts-big .host {
    grid-template-columns: 1fr;
  }
  .ep-hero .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ep-art {
    max-width: 220px;
  }
  .s-head:has(.s-head-btn) {
    display: block;
  }
  .s-head-btn {
    display: none;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .site-foot .wrap {
    grid-template-columns: 1fr;
  }
  .guests {
    grid-template-columns: 1fr 1fr;
  }
  .kpis {
    grid-template-columns: 1fr;
  }
  .ni-row {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================
   PART 2: THE LOOK (Design A)
   ========================================================== */

:root {
  --book: #1c3f94;
  --book-deep: #142f72;
  --ink: #0f1a3c;
  --paper: #fbfcfe;
  --rule: #d5e0f1;
  --pen: #d3202f;
  --chevron: #ffc72c;
  --muted: #4a5677;
  --red-book: #c8323b;
  --green-book: #1f7a4d;
  --yellow-book: #e9b520;
  --hand: "Gochi Hand", cursive;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
:focus-visible {
  outline: 3px solid var(--chevron);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-variation-settings: "wdth" 75;
}
.btn {
  border-radius: 999px;
}
.btn-solid {
  background: var(--ink);
  color: #fff;
}
.btn-solid:hover {
  background: var(--book);
}
.btn-ghost,
.btn-line {
  border-color: currentColor;
  background: transparent;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
/* header */
.site-head {
  background: var(--book);
  color: #fff;
}
.site-head .wrap {
  height: 76px;
}
.brand img {
  height: 36px;
  width: auto;
}
.nav a {
  font-weight: 500;
  font-size: 15px;
  opacity: 0.9;
}
.nav a:hover,
.nav a.on {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--chevron);
}
.site-head .btn-solid {
  background: #fff;
  color: var(--ink);
}
.site-head .btn-solid:hover {
  background: var(--chevron);
}
.site-head .btn {
  padding: 10px 18px;
}
.menu-btn {
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
}
.drawer {
  background: var(--book-deep);
}
.drawer .btn {
  background: #fff;
  color: var(--ink);
}
/* hero */
.hero {
  background: var(--book);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 32px 0 88px;
}
.hero::before,
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 8%,
      rgba(255, 255, 255, 0.07),
      transparent 42%
    ),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.018) 0 2px,
      transparent 2px 6px
    );
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
}
.label {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 20px 6px;
  max-width: 360px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
  margin: 0;
}
.label div {
  display: flex;
  gap: 12px;
  align-items: baseline;
  border-bottom: 1.5px solid var(--rule);
  padding: 4px 0 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.label div:last-child {
  border-bottom: 0;
}
.label dt {
  width: 58px;
  flex: none;
}
.label dd {
  margin: 0;
  font-family: var(--hand);
  font-size: 21px;
  color: var(--ink);
  line-height: 1.15;
}
.label-sm {
  display: inline-block;
  padding: 6px 18px 2px;
}
.hero h1 {
  font-weight: 900;
  font-variation-settings: "wdth" 62;
  font-size: clamp(60px, 9.6vw, 136px);
  line-height: 0.86;
  margin: 28px 0 20px;
}
.hero h1 span {
  display: block;
}
.hero .lede {
  font-size: 20px;
  line-height: 1.5;
  max-width: 32ch;
  margin: 0 0 28px;
  color: #dce5fa;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.hero .btn-solid {
  background: #fff;
  color: var(--ink);
}
.hero .btn-solid:hover {
  background: var(--chevron);
}
.also {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c9d6f5;
}
.icon-link {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.icon-link:hover {
  background: rgba(255, 255, 255, 0.24);
}
.news-inline {
  margin-top: 28px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 16px;
}
.ni-lead {
  font-size: 15px;
}
.ni-lead span {
  color: #c9d6f5;
}
.news-inline input {
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 0;
  color: var(--ink);
  background: #fff;
}
.news-inline .done {
  font-family: var(--hand);
  font-size: 24px;
  color: var(--chevron);
}
.latest {
  position: relative;
}
.latest-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 14px;
  transform: rotate(1.2deg);
  box-shadow: 0 30px 60px -20px rgba(5, 15, 50, 0.55);
}
.latest-card img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.lc-meta {
  padding: 16px 6px 6px;
}
.lc-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.lc-meta h2 {
  font-size: 22px;
  line-height: 1.2;
  font-variation-settings: "wdth" 85;
  font-weight: 800;
  margin: 4px 0 14px;
}
.note-new {
  position: absolute;
  z-index: 2;
  top: -52px;
  left: -80px;
  margin: 0;
  font-family: var(--hand);
  font-size: 28px;
  line-height: 1;
  color: var(--chevron);
  transform: rotate(-8deg);
}
.note-new svg {
  display: block;
  margin: 4px 0 0 60px;
}
/* page head */
.page-head {
  background: var(--book);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 44px 0 64px;
}
.page-head .wrap {
  position: relative;
}
.page-head h1 {
  font-weight: 900;
  font-variation-settings: "wdth" 62;
  font-size: clamp(52px, 7.4vw, 104px);
  line-height: 0.9;
  margin: 22px 0 16px;
  max-width: 15ch;
}
.page-head .lede {
  font-size: 19px;
  color: #dce5fa;
  max-width: 56ch;
  margin: 0;
}
.page-head .btn-solid {
  background: #fff;
  color: var(--ink);
}
.page-head .btn-ghost {
  color: #fff;
}
.tools .search {
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0 20px;
}
.page-head .fchip {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}
.page-head .fchip.on {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
/* sections */
.s {
  padding: 96px 0;
}
.s h2,
.news-block h2,
.work-cta h2,
.send-side h2 {
  font-weight: 900;
  font-variation-settings: "wdth" 68;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 0.95;
  margin: 0;
}
.s-head p {
  color: var(--muted);
  font-size: 18px;
}
.send-side h2 {
  font-size: 32px;
}
/* register */
.stats {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}
.stats li + li .stat {
  border-top: 1.5px solid var(--rule);
}
.stat {
  padding: 14px 24px;
}
.stat:hover {
  background: #f3f6fc;
}
.stat-name b {
  font-size: 17px;
}
.stat-name small {
  color: var(--muted);
  font-size: 14px;
}
.stat-num strong {
  font-weight: 900;
  font-variation-settings: "wdth" 70;
  font-size: 30px;
  line-height: 1;
}
.stat-num small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.here {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 22px;
  line-height: 1;
}
.stat-cta > span:last-child {
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 6px;
}
.feature-note {
  background: #fff;
  border-left: 4px solid var(--book);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
}
.fn-kicker {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 22px;
  margin: 0 0 6px;
}
.feature-note strong {
  display: block;
  font-variation-settings: "wdth" 85;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.feature-note p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
}
.feature-note a {
  font-weight: 700;
  font-size: 15px;
}
/* start here books */
.s-start {
  background: #eef2fa;
}
.pick {
  position: relative;
  border-radius: 6px 14px 14px 6px;
  padding: 22px 22px 24px 34px;
  color: #fff;
  min-height: 330px;
  box-shadow: 0 18px 30px -18px rgba(15, 26, 60, 0.6);
  transition: transform 0.2s ease;
}
.pick::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0, 0, 0, 0.18);
}
.pick-1 {
  background: var(--red-book);
  transform: rotate(-1deg);
}
.pick-2 {
  background: var(--green-book);
  transform: rotate(0.6deg);
}
.pick-3 {
  background: var(--yellow-book);
  color: var(--ink);
  transform: rotate(-0.4deg);
}
.pick:hover {
  transform: translateY(-4px) rotate(0);
}
.pick-top {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 22px;
}
.pick-ep {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.pick-tag {
  font-family: var(--hand);
  font-size: 22px;
  line-height: 1.1;
}
.pick h3 {
  font-variation-settings: "wdth" 80;
  font-weight: 900;
  font-size: 27px;
  line-height: 1.08;
  margin-bottom: 12px;
}
.pick p {
  margin-bottom: 20px;
  font-size: 15px;
  opacity: 0.92;
}
.pick-go i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}
/* lined paper episode lists */
.s-latest,
.s-list,
.s-more {
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 35px,
      var(--rule) 35px 36px
    ),
    #fff;
  border-top: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
}
.s-latest .wrap,
.s-list .wrap,
.s-more .wrap {
  position: relative;
}
.s-latest .wrap::before,
.s-list .wrap::before,
.s-more .wrap::before {
  content: "";
  position: absolute;
  top: -96px;
  bottom: -96px;
  left: 140px;
  width: 2px;
  background: var(--pen);
  opacity: 0.75;
}
.s-latest .s-head,
.s-more .s-head,
.s-list .count,
.eps-more {
  padding-left: 140px;
}
.ep {
  grid-template-columns: 116px 1fr auto;
  padding: 22px 0;
}
.ep-num {
  font-weight: 900;
  font-variation-settings: "wdth" 62;
  font-size: 44px;
  line-height: 1;
  color: var(--book);
  text-align: right;
  padding-right: 6px;
  position: relative;
}
.ep-num .tick {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 32px;
}
.ep-kind {
  font-size: 13px;
  font-weight: 700;
  color: var(--pen);
}
.ep-body h3 {
  font-size: 22px;
  line-height: 1.25;
  font-variation-settings: "wdth" 85;
  font-weight: 800;
  max-width: 42ch;
}
.ep-body h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--pen);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ep-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 2px 0 6px;
}
.ep-sum {
  max-width: 64ch;
  color: #2b3658;
}
.btn-line {
  padding: 10px 18px;
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.count {
  color: var(--muted);
}
.empty {
  padding-left: 140px;
}
/* send */
.s-send {
  background: var(--book);
  color: #fff;
}
.s-send .s-head p,
.s-send .why {
  color: #dce5fa;
}
.why .ic {
  color: var(--chevron);
}
.send-form {
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 30px 32px 28px 56px;
  position: relative;
  box-shadow: 0 30px 60px -24px rgba(5, 15, 50, 0.6);
}
.s-send .send-form {
  transform: rotate(-0.5deg);
}
.send-form::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--pen);
  opacity: 0.7;
}
.chips span {
  border-radius: 999px;
  border: 2px solid var(--rule);
}
.chips input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chips input:focus-visible + span {
  outline: 3px solid var(--chevron);
  outline-offset: 2px;
}
textarea {
  font-size: 18px;
  line-height: 36px;
  border: 0;
  padding: 0 2px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 35px,
    var(--rule) 35px 36px
  );
  background-attachment: local;
}
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--chevron);
}
form:not(.news-inline) :is(select, input[type="text"], input[type="email"]) {
  font-size: 16px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  padding: 8px 2px;
  background: transparent;
  border-radius: 0;
}
.check input {
  accent-color: var(--book);
}
.f-submit small {
  color: var(--muted);
}
.send-form .done {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 28px;
}
.f-more {
  color: var(--book);
  font-weight: 600;
}
/* guests */
.guest {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 16px 18px;
}
.guest-name {
  font-variation-settings: "wdth" 80;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
}
.guest-role {
  font-size: 14px;
  color: var(--muted);
}
.guest-ep {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 20px;
  text-decoration: none;
  margin-top: 4px;
}
/* hosts */
.host-pic {
  border-radius: 16px;
  transform: rotate(-1.5deg);
  box-shadow: 0 18px 30px -18px rgba(15, 26, 60, 0.6);
  border: 6px solid #fff;
}
.host + .host .host-pic {
  transform: rotate(1.5deg);
}
.host h3 {
  font-variation-settings: "wdth" 80;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
}
.host-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 4px 0 10px !important;
}
.host p:last-child {
  color: #2b3658;
}
.hosts-big .host-pic {
  max-width: 420px;
}
/* work */
.s-work {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
}
.s-work p {
  color: #bfc9e6;
  margin: 12px 0 0;
  max-width: 52ch;
}
.s-work .btn-solid {
  background: #fff;
  color: var(--ink);
}
.s-work .btn-ghost {
  color: #fff;
}
/* newsletter slip */
.news-block {
  position: relative;
  border: 2px dashed var(--ink);
  border-radius: 6px;
  padding: 44px 48px;
  background: #fff;
}
.scissors {
  position: absolute;
  top: -15px;
  left: 36px;
  background: var(--paper);
  padding: 0 8px;
  font-size: 20px;
  line-height: 1;
}
.nb-text p {
  color: var(--muted);
  margin: 10px 0 0;
}
.news-block .done {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 26px;
}
/* footer and sticky */
.site-foot {
  background: var(--book-deep);
  color: #c9d4f2;
  padding: 56px 0 40px;
  font-size: 15px;
}
.site-foot h3 {
  color: #fff;
}
.site-foot a:hover {
  color: #fff;
  text-decoration: underline;
}
.f-small {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.sticky {
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(5, 15, 50, 0.6);
}
.sticky .btn-solid {
  background: #fff;
  color: var(--ink);
}
.sticky .btn-ghost {
  color: #fff;
}
/* episode page */
.ep-hero {
  background: var(--book);
  color: #fff;
  padding: 40px 0 64px;
  position: relative;
}
.ep-art {
  border-radius: 14px;
  border: 8px solid #fff;
  transform: rotate(-1.5deg);
  box-shadow: 0 30px 60px -20px rgba(5, 15, 50, 0.55);
}
.ep-hero h1 {
  font-weight: 900;
  font-variation-settings: "wdth" 70;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  margin: 6px 0 10px;
}
.ep-hero .ep-kind {
  color: var(--chevron);
}
.ep-hero .ep-meta,
.ep-hero .crumb {
  color: #c9d6f5;
}
.pnote {
  color: #afc0ec;
}
.play {
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}
.wave i {
  background: rgba(255, 255, 255, 0.3);
}
.wave i.done {
  background: var(--chevron);
}
.ptime {
  font-size: 14px;
  color: #dce5fa;
}
.pill {
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
}
.notes .big {
  font-size: 20px;
}
.topics a {
  border: 2px solid var(--rule);
  border-radius: 999px;
}
.topics a:hover {
  border-color: var(--ink);
}
.notes h3 {
  margin: 22px 0 10px;
}
.transcript {
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 35px,
      var(--rule) 35px 36px
    ),
    #fff;
  border: 1.5px solid var(--rule);
  padding: 18px 22px;
  border-radius: 4px;
}
.tl b {
  font-family: var(--hand);
  color: var(--pen);
  font-weight: 400;
  font-size: 20px;
}
.skel {
  background: #e3e9f5;
}
.tnote {
  color: var(--muted);
}
.aside-card {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 20px;
}
.send-card {
  background: var(--yellow-book);
  border-color: var(--yellow-book);
}
.aside-card .news-inline input {
  border: 2px solid var(--rule);
  border-radius: 999px;
  padding: 10px 14px;
}
.aside-card .done {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 22px;
}
/* about */
.timeline li {
  border-top: 1.5px solid var(--rule);
}
.tl-date {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 24px;
  line-height: 1.1;
}
.timeline h3 {
  font-variation-settings: "wdth" 80;
  font-weight: 900;
  font-size: 24px;
}
.timeline p {
  color: #2b3658;
}
.s-story {
  background: #fff;
}
/* send page */
.s-sendpage .send-form {
  transform: none;
}
.step-n {
  border-radius: 50%;
  border: 2px solid var(--pen);
  color: var(--pen);
  font-family: var(--hand);
  font-size: 24px;
  font-weight: 400;
}
.steps p {
  color: var(--muted);
}
.faq details {
  border-top: 1.5px solid var(--rule);
}
.faq p {
  color: var(--muted);
}
/* work page */
.kpis li {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 20px;
}
.kpis strong {
  font-weight: 900;
  font-variation-settings: "wdth" 65;
  font-size: 44px;
  line-height: 1;
  color: var(--book);
}
.kpis span {
  color: var(--muted);
}
.format {
  background: #fff;
  border-top: 4px solid var(--book);
  padding: 20px 4px 0;
}
.format h3 {
  font-variation-settings: "wdth" 80;
  font-weight: 900;
  font-size: 24px;
}
.format p {
  color: var(--muted);
}
.s-enquire {
  background: #eef2fa;
}
.enq-form {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
}
.enq-form textarea {
  border: 2px solid var(--rule);
  line-height: 1.5;
  padding: 10px;
  background: #fff;
}
.enq-form .done {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 24px;
}
/* blog */
.post {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 22px;
}
.post-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--red-book);
  color: #fff;
  border-color: var(--red-book);
  padding: 36px 40px;
  border-radius: 6px 14px 14px 6px;
}
.post-tag {
  font-family: var(--hand);
  color: var(--pen);
  font-size: 22px;
}
.post-feature .post-tag {
  color: #ffe7a0;
}
.post h3 {
  font-variation-settings: "wdth" 80;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
}
.post-feature h3 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.02;
  max-width: 24ch;
}
.post p {
  color: var(--muted);
}
.post-feature p {
  color: #fbe4e6;
  font-size: 18px;
  max-width: 60ch;
}
.post-meta {
  color: var(--muted);
}
.post-feature .post-meta {
  color: #fbe4e6;
}
.post:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--pen);
}
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .latest {
    max-width: 420px;
    margin: 0 8px 0 auto;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .site-head .wrap {
    height: 64px;
  }
  .brand img {
    height: 28px;
  }
  .hero {
    padding: 22px 0 64px;
  }
  .hero .label {
    display: none;
  }
  .hero h1 {
    margin-top: 8px;
    font-size: clamp(64px, 21vw, 96px);
  }
  .hero .lede {
    font-size: 18px;
  }
  .cta-row .btn-big {
    width: 100%;
  }
  .note-new {
    left: 0;
    top: -44px;
    font-size: 24px;
  }
  .note-new svg {
    margin-left: 24px;
  }
  .s {
    padding: 72px 0;
  }
  .s-latest .wrap::before,
  .s-list .wrap::before,
  .s-more .wrap::before {
    display: none;
  }
  .s-latest,
  .s-list,
  .s-more {
    background: #fff;
  }
  .s-latest .s-head,
  .s-more .s-head,
  .s-list .count,
  .eps-more,
  .empty {
    padding-left: 0;
  }
  .ep {
    /* Narrow number column on phones. Repeated here because the desktop
       rule in Part 2 would otherwise override the one in Part 1. */
    grid-template-columns: 56px 1fr;
    padding: 18px 0;
    border-bottom: 1.5px solid var(--rule);
  }
  .ep-num {
    font-size: 30px;
    text-align: left;
    border-right: 2px solid var(--pen);
    padding-right: 10px;
  }
  .ep-num .tick {
    width: 24px;
    left: auto;
    right: -12px;
    top: -16px;
  }
  .ep-body h3 {
    font-size: 19px;
  }
  .send-form {
    padding: 24px 18px 22px 34px;
  }
  .send-form::before {
    left: 20px;
  }
  .s-send .send-form {
    transform: none;
  }
  .news-block {
    padding: 36px 22px;
  }
  .post-feature {
    padding: 26px 22px;
  }
  .page-head h1 {
    font-size: clamp(46px, 14vw, 72px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pen path {
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
    animation: draw 0.9s ease-out 0.4s forwards;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
}

/* ==========================================================
   PART 3: ADDITIONS
   Things the real site needs that the design mock-ups did not.
   ========================================================== */

/* ---- Audio player ---- */
.player-wrap audio {
  display: block;
  width: 100%;
  margin: 24px 0 20px;
}
/* Once the script has switched on the styled player, the plain one
   (which no longer has its "controls" attribute) is hidden. */
.player-wrap audio:not([controls]) {
  display: none;
}
.wave {
  cursor: pointer;
  /* Lets a finger drag along the waveform without scrolling the page. */
  touch-action: none;
  border-radius: 4px;
}
.wave:focus-visible {
  outline: 3px solid var(--chevron);
  outline-offset: 6px;
}
.wave i {
  /* Clicks land on the waveform itself, not the individual bars. */
  pointer-events: none;
}
.ptime {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pctl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 22px;
}
.pbtn {
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.pbtn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.pspeed {
  min-width: 108px;
}

/* ---- Show notes on episode pages ---- */
.notes-body {
  overflow-wrap: anywhere;
}
.notes-body p,
.notes-body ul,
.notes-body ol {
  margin: 0 0 14px;
}
.notes-body > p:first-child {
  font-size: 20px;
}
.notes-body a {
  text-decoration-color: var(--pen);
  text-underline-offset: 3px;
}
.ep-hero .crumb a:hover {
  text-decoration: underline;
}
.ep-aside .btn-ghost {
  border-color: var(--ink);
}

/* ---- All episodes page ---- */
.s-list .eps-more .btn-ghost {
  border-color: var(--ink);
}
.s-list .eps-more .btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 720px) {
  .player {
    gap: 12px;
  }
  .play {
    width: 52px;
    height: 52px;
  }
}

/* Space under the big headings on episode pages. */
.notes h2 {
  margin-bottom: 18px;
}

/* ---- "Page not found" page ---- */
.nf-btns {
  margin-top: 0;
}

/* ---- A single blog post ---- */
.post-date {
  margin: 14px 0 0;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--chevron);
}
.prose {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05;
  margin: 44px 0 14px;
}
.prose h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
  margin: 32px 0 10px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 18px;
}
.prose li {
  margin-bottom: 6px;
}
.prose a {
  text-decoration-color: var(--pen);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--pen);
  font-size: 20px;
}
.prose img {
  border-radius: 8px;
  margin: 28px 0;
}
.post-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.post-foot .btn-ghost,
.s-blog .btn-ghost {
  border-color: var(--ink);
}

/* ---- Forms ---- */
/* The honeypot: a box hidden from people that spam robots fill in. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  margin: 12px 0 0;
  font-weight: 700;
  color: var(--pen);
}
/* Red does not show up on the blue hero, so use the yellow there. */
.hero .form-error {
  color: var(--chevron);
}

/* The small "how we use what you send" line under each form. */
.privacy-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.site-foot .f-small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The company details line at the very bottom of the footer. */
.f-legal {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}
