/* Factual Media front page — hybrid broadsheet */

.front-body {
  --paper: #f6f2ea;
  --paper-elevated: #fffdf8;
  --ink: #141820;
  --ink-muted: #5c6570;
  --ink-faint: #8a939e;
  --rule: #ddd6c8;
  --masthead: #1e2836;
  --masthead-deep: #151c26;
  --masthead-text: #f0f4f8;
  --masthead-muted: #a8b8c8;
  --accent: var(--fm-accent-deep);
  --amber: #d97706;
  --amber-bg: #fef3c7;
  --serif: var(--fm-display-desk);
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', monospace;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  margin: 0;
  min-height: 100vh;
}

.front-body a {
  color: inherit;
  text-decoration: none;
}

.front-body a:hover {
  color: var(--accent);
}

/* Masthead — full-width band, content aligned to body grid */
.fm-masthead {
  background: linear-gradient(180deg, var(--masthead) 0%, var(--masthead-deep) 100%);
  color: var(--masthead-text);
  border-bottom: 1px solid #2a3848;
}

.fm-masthead-inner {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.15rem;
}

.fm-utility {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fm-utility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  color: var(--masthead-muted);
}

.fm-editions {
  display: flex;
  gap: 0.95rem;
  font-weight: 500;
}

.fm-editions a {
  color: var(--masthead-muted);
  font-size: 0.94rem;
}

.fm-editions a.active {
  color: var(--accent);
  font-weight: 600;
}

.fm-edition-soon {
  opacity: 0.5;
  font-size: 0.94rem;
}

.fm-dateline {
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.fm-staff-link {
  color: var(--masthead-muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.fm-brand {
  text-align: center;
  padding: 1.2rem 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fm-kicker {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--masthead-muted);
  margin: 0 0 0.5rem;
}

.fm-logo {
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  display: block;
  line-height: 1.05;
}

.fm-logo:hover {
  color: #fff;
  opacity: 0.92;
}

.fm-edition-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.45rem 0 0;
}

.fm-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.5rem;
  padding: 0.75rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.fm-nav-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fm-nav-scroll::-webkit-scrollbar {
  display: none;
}

.fm-nav a {
  color: var(--masthead-muted);
}

.fm-nav a:hover,
.fm-nav a.active {
  color: #fff;
}

/* Desktop / mobile visibility */
.fm-mobile-only {
  display: none;
}

.fm-mobile-bar {
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fm-mobile-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  flex: 1;
  min-width: 0;
}

.fm-mobile-logo:hover {
  color: #fff;
  opacity: 0.92;
}

.fm-mobile-edition {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}

.fm-menu-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--amber);
  color: #1a1208;
  cursor: pointer;
}

.fm-menu-icon {
  display: block;
  width: 0.9rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}

body.fm-menu-open {
  overflow: hidden;
}

/* Fixed overlay menu — closed by default, never in document flow */
.fm-mobile-menu {
  display: none;
}

.fm-mobile-menu:not([hidden]) {
  display: block;
}

.fm-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(12, 16, 24, 0.55);
  cursor: pointer;
}

.fm-mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(18rem, 88vw);
  max-height: 100vh;
  overflow-y: auto;
  padding: 0.5rem 0 1rem;
  background: var(--masthead-deep);
  border-left: 1px solid #2a3848;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
}

.fm-mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--masthead-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fm-mobile-nav a:last-child {
  border-bottom: none;
}

.fm-mobile-nav a:hover,
.fm-mobile-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

/* Ticker — scrolls with page; only masthead is sticky on mobile */
.fm-ticker-wrap {
  position: relative;
  background: var(--masthead-deep);
  border-bottom: 3px solid var(--amber);
}

.fm-ticker-inner {
  max-width: 76rem;
  margin: 0 auto;
  position: relative;
  min-height: 2.55rem;
  padding: 0 1.15rem;
}

.fm-ticker-label {
  position: absolute;
  left: 1.15rem;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  background: var(--amber);
  color: #1a1208;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.fm-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.35rem;
  padding: 0.6rem 1rem 0.6rem 6.5rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: #c5d4e3;
  min-height: 2.55rem;
}

/* Phone: phone — inline ticker chip, no full-width MARKET band */
@media (max-width: 767px) {
  .fm-ticker-wrap {
    border-bottom-width: 2px;
  }

  .fm-ticker-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 0;
    padding: 0.4rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fm-ticker-label {
    position: static;
    flex-shrink: 0;
    padding: 0.2rem 0.5rem;
    font-size: 0.62rem;
    border-radius: 2px;
  }

  .fm-ticker {
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.65rem 1rem;
    padding: 0;
    min-height: 0;
    font-size: 0.78rem;
  }

  .fm-ticker-note {
    display: none;
  }
}

.fm-ticker-item .sym {
  color: #fff;
  font-weight: 600;
}

.fm-ticker-item .up {
  color: #52b788;
}

.fm-ticker-item .down {
  color: #e76f6f;
}

.fm-ticker-note {
  font-size: 0.6rem;
  color: #6b7d90;
  font-style: italic;
  margin-left: auto;
}

/* Pinned strip */
.fm-pinned {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0.55rem 1.15rem;
  background: var(--amber-bg);
  border-bottom: 1px solid #f0d68a;
  font-size: 0.92rem;
}

.fm-pinned-badge {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--amber);
  color: #1a1208;
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
}

.fm-pinned-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.fm-pinned-text a {
  font-family: var(--serif);
  font-weight: 700;
}

.fm-pinned-text a:hover {
  color: var(--amber);
}

.fm-pinned-jump {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
}

/* Main */
.fm-main {
  max-width: 76rem;
  margin: 0 auto;
  padding: 1.35rem 1.15rem 2.5rem;
}

.fm-grid-main {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  grid-template-areas: 'rail lead sidebar';
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1.5rem;
}

.fm-rail-aside {
  grid-area: rail;
}

.fm-lead-col {
  grid-area: lead;
  border-right: 1px solid var(--rule);
  padding-right: 1.5rem;
}

.fm-sidebar-aside {
  grid-area: sidebar;
}

/* Tablet: lead on top, rail + sidebar below */
@media (max-width: 1024px) {
  .fm-grid-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'lead lead'
      'rail sidebar';
    gap: 1.25rem;
  }

  .fm-lead-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1.25rem;
  }
}

/* Mobile: single column, lead first */
@media (max-width: 767px) {
  .fm-grid-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      'lead'
      'rail'
      'sidebar';
  }
}

.fm-rail-title {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--ink);
}

.fm-rail-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.fm-rail-item:last-child {
  border-bottom: none;
}

.fm-rail-item h3 {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.3rem 0 0;
}

.fm-rail-item p {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin: 0.28rem 0 0;
}

.fm-lead-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.fm-lead-headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.fm-lead-headline a {
  color: var(--ink);
}

.fm-lead-headline a:hover {
  color: var(--accent);
}

.fm-lead-dek {
  font-size: 1.08rem;
  line-height: 1.55;
  color: #2a3140;
  margin: 0 0 0.85rem;
}

.fm-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.fm-evidence-line {
  font-size: 0.78rem;
  color: var(--ink-muted);
  padding: 0.6rem 0.8rem;
  background: var(--paper-elevated);
  border-left: 3px solid var(--accent);
  margin-top: 0.85rem;
}

.fm-evidence-line a {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.fm-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 2px;
}

.fm-tag-tier-s {
  background: #dcfce7;
  color: #166534;
}
.fm-tag-tier-a {
  background: #dbeafe;
  color: #1e40af;
}
.fm-tag-tier-b {
  background: #fef3e2;
  color: #b45309;
}
.fm-tag-tier-c {
  background: #fee2e2;
  color: #991b1b;
}

.fm-tag-cat {
  background: #e8eef5;
  color: var(--ink-muted);
}

.fm-tag-skip {
  background: #f3f4f6;
  color: var(--ink-faint);
  font-style: italic;
}

.fm-box {
  background: var(--paper-elevated);
  border: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
}

.fm-box-tip {
  border-color: var(--rule);
  background: var(--paper-elevated);
}

.fm-digest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: digest;
}

.fm-digest-list li {
  counter-increment: digest;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 0.82rem;
  line-height: 1.35;
}

.fm-digest-list li::before {
  content: counter(digest) '.';
  font-family: var(--mono);
  font-weight: 700;
  color: var(--ink-faint);
  margin-right: 0.3rem;
}

.fm-mover {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.78rem;
}

.fm-mover:last-child {
  border-bottom: none;
}

.fm-mover .sym {
  font-weight: 700;
}

.fm-mover .pct.up {
  color: #15803d;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.fm-mover .pct.down {
  color: #b91c1c;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.fm-market-note {
  font-size: 0.62rem;
  color: var(--ink-faint);
  font-style: italic;
  margin: 0.55rem 0 0;
  line-height: 1.35;
}

.fm-sections-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.fm-sections-head h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0;
}

.fm-sections-head span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.fm-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

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

@media (max-width: 520px) {
  .fm-cat-grid {
    grid-template-columns: 1fr;
  }
}

.fm-cat-col {
  border-left: 1px solid var(--rule);
  padding-left: 1rem;
}

.fm-cat-col:first-child {
  border-left: none;
  padding-left: 0;
}

@media (max-width: 520px) {
  .fm-cat-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 1rem;
  }
  .fm-cat-col:first-child {
    border-top: none;
    padding-top: 0;
  }
}

.fm-cat-name {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.fm-cat-name.eco {
  color: var(--accent);
}
.fm-cat-name.sec {
  color: #b45309;
}
.fm-cat-name.gov {
  color: #6366f1;
}

.fm-story-sm h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin: 0.22rem 0 0;
  line-height: 1.25;
}

.fm-story-sm p {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin: 0.28rem 0 0;
}

.fm-story-sm + .fm-story-sm {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dotted var(--rule);
}

.fm-sample-label {
  font-family: var(--mono);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.fm-rail-item.fm-sample h3 span,
.fm-story-sm.fm-sample h4 span {
  color: var(--ink-muted);
}

/* Accountability row */
.fm-accountability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

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

.fm-account-box {
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  background: var(--paper-elevated);
}

.fm-account-box.truth {
  border-left: 3px solid #52b788;
}

.fm-account-box.shame {
  border-left: 3px solid #e76f6f;
}

.fm-account-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.fm-account-box.truth .fm-account-label {
  color: #15803d;
}

.fm-account-box.shame .fm-account-label {
  color: #b91c1c;
}

.fm-account-box h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.3;
}

.fm-account-box p {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
}

/* Empty states */
.fm-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border: 1px dashed var(--rule);
}

.fm-empty-lead {
  font-family: var(--serif);
  font-size: 1.65rem;
  margin: 0 0 0.4rem;
}

.fm-empty p {
  color: var(--ink-muted);
  margin: 0;
}

.fm-empty-hint {
  margin-top: 1.25rem;
  font-size: 0.82rem;
}

/* Footer */
.fm-footer {
  text-align: center;
  padding: 1.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  background: var(--paper-elevated);
}

.fm-footer strong {
  color: var(--ink);
}

.fm-footer a {
  color: var(--accent);
}

.fm-preview-badge {
  position: fixed;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-radius: 3px;
  opacity: 0.88;
  z-index: 50;
  pointer-events: none;
}

/* ── Mobile & tablet: readability + touch targets ── */

/* Tablet: slightly larger base */
@media (max-width: 1024px) {
  html.front-root {
    font-size: 17px;
  }
}

/* Phone: match ~125% desktop comfort + Guardian-style compact chrome */
@media (max-width: 767px) {
  html.front-root {
    font-size: 18px;
  }

  .fm-masthead {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .fm-ticker-wrap {
    position: relative;
  }

  .fm-ticker-inner {
    padding: 0.35rem 1rem;
  }

  .fm-desktop-only {
    display: none !important;
  }

  .fm-mobile-bar.fm-mobile-only {
    display: flex;
  }

  .fm-masthead-inner {
    padding: 0 1rem;
  }

  .fm-main {
    padding: 0.65rem 1rem 2rem;
  }

  .fm-lead-label {
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
  }

  .fm-lead-headline {
    font-size: clamp(1.65rem, 6.5vw, 2.15rem);
    line-height: 1.12;
    margin-bottom: 0.5rem;
  }

  .fm-lead-dek {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
  }

  .fm-evidence-line {
    font-size: 0.88rem;
    margin-top: 0.65rem;
    padding: 0.5rem 0.65rem;
  }

  .fm-pinned {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    gap: 0.5rem 0.65rem;
  }

  .fm-pinned-text {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    flex: 1 1 100%;
    line-height: 1.35;
  }

  .fm-pinned-jump {
    margin-left: auto;
    font-size: 0.88rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }

  .fm-rail-title {
    font-size: 0.72rem;
  }

  .fm-rail-item h3 {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .fm-rail-item p {
    font-size: 0.88rem;
  }

  .fm-rail-time {
    color: var(--ink-faint);
    font-family: var(--mono);
    font-size: 0.82em;
  }

  .fm-meta-row {
    font-size: 0.82rem;
  }

  .fm-tag {
    font-size: 0.72rem;
  }

  .fm-digest-list li {
    font-size: 0.95rem;
  }

  .fm-mover {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .fm-market-note {
    font-size: 0.85rem;
  }

  .fm-story-sm h4 {
    font-size: 1.05rem;
  }

  .fm-story-sm p {
    font-size: 0.88rem;
  }

  .fm-account-box h4 {
    font-size: 1.05rem;
  }

  .fm-account-box p {
    font-size: 0.88rem;
  }

  .fm-footer {
    font-size: 0.9rem;
    padding: 1.5rem 1rem;
  }

  .fm-preview-badge {
    font-size: 0.65rem;
    bottom: 0.5rem;
    right: 0.5rem;
  }
}

/* Article page — light theme matching front */
.fm-article {
  max-width: 42rem;
  margin: 0 auto;
}

.fm-article-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.fm-article-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.fm-article-dek {
  font-size: 1.1rem;
  line-height: 1.55;
  color: #2a3140;
  margin: 0.85rem 0 0;
}

.fm-epistemic-strip {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--accent);
  background: rgba(201, 162, 39, 0.08);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fm-epistemic-strip[data-frame='satire'] {
  border-left-color: #7c5cbf;
  background: rgba(124, 92, 191, 0.1);
}

.fm-epistemic-strip[data-frame='truthseeking'] {
  border-left-color: #c45c26;
  background: rgba(196, 92, 38, 0.1);
}

.fm-epistemic-frame {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.fm-epistemic-disclosure {
  color: #2a3140;
}

.fm-claim-appendix {
  margin: 1.35rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #faf9f6;
  font-size: 0.95rem;
}

.fm-claim-appendix summary {
  cursor: pointer;
  font-weight: 600;
  color: #2a3140;
}

.fm-claim-group {
  margin-top: 1rem;
}

.fm-claim-group h2 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6270;
  margin: 0 0 0.45rem;
}

.fm-claim-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm-claim-group li + li {
  margin-top: 0.55rem;
}

.fm-claim-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.45rem;
}

.fm-claim-text {
  color: #2a3140;
  line-height: 1.5;
}

.fm-claim-refs {
  margin: 0.35rem 0 0 0;
  padding-left: 1rem;
  list-style: disc;
  font-size: 0.82rem;
}

.fm-claim-refs a {
  color: #3a4a60;
  word-break: break-all;
}

.fm-claim-fingerprint {
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #5a6270;
}

.fm-claim-fingerprint code {
  font-size: inherit;
}

/* Phase H — frame-aware chrome */
.fm-article.fm-frame-satire .fm-article-label {
  color: #7c5cbf;
}

.fm-article.fm-frame-satire .fm-epistemic-strip {
  border-left-color: #7c5cbf;
  background: rgba(124, 92, 191, 0.12);
}

.fm-article.fm-frame-satire .fm-epistemic-frame::after {
  content: ' — not news';
  font-weight: 600;
  letter-spacing: 0.06em;
}

.fm-article.fm-frame-truthseeking .fm-article-label {
  color: #c45c26;
}

.fm-article.fm-frame-truthseeking .fm-epistemic-strip {
  border-left-width: 4px;
  padding: 0.9rem 1rem;
}

.fm-article.fm-frame-investigation .fm-epistemic-strip,
.fm-article.fm-frame-analysis .fm-epistemic-strip {
  background: rgba(201, 162, 39, 0.1);
}

.fm-article-body {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 1.05rem;
  line-height: 1.6;
}

.fm-article-body p {
  margin: 0 0 1rem;
}

.fm-article-body p:last-child {
  margin-bottom: 0;
}

.fm-article-hero,
.fm-article-figure {
  margin: 1.15rem 0 0;
  padding: 0;
}

.fm-article-hero img,
.fm-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  background: #e8eaef;
}

.fm-layout-breaking .fm-article-hero {
  margin-top: 0.85rem;
}

.fm-layout-breaking .fm-article-hero img {
  max-height: 640px;
}

.fm-layout-brief .fm-article-hero img {
  max-height: 360px;
}

.fm-article-hero figcaption,
.fm-article-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.fm-media-credit {
  font-style: italic;
}

.fm-media-ai {
  display: block;
  margin-top: 0.25rem;
  color: #8a5a2b;
  font-weight: 600;
}

.fm-article-evidence {
  margin-top: 1.35rem;
}

.fm-article-evidence h2 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.65rem;
}

.fm-article-evidence ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fm-article-evidence li + li {
  margin-top: 0.5rem;
}

.fm-article-evidence .fm-evidence-line {
  margin-top: 0;
}

.fm-article-disclosure {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-style: italic;
}

.fm-article-override {
  margin: 1rem 0 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #7a1f27;
  background: rgba(230, 57, 70, 0.08);
  border-left: 3px solid #e63946;
  border-radius: 6px;
}

.fm-article-back {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  font-weight: 600;
}

.fm-article-back a {
  color: var(--accent);
}

@media (max-width: 767px) {
  .fm-article-title {
    font-size: clamp(1.6rem, 6.5vw, 2rem);
  }

  .fm-article-dek {
    font-size: 1.05rem;
  }
}

/* Syndicated outlet page */
.fm-rail-time {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.82em;
}

.fm-outlet-banner {
  --outlet-accent: var(--accent);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0 0 1.1rem;
  margin-bottom: 1.35rem;
  border-bottom: 3px solid var(--outlet-accent);
}

.fm-outlet-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outlet-accent);
  margin: 0 0 0.35rem;
}

.fm-outlet-name {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

.fm-outlet-tagline {
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0.35rem 0 0;
}

.fm-outlet-about-link {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.fm-outlet-about-link a {
  font-weight: 600;
  color: var(--accent);
}

.fm-outlet-back {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.fm-outlet-lead {
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 2px solid var(--ink);
}

.fm-outlet-disclaimer {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-muted);
}

.fm-tag-nsfw {
  background: #3a1f28;
  color: #f3b4c4;
  border: 1px solid #6a3344;
}

/* Age gate */
html.fm-adult-locked .fm-main,
html.fm-adult-locked .fm-ticker-wrap,
html.fm-adult-locked [slot='pinned'] {
  filter: blur(14px);
  pointer-events: none;
  user-select: none;
}

html.fm-adult-locked .fm-media-nsfw img,
html.fm-adult-unlocked .fm-media-nsfw img {
  transition: filter 0.2s ease;
}

html.fm-adult-locked .fm-media-nsfw img {
  filter: blur(22px);
}

.fm-age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 10, 14, 0.72);
}

.fm-age-gate-card {
  width: min(28rem, 100%);
  background: #12161e;
  color: #e8eef5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.35rem 1.4rem 1.2rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.fm-age-gate-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f3b4c4;
}

.fm-age-gate-card h2 {
  margin: 0 0 0.55rem;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.fm-age-gate-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #b7c0cc;
}

.fm-age-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.55rem 0;
  font-size: 0.88rem;
  line-height: 1.35;
  cursor: pointer;
}

.fm-age-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.fm-age-check a {
  color: #7eb8da;
}

.fm-age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.1rem;
}

.fm-age-enter {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  background: #3dd6c6;
  color: #06201c;
  font-weight: 700;
  cursor: pointer;
}

.fm-age-enter:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fm-age-exit {
  color: #b7c0cc;
  font-size: 0.88rem;
}

.fm-age-gate-note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #8a93a0;
}
