/* =============================================================
   Newsletter — The Letters
   Namespace: nl-*

   Typography:
     Headings/labels  → Bree Serif
     Kickers/meta     → Special Elite
     Body reading     → Source Serif 4 (serified, 400/600/700)

   Motion (Emil Kowalski principles):
     - Custom easing curves, never built-in ease/ease-in
     - Transitions specify exact properties, never `all`
     - Hover gated behind @media (hover: hover) and (pointer: fine)
     - Entry: scale(0.95) + opacity(0), never scale(0)
     - :active feedback on every interactive element
     - Stagger via CSS custom property --stagger-delay
     - prefers-reduced-motion respected
   ============================================================= */

/* ── Custom easing variables ────────────────────────────────── */
:root {
  --nl-ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --nl-ease-inout:  cubic-bezier(0.77, 0, 0.175, 1);
}

/* ═══════════════════════════════════════════════════════════════
   SHARED
   ═══════════════════════════════════════════════════════════════ */

.nl-main {
  padding-bottom: 5rem;
}

.nl-section-heading {
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.nl-empty {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: var(--wood);
  text-align: center;
  padding: 4rem 0;
}

/* ── Pagination ─────────────────────────────────────────────── */

.nl-pagination {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nl-pagination .page-numbers {
  font-family: 'Bree Serif', serif;
  font-size: 0.88rem;
  padding: 0.45em 0.9em;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms var(--nl-ease-out), color 180ms var(--nl-ease-out);
}

.nl-pagination .page-numbers.current,
.nl-pagination .page-numbers:active {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

@media (hover: hover) and (pointer: fine) {
  .nl-pagination .page-numbers:hover {
    background: var(--walnut);
    color: var(--cream);
    border-color: var(--walnut);
  }
}

/* ── Stagger animation ──────────────────────────────────────── */

@keyframes nl-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════
   LIBRARY VIEW  /newsletter/
   ═══════════════════════════════════════════════════════════════ */

.nl-library-header {
  background: var(--walnut);
  color: var(--cream);
  text-align: center;
  padding: 4.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.nl-library-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 150px;
  pointer-events: none;
}

.nl-library-kicker {
  font-family: 'Special Elite', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 0 0 0.75rem;
  position: relative;
}

.nl-library-title {
  font-family: 'Bree Serif', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--cream);
  margin: 0 0 1rem;
  line-height: 1.05;
  position: relative;
}

.nl-library-lead {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: rgba(244, 236, 216, 0.75);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
}

/* ── Library header compact (page 2+) ───────────────────────── */

.nl-library-header--compact {
  padding: 1.75rem 1.5rem;
}

.nl-library-header-compact-inner {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.nl-library-title-compact {
  font-family: 'Bree Serif', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin: 0;
}

.nl-library-page-indicator {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 236, 216, 0.5);
}

/* ── Section heading with count ─────────────────────────────── */

.nl-section-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.nl-section-heading-count {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--aged-gold);
  font-weight: 400;
  text-transform: lowercase;
}

/* ── Featured Grid (Section 1) ───────────────────────────────── */

.nl-featured-section {
  margin-top: 3rem;
}

.nl-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 1.25rem;
}

/* Lead card spans full first row */
.nl-featured-card--lead {
  grid-column: 1 / -1;
}

.nl-featured-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 200ms var(--nl-ease-out),
              box-shadow 200ms var(--nl-ease-out);

  animation: nl-fade-up 300ms var(--nl-ease-out) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.nl-featured-card:active {
  transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
  .nl-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(44, 34, 27, 0.12);
  }

  .nl-featured-card:hover .nl-featured-card-thumb img {
    transform: scale(1.03);
  }

  .nl-featured-card:hover .nl-featured-card-cta {
    gap: 0.55em;
  }
}

/* Thumbnail */
.nl-featured-card-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--cream);
}

.nl-featured-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms var(--nl-ease-out);
}

/* Lead card thumb is a bit taller */
.nl-featured-card--lead .nl-featured-card-thumb {
  aspect-ratio: 21 / 7;
}

/* Body */
.nl-featured-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.1rem;
}

.nl-featured-card--lead .nl-featured-card-body {
  padding: 1.5rem 1.75rem 1.35rem;
}

.nl-featured-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.nl-featured-card-nl {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  background: rgba(115, 75, 53, 0.1);
  padding: 0.18em 0.55em;
  border-radius: 2px;
}

.nl-featured-card-num {
  font-family: 'Bree Serif', serif;
  font-size: 0.85rem;
  color: var(--mustard);
}

.nl-featured-card-title {
  font-family: 'Bree Serif', serif;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.4rem;
}

.nl-featured-card--lead .nl-featured-card-title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 0.6rem;
}

.nl-featured-card-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.78;
  margin: 0 0 0.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Footer */
.nl-featured-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(181, 155, 106, 0.3);
  flex-wrap: wrap;
}

.nl-featured-card-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.nl-featured-card-author {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
}

.nl-featured-card-date {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  color: var(--aged-gold);
  letter-spacing: 0.04em;
}

.nl-featured-card-cta {
  margin-left: auto;
  font-family: 'Bree Serif', serif;
  font-size: 0.85rem;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 0.3em;
  transition: gap 180ms var(--nl-ease-out);
}

/* ── Authors Grid ───────────────────────────────────────────── */

.nl-authors-section {
  margin-top: 3.5rem;
}

.nl-authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.nl-author-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mustard);
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms var(--nl-ease-out),
              box-shadow 200ms var(--nl-ease-out),
              border-top-color 180ms var(--nl-ease-out);

  /* Stagger entry */
  animation: nl-fade-up 300ms var(--nl-ease-out) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.nl-author-card:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .nl-author-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(44, 34, 27, 0.12);
    border-top-color: var(--burgundy);
  }

  .nl-author-card:hover .nl-author-card-cta {
    gap: 0.55em;
  }
}

.nl-author-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
}

.nl-author-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
}

.nl-author-card-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--aged-gold);
  flex-shrink: 0;
}

.nl-author-card-meta {
  min-width: 0;
}

.nl-author-card-name {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nl-author-card-newsletter {
  font-family: 'Bree Serif', serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.nl-author-card-footer {
  margin-top: auto;
  padding: 0.85rem 1.5rem 1.1rem;
  border-top: 1px solid rgba(181, 155, 106, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nl-author-card-count {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--wood);
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.nl-author-card-latest {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  color: var(--aged-gold);
}

.nl-author-card-cta {
  margin-left: auto;
  font-family: 'Bree Serif', serif;
  font-size: 0.88rem;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 0.3em;
  transition: gap 180ms var(--nl-ease-out);
}

/* ── Recently Published (library) ───────────────────────────── */

.nl-recent-section {
  margin-top: 3.5rem;
}

.nl-recent-item {
  display: grid;
  grid-template-columns: 40px 1fr 1.25rem;
  align-items: start;
  gap: 0 1.1rem;
  padding: 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(181, 155, 106, 0.3);
  text-decoration: none;
  color: var(--ink);
  transition: background 150ms var(--nl-ease-out);

  animation: nl-fade-up 280ms var(--nl-ease-out) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.nl-recent-item:active {
  background: rgba(181, 155, 106, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .nl-recent-item:hover {
    background: var(--paper);
  }

  .nl-recent-item:hover .nl-recent-item-arrow {
    transform: translateX(3px);
    color: var(--mustard);
  }
}

.nl-recent-item-avatar {
  padding-top: 0.15rem;
}

.nl-recent-item-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

.nl-recent-item-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aged-gold);
  font-size: 1rem;
}

.nl-recent-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.nl-recent-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nl-recent-item-newsletter {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  background: rgba(115, 75, 53, 0.09);
  padding: 0.18em 0.55em;
  border-radius: 2px;
}

.nl-recent-item-num {
  font-family: 'Bree Serif', serif;
  font-size: 0.82rem;
  color: var(--mustard);
}

.nl-recent-item-date {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  color: var(--wood);
  letter-spacing: 0.04em;
  margin-left: auto;
}

.nl-recent-item-title {
  font-family: 'Bree Serif', serif;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.25;
  margin: 0.1rem 0 0;
}

.nl-recent-item-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.6;
  opacity: 0.72;
  margin: 0.15rem 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nl-recent-item-author {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aged-gold);
  margin: 0.25rem 0 0;
}

.nl-recent-item-arrow {
  padding-top: 0.35rem;
  color: var(--aged-gold);
  font-size: 0.85rem;
  transition: transform 180ms var(--nl-ease-out), color 180ms var(--nl-ease-out);
}

/* ── All Issues section ─────────────────────────────────────── */

.nl-all-section {
  margin-top: 3.5rem;
}

/* avatar variant for the full list */
.nl-list-item-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.nl-list-item-avatar--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--aged-gold);
  font-size: 0.75rem;
}

/* list item with avatar in first column */
.nl-list-item--full {
  grid-template-columns: 1.75rem auto 1fr auto 1.5rem;
  align-items: center;
  gap: 0 0.9rem;
}

/* ── Shared issue list (used in both views) ─────────────────── */

.nl-list {
  display: flex;
  flex-direction: column;
}

/* Base list item */
.nl-list-item {
  display: grid;
  grid-template-columns: 2.75rem auto 1fr auto 1.5rem;
  align-items: center;
  gap: 0 1rem;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(181, 155, 106, 0.3);
  text-decoration: none;
  color: var(--ink);
  transition: background 150ms var(--nl-ease-out);

  animation: nl-fade-up 280ms var(--nl-ease-out) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.nl-list-item:active {
  background: rgba(181, 155, 106, 0.15);
}

@media (hover: hover) and (pointer: fine) {
  .nl-list-item:hover {
    background: var(--paper);
  }

  .nl-list-item:hover .nl-list-arrow {
    transform: translateX(4px);
    color: var(--mustard);
  }
}

.nl-list-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.nl-list-newsletter {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  background: rgba(115, 75, 53, 0.09);
  padding: 0.18em 0.55em;
  border-radius: 2px;
}

.nl-list-num {
  font-family: 'Bree Serif', serif;
  font-size: 0.9rem;
  color: var(--mustard);
  white-space: nowrap;
}

.nl-list-thumb-wrap {
  display: flex;
  align-items: center;
}

.nl-list-thumb {
  width: 48px;
  height: 27px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.nl-list-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.35;
}

.nl-list-date {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  color: var(--wood);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.nl-list-arrow {
  color: var(--aged-gold);
  font-size: 0.85rem;
  transition: transform 180ms var(--nl-ease-out), color 180ms var(--nl-ease-out);
}

/* ═══════════════════════════════════════════════════════════════
   AUTHOR PAGE — Newsletter section  (taxonomy-swipe_author.php)
   ═══════════════════════════════════════════════════════════════ */

/* Avatar shown in the author page header */
.swf-author-avatar-wrap { display: inline-block; }
.swf-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  display: block;
}

/* Newsletter pill badge in the author header count row */
.swf-pill--newsletter {
  background: rgba(107, 31, 38, 0.08);
  color: var(--burgundy);
  border-color: rgba(107, 31, 38, 0.25);
  text-decoration: none;
  transition: background 160ms var(--nl-ease-out), color 160ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .swf-pill--newsletter:hover {
    background: var(--burgundy);
    color: var(--cream);
  }
}

/* Newsletter section block on the author page */
.nl-author-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--line);
  scroll-margin-top: 80px; /* offset for sticky nav */
}

.nl-author-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nl-author-section-head-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.nl-author-section-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.nl-author-section-title {
  font-family: 'Bree Serif', serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.1rem;
  line-height: 1.2;
}

.nl-author-section-byline {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0;
}

.nl-author-section-library-link {
  flex-shrink: 0;
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-author-section-library-link:hover {
    color: var(--burgundy);
  }
}

/* ── Hero: Latest Issue ─────────────────────────────────────── */

.nl-hero {
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--mustard);
  transition: border-left-color 180ms var(--nl-ease-out);
}

.nl-hero:has(.nl-hero-thumb-link) {
  grid-template-columns: auto 1fr;
}

@media (hover: hover) and (pointer: fine) {
  .nl-hero:hover {
    border-left-color: var(--burgundy);
  }
}

.nl-hero-thumb-link {
  display: block;
  overflow: hidden;
  width: 220px;
  align-self: stretch;
}

.nl-hero-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 280ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-hero:hover .nl-hero-thumb {
    transform: scale(1.03);
  }
}

.nl-hero-body {
  padding: 2rem 2rem 2rem 2rem;
}

.nl-hero:not(:has(.nl-hero-thumb-link)) .nl-hero-body {
  padding: 2rem 2.5rem;
}

.nl-hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.nl-hero-kicker {
  font-family: 'Special Elite', monospace;
  font-size: 0.69rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  background: rgba(115, 75, 53, 0.1);
  padding: 0.22em 0.65em;
  border-radius: 2px;
}

.nl-hero-num {
  font-family: 'Bree Serif', serif;
  font-size: 1rem;
  color: var(--mustard);
}

.nl-hero-title {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.nl-hero-title a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-hero-title a:hover {
    color: var(--burgundy);
  }
}

.nl-hero-date {
  font-family: 'Special Elite', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--wood);
  margin: 0 0 0.85rem;
}

.nl-hero-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 1.35rem;
  opacity: 0.85;
}

.nl-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: 'Bree Serif', serif;
  font-size: 0.92rem;
  color: var(--cream);
  background: var(--walnut);
  padding: 0.55em 1.3em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 180ms var(--nl-ease-out), gap 180ms var(--nl-ease-out);
}

.nl-hero-cta:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .nl-hero-cta:hover {
    background: var(--ink);
    color: var(--mustard);
    gap: 0.65em;
  }
}

.nl-issues-section {
  margin-top: 3rem;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE ISSUE
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────── */

.nl-breadcrumb-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
}

.nl-breadcrumb {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-family: 'Special Elite', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--wood);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nl-breadcrumb a {
  color: var(--wood);
  text-decoration: none;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-breadcrumb a:hover {
    color: var(--burgundy);
  }
}

/* Also used in author header (dark bg) */
.nl-author-header .nl-breadcrumb {
  max-width: none;
  padding: 0;
  color: rgba(244, 236, 216, 0.5);
}

.nl-author-header .nl-breadcrumb a {
  color: rgba(244, 236, 216, 0.55);
}

@media (hover: hover) and (pointer: fine) {
  .nl-author-header .nl-breadcrumb a:hover {
    color: var(--mustard);
  }
}

/* ── Letter container ───────────────────────────────────────── */

.nl-letter-outer {
  background: var(--cream);
  padding: 3rem 1.5rem 4rem;
}

.nl-letter-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #faf6ec;
  border: 1px solid var(--line);
  box-shadow: 0 4px 40px rgba(44, 34, 27, 0.09);
  padding: 3.5rem 4.5rem;
}

/* ── Letterhead avatar link ─────────────────────────────────── */

.nl-letterhead-avatar-link {
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  transition: opacity 160ms var(--nl-ease-out), transform 160ms var(--nl-ease-out);
}

.nl-letterhead-avatar-link:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  .nl-letterhead-avatar-link:hover {
    opacity: 0.82;
  }
}

/* ── Letterhead ─────────────────────────────────────────────── */

.nl-letterhead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.nl-letterhead-left {
  min-width: 0;
}

.nl-letterhead-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nl-letterhead-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.nl-letterhead-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--aged-gold);
  font-size: 1.1rem;
}

.nl-letterhead-nl-name {
  font-family: 'Bree Serif', serif;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  line-height: 1.15;
  transition: color 160ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-letterhead-nl-name:hover {
    color: var(--burgundy);
  }
}

.nl-letterhead-by {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0.2rem 0 0;
  text-decoration: none;
  display: block;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-letterhead-by:hover {
    color: var(--burgundy);
  }
}

.nl-issue-stamp {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 2px solid var(--mustard);
  border-radius: 50%;
  background: var(--paper);
  line-height: 1;
}

.nl-issue-stamp-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  display: block;
  margin-bottom: 0.1rem;
}

.nl-issue-stamp-num {
  font-family: 'Bree Serif', serif;
  font-size: 1.15rem;
  color: var(--mustard);
  display: block;
}

.nl-issue-stamp-total {
  font-family: 'Special Elite', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: var(--wood);
  display: block;
  margin-top: 0.05rem;
}

/* Issue stamp is now a link */
a.nl-issue-stamp {
  text-decoration: none;
  transition: border-color 160ms var(--nl-ease-out), transform 160ms var(--nl-ease-out);
}

a.nl-issue-stamp:active {
  transform: scale(0.95);
}

@media (hover: hover) and (pointer: fine) {
  a.nl-issue-stamp:hover {
    border-color: var(--burgundy);
  }

  a.nl-issue-stamp:hover .nl-issue-stamp-num {
    color: var(--burgundy);
  }
}

.nl-letterhead-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--mustard) 0%, var(--line) 55%, transparent 100%);
  margin-bottom: 2rem;
}

/* ── Issue header ───────────────────────────────────────────── */

.nl-issue-header {
  margin-bottom: 1.75rem;
}

.nl-issue-date {
  font-family: 'Special Elite', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--wood);
  margin: 0 0 0.65rem;
}

.nl-issue-title {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

/* ── Featured image ─────────────────────────────────────────── */

.nl-issue-thumbnail {
  margin-bottom: 2rem;
  border-radius: 2px;
  overflow: hidden;
}

.nl-issue-thumb-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Issue body — reading experience ─────────────────────────── */

.nl-issue-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.82;
  color: var(--ink);
}

.nl-issue-body > * + * {
  margin-top: 1.35em;
}

.nl-issue-body p { margin: 0; }

.nl-issue-body h2 {
  font-family: 'Bree Serif', serif;
  font-size: 1.35rem;
  color: var(--walnut);
  margin: 2em 0 0.5em !important;
  line-height: 1.25;
}

.nl-issue-body h3 {
  font-family: 'Bree Serif', serif;
  font-size: 1.15rem;
  color: var(--walnut);
  margin: 1.75em 0 0.4em !important;
  line-height: 1.3;
}

.nl-issue-body blockquote {
  margin: 2em 0 !important;
  padding: 1.2em 1.6em;
  border-left: 4px solid var(--mustard);
  background: var(--paper);
  font-style: italic;
  color: var(--walnut);
}

.nl-issue-body blockquote p { margin: 0; }

.nl-issue-body ul,
.nl-issue-body ol {
  padding-left: 1.6em;
}

.nl-issue-body li { margin-bottom: 0.4em; }

.nl-issue-body a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-issue-body a:hover {
    color: var(--walnut);
  }
}

.nl-issue-body strong {
  font-weight: 600;
  color: var(--walnut);
}

.nl-issue-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.75em 0 !important;
}

/* ── Author Bio ─────────────────────────────────────────────── */

.nl-author-bio {
  margin-top: 3rem;
}

.nl-author-bio-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 1.75rem;
}

.nl-author-bio-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.nl-author-bio-avatar-link {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  transition: opacity 160ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-author-bio-avatar-link:hover {
    opacity: 0.8;
  }
}

.nl-author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  display: block;
}

.nl-author-bio-content {
  min-width: 0;
}

.nl-author-bio-name {
  font-family: 'Bree Serif', serif;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-author-bio-name:hover {
    color: var(--burgundy);
  }
}

.nl-author-bio-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 0.9rem;
}

.nl-author-bio-text p {
  margin: 0;
}

.nl-author-bio-swipe-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  text-decoration: none;
  transition: color 150ms var(--nl-ease-out), gap 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-author-bio-swipe-link:hover {
    color: var(--burgundy);
    gap: 0.65em;
  }
}

/* ── Closing ────────────────────────────────────────────────── */

.nl-closing {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nl-closing-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.nl-closing-link {
  flex-shrink: 0;
  font-family: 'Special Elite', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-closing-link:hover {
    color: var(--burgundy);
  }
}

/* ── Issue Navigation ───────────────────────────────────────── */

.nl-nav {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 0 0 1.75rem;
}

/* Context bar: newsletter name + progress */
.nl-nav-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(181, 155, 106, 0.3);
  margin-bottom: 1.5rem;
}

.nl-nav-context-label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood);
  text-decoration: none;
  transition: color 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-nav-context-label:hover {
    color: var(--burgundy);
  }
}

.nl-nav-context-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.nl-nav-context-progress {
  font-family: 'Bree Serif', serif;
  font-size: 0.8rem;
  color: var(--mustard);
  white-space: nowrap;
}

.nl-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.nl-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  transition: background 150ms var(--nl-ease-out);
}

.nl-nav-btn:active {
  background: rgba(181, 155, 106, 0.2);
  transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
  .nl-nav-btn:hover {
    background: rgba(181, 155, 106, 0.15);
  }
}

.nl-nav-prev { align-items: flex-start; }
.nl-nav-next { align-items: flex-end; text-align: right; }

.nl-nav-direction {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.nl-nav-issue-num {
  font-family: 'Bree Serif', serif;
  font-size: 0.87rem;
  color: var(--mustard);
}

.nl-nav-issue-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.3;
  max-width: 240px;
  opacity: 0.82;
}

.nl-nav-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  text-decoration: none;
  padding: 0.7em 1.1em;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: background 180ms var(--nl-ease-out), color 180ms var(--nl-ease-out), border-color 180ms var(--nl-ease-out);
}

.nl-nav-all .bi,
.nl-nav-all-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 1.2rem;
  color: var(--aged-gold);
}

.nl-nav-all:active,
.nl-nav-all:active .bi {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

@media (hover: hover) and (pointer: fine) {
  .nl-nav-all:hover {
    background: var(--walnut);
    color: var(--cream);
    border-color: var(--walnut);
  }

  .nl-nav-all:hover .bi {
    color: var(--mustard);
  }
}

.nl-nav-placeholder {
  /* fills grid slot */
}

/* ═══════════════════════════════════════════════════════════════
   OTHER NEWSLETTERS
   ═══════════════════════════════════════════════════════════════ */

.nl-other-section {
  padding: 3rem 0 4rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.nl-other-section .nl-section-heading {
  margin-bottom: 1.5rem;
}

.nl-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.nl-other-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  text-decoration: none;
  color: var(--ink);
  transition: border-top-color 180ms var(--nl-ease-out),
              transform 200ms var(--nl-ease-out),
              box-shadow 200ms var(--nl-ease-out);

  animation: nl-fade-up 300ms var(--nl-ease-out) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.nl-other-card:active {
  transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
  .nl-other-card:hover {
    border-top-color: var(--mustard);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 34, 27, 0.1);
  }

  .nl-other-card:hover .nl-other-card-cta {
    gap: 0.55em;
  }
}

.nl-other-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nl-other-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.nl-other-card-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aged-gold);
  flex-shrink: 0;
}

.nl-other-card-author {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 0.15rem;
}

.nl-other-card-nl {
  font-family: 'Bree Serif', serif;
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.nl-other-card-latest {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  border-top: 1px solid rgba(181, 155, 106, 0.3);
  padding-top: 0.65rem;
}

.nl-other-card-num {
  font-family: 'Bree Serif', serif;
  font-size: 0.8rem;
  color: var(--mustard);
  flex-shrink: 0;
}

.nl-other-card-latest-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nl-other-card-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.83rem;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.55;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nl-other-card-cta {
  margin-top: auto;
  font-family: 'Bree Serif', serif;
  font-size: 0.85rem;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  gap: 0.35em;
  transition: gap 180ms var(--nl-ease-out);
}

/* ═══════════════════════════════════════════════════════════════
   WHAT'S NEXT — nl-continue (Case A: next issue exists)
   ═══════════════════════════════════════════════════════════════ */

.nl-continue {
  background: var(--walnut);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture — same pattern used in the library header */
.nl-continue::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 150px;
  pointer-events: none;
}

.nl-continue .container {
  position: relative;
}

.nl-continue-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

/* The big card */
.nl-continue-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: stretch;
  text-decoration: none;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(181, 155, 106, 0.25);
  overflow: hidden;
  transition: background 200ms var(--nl-ease-out),
              border-color 200ms var(--nl-ease-out),
              transform 220ms var(--nl-ease-out),
              box-shadow 220ms var(--nl-ease-out);
}

.nl-continue-card:active {
  transform: scale(0.995);
}

@media (hover: hover) and (pointer: fine) {
  .nl-continue-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(181, 155, 106, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }

  .nl-continue-card:hover .nl-continue-card-thumb img {
    transform: scale(1.04);
  }

  .nl-continue-card:hover .nl-continue-card-cta {
    gap: 0.65em;
  }
}

.nl-continue-card-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.25);
  align-self: stretch;
  aspect-ratio: auto;
  min-height: 200px;
}

.nl-continue-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms var(--nl-ease-out);
}

.nl-continue-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.25rem 2.5rem 2rem;
}

.nl-continue-card-issue {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mustard);
  display: block;
}

.nl-continue-card-title {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--cream);
  line-height: 1.2;
  margin: 0;
}

.nl-continue-card-excerpt {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.97rem;
  color: rgba(244, 236, 216, 0.7);
  line-height: 1.65;
  margin: 0.25rem 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.nl-continue-card-date {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(244, 236, 216, 0.45);
  margin: 0;
}

.nl-continue-card-cta {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: 'Bree Serif', serif;
  font-size: 1rem;
  color: var(--mustard);
  transition: gap 180ms var(--nl-ease-out), color 180ms var(--nl-ease-out);
}

/* ═══════════════════════════════════════════════════════════════
   WHAT'S NEXT — nl-caught-up (Case B: already on latest issue)
   ═══════════════════════════════════════════════════════════════ */

.nl-caught-up {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
}

.nl-caught-up-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.nl-caught-up-text {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

.nl-caught-up-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  flex-shrink: 0;
}

.nl-caught-up-title {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
  margin: 0 0 0.3rem;
  line-height: 1.2;
}

.nl-caught-up-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.93rem;
  color: var(--wood);
  margin: 0;
  line-height: 1.5;
}

.nl-caught-up-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.nl-caught-up-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: 'Bree Serif', serif;
  font-size: 0.92rem;
  padding: 0.6em 1.35em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--cream);
  transition: background 180ms var(--nl-ease-out),
              color 180ms var(--nl-ease-out),
              border-color 180ms var(--nl-ease-out);
}

.nl-caught-up-btn:active {
  transform: scale(0.97);
}

.nl-caught-up-btn--primary {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}

@media (hover: hover) and (pointer: fine) {
  .nl-caught-up-btn:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
  }

  .nl-caught-up-btn--primary:hover {
    background: var(--ink);
    border-color: var(--ink);
  }
}

/* ═══════════════════════════════════════════════════════════════
   SWIPE FILE CROSS-LINK — nl-swipe-section
   ═══════════════════════════════════════════════════════════════ */

.nl-swipe-section {
  padding: 3.5rem 0 4rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.nl-swipe-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.nl-swipe-section-title {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--ink);
  margin: 0 0 0.3rem;
  line-height: 1.15;
}

.nl-swipe-section-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.92rem;
  color: var(--wood);
  margin: 0;
  line-height: 1.5;
}

.nl-swipe-section-all {
  flex-shrink: 0;
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  transition: color 150ms var(--nl-ease-out), gap 150ms var(--nl-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nl-swipe-section-all:hover {
    color: var(--walnut);
    gap: 0.6em;
  }
}

/* 4-column grid */
.nl-swipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.nl-swipe-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  position: relative;
  transition: transform 200ms var(--nl-ease-out),
              box-shadow 200ms var(--nl-ease-out);

  animation: nl-fade-up 300ms var(--nl-ease-out) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.nl-swipe-card:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .nl-swipe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44, 34, 27, 0.12);
  }

  .nl-swipe-card:hover .nl-swipe-card-thumb img {
    transform: scale(1.04);
  }
}

.nl-swipe-card--locked {
  cursor: pointer;
}

.nl-swipe-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.nl-swipe-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms var(--nl-ease-out);
}

.nl-swipe-card-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--line);
  font-size: 1.8rem;
}

.nl-swipe-card-lock {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(44, 34, 27, 0.75);
  color: var(--mustard);
  font-size: 0.72rem;
  padding: 0.2em 0.5em;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.nl-swipe-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem 0.85rem;
  flex: 1;
}

.nl-swipe-card-type {
  font-family: 'Special Elite', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  background: rgba(115, 75, 53, 0.09);
  padding: 0.15em 0.5em;
  border-radius: 2px;
  align-self: flex-start;
}

.nl-swipe-card-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .nl-letter-wrap {
    padding: 2.25rem 1.75rem;
  }

  .nl-other-grid {
    grid-template-columns: 1fr;
  }

  .nl-author-bio-avatar {
    width: 48px;
    height: 48px;
  }

  /* Featured grid: stack to single column */
  .nl-featured-grid {
    grid-template-columns: 1fr;
  }

  .nl-featured-card--lead {
    grid-column: auto;
  }

  .nl-featured-card--lead .nl-featured-card-thumb {
    aspect-ratio: 16 / 9;
  }

  .nl-hero:has(.nl-hero-thumb-link) {
    grid-template-columns: 1fr;
  }

  .nl-hero-thumb-link {
    width: 100%;
    height: 180px;
  }

  .nl-hero-body {
    padding: 1.5rem !important;
  }

  .nl-list-item {
    grid-template-columns: 2.5rem auto 1fr 1.2rem;
  }

  .nl-list-item--full {
    grid-template-columns: 1.75rem auto 1fr 1.2rem;
  }

  .nl-list-date { display: none; }

  .nl-recent-item-date { display: none; }
}

@media (max-width: 600px) {
  .nl-letter-wrap {
    padding: 1.75rem 1.25rem;
  }

  .nl-letterhead {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }

  .nl-nav-context {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .nl-nav-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .nl-nav-all {
    grid-column: 1 / -1;
    order: -1;
    flex-direction: row;
    gap: 0.5em;
  }

  .nl-nav-issue-title {
    max-width: 100%;
  }

  .nl-author-bio-inner {
    flex-direction: column;
    gap: 0.85rem;
  }
}

/* ── Reduced motion ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .nl-author-card,
  .nl-list-item {
    animation: none;
  }

  .nl-author-card,
  .nl-hero-thumb,
  .nl-hero-cta,
  .nl-list-arrow,
  .nl-nav-btn,
  .nl-nav-all,
  .nl-closing-link,
  .nl-breadcrumb a,
  .nl-letterhead-nl-name,
  .nl-issue-body a {
    transition: none;
  }
}
