/* ============================================================
   HEARTLINE FILMS — blog post layer (every page in blog/)
   Loaded after site.css. One job: make 3,000 words of reading
   on the dark ground feel effortless. Body copy lives in .prose
   (Libre Franklin); the mono face is reserved for the lab
   chrome around it — slates, metadata, the shot log, stamps.
   ============================================================ */

/* Calmer grain behind long reading copy. The homepage runs the
   shared 0.09; over paragraphs it reads as noise, so posts pull
   it back without killing the atmosphere. */
.grain { opacity: 0.05; }

/* ---------- breadcrumbs (mono strip above the slate) ---------- */
.crumbs {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 1.5rem;
}
.crumbs a {
  color: var(--bone-dim);
  text-decoration: none;
  display: inline-block;
  padding: 0.3rem 0; /* keep tap height honest */
}
.crumbs a:hover { color: var(--kodak); }
.crumb-sep { margin: 0 0.5rem; color: rgba(201, 183, 149, 0.45); }
.crumbs [aria-current="page"] { color: var(--amber); }

/* ---------- post head ---------- */
.post-head .page-head-title {
  max-width: 16em;
  font-size: clamp(2.2rem, 6.8vw, 4.4rem);
}
.post-head .page-head-lede { max-width: 46em; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 1.5rem 0 0;
}
.post-meta .pm-hot { color: var(--kodak); }
.pm-sep { color: var(--safelight); }

/* ---------- article layout + shot-log contents ---------- */
/* Mobile-first: the shot log is a boxed contents card above the
   article. From 1120px it docks to the right of the measure and
   goes sticky — the prose column stays pinned left (editorial),
   never centered. */
.post-body .post-layout { margin-top: 0.5rem; }
.shot-log {
  max-width: 42em;
  background: var(--ink-2);
  border: 1px dashed rgba(232, 160, 76, 0.4);
  padding: 1.05rem 1.25rem 1.15rem;
  margin: 0 0 2.5rem;
}
.shot-log-h {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kodak);
  margin: 0 0 0.7rem;
}
.shot-log ol {
  counter-reset: shot;
  display: grid;
  gap: 0.15rem;
  margin: 0;
}
.shot-log li { counter-increment: shot; }
.shot-log a {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--bone-dim);
  padding: 0.28rem 0; /* ≥44px total row height not needed; links are text but keep comfortable spacing */
}
.shot-log a::before {
  content: counter(shot, decimal-leading-zero);
  color: var(--safelight);
  margin-right: 0.7rem;
}
.shot-log a:hover { color: var(--kodak); }
@media (min-width: 1120px) {
  .post-body .post-layout {
    display: grid;
    grid-template-columns: minmax(0, 44rem) minmax(12rem, 16rem);
    gap: clamp(2.5rem, 4vw, 4.5rem);
    align-items: start;
  }
  .post-layout > .prose { grid-column: 1; grid-row: 1; }
  .post-layout > .shot-log {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--topbar-h) + 1.75rem);
    margin: 0.35rem 0 0;
  }
}

/* Anchor jumps land clear of the fixed topbar */
.prose [id], .venue[id], .faq-item[id] {
  scroll-margin-top: calc(var(--topbar-h) + 1.75rem);
}

/* Slightly larger opening on posts; measure stays ~65–75ch */
.post-body .prose { font-size: 1.0925rem; }
.post-body .prose-lede { font-size: 1.22rem; }

/* ---------- in-article numbers strip (stat band, prose-width) ---------- */
.prose .stat-band {
  grid-template-columns: repeat(2, 1fr);
  margin: 0.4rem 0 1.6rem;
}
.prose .stat-band .stat { padding: 1.25rem 0.8rem 1.05rem; }
.prose .stat-band .stat-value { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.prose .stat-band .stat-value.stat-word { font-size: clamp(1.05rem, 2.2vw, 1.25rem); }

/* ---------- field note (a lab-margin aside, used sparingly) ---------- */
.field-note {
  background: var(--ink-2);
  border: 1px dashed rgba(232, 160, 76, 0.4);
  padding: 1.05rem 1.25rem 0.75rem;
  margin: 1.6rem 0;
}
.field-note-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kodak);
  margin: 0 0 0.6rem;
}
.field-note p { font-size: 0.99rem; color: var(--bone); }

/* ---------- venue entries (the venue files) ---------- */
.venue {
  border-top: 1px solid var(--line);
  margin: 2.8rem 0 0;
  padding-top: 1.55rem;
}
.venue-no {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--safelight);
  margin: 0 0 0.4rem;
}
.prose h2.venue-name,
.prose h3.venue-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--bone);
  margin: 0 0 0.3rem;
}
.prose .venue-name a {
  color: var(--bone);
  text-decoration-color: rgba(232, 160, 76, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.prose .venue-name a:hover { color: var(--kodak); }
.venue-tag {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 1.05rem;
}
.venue > p:last-child { margin-bottom: 0; }

/* ---------- related posts ---------- */
.also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}
.also-card {
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.35rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.also-card:hover { border-color: rgba(232, 160, 76, 0.55); transform: translateY(-2px); }
.also-date {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin: 0 0 0.5rem;
}
.also-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bone);
  margin: 0 0 0.55rem;
}
.also-card:hover .also-title { color: var(--kodak); }
.also-blurb {
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bone-dim);
  margin: 0 0 1rem;
}
.also-go {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}
.back-to-blog { margin-top: 2.4rem; margin-bottom: 0; }
.back-to-blog a {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .also-card { transition: none; }
  .also-card:hover { transform: none; }
}

/* two buttons in a closing CTA breathe on mobile */
.center-cta .btn { margin: 0.35rem 0.5rem; }
