/* ============================================================
   FEMALE PRIVILEGE: one stylesheet for the whole site

   Every page links to this file in its <head>:
     <link rel="stylesheet" href="style.css">
   (pages inside a folder, like blog posts, use "../style.css")

   HOW IT'S ORGANIZED
     1. Colors & fonts
     2. Basics
     3. Little reusable pieces (label strip, star break, doodles)
     4. Page header (the green-paper hero on inside pages)
     5. Navigation
     6. Lace divider
     7. Footer
     8. HOMEPAGE
     9. BLOG
    10. ZINES
    11. BLOG POSTS
    12. BOOK CLUB

   Each section keeps its own phone/tablet rules right underneath it,
   so everything about one thing lives in one place.
   ============================================================ */


/* ============================================================
   1. COLORS & FONTS: change these and the whole site follows
   ============================================================ */
:root {
  /* Brand colors */
  --ceramic:    #F3E7D8;
  --slate:      #525252;
  --terracotta: #D95D39;
  --terra-deep: #AF4424;
  --peony:      #EC709A;
  --peony-ink:  #A93761;
  --yolk:       #F3A732;
  --lime:       #C7B65D;

  /* Helpers */
  --ink:        #2B2A29;   /* label-maker black */
  --paper:      #FFFDF9;   /* photo-print white */

  /* Fonts */
  --display: 'Averia Serif Libre', Georgia, serif;
  --script:  'Homemade Apple', cursive;
  --body:    'Open Sans', sans-serif;
  --mono:    'Courier Prime', 'Courier New', monospace;

  /* Spacing */
  --section-space: 52px;

  /* The 10-point starburst shape */
  --burst: polygon(50% 0%, 57.4% 27.2%, 79.4% 9.5%, 69.4% 35.9%, 97.6% 34.5%, 74% 50%, 97.6% 65.5%, 69.4% 64.1%, 79.4% 90.5%, 57.4% 72.8%, 50% 100%, 42.6% 72.8%, 20.6% 90.5%, 30.6% 64.1%, 2.4% 65.5%, 26% 50%, 2.4% 34.5%, 30.6% 35.9%, 20.6% 9.5%, 42.6% 27.2%);
}


/* ============================================================
   2. BASICS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }   /* stops the tilted film strip causing sideways scroll */

body {
  margin: 0;
  background: var(--ceramic);
  color: var(--slate);
  font-family: var(--body);
}

/* Hides something on screen but keeps it for search engines and screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ============================================================
   3. LITTLE REUSABLE PIECES
   ============================================================ */

/* ---------- Label-maker strip ----------
   Black embossed tape with cream letters. Used for
   "Me in a few GIFs", "Back issues", and anywhere else:
   <h2 class="label-strip">Your words</h2> */
.label-strip {
  width: fit-content;
  margin: 0 auto;
  padding: 6px 16px 5px;
  background: var(--ink);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 4px rgba(0, 0, 0, 0.25);
  transform: rotate(-1.5deg);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ceramic);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);   /* gives the letters a pressed-in look */
}

/* ---------- Three little stars between sections ----------
   <hr class="star-break"> */
.star-break {
  margin: 64px 0;
  border: 0;
  text-align: center;
}
.star-break::after {
  content: "✷  ✷  ✷";
  color: var(--terracotta);
  letter-spacing: 0.4em;
}
@media (max-width: 520px) {
  .star-break { margin: 48px 0; }
}

/* ---------- Hand-drawn doodles ----------
   Wrap words in a span: <span class="doodle-squiggle">words</span> */

/* Wavy underline */
.doodle-wavy {
  text-decoration: underline wavy var(--peony);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Squiggle: a loopier, bouncier underline */
.doodle-squiggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5 C5 0 10 0 10 5 S15 10 20 5 S25 0 30 5 S35 10 40 5' fill='none' stroke='%23EC709A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 28px 10px;
  padding-bottom: 9px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;   /* keeps the squiggle on every line if it wraps */
}

/* Swoosh: one confident marker stroke under a word */
.doodle-swoosh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 45 7, 110 9, 197 6' fill='none' stroke='%23F3A732' stroke-width='3.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M14 16 C 70 11, 130 13, 186 10' fill='none' stroke='%23F3A732' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.55em;
  padding-bottom: 4px;
}

/* Circled: a loose hand-drawn loop around a word or short phrase */
.doodle-circle {
  position: relative;
  display: inline-block;
  padding: 0 0.15em;
  margin: 0 0.3em;
}
.doodle-circle::before {
  content: "";
  position: absolute;
  inset: -0.35em -0.55em -0.3em -0.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M118 9 C 60 2, 12 16, 8 40 C 5 64, 60 76, 112 73 C 168 70, 196 54, 192 34 C 188 12, 140 3, 82 8 C 62 10, 46 14, 38 19' fill='none' stroke='%23D95D39' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}

/* Highlighter: a sloppy marker swipe behind the words */
.doodle-highlight {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 12 C 50 6, 140 9, 196 7 L 194 33 C 140 35, 60 31, 6 34 Z' fill='%23F3A732' fill-opacity='0.45'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 75%;
  background-position: 0 75%;
  padding: 0 0.2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* Strike: a scribbly cross-out */
.doodle-strike {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 12 C 50 8, 120 13, 198 7' fill='none' stroke='%23D95D39' stroke-width='2.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 100% 0.6em;
}


/* ============================================================
   4. PAGE HEADER: the green-paper hero on inside pages
      (blog, zines, book club). The homepage has its own, in section 8.
   ============================================================ */
.page-hero {
  position: relative;                 /* lets the logo sit inside the header */
  min-height: 25vh;
  padding: 139px 20px 98px;           /* the bottom leaves room for the lace */
  text-align: center;
  background: url("img/green-paper-2.png") center / cover no-repeat;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* The star logo, centered at the top. Shared with the homepage. */
.hero-logo {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 90px;                        /* logo size */
  transform: translateX(-50%);
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
a.hero-logo:hover img,
a.hero-logo:focus-visible img { transform: rotate(36deg); }   /* one point's turn */

.hero-title {
  margin: 0;
  padding: 12px 20px 2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 3.75rem);   /* about 60px on desktop */
  line-height: 1;
  color: var(--ceramic);
}

.hero-subhead {
  margin: 10px 0 32px;
  font-family: var(--script);
  font-size: 16px;
  color: var(--ceramic);
}

@media (max-width: 520px) {
  .page-hero { padding: 110px 16px 80px; }
  .hero-logo { top: 22px; width: 64px; }
}


/* ============================================================
   5. NAVIGATION: the brass label PNGs
   ============================================================ */
.tape-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tape-nav a {
  display: block;
  transition: transform 0.25s ease;
}
.tape-nav img {
  display: block;
  height: 90px;                       /* size of each label. Width follows */
  width: auto;
}

/* --- On the green paper (inside pages) --- */
.page-hero .tape-nav { gap: 8px 16px; }
.page-hero .tape-nav img { filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35)); }
.page-hero .tape-nav a:hover,
.page-hero .tape-nav a:focus-visible { transform: translateY(-2px); }

@media (max-width: 520px) {
  .page-hero .tape-nav {              /* a neat 2 x 2 instead of 3 + 1 */
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 8px 10px;
  }
  .page-hero .tape-nav img { height: 52px; }
}

/* --- On the cream page (homepage) --- */
.intro .tape-nav {
  gap: 2px;
  margin: 16px 0 var(--section-space);
}
.intro .tape-nav img { filter: drop-shadow(0 1px 2px rgba(82, 82, 82, 0.25)); }
.intro .tape-nav a:hover,
.intro .tape-nav a:focus-visible { transform: translateY(-1px); }

@media (max-width: 480px) {
  .intro .tape-nav { gap: 10px 12px; }
  .intro .tape-nav img { height: 40px; }
}


/* ============================================================
   6. LACE DIVIDER
   ============================================================ */
.divider {
  position: relative;
  z-index: 2;
  height: 60px;                       /* match roughly to your PNG's height */
  margin-top: -36px;                  /* pulls it up to overlap the hero's bottom edge */
  background: url("img/div-lace.png") repeat-x bottom left / auto 100%;
}


/* ============================================================
   7. FOOTER
   ============================================================ */
footer {
  border-top: 1.5px dotted #999;
  padding: 22px 8px;
  text-align: center;
  font-family: var(--display);
  font-size: 0.8rem;
}


/* ============================================================
   8. HOMEPAGE
   ============================================================ */

/* ---------- Big photo hero ---------- */
.hero {
  position: relative;
  min-height: 75vh;                   /* how tall the photo section is */
  padding: 48px 20px 120px;
  background: url("img/hero-image-photo.png") center / cover no-repeat;
}

@media (max-width: 560px) {
  .hero { min-height: 70vh; }
}

/* ---------- Title, subhead & nav ---------- */
.intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px 0;
  text-align: center;
}

.intro-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 3.75rem);   /* matches the inside pages */
  line-height: 1;
  color: var(--terracotta);
}

.intro-subhead {
  margin: 1px 0 0;
  font-family: var(--script);
  font-style: italic;
  font-size: 16px;
  color: var(--slate);
}

/* ---------- Updates + about me, side by side ---------- */
.home-body {
  display: grid;
  grid-template-columns: 1fr 1fr;     /* two equal columns */
  gap: 30px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto var(--section-space);
  padding: 1px 34px 0;
}

/* The typewriter paper */
.scrap-paper {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1200 / 1500;          /* your PNG's width / height in pixels */
  padding: 5% 17% 30% 25%;            /* keeps the text inside the paper (top, right, bottom, left) */
  background: url("img/typewriter.png") center / 100% 100% no-repeat;
  transition: transform 0.25s ease;
}
.scrap-paper:hover { transform: rotate(1deg) translateY(-2px); }

.updates-title {
  margin: 0.83em 0;
  font-family: var(--mono);
  font-size: 1rem;
  text-align: left;
}

/* The list of updates. It scrolls if you add lots of them. */
.updates {
  max-height: 336px;                  /* raise this to show more */
  overflow-y: auto;
  margin: 0;
  padding: 0 6px 0 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
}
.updates li { margin: 0; }
.updates time {
  margin-right: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* About me */
.home-about h2 {
  margin: 10px 0 3px;
  font-family: var(--script);
  font-weight: 700;
  font-size: 31px;
  letter-spacing: 0.02em;
  text-align: center;
}
.home-about p {
  margin: 0 0 1em;
  font-size: 12px;
  line-height: 1.75;
  text-align: justify;
}

@media (max-width: 760px) {
  .home-body { grid-template-columns: 1fr; }
  .scrap-wrap { max-width: 460px; width: 100%; margin: 0 auto; }
}

/* ---------- Film strip of GIFs ---------- */
.gif-window {
  max-width: 852px;
  margin: 72px auto 48px;
}
.gif-window .label-strip { margin-bottom: 18px; }

.gif-marquee {
  overflow: hidden;
  background: #26221F;                /* film black */
  transform: rotate(-1deg);           /* laid on the page slightly crooked */
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.55);
  width: 104vw;
  margin-left: calc(50% - 52vw);      /* runs past both edges of the screen */
}

.gif-track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 30px 0;                    /* the black edges where the holes go */
  list-style: none;
  animation: gif-scroll 40s linear infinite;

  /* Sprocket holes along the top and bottom edges */
  background-image:
    linear-gradient(90deg, transparent 6px, var(--ceramic) 6px 18px, transparent 18px),
    linear-gradient(90deg, transparent 6px, var(--ceramic) 6px 18px, transparent 18px);
  background-size: 24px 11px;         /* one hole every 24px */
  background-repeat: repeat-x;
  background-position: 0 10px, 0 calc(100% - 10px);
}
.gif-marquee:hover .gif-track { animation-play-state: paused; }

/* Each frame. Image width + margin should add up to a multiple of 24
   so the holes line up when the loop restarts. */
.gif-item {
  flex-shrink: 0;
  margin-right: 12px;
}
.gif-item img {
  display: block;
  width: 117px;
  height: 87px;
  object-fit: cover;                  /* crops each GIF to fill the frame */
  object-position: center;            /* which part to keep: try "top" for faces */
  border-radius: 3px;
}

@keyframes gif-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Phones: smaller frames (108 + 12 = 120, a multiple of 24) */
@media (max-width: 600px) {
  .gif-item img { width: 108px; height: 80px; }
  .gif-track {
    padding: 24px 0;
    background-size: 24px 9px;
    background-position: 0 8px, 0 calc(100% - 8px);
  }
}


/* ============================================================
   9. BLOG
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.post {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Each cover as a little photo print */
.post img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 8px;                       /* the photo-paper border */
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 8px 18px -10px rgba(82, 82, 82, 0.55);
  transform: rotate(-1deg);
  transition: transform 0.25s ease;
}
.post:nth-child(even) img { transform: rotate(1deg); }
.post:hover img,
.post:focus-visible img { transform: rotate(0deg) translateY(-3px); }

.post h2 {
  margin: 14px 0 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--terracotta);
  text-transform: uppercase;
}

.post p {
  margin: 0;
  font-family: var(--script);
  font-size: 0.77rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .post-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   10. ZINES
   ============================================================ */
.zines {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

/* ---------- Featured zine: text left, cover right ---------- */
.zine-featured {
  display: grid;
  grid-template-columns: 1fr 340px;   /* text column : cover column */
  gap: 56px;
  align-items: center;
}

.zine-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zine-featured h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.1;
  color: var(--terracotta);
}

.zine-blurb {
  margin: 14px 0 10px;
  font-size: 14px;
  line-height: 1.75;
}

.zine-details {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

/* The cover, as a physical object on the table */
.zine-cover {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 16px 26px -14px rgba(82, 82, 82, 0.6);
}
.zine-featured .zine-cover { transform: rotate(3deg); }

/* ---------- The download button ---------- */
.zine-button {
  display: inline-block;
  padding: 10px 20px 9px;
  background: var(--terracotta);
  color: var(--ceramic);
  border-radius: 3px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--peony);   /* a little "pressable" edge */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.zine-button:hover,
a.zine-button:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--slate);
}
.zine-button:focus-visible { outline: 2px dashed var(--slate); outline-offset: 4px; }

/* "Coming soon": looks like a button but isn't clickable yet */
.zine-button.is-soon {
  background: var(--slate);
  box-shadow: 0 3px 0 var(--ink);
  cursor: default;
}

/* ---------- Back issues ---------- */
.zines .label-strip { margin: 64px auto 27px; }

.zine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 43px;
  align-items: start;
}

.zine-card { text-align: center; }
.zine-card .zine-cover { margin-bottom: 18px; }
.zine-card:nth-child(odd) .zine-cover  { transform: rotate(-2deg); }
.zine-card:nth-child(even) .zine-cover { transform: rotate(2deg); }

.zine-card h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--terracotta);
}
.zine-card .zine-details { margin: 6px 0 14px; }
.zine-card .zine-button { font-size: 0.75rem; padding: 8px 16px 7px; }

@media (max-width: 760px) {
  .zine-featured { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .zine-featured .zine-cover-wrap { order: -1; max-width: 280px; margin: 0 auto; }   /* cover on top */
  .zine-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 420px) {
  .zine-grid { grid-template-columns: 1fr; }
  .zine-card .zine-cover-wrap { max-width: 240px; margin: 0 auto; }
}


/* ============================================================
   11. BLOG POSTS (the files inside the blog/ folder)
   ============================================================ */

/* ---------- Small header: just the star, linking home ---------- */
.site-header {
  padding: 32px 24px 8px;
  text-align: center;
}
.home-star {
  display: block;
  width: fit-content;
  margin: 0 auto 12px;
}
.home-star img {
  display: block;
  width: 48px;
  height: auto;
  transition: transform 0.4s ease;
}
.home-star:hover img,
.home-star:focus-visible img { transform: rotate(36deg); }

/* ---------- The post ---------- */
.post-page {
  max-width: 700px;                   /* a comfortable reading width */
  margin: 0 auto;
  padding: 32px 22px 76px;
}

.back {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  text-decoration: none;
}
.back:hover { color: var(--terracotta); }

/* Title area */
.post-meta {
  margin: 32px 0 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.post-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.1;
  color: var(--terracotta);
  text-transform: uppercase;
}
.post-subhead {
  margin: 5px 0 0;
  font-family: var(--script);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.7;
}

/* The writing itself */
.post-body {
  margin: 32px 0 10px;
  font-size: 1rem;
  line-height: 1.8;
}
.post-body p { margin: 0 0 1.6em; }

.post-body h2 {
  margin: 2.2em 0 0.5em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--terracotta);
}

.post-body a {
  color: var(--slate);
  text-decoration-color: var(--peony);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--terracotta); }

/* Pull quote */
.post-body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--yolk);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
}

/* Photo prints: any images in the post */
.print { margin: 36px 0; }
.print img {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  background: var(--paper);
  box-shadow: 0 10px 22px -12px rgba(82, 82, 82, 0.55);
  transform: rotate(-0.8deg);
}
.print:nth-of-type(even) img { transform: rotate(0.8deg); }
.print figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--script);
  font-size: 0.8rem;
  line-height: 1.8;
}

/* Spotify (or any) embed */
.post-body .embed {
  display: block;
  width: 100%;
  height: 152px;
  margin: 0 0 1.6em;
  border: 0;
  border-radius: 12px;
}

/* A side note: smaller, set off with a dotted line */
.post-body .footnote {
  padding-left: 22px;
  border-left: 2px dotted var(--terracotta);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Section breaks
   <hr>             three little stars
   <hr class="line">  a thin terracotta line */
.post-body hr {
  margin: 2.6em 0;
  border: 0;
  text-align: center;
}
.post-body hr::after {
  content: "✷  ✷  ✷";
  color: var(--terracotta);
  letter-spacing: 0.4em;
}
.post-body hr.line {
  width: 40%;
  margin: 3em auto;
  border-top: 2px solid var(--terracotta);
}
.post-body hr.line::after { content: none; }

/* End of post */
.post-end {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1.5px dotted #999;
  font-family: var(--script);
  font-size: 0.85rem;
  line-height: 1.8;
}
.post-end a { color: var(--terracotta); }
.post-end .back { display: inline-block; margin-top: 18px; }

  /* ============================================================
     12. THE BOOK CLUB
     ============================================================ */
  .guest-kicker {
    margin: 8 0 8px;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .guest-title {
    margin: 8 0 32px;
    text-align: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.6;
    color: var(--terracotta);
  }

  /* The board grows taller as you add books. */
  .pin-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));   /* cover size */
    gap: 30px 22px;
    margin: 0;
    padding: 26px 26px 26px;
    list-style: none;
    border: 16px solid transparent;                          /* frame thickness */
    border-image: url("img/board/bulletin-board.jpg") 3% 2% fill / 16px stretch;
    filter: drop-shadow(0 14px 18px rgba(82, 82, 82, 0.35));
  }

  .pin-board li {
    position: relative;
    transform: rotate(var(--tilt, -2deg));
  }
  /* A little variety so it looks pinned up by hand */
  .pin-board li:nth-child(3n)   { --tilt: 2.5deg; }
  .pin-board li:nth-child(4n+1) { --tilt: -1deg; }
  .pin-board li:nth-child(5n+2) { --tilt: 3deg; }
  .pin-board li:nth-child(7n)   { --tilt: -3.5deg; }

  .pin-board img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.55);
  }

  /* The pushpin. */
  .pin-board li::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: url("img/board/brass-pin.png") center / contain no-repeat;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.45);
  }

  /* Covers that link to a review get a little round "review" sticker */
  .pin-board a {
    position: relative;
    display: block;
    transition: transform 0.2s ease;
  }
  .pin-board a::after {
    content: "review";
    position: absolute;
    right: -10px;
    bottom: -10px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--peony);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    font-family: var(--mono);
    font-weight: 400;
    font-size: 0.6rem;
    color: #F3E7D8;
    transform: rotate(-12deg);
  }
  .pin-board a:hover,
  .pin-board a:focus-visible { transform: scale(1.06) rotate(1deg); }
  .pin-board a:focus-visible { outline: 2px dashed var(--ceramic); outline-offset: 4px; }


/* ============================================================
   LESS MOTION: for visitors who've asked their device for it
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .tape-nav a,
  .hero-logo img,
  .home-star img,
  .scrap-paper,
  .post img,
  .zine-button { transition: none; }
  .gif-track { animation: none; }
  .gif-marquee { overflow-x: auto; }
}
