/* Series UI on a portfolio: paper, ink, mute, wall. Not GPS. Not a pitch deck. */

:root {
  --series-paper: #ffffff;
  --series-ink: #000000;
  --series-mute: #6e6e73;
  --series-wall: #aeaeb2;
  --ar-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ar-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ar-mono: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ar-weight-display: 590;
  --ar-weight-body: 400;
  --ar-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ar-shell: min(calc(100% - 48px), 720px);
  --ar-shell-home: min(calc(100% - 48px), 1080px);
  --ar-reading: min(calc(100% - 48px), 680px);
  --ar-radius-card: 0;
  --ar-radius-btn: 0;
  --ar-shadow-card: none;
  --ar-chrome-clearance: calc(max(12px, env(safe-area-inset-top)) + 56px);
}

html[data-archive-theme="light"],
html:not([data-archive-theme]) {
  --ar-void: var(--series-paper);
  --ar-surface: var(--series-paper);
  --ar-surface-raised: var(--series-paper);
  --ar-sheet: var(--series-paper);
  --ar-ink: var(--series-ink);
  --ar-ink-soft: var(--series-ink);
  --ar-ink-muted: var(--series-mute);
  --ar-ink-faint: var(--series-wall);
  --ar-line: rgba(0, 0, 0, 0.12);
  --ar-line-strong: rgba(0, 0, 0, 0.22);
  --ar-signal: var(--series-ink);
  --ar-signal-dim: rgba(0, 0, 0, 0.06);
  --ar-tint-hover: rgba(0, 0, 0, 0.04);
  --ar-tint-active: rgba(0, 0, 0, 0.08);
  --ar-overlay: var(--series-paper);
  --ar-read-bg: transparent;
  --ar-selection-bg: var(--series-ink);
  --ar-selection-fg: var(--series-paper);
}

html[data-archive-theme="dark"] {
  --series-paper: #000000;
  --series-ink: #ffffff;
  --series-mute: #aeaeb2;
  --series-wall: #6e6e73;
  --ar-void: #000000;
  --ar-surface: #000000;
  --ar-surface-raised: #000000;
  --ar-sheet: #000000;
  --ar-ink: #ffffff;
  --ar-ink-soft: #ffffff;
  --ar-ink-muted: #aeaeb2;
  --ar-ink-faint: #6e6e73;
  --ar-line: rgba(255, 255, 255, 0.14);
  --ar-line-strong: rgba(255, 255, 255, 0.28);
  --ar-signal: #ffffff;
  --ar-signal-dim: rgba(255, 255, 255, 0.08);
  --ar-tint-hover: rgba(255, 255, 255, 0.06);
  --ar-tint-active: rgba(255, 255, 255, 0.10);
  --ar-overlay: #000000;
  --ar-read-bg: transparent;
  --ar-selection-bg: #ffffff;
  --ar-selection-fg: #000000;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body.archive-site {
  font-family: var(--ar-body);
  font-weight: 400;
  background: var(--ar-void);
  color: var(--ar-ink);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background 160ms var(--ar-ease), color 160ms var(--ar-ease);
}

body.ar-page-home,
body.ar-page-room {
  background: var(--ar-void);
}

::selection {
  background: var(--ar-selection-bg);
  color: var(--ar-selection-fg);
}

/* ── Top chrome (paper, no frost) ── */

.ar-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(8px, env(safe-area-inset-top)) 24px 8px;
  pointer-events: none;
  background: var(--ar-void);
  border-bottom: 1px solid var(--ar-line);
}

.ar-brand {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--ar-display);
  font-size: 17px;
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  color: var(--ar-ink);
  text-decoration: none;
}

.ar-brand:hover {
  opacity: 0.55;
}

.ar-topbar-actions {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.ar-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 72px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: var(--ar-body);
  font-size: 14px;
  font-weight: var(--ar-weight-body);
  font-style: normal;
  letter-spacing: -0.021em;
  text-transform: none;
  color: var(--ar-ink);
  text-decoration: none;
  cursor: pointer;
  transition:
    color 160ms var(--ar-ease),
    background 160ms var(--ar-ease),
    border-color 160ms var(--ar-ease),
    opacity 160ms var(--ar-ease);
}

@media (max-width: 480px) {
  .ar-topbar {
    gap: 6px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .ar-brand {
    font-size: 14px;
    letter-spacing: -0.045em;
  }

  .ar-topbar-actions {
    gap: 6px;
    flex: 0 0 auto;
    max-width: none;
    overflow: visible;
  }

  .ar-topbar-actions::-webkit-scrollbar {
    display: none;
  }

  .ar-topbar-btn {
    flex: 0 0 auto;
    font-size: 12px;
    min-width: 0;
    min-height: 32px;
    padding: 7px 10px;
  }

  .ar-topbar-chapter {
    display: none;
  }
}

.ar-topbar-btn:hover,
.ar-topbar-btn:focus-visible {
  color: var(--ar-ink);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  opacity: 0.92;
}

.ar-topbar-btn:active {
  transform: none;
  background: rgba(255, 255, 255, 0.18);
}

.ar-topbar-btn.is-signal,
.ar-topbar-btn.is-current {
  color: #202020;
  background: var(--photo-paper, #f4efe4);
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.ar-topbar-btn.is-current:hover,
.ar-topbar-btn.is-current:focus-visible,
.ar-topbar-btn.is-signal:hover,
.ar-topbar-btn.is-signal:focus-visible {
  color: #202020;
  background: var(--photo-paper, #f4efe4);
  border-color: transparent;
  opacity: 0.88;
}

/* Legacy chrome hooks (unused after header rewrite) */
.ar-chrome { display: none; }

/* ── Shell layout ── */

.ar-shell {
  position: relative;
  z-index: 1;
  width: var(--ar-shell);
  margin: 0 auto;
  padding: var(--ar-chrome-clearance) 0 max(80px, env(safe-area-inset-bottom));
}

.ar-shell:has(.ar-home) {
  width: var(--ar-shell-home);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: var(--ar-chrome-clearance);
  padding-bottom: max(72px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.ar-shell:has(.ar-home) #archive-root {
  width: 100%;
  margin: 0 auto;
}

.ar-shell-reading {
  width: var(--ar-reading);
}

.ar-intro {
  padding: 32px 0 12px;
}

.ar-whisper {
  max-width: 36ch;
  font-size: 1.05rem;
  color: var(--ar-ink-muted);
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* ── Home ── */

.ar-home {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(4.5rem, 10vw, 7.5rem);
}

@media (max-width: 640px) {
  .ar-home {
    gap: 3.25rem;
  }
}

/* ── Reveal ── */

.ar-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ar-ease), transform 0.7s var(--ar-ease);
}

.ar-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ar-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Hero: wordmark owns the first viewport ── */

.ar-hero {
  width: 100%;
}

.ar-hero-title {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100dvh - var(--ar-chrome-clearance) - 2rem);
  padding-bottom: 0.25rem;
}

.ar-wall {
  margin: 0 0 1.25rem;
  font-family: var(--ar-body);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--series-wall);
}

.ar-wall-tl {
  position: absolute;
  top: 0.35rem;
  left: 0;
  margin: 0;
}

.ar-hero-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.ar-wordmark {
  margin: 0;
  font-family: var(--ar-display);
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.06em;
  line-height: 0.88;
  color: var(--ar-ink);
  text-wrap: balance;
}

.ar-hero-tag {
  margin: 0;
  max-width: 36ch;
  font-family: var(--ar-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

.ar-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.35rem;
}

.ar-hero-links a {
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: italic;
  color: var(--ar-ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.ar-hero-links a:hover {
  color: var(--ar-ink-muted);
}

.ar-hero.ar-reveal:not(.is-in) .ar-wall,
.ar-hero.ar-reveal:not(.is-in) .ar-hero-band > * {
  opacity: 0;
  transform: translateY(12px);
}

.ar-hero.ar-reveal.is-in .ar-wall,
.ar-hero.ar-reveal.is-in .ar-hero-band > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ar-ease), transform 0.55s var(--ar-ease);
}

.ar-hero.ar-reveal.is-in .ar-wall { transition-delay: 40ms; }
.ar-hero.ar-reveal.is-in .ar-wordmark { transition-delay: 90ms; }
.ar-hero.ar-reveal.is-in .ar-hero-tag { transition-delay: 150ms; }
.ar-hero.ar-reveal.is-in .ar-hero-links { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  .ar-hero.ar-reveal:not(.is-in) .ar-wall,
  .ar-hero.ar-reveal:not(.is-in) .ar-hero-band > *,
  .ar-hero.ar-reveal.is-in .ar-wall,
  .ar-hero.ar-reveal.is-in .ar-hero-band > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--ar-ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--ar-ink);
  white-space: nowrap;
  cursor: pointer;
}

.ar-btn:hover {
  color: var(--ar-ink-muted);
  border-bottom-color: var(--ar-ink-muted);
}

.ar-btn:active {
  transform: none;
}

.ar-currently {
  margin: 0.75rem 0 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

/* ── Work proof ── */

.ar-work-proof {
  width: 100%;
  max-width: 42rem;
  scroll-margin-top: 5.5rem;
}

.ar-work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ar-line);
}

.ar-work-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--ar-line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ar-work-item:hover .ar-work-title {
  color: var(--ar-ink-muted);
}

.ar-work-item:focus-visible {
  outline: 2px solid var(--ar-ink);
  outline-offset: 3px;
}

.ar-work-copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.ar-work-title {
  font-family: var(--ar-body);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ar-ink);
}

.ar-work-line {
  max-width: 38ch;
  font-family: var(--ar-body);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

.ar-work-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.35rem;
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: italic;
  text-decoration: none;
  color: var(--ar-ink-muted);
}

.ar-work-more:hover {
  color: var(--ar-ink);
}

.ar-work-more:focus-visible,
.ar-btn:focus-visible,
.ar-topbar-btn:focus-visible,
.ar-path-chip:focus-visible {
  outline: 2px solid var(--ar-ink);
  outline-offset: 3px;
}

.ar-section-title {
  margin: 0 0 0.5rem;
  font-family: var(--ar-body);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ar-ink);
}

.ar-section-sub {
  margin: 0 0 1.25rem;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ar-ink-muted);
  letter-spacing: -0.01em;
}

.ar-currently-strip {
  width: 100%;
}

/* ── Paths (inline with chapters) ── */

.ar-path-filters {
  width: 100%;
  margin-bottom: 1.25rem;
}

.ar-path-deck {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .ar-path-deck {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -4px;
    padding-inline: 4px;
    padding-bottom: 2px;
  }

  .ar-path-deck::-webkit-scrollbar {
    display: none;
  }

  .ar-path-chip {
    flex: 0 0 auto;
  }
}

.ar-path-chip {
  min-height: 44px;
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ar-ink-muted);
  cursor: pointer;
}

.ar-path-chip:hover {
  color: var(--ar-ink);
  background: transparent;
}

.ar-path-chip:active {
  transform: none;
}

.ar-path-chip.is-active {
  color: var(--ar-ink);
  font-style: normal;
  border-bottom-color: var(--ar-ink);
  background: transparent;
}

.ar-path-panels {
  margin-top: 0.75rem;
  min-height: 0;
}

.ar-path-line {
  display: none;
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ar-ink-muted);
}

.ar-path-line.is-visible {
  display: block;
}

.ar-locked-lore {
  margin-top: 1rem;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: italic;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ar-ink-muted);
}

/* ── Photo grid (rooms) ── */

.ar-photo-grid {
  width: 100%;
}

.ar-photo-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 2.4vw, 1.4rem);
}

.ar-photo-tile {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ar-ink);
}

.ar-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 220ms var(--ar-ease);
}

.ar-photo-tile:hover img {
  opacity: 0.82;
}

.ar-season-card.is-filtered-out {
  display: none;
}

.ar-spotlight-tldr {
  margin: 0 0 0.5rem;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ar-ink-soft);
  letter-spacing: -0.01em;
}

.ar-receipt-tldr {
  display: block;
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ar-ink-soft);
}

/* ── CV ── */

.ar-cv {
  width: 100%;
}

.ar-cv-current {
  margin-top: 0.75rem;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ar-ink-muted);
}

.ar-cv-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ar-line);
}

.ar-cv-heading {
  margin: 0 0 1rem;
  font-family: var(--ar-body);
  font-size: 13px;
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--series-wall);
  font-weight: 400;
}

.ar-cv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ar-cv-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.ar-cv-item a {
  color: var(--ar-ink);
  text-decoration: none;
  font-weight: 400;
}

.ar-cv-item a:hover {
  color: var(--ar-ink-muted);
}

.ar-cv-year {
  font-family: var(--ar-body);
  font-size: 13px;
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ar-ink-faint);
}

.ar-cv-note {
  font-size: 14px;
  color: var(--ar-ink-muted);
  line-height: 1.45;
}

.ar-cv-more {
  margin-top: 2.5rem;
  font-size: 15px;
}

.ar-cv-more a {
  color: var(--ar-signal);
  text-decoration: none;
}

.ar-cv-more a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ar-home-intro {
  width: 100%;
  margin-bottom: 2rem;
}

.ar-home-tagline {
  margin-bottom: 0.75rem;
  font-family: var(--ar-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
}

.ar-home-title {
  margin: 0 0 1rem;
  font-family: var(--ar-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.ar-home-line {
  max-width: 48ch;
  margin: 0;
  font-family: var(--ar-body);
  font-size: clamp(18px, 4.2vw, 21px);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ar-ink-soft);
  text-wrap: pretty;
}

.ar-home-provocation {
  margin-top: 1.25rem;
  max-width: min(100%, 58ch);
  font-family: var(--ar-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
  text-wrap: balance;
}

.ar-home-lab {
  margin-top: 1rem;
  max-width: min(100%, 58ch);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ar-ink-muted);
}

.ar-home-lab a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

.ar-home-lab a:hover {
  color: var(--ar-ink-primary);
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.ar-home-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

.ar-home-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  min-height: 36px;
  border-radius: var(--ar-radius-btn);
  border: 1px solid var(--ar-line);
  background: var(--ar-surface-raised);
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
}

.ar-home-stat-value {
  color: var(--ar-signal);
  font-weight: 400;
}

.ar-home-seasons {
  width: 100%;
  scroll-margin-top: 84px;
}

.ar-home-spotlight {
  width: 100%;
}

.ar-home-spotlight .ar-spotlight {
  margin-top: 0;
}

/* ── Spotlight: selected writing, not a card ── */

.ar-spotlight {
  display: block;
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}

a.ar-spotlight:hover .ar-spotlight-title {
  color: var(--ar-ink-muted);
}

.ar-spotlight-title {
  font-family: var(--ar-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 14px;
  color: var(--ar-ink);
}

.ar-spotlight-tldr,
.ar-spotlight-note {
  max-width: 42ch;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

.ar-spotlight-meta {
  margin: 0;
  font-family: var(--ar-body);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--series-wall);
}

.ar-label {
  font-family: var(--ar-body);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--series-wall);
  margin-bottom: 16px;
}

.ar-label-line {
  display: inline;
}

.ar-label-line::before {
  content: none;
}

/* ── Index rows ── */

.ar-season-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--ar-line);
}

.ar-season-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  min-height: 0;
  padding: 1.15rem 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ar-line);
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}

.ar-season-card:hover {
  transform: none;
  border-color: var(--ar-line);
}

.ar-season-card:hover .ar-season-title {
  color: var(--ar-ink-muted);
}

.ar-season-num {
  font-family: var(--ar-body);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--series-wall);
  margin: 0;
}

.ar-season-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.ar-season-title {
  font-family: var(--ar-body);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ar-season-summary {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ar-ink-muted);
}

.ar-season-count {
  margin: 0;
  padding: 0;
  font-family: var(--ar-body);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--series-wall);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ar-season-card {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .ar-season-count {
    grid-column: 2;
    white-space: normal;
  }
}

/* ── Receipt table / episodes ── */

.ar-section-first,
.ar-section-flush {
  border-top: 0;
  padding-top: 0;
}

.ar-section {
  padding: 32px 0 0;
}

.ar-table {
  display: grid;
  gap: 0;
  border-radius: var(--ar-radius-card);
  border: 1px solid var(--ar-line);
  background: var(--ar-surface-raised);
  box-shadow: var(--ar-shadow-card);
  overflow: hidden;
}

.ar-table-spotlight {
  border-color: var(--ar-line-strong);
}

.ar-table > a {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--ar-line);
  transition: background 160ms var(--ar-ease);
}

.ar-table-titles > a,
.ar-table-titles > .ar-table-row {
  grid-template-columns: 1fr;
}

.ar-table > a:last-child,
.ar-table > .ar-table-row:last-child { border-bottom: 0; }

.ar-table-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 20px 22px;
  border-bottom: 1px solid var(--ar-line);
  color: inherit;
}

.ar-table-row-pending {
  opacity: 0.65;
  cursor: default;
}

.ar-table-row-locked {
  opacity: 0.72;
}

.ar-table-row-locked:hover {
  background: var(--ar-tint-hover);
}

.ar-table-row-soon {
  cursor: default;
}

.ar-table-row-soon .ar-receipt-title {
  font-weight: 400;
  color: var(--ar-ink-faint);
}

.ar-table > a:hover {
  background: var(--ar-tint-hover);
}

.ar-table > a:hover .ar-receipt-title {
  color: var(--ar-signal);
}

.ar-catalog {
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ar-ink-faint);
}

.ar-receipt-title {
  font-family: var(--ar-display);
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 160ms var(--ar-ease);
}

.ar-receipt-note {
  grid-column: 2;
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ar-ink-muted);
}

.ar-receipt-meta {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: var(--ar-radius-btn);
  border: 1px solid var(--ar-line);
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
  white-space: nowrap;
}

/* ── Room headers ── */

.ar-room-header {
  padding: 12px 0 28px;
}

.ar-room-title {
  font-family: var(--ar-display);
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.ar-room-summary {
  margin-top: 14px;
  max-width: 48ch;
  font-size: clamp(17px, 3.5vw, 19px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

.ar-room-summary a {
  color: var(--ar-signal);
  text-decoration: none;
  border-bottom: 1px solid var(--ar-signal-dim);
}

.ar-room-summary a:hover {
  border-bottom-color: var(--ar-signal);
}

.ar-chapter-epigraph {
  margin-top: 1.5rem;
  max-width: 36ch;
  font-family: var(--ar-body);
  font-size: clamp(18px, 3.8vw, 22px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ar-ink-soft);
  text-wrap: pretty;
}

/* ── Arc blocks ── */

.ar-series-season-title {
  font-family: var(--ar-display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ar-ink);
}

.ar-arc-block + .ar-arc-block {
  margin-top: 32px;
}

.ar-table + .ar-arc-block,
.ar-arc-block + .ar-table {
  margin-top: 36px;
}

.ar-arc-heading {
  margin-bottom: 12px;
}

.ar-arc-title {
  font-family: var(--ar-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ar-ink);
}

.ar-arc-summary {
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ar-ink-muted);
  margin: 0;
}

.ar-series-trail {
  margin-top: 16px;
  font-size: 0.92rem;
}

.ar-series-trail a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: var(--ar-ink);
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.ar-series-trail a:hover {
  color: var(--ar-ink-muted);
}

/* ── Navigation links ── */

.ar-back,
.ar-crumb a {
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ar-ink-muted);
  text-decoration: none;
}

.ar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 20px;
}

.ar-back:hover,
.ar-crumb a:hover {
  color: var(--ar-ink);
}

.ar-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
}

.ar-crumb span[aria-hidden="true"] {
  opacity: 0.45;
}

/* ── Close + footer ── */

.ar-close {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding-top: 0.5rem;
}

.ar-close-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ar-ink);
}

.ar-close-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.ar-close-copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-bottom: 0.2rem;
}

.ar-close-name {
  margin: 0;
  font-family: var(--ar-body);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
  color: var(--ar-ink);
}

.ar-close-line {
  margin: 0;
  font-size: 15px;
  color: var(--ar-ink-muted);
}

.ar-close-mail {
  margin-top: 0.35rem;
  font-size: 15px;
  font-style: italic;
  color: var(--ar-ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.ar-close-mail:hover {
  color: var(--ar-ink-muted);
}

@media (max-width: 640px) {
  .ar-close {
    grid-template-columns: 1fr;
  }

  .ar-close-photo {
    width: min(42vw, 180px);
    aspect-ratio: 1 / 1;
  }
}

.ar-footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--ar-line);
}

.ar-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.ar-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--ar-ink-muted);
  text-decoration: none;
}

.ar-footer-links a:hover {
  color: var(--ar-ink);
}

.ar-site-footer a {
  color: var(--ar-ink-faint);
  text-decoration: none;
}

/* ── Chapter nav ── */

.ar-chapter-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ar-line);
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: normal;
  letter-spacing: -0.02em;
}

.ar-chapter-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border: none;
  color: var(--ar-ink);
  text-decoration: none;
}

.ar-chapter-nav a:hover {
  color: var(--ar-ink-muted);
}

/* ── Empty / loading ── */

.ar-empty {
  padding: 32px 24px;
  border-radius: var(--ar-radius-card);
  border: 1px dashed var(--ar-line);
  color: var(--ar-ink-faint);
  font-size: 0.95rem;
  line-height: 1.6;
}

.ar-loading {
  padding: 48px 0;
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
}

.ar-reader-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.ar-reader-fallback-actions .ar-topbar-btn {
  text-decoration: none;
}

/* ── Pin gate ── */

.ar-pin-main {
  width: 100%;
}

.ar-pin-main > .ar-back {
  margin-bottom: 16px;
}

.ar-pin-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin-top: 0;
  padding: clamp(22px, 5vw, 28px);
  text-align: left;
}

.ar-pin-intro {
  width: 100%;
}

.ar-pin-intro .ar-label {
  margin-bottom: 0.85rem;
}

.ar-pin-title {
  font-family: var(--ar-display);
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.65rem;
}

.ar-pin-copy {
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ar-ink-muted);
}

.ar-pin-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ar-pin-form {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ar-pin-cells {
  display: flex;
  gap: clamp(10px, 2.8vw, 14px);
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.ar-pin-cell-wrap {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: 72px;
}

.ar-pin-cell-wrap.is-active .ar-pin-cell {
  border-color: var(--ar-signal);
  box-shadow: inset 0 0 0 1px var(--ar-signal);
}

.ar-pin-cursor {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 1.45em;
  margin: -0.725em 0 0 -1px;
  background: var(--ar-signal);
  pointer-events: none;
  animation: ar-pin-blink 1s step-end infinite;
}

.ar-pin-cell-wrap.is-active:not(.is-filled) .ar-pin-cursor {
  display: block;
}

.ar-pin-cell {
  width: 100%;
  height: 100%;
  min-height: clamp(4.5rem, 20vw, 5.75rem);
  padding: 0;
  text-align: center;
  font-family: var(--ar-body);
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ar-ink);
  background: var(--ar-surface);
  border: 1px solid var(--ar-line);
  border-radius: 0;
  caret-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 160ms var(--ar-ease), box-shadow 160ms var(--ar-ease);
}

.ar-pin-cell:focus {
  outline: none;
}

.ar-pin-cell-wrap.is-filled .ar-pin-cell {
  border-color: var(--ar-line-strong);
}

.ar-pin-error {
  margin-top: 0.75rem;
  text-align: center;
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ar-ink-muted);
}

@keyframes ar-pin-blink {
  50% { opacity: 0; }
}

@keyframes ar-pin-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.ar-pin-cells-shake {
  animation: ar-pin-shake 0.4s ease;
}

@media (min-width: 720px) {
  .ar-table-row {
    grid-template-columns: 72px minmax(0, 1.2fr) auto;
    align-items: baseline;
  }

  .ar-table-row .ar-receipt-note {
    grid-column: 2 / -1;
  }
}

/* ── Chapter reading ── */

.ar-reading-pane {
  margin-top: 4px;
  padding: clamp(22px, 5vw, 28px);
  border-radius: var(--ar-radius-card);
  border: 1px solid var(--ar-line);
  background: var(--ar-surface-raised);
  box-shadow: var(--ar-shadow-card);
}

.ar-reading-pane .mm-piece,
.ar-reading-pane article {
  max-width: none;
}

.ar-reading-pane .mm-piece-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ar-line);
}

.ar-reading-pane .mm-orientation {
  display: none;
}

.ar-reading-pane .mm-piece-header h1 {
  margin: 0 0 0.75rem;
  font-family: var(--ar-display);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ar-ink);
}

.ar-reading-pane .mm-piece-header > p:last-child {
  max-width: 52ch;
  font-family: var(--ar-body);
  font-size: clamp(17px, 3.5vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

.ar-reading-pane .mm-opening-note {
  max-width: none;
  margin: 0 0 2rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--ar-line);
}

.ar-reading-pane .mm-dedication {
  max-width: 52ch;
  margin-left: 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--ar-line-strong);
}

.ar-reading-pane .mm-dedication p,
.ar-reading-pane .mm-dedication .mm-dedication-name {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ar-ink-soft);
}

.ar-reading-pane .mm-dedication p:not(.mm-dedication-name) {
  font-family: var(--ar-body);
}

.ar-reading-pane .mm-dedication .mm-dedication-name {
  margin-bottom: 0.5rem;
  color: var(--ar-ink);
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ar-reading-pane .mm-prose,
.ar-reading-pane .episode-body {
  max-width: 62ch;
  font-family: var(--ar-body);
  font-size: clamp(17px, 3.5vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ar-ink-soft);
  text-wrap: pretty;
}

.ar-reading-pane .mm-prose p,
.ar-reading-pane .episode-body p,
.ar-reading-pane .mm-archive-voice p {
  margin: 0 0 1.15rem;
}

.ar-reading-pane .mm-prose p:last-child,
.ar-reading-pane .episode-body p:last-child,
.ar-reading-pane .mm-archive-voice p:last-child {
  margin-bottom: 0;
}

/* Quiet closing invitation: sits below the essay's last line as a footer, not a
   crescendo, so the meditative ending is protected from the call to action. */
.ar-reading-pane .mm-prose p.mm-coda {
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ar-line);
  font-size: 0.85em;
  color: var(--ar-ink-muted);
  letter-spacing: 0;
}

/* Newsletter signup — centered with the verse */
.ar-signup {
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--ar-line);
  max-width: 36rem;
  text-align: center;
}

.ar-signup-kicker {
  margin: 0 0 10px;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
}

.ar-signup-title {
  margin: 0 0 8px;
  font-family: var(--ar-body);
  font-size: clamp(18px, 3.2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ar-ink);
  text-wrap: pretty;
}

.ar-signup-copy {
  margin: 0 0 18px;
  font-family: var(--ar-body);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ar-ink-muted);
  text-wrap: pretty;
}

.ar-signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
}

.ar-signup-form input[type="email"] {
  flex: none;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--ar-line-strong);
  background: transparent;
  color: var(--ar-ink);
  font-family: var(--ar-body);
  font-size: 15px;
  outline: none;
  text-align: center;
}

.ar-signup-form input[type="email"]:focus {
  border-bottom-color: var(--ar-ink);
}

.ar-signup-form input[type="email"]::placeholder {
  color: var(--ar-ink-faint);
}

.ar-signup-form button {
  flex-shrink: 0;
  width: 100%;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--ar-ink);
  font-family: var(--ar-body);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  cursor: pointer;
}

.ar-signup-form button:hover {
  color: var(--ar-ink-muted);
}

.ar-signup-form button:active {
  transform: none;
}

.ar-signup-form button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ar-signup .form-message {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-family: var(--ar-body);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  transition: opacity 160ms var(--ar-ease);
}

.ar-signup .form-message.visible {
  opacity: 1;
}

.ar-signup .form-message.is-ok {
  color: var(--ar-ink);
}

.ar-signup .form-message.is-error {
  color: var(--ar-ink-muted);
}

@media (max-width: 520px) {
  .ar-signup-form button {
    width: 100%;
  }
}

.ar-reading-pane .mm-archive-voice {
  font-family: var(--ar-body);
  font-size: clamp(17px, 3.5vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ar-ink-soft);
}

.ar-reading-pane .mm-about-author {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ar-line);
}

.ar-reading-pane .ar-profile-photo {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 1rem;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--ar-line);
}

.ar-reading-pane .ar-status-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ar-line);
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ar-ink-muted);
}

.ar-reading-pane .mm-prose a,
.ar-reading-pane a {
  color: var(--ar-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ar-line-strong);
}

.ar-reading-pane .mm-prose a:hover,
.ar-reading-pane a:hover {
  border-bottom-color: var(--ar-signal);
}

.ar-reading-pane .mm-piece-nav,
.ar-reading-pane .piece-nav,
.ar-reading-pane .mm-back-link,
.ar-reading-pane .mm-footer {
  display: none !important;
}

.ar-reading-pane .ar-course-doc .mm-prose,
.ar-reading-pane .ar-course-doc .mm-dedication p:not(.mm-dedication-name) {
  font-size: 1rem;
  line-height: 1.65;
}

.ar-reading-pane .ar-course-doc .mm-piece-header > p:last-child {
  font-size: 1rem;
}

.ar-reading-pane .ar-course-doc .mm-opening-note {
  display: block;
}

.ar-reading-pane .ar-course-doc .ar-profile-photo {
  width: 104px;
  height: 104px;
  margin-bottom: 0.85rem;
}

.ar-reading-pane .ar-course-doc .mm-dedication {
  max-width: 48ch;
  padding: 0 0 0 1rem;
}

.ar-course-doc .mm-course-dates,
.ar-reading-pane .ar-course-doc .mm-course-dates {
  margin-top: 0.75rem;
  font-family: var(--ar-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
}

.ar-course-doc .mm-practice,
.ar-course-doc .mm-receipts,
.ar-reading-pane .ar-course-doc .mm-practice,
.ar-reading-pane .ar-course-doc .mm-receipts {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--ar-ink-muted);
}

.ar-course-doc .mm-course-footer,
.ar-reading-pane .ar-course-doc .mm-course-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ar-line);
  font-family: var(--ar-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--ar-ink-faint);
}

.ar-reading-pane .chapter {
  margin: 2rem 0 0;
}

.ar-reading-pane .chapter:first-child {
  margin-top: 0;
}

.ar-reading-pane .chapter + .chapter {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ar-line);
}

.ar-reading-pane .chapter-number {
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-ink-faint);
  margin-bottom: 0.5rem;
}

.ar-reading-pane .chapter-title {
  font-family: var(--ar-display);
  font-size: 1.2rem;
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.02em;
  color: var(--ar-ink);
  margin: 0 0 0.85rem;
}

.ar-reading-pane .closing-poem {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ar-line);
  font-family: var(--ar-body);
  font-style: italic;
  color: var(--ar-ink-muted);
}

.ar-reading-pane blockquote {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--ar-line-strong);
  font-family: var(--ar-body);
  color: var(--ar-ink-soft);
}

@media (max-width: 640px) {
  .ar-table > a {
    grid-template-columns: 56px 1fr;
  }

  .ar-receipt-meta {
    grid-column: 2;
    justify-self: start;
    margin-top: 6px;
  }

  .ar-shell,
  .ar-shell:has(.ar-home) {
    width: calc(100% - 32px);
  }

  .ar-shell:has(.ar-home) {
    padding-bottom: max(64px, env(safe-area-inset-bottom));
  }

  /* Instant section jumps on narrow viewports (portfolio nav pattern). */
  html {
    scroll-behavior: auto;
  }

  /* The current-chapter chip crowds the mobile header (brand wraps to two
     lines). The "← Chapter" back link already covers this navigation. */
  .ar-topbar-chapter {
    display: none;
  }

  .ar-season-card {
    min-height: 0;
    padding: 1.05rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ── Photo-first home (palette from the autumn water photo) ── */
/* Subpages flip to Series paper: white ground, black ink. */

body.ar-page-home {
  --photo-navy: #1a242c;
  --photo-sky: #587aa4;
  --photo-mist: #afb9c3;
  --photo-paper: #f4efe4;
  --photo-maple: #c45a3a;
  --photo-gold: #d4a24a;
  --photo-well: #101820;
  --ar-void: var(--photo-navy);
  --ar-surface: var(--photo-navy);
  --ar-surface-raised: var(--photo-navy);
  --ar-sheet: var(--photo-navy);
  --ar-ink: var(--photo-paper);
  --ar-ink-soft: var(--photo-paper);
  --ar-ink-muted: var(--photo-mist);
  --ar-ink-faint: #8b969f;
  --ar-line: rgba(244, 239, 228, 0.12);
  --ar-line-strong: rgba(244, 239, 228, 0.22);
  --ar-signal: var(--photo-paper);
  --ar-signal-dim: rgba(244, 239, 228, 0.12);
  --series-wall: #8b969f;
  --ar-selection-bg: var(--photo-paper);
  --ar-selection-fg: var(--photo-navy);
  --ar-tint-hover: rgba(255, 255, 255, 0.06);
  --ar-tint-active: rgba(255, 255, 255, 0.10);
  background: var(--photo-well);
  color: var(--photo-paper);
  overscroll-behavior-y: none;
}

body.ar-page-sub {
  --photo-navy: #1a242c;
  --photo-paper: #f4efe4;
  --ar-void: #ffffff;
  --ar-surface: #ffffff;
  --ar-surface-raised: #ffffff;
  --ar-sheet: #ffffff;
  --ar-ink: #000000;
  --ar-ink-soft: #000000;
  --ar-ink-muted: #6e6e73;
  --ar-ink-faint: #aeaeb2;
  --ar-line: rgba(0, 0, 0, 0.12);
  --ar-line-strong: rgba(0, 0, 0, 0.22);
  --ar-signal: #000000;
  --ar-signal-dim: rgba(0, 0, 0, 0.06);
  --ar-tint-hover: rgba(0, 0, 0, 0.04);
  --ar-tint-active: rgba(0, 0, 0, 0.08);
  --ar-selection-bg: #000000;
  --ar-selection-fg: #ffffff;
  --ar-shell: min(calc(100% - 48px), 896px);
  --ar-reading: min(calc(100% - 48px), 720px);
  background: #ffffff;
  color: #000000;
  min-height: 100dvh;
}

html:has(body.ar-page-home) {
  overscroll-behavior-y: none;
}

html:has(body.ar-page-sub) {
  background: #ffffff;
}

body.ar-page-home .ar-topbar {
  background: transparent;
  border-bottom: none;
  gap: 12px;
}

body.ar-page-sub .ar-topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  gap: 12px;
}

body.ar-page-sub .ar-topbar-legal {
  /* Sticky, not the home bar's position:fixed + left/right.
     Those leftovers make Safari flicker the chrome over scrolling type. */
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 50;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  isolation: isolate;
}

body.ar-page-sub .ar-topbar-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 896px;
  margin: 0 auto;
  width: 100%;
  padding: 14px max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
  box-sizing: border-box;
}

body.ar-page-sub .ar-chrome-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  pointer-events: auto;
  font-family: var(--ar-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #6e6e73;
  text-decoration: none;
  transition: color 160ms var(--ar-ease);
}

body.ar-page-sub .ar-chrome-back:hover,
body.ar-page-sub .ar-chrome-back:focus-visible {
  color: #000000;
}

body.ar-page-sub .ar-chrome-back-icon {
  flex: 0 0 auto;
}

body.ar-page-sub .ar-legal-main {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  box-sizing: border-box;
}

body.ar-page-sub .ar-page-hero {
  text-align: center;
  margin: 0 0 32px;
}

body.ar-page-sub .ar-page-hero-title {
  margin: 0;
  font-family: var(--ar-display);
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #000000;
  text-wrap: balance;
}

body.ar-page-sub .ar-page-hero-meta {
  margin: 20px auto 0;
  max-width: 42ch;
  font-family: var(--ar-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #6e6e73;
  text-wrap: pretty;
}

body.ar-page-sub .ar-work-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 36rem;
  margin: 0 auto;
}

body.ar-page-sub .ar-work-link {
  display: block;
  padding: 22px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--ar-display);
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #000000;
  text-decoration: none;
  text-align: center;
  transition: opacity 160ms var(--ar-ease);
}

body.ar-page-sub .ar-work-link:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

body.ar-page-sub .ar-work-link:hover,
body.ar-page-sub .ar-work-link:focus-visible {
  opacity: 0.55;
}

body.ar-page-sub .ar-cv .ar-cv-current {
  text-align: center;
  margin: -24px auto 40px;
  max-width: 42ch;
  color: #6e6e73;
}

body.ar-page-home .ar-header-marks {
  pointer-events: auto;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.ar-header-marks-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.ar-header-marks-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.4vw, 1.75rem);
  padding-right: 0.85rem;
}

.ar-header-marks-group[aria-hidden="true"] {
  pointer-events: none;
}

.ar-header-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 2px;
  overflow: visible;
  opacity: 0.48;
  text-decoration: none;
  pointer-events: auto;
  transition: opacity 160ms cubic-bezier(0.32, 0.72, 0, 1);
}

a.ar-header-mark {
  cursor: pointer;
}

.ar-header-mark-logo img {
  display: block;
  height: 20px;
  width: auto;
  max-width: none;
  overflow: visible;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) brightness(0) invert(1);
}

.ar-header-mark-type span {
  display: block;
  font-family: var(--ar-body);
  font-size: 11px;
  font-weight: var(--ar-weight-display);
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

a.ar-header-mark:hover,
a.ar-header-mark:focus-visible {
  opacity: 0.82;
}

body.ar-page-home .ar-brand {
  color: var(--photo-paper);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

body.ar-page-sub .ar-brand {
  color: #000000;
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.045em;
}

body.ar-page-sub .ar-topbar-legal .ar-brand {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  min-height: 36px;
}

body.ar-page-home .ar-topbar-btn {
  color: var(--photo-paper);
  border-color: rgba(244, 239, 228, 0.22);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.ar-page-home .ar-topbar-btn:hover,
body.ar-page-home .ar-topbar-btn:focus-visible {
  color: var(--photo-paper);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 239, 228, 0.34);
}

body.ar-page-home .ar-topbar-btn.is-current {
  color: var(--photo-navy);
  background: var(--photo-paper);
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

body.ar-page-home .ar-topbar-btn.is-current:hover,
body.ar-page-home .ar-topbar-btn.is-current:focus-visible {
  color: var(--photo-navy);
  background: var(--photo-paper);
  border-color: transparent;
  opacity: 0.88;
}

body.ar-page-sub .ar-topbar-btn {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

body.ar-page-sub .ar-topbar-btn:hover,
body.ar-page-sub .ar-topbar-btn:focus-visible {
  color: #000000;
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.22);
}

body.ar-page-sub .ar-topbar-btn.is-current {
  color: #ffffff;
  background: #000000;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

body.ar-page-sub .ar-topbar-btn.is-current:hover,
body.ar-page-sub .ar-topbar-btn.is-current:focus-visible {
  color: #ffffff;
  background: #000000;
  border-color: transparent;
  opacity: 0.88;
}

body.ar-page-home .ar-shell,
body.ar-page-home .ar-shell:has(.ar-home) {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.ar-page-home .ar-home {
  /* Series: relative h-[calc(100svh+220px)] — runway only, not a second page. */
  position: relative;
  display: block;
  gap: 0;
  width: 100%;
  height: calc(100svh + 220px);
  min-height: calc(100svh + 220px);
  margin: 0;
  padding: 0;
}

body.ar-page-home .ar-hero-art {
  /* Sticky (not fixed): photo stays put while the 220px runway scrolls.
     Fixed + dvh/svh mix was making mobile chrome resize feel like a push. */
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100svh;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--photo-navy);
}

.ar-hero-frame,
.ar-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.ar-hero-frame img {
  object-fit: cover;
  object-position: center 42%;
}

/* Series-split invite: mobile line up / button down; desktop line left / button right */
body.ar-page-home .ar-home-invite {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  opacity: 1;
  transition:
    opacity 220ms var(--ar-ease),
    visibility 220ms var(--ar-ease);
}

body.ar-page-home.is-vignette .ar-home-invite {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.ar-page-home .ar-home-invite-line,
body.ar-page-home .ar-home-invite-btn {
  pointer-events: auto;
  position: absolute;
}

body.ar-page-home .ar-home-invite-line {
  top: calc(max(12px, env(safe-area-inset-top)) + 88px);
  left: max(32px, env(safe-area-inset-left));
  right: max(32px, env(safe-area-inset-right));
  margin: 0;
  max-width: 20ch;
  font-family: var(--ar-display);
  font-size: clamp(2.5rem, 11vw, 2.75rem);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--photo-paper);
  text-wrap: balance;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

body.ar-page-home .ar-home-invite-btn {
  /* Series Start Connecting (mobile): h-61 w-340 rounded-[12px], white, soft shadow */
  left: 50%;
  right: auto;
  bottom: max(95px, calc(env(safe-area-inset-bottom) + 48px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(340px, calc(100vw - 51.44px));
  height: 61px;
  min-height: 61px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  background: #ffffff;
  color: #202020;
  font-family: var(--ar-body);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
  transition: transform 160ms var(--ar-ease), opacity 200ms var(--ar-ease);
}

body.ar-page-home .ar-home-invite-btn:hover,
body.ar-page-home .ar-home-invite-btn:focus-visible {
  opacity: 0.92;
}

body.ar-page-home .ar-home-invite-btn:active {
  transform: translateX(-50%) scale(0.98);
}

@media (min-width: 768px) {
  body.ar-page-home .ar-home-invite-line {
    top: 50%;
    left: max(45px, env(safe-area-inset-left));
    right: auto;
    bottom: auto;
    max-width: min(640px, 48vw);
    transform: translateY(-50%);
    font-size: clamp(3.5rem, 6.5vw, 5.4rem);
    font-weight: 590;
    line-height: 0.98;
  }

  body.ar-page-home .ar-home-invite-btn {
    /* Series desktop: h-[54.6] w-[253.9] rounded-[12.6px] */
    top: 50%;
    left: auto;
    right: max(45px, env(safe-area-inset-right));
    bottom: auto;
    width: 254px;
    height: 55px;
    min-height: 55px;
    padding: 15px 29px;
    border-radius: 12.6px;
    font-size: 22px;
    transform: translateY(-50%);
  }

  body.ar-page-home .ar-home-invite-btn:active {
    transform: translateY(-50%) scale(0.98);
  }
}

@media (min-width: 1440px) {
  body.ar-page-home .ar-home-invite-btn {
    width: 273px;
    height: 60px;
    min-height: 60px;
    font-size: 25px;
  }
}

.ar-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ar-overscroll {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
  min-height: 220px;
  padding: 120px max(24px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: linear-gradient(
    to bottom,
    rgba(16, 24, 32, 0) 0%,
    rgba(16, 24, 32, 0.55) 48%,
    rgba(16, 24, 32, 0.92) 78%,
    var(--photo-well) 100%
  );
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  /* Series hide: duration-500 + translate-y-3 */
  transition:
    opacity 500ms var(--ar-ease),
    transform 500ms var(--ar-ease),
    visibility 500ms var(--ar-ease);
}

.ar-overscroll.is-in {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  /* Series show: duration-300 */
  transition:
    opacity 300ms var(--ar-ease),
    transform 300ms var(--ar-ease),
    visibility 300ms var(--ar-ease);
}

.ar-overscroll.is-in .ar-overscroll-brand,
.ar-overscroll.is-in .ar-overscroll-mark {
  pointer-events: auto;
}

body.ar-page-sub {
  min-height: 100dvh;
}

body.ar-page-sub .ar-shell,
body.ar-page-sub .ar-shell-reading {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  /* Sticky legal chrome sits in flow; do not also reserve fixed-header clearance. */
  padding-top: 0;
  padding-bottom: 0;
  /* overflow-x other than visible turns this into a sticky containing block
     and the header jitters as text scrolls underneath. */
  overflow: visible;
  box-sizing: border-box;
}

body.ar-page-sub #archive-root {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
}

body.ar-page-sub #archive-root > main {
  flex: 1 0 auto;
  padding-bottom: 32px;
}

body.ar-page-sub .ar-overscroll {
  position: relative;
  left: auto;
  width: 100%;
  max-width: none;
  margin: auto 0 0 0;
  min-height: 0;
  padding: 18px max(24px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  align-items: flex-end;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.ar-page-sub .ar-overscroll-brand,
body.ar-page-sub .ar-overscroll-mark {
  pointer-events: auto;
}

body.ar-page-sub .ar-overscroll-brand {
  color: #000000;
}

body.ar-page-sub .ar-overscroll-mark {
  opacity: 0.55;
}

body.ar-page-sub .ar-overscroll-mark img {
  filter: grayscale(1) brightness(0);
}

body.ar-page-sub .ar-overscroll-icons .ar-overscroll-sign {
  gap: 0;
}

body.ar-page-sub .ar-overscroll-icons .ar-overscroll-marks {
  margin-top: 0;
}

body.ar-page-sub .ar-signup {
  max-width: 36rem;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
}

body.ar-page-sub .ar-signup .ar-wall {
  color: #aeaeb2;
}

body.ar-page-sub .ar-signup-title {
  color: #000000;
}

body.ar-page-sub .ar-signup-copy {
  color: #6e6e73;
}

body.ar-page-sub .ar-signup-form input[type="email"] {
  border-bottom-color: rgba(0, 0, 0, 0.22);
  color: #000000;
}

body.ar-page-sub .ar-signup-form button {
  color: #000000;
}

body.ar-page-sub .ar-reading-pane {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
}

/* Series legal reading: centered title stack, black passage ink */
body.ar-page-sub .ar-reading-pane .mm-piece-header {
  text-align: center;
  margin: 0 0 2.5rem;
  padding: 0;
  border-bottom: none;
}

body.ar-page-sub .ar-reading-pane .mm-piece-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--ar-display);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #6e6e73;
}

body.ar-page-sub .ar-reading-pane .mm-piece-header h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #000000;
  text-wrap: balance;
}

body.ar-page-sub .ar-reading-pane .mm-piece-header > p:last-child {
  margin: 1.15rem auto 0;
  max-width: 34ch;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #6e6e73;
}

body.ar-page-sub .ar-reading-pane .mm-opening-note {
  max-width: 40rem;
  margin: 0 auto 2rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
  color: #6e6e73;
}

body.ar-page-sub .ar-reading-pane .mm-prose,
body.ar-page-sub .ar-reading-pane .episode-body,
body.ar-page-sub .ar-reading-pane .mm-archive-voice {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: -0.011em;
  color: #000000;
  text-align: center;
  text-wrap: pretty;
}

body.ar-page-sub .ar-reading-pane .mm-prose p,
body.ar-page-sub .ar-reading-pane .episode-body p,
body.ar-page-sub .ar-reading-pane .mm-archive-voice p {
  margin: 0 0 1.45rem;
  color: #000000;
}

body.ar-page-sub .ar-reading-pane .mm-prose h2,
body.ar-page-sub .ar-reading-pane .episode-body h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--ar-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #000000;
  text-align: center;
  text-wrap: balance;
}

body.ar-page-sub .ar-reading-pane .mm-prose a,
body.ar-page-sub .ar-reading-pane a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.ar-page-sub .ar-reading-pane .mm-prose p.mm-coda {
  color: #6e6e73;
}

body.ar-page-sub .ar-reading-pane .mm-prose strong {
  font-weight: 590;
}

body.ar-page-sub .ar-reading-pane .mm-prose em {
  font-style: italic;
}

body.ar-page-sub .ar-reading-pane .mm-prose u {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

body.ar-page-sub .ar-reading-pane .closing-poem {
  border-top-color: rgba(0, 0, 0, 0.12);
  text-align: center;
}

body.ar-page-sub .ar-reading-pane blockquote {
  padding: 0;
  border-left: none;
  text-align: center;
}

body.ar-page-sub .ar-reading-pane .mm-dedication {
  max-width: 36rem;
  margin: 0 auto 2rem;
  padding: 0;
  border-left: none;
  text-align: center;
}

body.ar-page-sub .ar-reading-pane .chapter-title {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: #000000;
}

/* Season entry lists match Writing hub (not boxed catalog) */
body.ar-page-sub .ar-table.ar-table-titles {
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  max-width: 36rem;
  margin: 0 auto;
}

body.ar-page-sub .ar-table-titles > a,
body.ar-page-sub .ar-table-titles > .ar-table-row {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
  background: transparent;
}

body.ar-page-sub .ar-table-titles > a:first-child,
body.ar-page-sub .ar-table-titles > .ar-table-row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

body.ar-page-sub .ar-table-titles > a:last-child,
body.ar-page-sub .ar-table-titles > .ar-table-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

body.ar-page-sub .ar-table-titles .ar-receipt-title {
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.03em;
  color: #000000;
}

body.ar-page-sub .ar-table-titles > a:hover {
  background: transparent;
  opacity: 0.55;
}

body.ar-page-sub .ar-table-titles > a:hover .ar-receipt-title {
  color: #000000;
}

body.ar-page-sub .ar-table-row-soon .ar-receipt-title {
  color: #aeaeb2;
  font-weight: 400;
}

body.ar-page-sub .ar-shell-reading {
  width: min(calc(100% - 0px), 896px);
  max-width: 896px;
}

body.ar-page-sub .ar-back {
  color: var(--ar-ink-muted);
}

body.ar-page-sub .ar-back:hover,
body.ar-page-sub .ar-back:focus-visible {
  color: var(--ar-ink);
}

.ar-overscroll-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.ar-overscroll-brand {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  line-height: 0.95;
  font-family: var(--ar-display);
  font-size: clamp(1.85rem, 4.2vw, 2.6rem);
  font-weight: var(--ar-weight-display);
  letter-spacing: -0.04em;
  text-transform: lowercase;
  color: var(--photo-paper);
  text-decoration: none;
}

.ar-overscroll-brand:hover {
  opacity: 0.55;
}

.ar-overscroll-marks {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: 2px;
  margin-left: -6px;
}

.ar-overscroll-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  min-width: 0;
  padding: 8px 6px;
  opacity: 0.78;
  text-decoration: none;
  transition: opacity 160ms cubic-bezier(0.32, 0.72, 0, 1);
}

.ar-overscroll-mark img {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}

.ar-overscroll-mark:hover,
.ar-overscroll-mark:focus-visible {
  opacity: 1;
}

@media (max-width: 640px) {
  .ar-header-mark-logo img {
    height: 14px;
  }

  .ar-overscroll-mark img {
    height: 24px;
  }

  .ar-header-mark-type span {
    font-size: 10px;
  }

  body.ar-page-home .ar-brand {
    font-size: 14px;
    letter-spacing: -0.045em;
  }

  body.ar-page-home .ar-header-marks {
    padding: 0 6px;
    flex: 1 1 0;
    min-width: 40px;
  }

  body.ar-page-home .ar-topbar-actions {
    flex: 0 0 auto;
  }

  .ar-header-marks-group {
    gap: 0.85rem;
    padding-right: 0.85rem;
  }

  .ar-header-marks-track {
    animation: ar-marks-ticker 24s linear infinite;
  }

  .ar-header-marks:hover .ar-header-marks-track,
  .ar-header-marks:focus-within .ar-header-marks-track {
    animation-play-state: paused;
  }

  .ar-overscroll {
    min-height: 168px;
    padding-top: 88px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  body.ar-page-sub .ar-overscroll {
    min-height: 0;
    padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }

  body.ar-page-sub .ar-overscroll-brand {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
}

@media (min-width: 641px) {
  body.ar-page-home .ar-header-marks {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }

  .ar-header-marks-track {
    width: 100%;
    justify-content: center;
    animation: none;
  }

  .ar-header-marks-group[aria-hidden="true"] {
    display: none;
  }

  .ar-header-marks-group {
    padding-right: 0;
    gap: clamp(0.85rem, 2.4vw, 1.75rem);
  }
}

@keyframes ar-marks-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ar-overscroll {
    transform: none;
  }

  .ar-header-marks-track {
    animation: none !important;
  }

  .ar-header-marks-group[aria-hidden="true"] {
    display: none;
  }
}
