/* Filmanthropy Ledger Phase 1 prototype */
.ledger-v2 {
  --v2-line: rgba(200, 168, 75, 0.24);
  --v2-dark: #120f0b;
  --v2-panel: #1a1712;
}

.ledger-v2 [hidden] {
  display: none !important;
}

.ledger-v2 a:focus-visible,
.ledger-v2 button:focus-visible,
.ledger-v2 summary:focus-visible,
.ledger-v2 [tabindex]:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.ledger-v2 nav > div > a > span[style*="rgba(200,168,75,0.35)"] {
  color: #b89d50 !important;
}

.ledger-v2 .footer-tag {
  color: rgba(247, 244, 239, 0.62);
}

.ledger-v2 .footer-tag[style] {
  color: rgba(247, 244, 239, 0.62) !important;
}

.ledger-v2 .ledger-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.ledger-footer-heading { display: grid; gap: 0.65rem; justify-items: center; }
.ledger-footer-heading p { font-family: var(--mono); font-size: 0.7rem; line-height: 1.7; letter-spacing: 0.1em; text-transform: uppercase; color: #c8c1b6; }
.ledger-footer-heading a { color: var(--gold-light); font-family: var(--serif); font-size: clamp(1.35rem, 4vw, 1.7rem); min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.ledger-footer-heading a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ledger-footer-copyright { max-width: 52ch; font-family: var(--mono); font-size: 0.65rem; line-height: 1.8; color: #aaa296; }
.ledger-footer-heading .ledger-footer-copyright { margin: 0; color: #c8c1b6; font-size: 0.7rem; line-height: 1.6; letter-spacing: 0.02em; text-transform: none; }
.ledger-footer-brand { width: min(280px, 100%); margin: 0; text-align: center; }
.ledger-footer-art { display: block; width: 100%; height: auto; margin: 0 auto; filter: brightness(1.12) contrast(1.08) drop-shadow(0 0 1px rgba(218, 182, 91, 0.9)) drop-shadow(0 0 8px rgba(200, 168, 75, 0.3)); }
.ledger-footer-brand figcaption { margin-top: 0.65rem; color: var(--gold-light); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.ledger-footer-brand figcaption a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.ledger-footer-brand figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.share-feedback { color: var(--gold-light); font-size: 0.75rem; line-height: 1.5; }
.share-feedback:empty { display: none; }
.exp-share-btn { cursor: pointer; }

.reading-progress {
  position: fixed;
  inset: 68px auto auto 0;
  width: 0;
  height: 3px;
  background: var(--rust);
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.reading-progress.is-visible {
  opacity: 1;
}

.ledger-v2 .ledger-hero {
  min-height: 0;
  padding: 5.5rem 1.25rem 4rem;
}

/* The Ledger has its own navigation; the company site retains its menu. */
.ledger-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.1rem;
  padding-right: 1.1rem;
  text-decoration: none;
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
}

.ledger-brand small {
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
}

.ledger-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.ledger-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0.75rem;
  color: var(--paper);
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}

.ledger-submit-link {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0.4rem 0.7rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-mobile-item small {
  display: block;
  margin-top: 0.25rem;
  color: var(--gold-light);
  font-size: 0.62rem;
}

.ledger-v2 .nav-mobile-close { min-width: 44px; min-height: 44px; }
.ledger-v2 .nav-mobile-overlay > a { flex-shrink: 0; }

.ledger-v2 .nav-menu-label,
.ledger-v2 .nav-menu-icon { width: auto; height: auto; background: none; border-radius: 0; }
.ledger-v2 .nav-menu-label { color: var(--gold-light); font-family: var(--mono); font-size: 0.85rem; line-height: 1; }
.ledger-v2 .nav-menu-icon { display: grid; gap: 5px; width: 24px; }
.nav-menu-icon i { display: block; height: 2px; background: var(--paper); border-radius: 1px; }
.ledger-v2 .nav-mobile-btn:focus-visible { outline: none; }
.nav-mobile-btn:focus-visible .nav-menu-label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

@media (max-width: 1599px) {
  .ledger-v2 #nav-desktop-center,
  .ledger-v2 .nav-cta-desktop { display: none; }
  .ledger-v2 .nav-mobile-btn { display: flex; flex-direction: row; gap: 0.6rem; min-height: 44px; align-items: center; padding: 0.4rem 0.5rem; border: 0; border-radius: 0; }
}

@media (max-width: 359px) {
  .ledger-brand { font-size: 0.875rem; padding-right: 0.25rem; }
  .ledger-v2 .nav-mobile-btn { padding-inline: 0.25rem; gap: 0.45rem; }
}

.ledger-welcome {
  position: relative;
  z-index: 5;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ledger-v2 .ledger-hero-headline {
  max-width: none;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  margin-bottom: 0.5rem;
}

.ledger-hero-headline a { color: inherit; text-decoration: none; }

.ledger-byline {
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.ledger-introduction a { color: var(--gold-light); text-underline-offset: 4px; }

.ledger-introduction { max-width: 76ch; color: var(--paper); }

.ledger-introduction h2 {
  max-width: 28ch;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.15;
}

.ledger-introduction p { margin-top: 0.75rem; line-height: 1.6; color: #e0d9ce; }
.ledger-introduction > h2 + p { margin-top: 1.25rem; }
.ledger-introduction .ledger-intro-link { font-size: 0.9rem; color: #c8c1b6; }

.welcome-explore {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  margin-top: 3rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.welcome-explore:hover { background: var(--gold-light); }

.note-view .ledger-v1-record { padding: clamp(2rem, 6vw, 4rem) 1.25rem; }
.note-view .ledger-v1-record-inner { text-align: left; }

.ledger-photo-credit { margin-top: 2rem; font-family: var(--mono); font-size: 0.6rem; color: #b3a995; }

.ledger-hero-photo {
  display: none;
}

@media (min-width: 601px) {
  .ledger-v2 .ledger-hero { min-height: calc(100svh + 2rem); justify-content: flex-start; }
  .ledger-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    background-image: url("../fort-lee-backlot.jpg");
    background-position: center top;
    background-size: cover;
    filter: sepia(0.8) contrast(1.2) brightness(0.3) saturate(0.5);
  }
}

.ledger-hub {
  background: var(--cream);
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
  scroll-margin-top: 68px;
}

.hub-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hub-kicker,
.view-mast span,
.hub-number,
.hub-status,
.hub-ladder-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hub-kicker {
  display: inline-block;
  color: #6d5517;
  margin-bottom: 1rem;
}

.ledger-hub h2 {
  max-width: 15ch;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hub-intro {
  max-width: 65ch;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

@media (min-width: 900px) {
  .ledger-hub h2 { max-width: none; }
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.hub-card {
  --card-accent: var(--gold);
  min-height: 310px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(14, 13, 11, 0.12);
  border-top: 5px solid var(--card-accent);
  border-radius: 5px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -90px;
  border: 1px solid color-mix(in srgb, var(--card-accent), transparent 62%);
  border-radius: 50%;
  pointer-events: none;
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(30, 23, 14, 0.1);
}

.hub-card-essay {
  --card-accent: #16130e;
}

.hub-card-cases {
  --card-accent: var(--gold);
  color: var(--paper);
  background: var(--film);
}

.hub-card-now {
  --card-accent: var(--moss);
  background: #edf1e8;
}

.hub-card-stories {
  --card-accent: var(--rust);
  background: #f0e7df;
}

.hub-card-ai { --card-accent: #475b78; background: #e7edf5; }
.hub-card-submit { --card-accent: #856414; background: #f3ead3; }

.hub-card-cases h3 a { color: inherit; text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 0.055em; }
.hub-card-cases a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hub-case-features { display: grid; gap: 1rem; margin-top: 0.5rem; }
.hub-case-provenance { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--v2-line); }
.hub-case-provenance > span { color: var(--gold-light); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hub-case-provenance p { margin-top: 0.4rem; color: #cec8bc; font-size: 0.84rem; font-style: italic; line-height: 1.6; }
.hub-case-features a {
  display: block;
  min-height: 44px;
  padding-top: 1rem;
  border-top: 1px solid var(--v2-line);
  color: var(--gold-light);
  text-decoration: none;
}
.hub-case-features strong { display: block; font-size: 0.95rem; font-weight: 500; }
.hub-case-features span { display: block; margin-top: 0.35rem; color: #cec8bc; font-size: 0.88rem; line-height: 1.6; }

.hub-number {
  color: color-mix(in srgb, var(--card-accent), var(--ink) 20%);
}

.hub-card-cases .hub-number {
  color: var(--gold);
}

.hub-status {
  position: absolute;
  top: 1.55rem;
  right: 1.5rem;
  max-width: 56%;
  color: #666157;
  text-align: right;
  letter-spacing: 0.08em;
}

.hub-card-cases .hub-status {
  color: rgba(247, 244, 239, 0.72);
}

.hub-card h3 {
  margin: 3rem 0 0.2rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.05;
}

.hub-card > p {
  max-width: 45ch;
  margin-top: 0.8rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hub-card-cases > p {
  color: rgba(247, 244, 239, 0.68);
}

.hub-card-subtitle {
  margin-top: 0.35rem !important;
  font-family: var(--serif);
  font-style: italic;
  color: var(--rust) !important;
}

.hub-texture {
  display: block;
  margin-top: 1.25rem;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.6rem;
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.62);
}

.hub-card blockquote {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--rust);
  font-family: var(--serif);
  font-style: italic;
}

.hub-headlines {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub-headline {
  display: block;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(74, 103, 65, 0.2);
}

.hub-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-accent), #000 28%);
}

.hub-card-cases .hub-cta {
  color: var(--gold-light);
}

.hub-ladder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0 0 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(14, 13, 11, 0.12);
  background: white;
}

.hub-ladder-label {
  color: var(--ink-muted);
}

.ladder-step {
  min-height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-left: 4px solid currentColor;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--cream);
}

.ladder-step small {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: #666157;
}

.ladder-sustainable {
  color: var(--moss);
}

.ladder-contributive {
  color: #765b13;
}

.ladder-regenerative {
  color: var(--rust);
}

.ladder-arrow {
  display: none;
  color: var(--ink-muted);
}

.hub-framework {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #666157;
}

.hub-framework a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.hub-social-effects {
  margin: -1.25rem 0 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(118, 91, 19, 0.35);
  background: rgba(200, 168, 75, 0.08);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.hub-social-effects a {
  color: #765b13;
  font-weight: 500;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.ledger-view {
  padding-top: var(--ledger-nav-height, 68px);
  scroll-margin-top: 68px;
}

.view-mast {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem max(1.25rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(14, 13, 11, 0.12);
  background: var(--paper);
}

.view-mast-dark {
  border-color: rgba(247, 244, 239, 0.1);
  background: var(--film);
  color: var(--paper);
}

.view-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}

.view-mast span {
  color: var(--ink-muted);
}

.view-mast-dark span {
  color: rgba(247, 244, 239, 0.45);
}

.essay-reader-layout {
  position: relative;
  background: var(--paper-warm);
}

.essay-reader-tools {
  position: sticky;
  top: 68px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-top: 1px solid rgba(14, 13, 11, 0.08);
  border-bottom: 1px solid rgba(14, 13, 11, 0.12);
  background: rgba(245, 241, 235, 0.96);
  backdrop-filter: blur(10px);
}

#essay-expand-all,
.essay-toc summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(14, 13, 11, 0.2);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.essay-toc {
  position: relative;
}

.essay-toc summary {
  list-style: none;
}

.essay-toc summary::-webkit-details-marker {
  display: none;
}

#essay-toc-links {
  position: absolute;
  width: min(330px, calc(100vw - 2.5rem));
  right: 0;
  top: calc(100% + 0.5rem);
  display: grid;
  padding: 0.75rem;
  border: 1px solid rgba(14, 13, 11, 0.16);
  box-shadow: 0 12px 35px rgba(14, 13, 11, 0.14);
  background: var(--cream);
}

#essay-toc-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-decoration: none;
}

#essay-toc-links a:hover {
  color: var(--rust);
}

.ledger-v2 .essay-fold > summary {
  display: none;
}

.ledger-v2 .essay-expanded {
  padding-top: 0;
}

.essay-chapter {
  margin: 1rem 0;
  border-top: 1px solid rgba(14, 13, 11, 0.13);
  scroll-margin-top: 145px;
}

.essay-chapter > summary {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
}

.essay-chapter > summary::-webkit-details-marker {
  display: none;
}

.chapter-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
}

.chapter-summary {
  grid-column: 1;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.chapter-toggle {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.4rem;
  color: var(--rust);
  transition: transform 0.2s ease;
}

.essay-chapter[open] .chapter-toggle {
  transform: rotate(45deg);
}

.essay-chapter-content {
  padding: 0.25rem 0 1rem;
}

.essay-chapter-content > .essay-h3:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ledger-v2 .essay-section {
  padding-top: 3.5rem;
}

.ledger-v2 #case-studies-view .l-card {
  min-height: 44px;
}

.ledger-v2 #case-studies-view .l-card:focus-visible {
  outline-color: var(--gold);
}

#ledger-expanded {
  position: fixed;
  inset: 0;
  z-index: 1500;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(9, 8, 6, 0.98);
}

#ledger-expanded.is-open {
  display: block !important;
}

.entry-open {
  overflow: hidden;
}

.ledger-v2 #ledger-expanded .exp-inner {
  width: min(1100px, 100%);
  min-height: 100%;
  padding-top: 1.5rem;
}

.ledger-v2 #ledger-expanded .exp-back {
  min-height: 44px;
}

.entry-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border-top: 1px solid rgba(247, 244, 239, 0.09);
}

.entry-pagination button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(200, 168, 75, 0.32);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.live-feed-view,
.stories-view {
  min-height: 80vh;
  color: var(--paper);
  background: var(--film);
}

.live-feed-inner,
.stories-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.25rem;
}

.live-feed-heading-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.live-feed-heading-row h2,
.stories-inner h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.05;
}

.live-feed-heading-row p,
.stories-lede {
  max-width: 62ch;
  margin-top: 1rem;
  color: rgba(247, 244, 239, 0.62);
  line-height: 1.75;
}

.feed-updated,
.verification-badge,
.feed-tag,
.coming-soon-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(200, 168, 75, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feed-note {
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  color: rgba(247, 244, 239, 0.68);
  background: rgba(200, 168, 75, 0.06);
  font-size: 0.86rem;
  line-height: 1.65;
}

.feed-priority-note {
  margin-top: 1.5rem;
  color: var(--gold-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

.happening-feed {
  display: grid;
  gap: 1rem;
}

.feed-item {
  scroll-margin-top: calc(var(--ledger-nav-height, 68px) + 1rem);
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(247, 244, 239, 0.1);
  border-left: 4px solid var(--moss-light);
  border-radius: 4px;
  background: var(--v2-panel);
}

.feed-dateline {
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.feed-share { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.5rem; }
.feed-share-label { flex-basis: 100%; font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.feed-share .share-btn { flex-shrink: 0; color: var(--gold); font-size: 20px; cursor: pointer; }
.feed-share .share-feedback { flex-basis: 100%; }

.feed-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.1;
}

.feed-byline {
  color: rgba(247, 244, 239, 0.45);
  font-size: 0.78rem;
}

.feed-summary {
  max-width: 68ch;
  color: rgba(247, 244, 239, 0.7);
  line-height: 1.75;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.verification-badge {
  border-color: rgba(200, 168, 75, 0.48);
  color: var(--gold-light);
  background: rgba(200, 168, 75, 0.08);
}

.feed-tag {
  border-color: rgba(122, 158, 110, 0.5);
  color: #b7d2ae;
}

.feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 244, 239, 0.08);
}

.feed-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-underline-offset: 3px;
}

.feed-follow-up {
  font-size: 0.78rem;
  color: rgba(247, 244, 239, 0.45);
}

.feed-error {
  padding: 1rem;
  border: 1px solid rgba(184, 76, 42, 0.5);
  color: var(--rust-light);
}

.stories-inner {
  width: min(800px, 100%);
}

.stories-inner > p {
  max-width: 65ch;
  margin-top: 1.25rem;
  color: rgba(247, 244, 239, 0.65);
  line-height: 1.75;
}

.ai-inner { width: min(880px, 100%); }
.ai-article {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink-soft);
}
.ai-article h3 { margin: 2.25rem 0 1rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: var(--ink); }
.ai-article h3:first-child { margin-top: 0; }
.ai-article p { margin-top: 1rem; line-height: 1.85; }

.stories-inner a {
  color: var(--gold-light);
}

.stories-inner .stories-submit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 3px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.stories-placeholder {
  position: relative;
  margin: 2.5rem 0;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(200, 168, 75, 0.22);
  background: rgba(200, 168, 75, 0.06);
}

.stories-placeholder p {
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.45;
}

.stories-mark {
  position: absolute;
  top: -2rem;
  right: 1rem;
  color: rgba(200, 168, 75, 0.12);
  font-family: var(--serif);
  font-size: 11rem;
  line-height: 1;
}

.coming-soon-pill {
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-card {
    padding: 2rem;
  }

  .hub-ladder {
    grid-template-columns: auto 1fr auto 1fr auto 1fr;
    align-items: center;
  }

  .ladder-arrow {
    display: inline;
  }

  .live-feed-heading-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

@media (min-width: 1050px) {
  .essay-reader-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 720px);
    justify-content: center;
    gap: 2.5rem;
    padding: 0 2rem;
  }

  .essay-reader-tools {
    top: 98px;
    align-self: start;
    flex-direction: column;
    align-items: stretch;
    margin-top: 5rem;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  #essay-expand-all {
    justify-content: center;
  }

  .essay-toc > summary {
    display: none;
  }

  #essay-toc-links {
    position: static;
    width: auto;
    display: grid;
    padding: 0.75rem 0;
    border: 0;
    border-top: 1px solid rgba(14, 13, 11, 0.12);
    border-bottom: 1px solid rgba(14, 13, 11, 0.12);
    box-shadow: none;
    background: transparent;
  }

  .essay-toc:not([open]) #essay-toc-links {
    display: grid;
  }

  .ledger-v2 .essay-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .ledger-v2 .ledger-hero {
    min-height: 0;
    padding-top: 5.25rem;
    padding-bottom: 2rem;
  }

  .ledger-v2 .ledger-hero-headline {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .ledger-byline { margin-bottom: 1rem; }
  .ledger-introduction h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
  .ledger-introduction p { margin-top: 0.75rem; line-height: 1.6; }
  .welcome-explore { margin-top: 2rem; }
  .ledger-photo-credit { display: none; }

  .hub-card {
    min-height: 285px;
  }

  .view-mast span {
    display: none;
  }

  .essay-reader-tools {
    top: 68px;
  }

  #essay-expand-all {
    max-width: 62%;
    line-height: 1.3;
  }

  .ledger-v2 .essay-section {
    padding: 3rem 1.25rem;
  }

  .ledger-v2 #ledger-expanded .exp-inner {
    padding: 1rem 1rem 2rem;
  }

  .ledger-v2 #ledger-expanded .exp-header,
  .ledger-v2 #ledger-expanded .exp-narrative,
  .ledger-v2 #ledger-expanded .exp-verdict,
  .entry-pagination {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

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

/* Round 2: anchor clearance and curated playlist players. */
.ledger-v2 #forerunners,
.ledger-v2 .l-card[id],
.ledger-v2 #watch {
  scroll-margin-top: calc(var(--ledger-nav-height, 68px) + 16px);
}

.ledger-v2 .ledger-view,
.ledger-v2 #paths,
.ledger-v2 #hub { scroll-margin-top: calc(var(--ledger-nav-height, 68px) + 16px); }

.ledger-watch {
  margin-top: 3rem;
}

.ledger-hub .ledger-watch > h2 {
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  color: var(--ink);
  max-width: none;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.playlist-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--v2-line);
  border-radius: 4px;
  background: var(--v2-panel);
}

.playlist-card h3 {
  min-height: 2.6em;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.3;
  color: var(--paper);
}

.playlist-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--film);
}

.playlist-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.playlist-card > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.5rem;
  color: var(--gold-light);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .playlist-grid { grid-template-columns: 1fr; }
  .playlist-card h3 { min-height: 0; }
}

/* Editorial opening: one visual invitation, with context below the first screen. */
.ledger-v2 .ledger-hero { display: block; min-height: 0; padding: 0; }
.ledger-opening { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 100svh; padding: calc(68px + clamp(2rem,5svh,4rem)) max(1.5rem,calc((100vw - 1180px)/2)) clamp(2.5rem,6svh,4rem); background: var(--film); }
.ledger-opening .ledger-hero-photo { display: block; position: absolute; inset: 0; z-index: 0; background: url('../fort-lee-backlot.jpg') center 35%/cover no-repeat; filter: sepia(.55) contrast(1.1) brightness(.5) saturate(.6); }
.ledger-v2 .ledger-hero-headline { max-width: 18ch; margin: 0; font-size: clamp(2.35rem,6.5vw,6rem); line-height: 1.05; letter-spacing: -.025em; }
.ledger-opening .ledger-byline { margin: 1.25rem 0 2.5rem; font-size: .8rem; }
.ledger-opening-question { max-width: 32ch; color: var(--paper); font: 400 clamp(1.5rem,2.5vw,2.25rem)/1.3 var(--serif); }
.ledger-opening .welcome-explore { margin-top: 2.5rem; min-height: 48px; gap: .75rem; border-radius: 0; padding: .85rem 1.25rem; font: 500 .95rem/1.6 var(--sans); }
.ledger-opening .ledger-photo-credit { display: block; max-width: 52ch; margin-top: 2rem; font-size: .625rem; line-height: 1.7; }
.ledger-v2 .ledger-introduction { max-width: none; padding: clamp(3rem,6vw,5rem) max(1.5rem,calc((100vw - 1180px)/2)); background: var(--cream); color: var(--ink); border-bottom: 1px solid #d8d0bc; }
.ledger-introduction::before { content: ''; display: block; width: 3rem; margin-bottom: 1.5rem; border-top: 3px solid var(--gold); }
.ledger-v2 .ledger-introduction p { max-width: 76ch; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.85; }
.ledger-v2 .ledger-introduction p:first-child { margin-top: 0; max-width: 60ch; color: var(--ink); font: 400 clamp(1.4rem,2.4vw,1.9rem)/1.55 var(--serif); }
.ledger-v2 .ledger-introduction .ledger-intro-link { font-size: .95rem; }
.ledger-introduction a { color: #75602a; }
.ledger-v2 #nav-desktop-center { display: flex; justify-content: flex-end; padding-right: 1rem; }
.ledger-v2 #nav-desktop-center a { font-size: .875rem; }
.ledger-v2 #nav-desktop-center a:nth-child(n+4) { display: none; }
.ledger-v2 .nav-cta-desktop { display: inline-flex; min-height: 44px; margin-right: 1rem; font: 500 .875rem var(--sans); }
.ledger-v2 .nav-mobile-btn { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; margin-left: 0; padding: .4rem .5rem; border: 0; border-radius: 0; }
.ledger-v2 > nav > div[style*="pointer-events:none"] { opacity: .55; }
.ledger-v2 .nav-mobile-overlay { width: min(520px,100%); left: auto; padding-top: 68px; box-shadow: -100vw 0 0 100vw #090806bb; }
.ledger-v2 .nav-mobile-item { font: 400 1.15rem/1.35 var(--serif); text-transform: none; letter-spacing: 0; color: var(--paper); padding: 1rem 1.5rem; }
.ledger-v2 .nav-mobile-num { color: var(--gold-light); font: .7rem var(--mono); }
.ledger-v2 .nav-mobile-cta-item { margin: 1.5rem; font: 500 .95rem/1.6 var(--sans); text-transform: none; letter-spacing: 0; border-radius: 0; }
@media(max-width:1199px) { .ledger-v2 #nav-desktop-center, .ledger-v2 .nav-cta-desktop { display: none; } .ledger-v2 .nav-mobile-btn { margin-left: auto; } }
@media(max-width:600px) { .ledger-opening { padding-top: 6.5rem; padding-bottom: 2.5rem; } .ledger-opening .ledger-byline { margin-bottom: 2rem; } .ledger-opening .welcome-explore { margin-top: 2rem; } }
