/* ==========================================================================
   Small Bow — redesign mockup
   Direction: The Believer — centered, sparse, illustration-forward.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;700;800&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  /* Small Bow's actual brand palette, pulled from thesmallbow.com */
  --paper: #f7f7f7;
  --paper-deep: #eeeeee;
  --ink: #0a0a0a;
  --ink-soft: #4a4a4a;
  --rule: #e0e0e0;
  --red: #ff0000;
  --red-deep: #cc0000;
  --gold: #fff700;
  --white: #ffffff;
  --max: 760px;
  --max-wide: 1040px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; }

.eyebrow{
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--wide{ max-width: var(--max-wide); }

/* ---------- Header ---------- */
.site-header{
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner{
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo svg{ width: 26px; height: 26px; flex-shrink: 0; }
.logo img{
  height: 32px;
  width: auto;
  filter: invert(1);
}

.nav{
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.nav a{
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a.is-active{
  color: var(--ink);
  border-bottom-color: var(--red);
}
.nav a.is-active{ color: var(--red-deep); }

.nav-actions{
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
}
.btn{
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary{ background: var(--red); color: var(--white); }
.btn--primary:hover{ background: var(--red-deep); }
.btn--ghost{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover{ background: var(--ink); color: var(--paper); }
.btn--small{ padding: 8px 16px; font-size: 13px; }

.signin-link{
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
}

.hamburger{ display: none; }

/* ---------- Icon rail (desktop nav, Believer-style) ---------- */
.icon-rail{
  display: none;
}
@media (min-width: 861px){
  body{ padding-left: 72px; }
  .site-header{ display: none; }
  .icon-rail{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 72px;
    height: 100vh;
    background: var(--ink);
    z-index: 70;
    padding: 18px 0 20px;
  }
  .icon-rail__logo{
    color: var(--white);
    display: flex;
    margin-bottom: 28px;
  }
  .icon-rail__logo svg{ width: 30px; height: 30px; }
  .icon-rail__nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .icon-rail__link{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #bfbfbf;
    text-decoration: none;
    cursor: pointer;
  }
  .icon-rail__link svg{ width: 22px; height: 22px; }
  .icon-rail__link span{
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .icon-rail__link:hover, .icon-rail__link.is-active{ color: var(--red); }
  .icon-rail__about img{
    width: 22px;
    height: 22px;
    object-fit: cover;
    object-position: 55% 60%;
    border-radius: 50%;
    background: var(--white);
  }
  .icon-rail__subscribe{ margin-top: auto; color: var(--gold); }
  .icon-rail__subscribe:hover{ color: var(--white); }
}

/* ---------- Nav drawer (desktop "Menu" + mobile hamburger) ---------- */
.nav-drawer-toggle{ display: none; }
.nav-drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.nav-drawer{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 260px;
  background: var(--white);
  z-index: 90;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  font-family: 'Inter', sans-serif;
}
.nav-drawer a{
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.nav-drawer a:hover{ color: var(--red); }
.nav-drawer__signin{ margin-top: auto; color: var(--ink-soft) !important; font-weight: 500; }
.nav-drawer__close{
  align-self: flex-end;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  margin-bottom: 8px;
}
.nav-drawer-toggle:checked ~ .nav-drawer-backdrop{ opacity: 1; pointer-events: auto; }
.nav-drawer-toggle:checked ~ .nav-drawer{ transform: translateX(0); }

/* ---------- Hero — the big splashy mission + signup ---------- */
.hero{
  background: var(--ink) url('assets/hero-bg.jpg') center / cover no-repeat;
  color: var(--white);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero__logo{
  height: 30px;
  width: auto;
  position: absolute;
  top: 24px;
  left: 28px;
}
@media (max-width: 860px){ .hero__logo{ display: none; } }
.hero__subscribe-pill{
  position: absolute;
  top: 20px;
  right: 24px;
}
@media (max-width: 860px){ .hero__subscribe-pill{ display: none; } }
.hero__inner{
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.hero__illustration{
  width: 240px;
  margin: 0 auto 12px;
}
@media (max-width: 500px){ .hero__illustration{ width: 190px; } }
.hero__eyebrow{ color: var(--gold); }
.hero__title{
  font-size: 34px;
  line-height: 1.3;
  font-weight: 500;
  margin: 12px 0 28px;
}
.hero__signup-form{ margin-bottom: 14px; }
.hero__fineprint{
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #bfbfbf;
  margin: 0;
}

/* ---------- Book section — directly beneath the hero ---------- */
.book-section{ padding: 68px 24px; border-bottom: 1px solid var(--rule); }
.book-section__inner{
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.book-section__cover{
  width: 200px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
  flex-shrink: 0;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.4);
}
.hero__ctas{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 700px){ .hero__ctas{ justify-content: center; } }
.book-section__title{
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 34px;
  line-height: 1.15;
  margin: 12px 0 10px;
  font-weight: 700;
}
.book-section__sub{
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 50ch;
}
.book-section__by{
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 16px 0 0;
}
@media (max-width: 700px){
  .book-section__inner{ grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- Section shell ---------- */
section{ padding: 72px 0; }
.section--tight{ padding: 48px 0; }
.section--rule-top{ border-top: 1px solid var(--rule); }
.section--paper-deep{ background: var(--paper-deep); }

.section-head{
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2{
  font-size: 30px;
  font-weight: 500;
  margin: 8px 0 0;
}
.section-head p{
  font-family: 'Inter', sans-serif;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 52ch;
  margin: 12px auto 0;
}

/* ---------- Mission ---------- */
.mission{
  text-align: center;
  padding: 64px 0 40px;
}
.mission h1{
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 640px;
  margin: 14px auto 0;
}

/* ---------- Illustration placeholder (commission slot, not a mockup) ---------- */
.illustration-slot{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  border: 1.5px dashed var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
  font-family: 'Inter', sans-serif;
  color: var(--ink-soft);
  background: rgba(255,253,248,0.4);
}
.illustration-slot strong{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-deep);
}
.illustration-slot span{ font-size: 12.5px; max-width: 34ch; line-height: 1.4; }

/* ---------- Newsletter strip ---------- */
.signup-strip{
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 34px 0;
}
.signup-strip__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.signup-strip__copy{ font-family: 'Inter', sans-serif; }
.signup-strip__copy strong{ display: block; font-family: 'Roboto Slab', Georgia, serif; font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.signup-strip__copy span{ font-size: 13px; color: var(--ink-soft); }

.signup-form{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"]{
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  min-width: 240px;
}
.signup-form input[type="email"]:focus{ outline: 2px solid var(--red); outline-offset: 1px; }

/* ---------- Three-up cards ---------- */
.trio{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.chip{
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 3px;
}
.trio__item .chip{ margin-bottom: 12px; }
.trio__item h3{ font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.trio__item p{ font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Archive grid (Believer-style: image-led cards, bold slab titles) ---------- */
.archive-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
  max-width: var(--max-wide);
  margin: 0 auto;
}
.archive-card{ text-decoration: none; color: var(--ink); display: block; }
.archive-card__img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 14px;
  background: var(--paper-deep);
}
.archive-card__title{
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.archive-card:hover .archive-card__title{ color: var(--red); }
.archive-card__by{
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.toc-more{ text-align: center; margin-top: 40px; }
.toc-more a{ font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); }

/* ---------- Podcast (reduced footprint) ---------- */
.podcast-row{
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--white);
}
.podcast-row__art{
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--ink);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.podcast-row__art svg{ width: 26px; height: 26px; }
.podcast-row__body{ flex: 1; min-width: 0; }
.podcast-row__body .eyebrow{ margin-bottom: 3px; }
.podcast-row__body h3{ font-size: 16px; font-weight: 600; margin: 0 0 3px; }
.podcast-row__body p{ font-family: 'Inter', sans-serif; font-size: 13px; color: var(--ink-soft); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podcast-row__cta{ font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--ink); }

/* ---------- Pull quotes ---------- */
.quote-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  max-width: var(--max-wide);
  margin: 0 auto;
}
.quote{
  text-align: center;
}
.quote blockquote{
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 12px;
  font-style: italic;
}
.quote cite{
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Divider illustration ---------- */
.divider{
  display: flex;
  justify-content: center;
  padding: 8px 0 0;
}
.divider svg{ width: 90px; height: auto; opacity: 0.85; }
.divider--illustration{
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 0 0;
}
.divider--illustration img{ width: 240px; }
.illustration-caption{
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  max-width: 34ch;
}

/* ---------- Podcast section illustration callout ---------- */
.podcast-callout{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}
.podcast-callout img{ width: 220px; }

/* ---------- Support ---------- */
.support{
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.support p{ color: var(--ink-soft); font-family: 'Inter', sans-serif; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--rule);
  padding: 48px 0 36px;
  font-family: 'Inter', sans-serif;
}
.site-footer__inner{
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer nav{ display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.site-footer nav a{ text-decoration: none; color: var(--ink-soft); }
.site-footer nav a:hover{ color: var(--ink); }
.site-footer__signup strong{ display: block; font-family: 'Roboto Slab', Georgia, serif; font-size: 15px; margin-bottom: 8px; }
.site-footer__meta{
  max-width: var(--max-wide);
  margin: 28px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Book landing page ---------- */
.book-hero{
  padding: 60px 0 48px;
}
.book-hero__inner{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.book-hero__cover{
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--rule);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.4);
}
.book-hero__title{
  font-size: 44px;
  line-height: 1.1;
  font-weight: 600;
  margin: 10px 0 6px;
}
.book-hero__by{
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.book-hero__hook{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 26px;
}
.book-hero__ctas{ display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.book-hero__pubdate{ font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--ink-soft); }

.description{
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}
.description p:first-of-type::first-letter{
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 58px;
  font-weight: 600;
  float: left;
  line-height: 0.8;
  padding: 6px 8px 0 0;
  color: var(--red-deep);
}
.description p{ margin: 0 0 20px; }

.review-list{
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.review-list li{
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.review-list p{ margin: 0 0 8px; font-size: 17px; }
.review-list cite{
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.placeholder-flag{
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold);
  color: #3a2c0a;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .nav{ display: none; }
  .signin-link{ display: none; }
  .site-header__inner{ gap: 12px; }
  .hamburger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: none;
  }
  .hero__inner{ grid-template-columns: 120px 1fr; }
  .hero__aside{ display: none; }
  .hero__cover{ width: 120px; }
  .quote-grid{ grid-template-columns: 1fr; }
  .trio{ grid-template-columns: 1fr; gap: 36px; }
  .book-hero__inner{ grid-template-columns: 1fr; text-align: center; }
  .book-hero__cover{ width: 200px; margin: 0 auto; }
  .book-hero__hook{ margin-left: auto; margin-right: auto; }
  .book-hero__ctas{ justify-content: center; }
  .site-footer__inner{ flex-direction: column; }
}

@media (max-width: 520px){
  body{ font-size: 16.5px; }
  .hero{ padding: 40px 0 44px; }
  .hero__inner{ grid-template-columns: 1fr; text-align: center; }
  .hero__cover{ margin: 0 auto; }
  .hero__ctas{ justify-content: center; }
  .mission h1{ font-size: 26px; }
  section{ padding: 52px 0; }
}
