/* ANALTHROPIC INCIDENT REPORT READING SYSTEM
   Focused long-form composition for real reporting, practical actions, and visibly labeled fiction. */

.post-full__header {
  background:
    linear-gradient(90deg, var(--paper) 0 79%, rgba(216,255,43,.38) 79% 100%),
    var(--paper);
  overflow: hidden;
}

.post-full__header > .eyebrow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: 44rem;
}

.post-full__header > .eyebrow::before {
  background: var(--magenta);
  content: "";
  display: inline-block;
  height: .5rem;
  width: .5rem;
}

.post-full h1 {
  font-size: clamp(3.25rem, 6.2vw, 6.55rem);
  letter-spacing: -.075em;
  line-height: .88;
  max-width: 13ch;
}

.post-full__dek {
  border-left: 3px solid var(--lime);
  color: var(--ink);
  font-size: clamp(1.08rem, 1.75vw, 1.45rem);
  font-weight: 650;
  line-height: 1.52;
  margin-top: 1.65rem;
  padding-left: 1.05rem;
}

.post-full__byline {
  align-items: center;
  background: var(--ink);
  border: 0;
  color: var(--paper);
  gap: .45rem 1.25rem;
  margin-top: 1.9rem;
  padding: .8rem .95rem;
}

.post-full__byline span:first-child { color: var(--lime); }
.post-full__feature-image { margin-top: 2rem; }
.post-full__feature-image img { box-shadow: 10px 10px 0 var(--magenta); }
.post-full__layout { align-items: start; }
.post-share { border-color: var(--magenta); }
.post-share a { text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

/* The raw Ghost body becomes a small editorial system. */
.gh-content {
  color: #15191a;
  font-size: 1.08rem;
  line-height: 1.78;
  overflow: visible;
}

.gh-content > section,
.gh-content > aside { margin-block: 3.5rem; }
.gh-content > section:first-child { margin-top: 0; }
.gh-content p { max-width: 43rem; }
.gh-content p + p { margin-top: 1.2rem; }
.gh-content a { color: inherit; font-weight: 700; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; }

.incident-brief { border-top: 3px solid var(--ink); padding-top: 1rem; }
.incident-brief__label {
  color: var(--muted);
  font: 800 .59rem/1.5 var(--mono);
  letter-spacing: .07em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.incident-brief__label strong { color: var(--ink); }
.incident-brief__label span { color: var(--magenta); padding-inline: .3rem; }
.incident-brief__signal {
  align-items: flex-start;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--lime);
  color: var(--paper);
  display: grid;
  gap: 1rem;
  grid-template-columns: 2.3rem 1fr;
  margin: 0 .55rem .75rem 0;
  padding: clamp(1.15rem, 3vw, 1.75rem);
  position: relative;
}
.incident-brief__signal::before {
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(216,255,43,.07) 6px 7px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.incident-brief__signal > * { position: relative; z-index: 1; }
.incident-brief__signal-icon {
  align-items: center;
  background: var(--lime);
  color: var(--ink);
  display: inline-flex;
  font: 900 1.2rem/1 var(--display);
  height: 2.3rem;
  justify-content: center;
  width: 2.3rem;
}
.incident-brief__signal .eyebrow { color: var(--lime); margin-bottom: .5rem; }
.incident-brief__signal p:not(.eyebrow) { color: #e4e8de; }
.incident-brief__opening { font-size: clamp(1.12rem, 2vw, 1.35rem); font-weight: 750; line-height: 1.43; margin-bottom: .85rem; }
.incident-brief__answer { color: #cfd5cb !important; font-size: .94rem; line-height: 1.62; margin-bottom: 0; }

.incident-chapter { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.incident-chapter__header { align-items: flex-start; display: grid; gap: .9rem; grid-template-columns: 2.35rem 1fr; margin-bottom: 1.35rem; }
.incident-chapter__header > span { color: var(--magenta); font: 900 .7rem/1.5 var(--mono); padding-top: .15rem; }
.incident-chapter__header .eyebrow { color: var(--muted); margin: 0 0 .35rem; }
.incident-chapter__header h2 { font-size: clamp(1.72rem, 3vw, 2.7rem); letter-spacing: -.06em; line-height: .97; margin: 0; }
.incident-chapter--unknowns { background: #e5e8dd; border-top: 3px solid var(--lime); padding: 1.35rem clamp(1rem, 3vw, 1.5rem) 1.55rem; }
.incident-chapter--unknowns .incident-chapter__header { border-bottom: 1px solid var(--ink); padding-bottom: 1rem; }

.top-five-report {
  background: var(--ink);
  box-shadow: 11px 11px 0 var(--magenta);
  color: var(--paper);
  margin-left: min(-7vw, -4rem) !important;
  margin-right: min(-7vw, -4rem) !important;
  overflow: hidden;
  padding: clamp(1.5rem, 4.3vw, 3.1rem);
  position: relative;
}
.top-five-report::before {
  color: rgba(216,255,43,.12);
  content: "TOP 5";
  font: 900 clamp(6.5rem, 20vw, 15rem)/.72 var(--display);
  position: absolute;
  right: -1.7rem;
  top: 1rem;
  z-index: 0;
}
.top-five-report::after {
  background: repeating-linear-gradient(90deg, transparent 0 25px, rgba(39,217,255,.08) 26px 27px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.top-five-report > * { position: relative; z-index: 1; }
.top-five-report__header { border-bottom: 1px solid rgba(244,242,234,.35); padding-bottom: 1.55rem; }
.top-five-report__header .eyebrow { color: var(--lime); }
.top-five-report__header h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.07em; line-height: .85; margin: .85rem 0 1rem; max-width: 12ch; }
.top-five-report__header h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.07em; }
.top-five-report__header > p:last-child { color: #cad0c6; font-size: .88rem; line-height: 1.56; margin: 0; max-width: 34rem; }
.top-five-report__list { counter-reset: fieldmove; list-style: none; margin: 0; padding: 0; }
.top-five-report__item { border-bottom: 1px solid rgba(244,242,234,.28); counter-increment: fieldmove; display: grid; gap: 1rem; grid-template-columns: 2.4rem minmax(0, 1fr); padding: 1.35rem 0; }
.top-five-report__number::before { color: var(--magenta); content: "0" counter(fieldmove); font: 900 .7rem/1.5 var(--mono); }
.top-five-report__item .eyebrow { color: var(--cyan); font-size: .52rem; margin-bottom: .32rem; }
.top-five-report__item h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); letter-spacing: -.045em; line-height: 1; margin: 0 0 .7rem; }
.top-five-report__item p:not(.eyebrow) { color: #e4e7de; font-size: .94rem; line-height: 1.62; margin: 0; max-width: 42rem; }
.top-five-report__item a { color: var(--lime); text-decoration-color: var(--lime); }

.satire-signal { background: var(--magenta); border: 1px solid var(--ink); box-shadow: 9px 9px 0 var(--lime); color: var(--ink); margin-right: .7rem !important; padding: clamp(1.3rem, 3.4vw, 2.35rem); position: relative; }
.satire-signal::after { border: 1px solid var(--ink); content: ""; inset: .7rem; opacity: .36; pointer-events: none; position: absolute; }
.satire-signal > * { position: relative; z-index: 1; }
.satire-signal header { border-bottom: 2px solid var(--ink); margin-bottom: 1.1rem; padding-bottom: 1rem; }
.satire-signal .eyebrow { font-weight: 900; margin-bottom: .5rem; }
.satire-signal h2 { font-size: clamp(2rem, 4.2vw, 3.45rem); line-height: .9; margin: 0; }
.satire-signal dl { margin: 0; }
.satire-signal dl > div { border-bottom: 1px solid rgba(9,11,16,.55); display: grid; gap: .8rem; grid-template-columns: 5.2rem 1fr; padding: .85rem 0; }
.satire-signal dt { font: 900 .56rem/1.45 var(--mono); letter-spacing: .045em; text-transform: uppercase; }
.satire-signal dd { font-size: .95rem; line-height: 1.55; margin: 0; }
.satire-signal__closing { padding-top: .9rem; }
.satire-signal__closing p { font-weight: 650; line-height: 1.62; margin-bottom: .9rem; }
.satire-signal__closing p:last-child { margin-bottom: 0; }

.post-signal { margin-top: 1rem; }

@media (max-width: 700px) {
  .post-full__header { background: var(--paper); padding-bottom: 1.7rem; padding-top: 2.65rem; }
  .post-full__header::before { top: calc(2.65rem - .6rem); }
  .post-full h1 { font-size: clamp(2.45rem, 10.55vw, 3.45rem); line-height: .93; max-width: 12.8ch; }
  .post-full__dek { font-size: 1rem; line-height: 1.55; margin-top: 1.25rem; padding-left: .8rem; }
  .post-full__byline { align-items: baseline; font-size: .54rem; gap: .45rem .85rem; line-height: 1.55; margin-top: 1.35rem; padding: .75rem .7rem; }
  .post-full__feature-image { margin-top: 1.5rem; }
  .post-full__feature-image img { box-shadow: 6px 6px 0 var(--magenta); }
  .post-full__layout { padding-bottom: 2.3rem; }
  .post-share { align-items: center; gap: .7rem 1rem; margin-bottom: 1.45rem; }
  .post-share .eyebrow { color: var(--muted); }
  .gh-content { font-size: 1rem; line-height: 1.72; }
  .gh-content > section, .gh-content > aside { margin-block: 2.55rem; }
  .incident-brief { padding-top: .9rem; }
  .incident-brief__label { font-size: .52rem; margin-bottom: .9rem; }
  .incident-brief__signal { box-shadow: 6px 6px 0 var(--lime); gap: .75rem; grid-template-columns: 1.9rem 1fr; margin-right: .4rem; padding: 1rem; }
  .incident-brief__signal-icon { font-size: 1rem; height: 1.9rem; width: 1.9rem; }
  .incident-brief__opening { font-size: 1.06rem; }
  .incident-brief__answer { font-size: .88rem; }
  .top-five-report { box-shadow: 7px 7px 0 var(--magenta); margin-left: -1.375rem !important; margin-right: -1.05rem !important; padding: 1.45rem 1.1rem 1.45rem 1.35rem; }
  .top-five-report::before { font-size: 7.2rem; right: -1.2rem; top: 1rem; }
  .top-five-report__header { padding-bottom: 1.25rem; }
  .top-five-report__header h2 { font-size: clamp(2.05rem, 10vw, 2.7rem); line-height: .88; }
  .top-five-report__header > p:last-child { font-size: .82rem; }
  .top-five-report__item { gap: .7rem; grid-template-columns: 2.1rem minmax(0, 1fr); padding: 1.15rem 0; }
  .top-five-report__item h3 { font-size: 1.33rem; line-height: 1.04; }
  .top-five-report__item p:not(.eyebrow) { font-size: .91rem; line-height: 1.6; }
  .incident-chapter { padding-top: 1rem; }
  .incident-chapter__header { gap: .65rem; grid-template-columns: 1.75rem 1fr; margin-bottom: 1.05rem; }
  .incident-chapter__header h2 { font-size: 1.6rem; line-height: 1; }
  .incident-chapter--unknowns { margin-left: -.25rem; padding: 1.05rem .85rem 1.2rem; }
  .satire-signal { box-shadow: 6px 6px 0 var(--lime); margin-right: .4rem !important; padding: 1.15rem; }
  .satire-signal::after { inset: .45rem; }
  .satire-signal h2 { font-size: 1.9rem; }
  .satire-signal dl > div { gap: .65rem; grid-template-columns: 4.2rem 1fr; padding: .72rem 0; }
  .satire-signal dd { font-size: .9rem; }
}

@media (max-width: 360px) {
  .post-full h1 { font-size: 2.34rem; }
  .post-full__byline { font-size: .49rem; }
  .top-five-report__header h2 { font-size: 1.92rem; }
  .top-five-report__item h3 { font-size: 1.25rem; }
  .satire-signal dl > div { display: block; }
  .satire-signal dt { margin-bottom: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .top-five-report, .satire-signal, .incident-brief__signal { scroll-margin-top: 1rem; }
}

/* Ghost's editor safely removes layout wrappers and CSS classes from article HTML.
   These element-and-heading rules are the live, sanitizer-safe rendering layer.
   They intentionally operate on the stable daily article order produced above. */
.gh-content > p:first-child {
  border-block: 2px solid var(--ink);
  color: var(--muted);
  font: 900 .61rem/1.55 var(--mono);
  letter-spacing: .075em;
  margin-bottom: 1.1rem;
  padding: .8rem 0;
  text-transform: uppercase;
}
.gh-content > p:first-child strong { color: var(--ink); }
.gh-content > p:first-child strong::after { color: var(--magenta); content: "  //  "; }
.gh-content > p:nth-of-type(2) {
  border-left: 3px solid var(--lime);
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 800;
  line-height: 1.42;
  padding-left: 1rem;
}
.gh-content > p:nth-of-type(3) { font-size: 1.08em; font-weight: 700; line-height: 1.58; }

/* The first level-two heading is always the Top 5, placed before analysis on purpose. */
.gh-content > h2:first-of-type {
  background: var(--ink);
  box-shadow: 9px 0 0 var(--magenta), -9px 0 0 var(--ink);
  color: var(--paper);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  letter-spacing: -.07em;
  line-height: .87;
  margin: 2.9rem 0 0;
  padding: clamp(1.35rem, 3.8vw, 2.6rem) clamp(1.1rem, 4vw, 2.6rem) 1rem;
  position: relative;
}
.gh-content > h2:first-of-type::before {
  color: var(--lime);
  content: "THE SURVIVAL DESK  ·  PRACTICAL, NOT INSPIRATIONAL";
  display: block;
  font: 900 .58rem/1.5 var(--mono);
  letter-spacing: .055em;
  margin-bottom: .9rem;
}
.gh-content > h2:first-of-type em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.gh-content > h2:first-of-type + p,
.gh-content > h2:first-of-type + p + p {
  background: var(--ink);
  color: #cfd4cc;
  font-size: .9rem;
  line-height: 1.58;
  margin: 0;
  max-width: none;
  padding: 0 clamp(1.1rem, 4vw, 2.6rem) 1rem;
}
.gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5) {
  background: var(--ink);
  border-top: 1px solid rgba(244,242,234,.28);
  color: var(--paper);
  counter-increment: analthropic-field-move;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0;
  padding: 1.25rem clamp(1.1rem, 4vw, 2.6rem) .55rem 4.2rem;
  position: relative;
}
.gh-content { counter-reset: analthropic-field-move; }
.gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5)::before {
  color: var(--magenta);
  content: "0" counter(analthropic-field-move);
  font: 900 .7rem/1.45 var(--mono);
  left: clamp(1.1rem, 4vw, 2.6rem);
  position: absolute;
  top: 1.48rem;
}
.gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5) + p {
  background: var(--ink);
  box-shadow: 9px 0 0 var(--magenta), -9px 0 0 var(--ink);
  color: #e4e7de;
  font-size: .94rem;
  line-height: 1.64;
  margin: 0;
  max-width: none;
  padding: 0 clamp(1.1rem, 4vw, 2.6rem) 1.35rem 4.2rem;
}
.gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5) + p a { color: var(--lime); text-decoration-color: var(--lime); }

/* Chapter headers remain explicit when Ghost has flattened the incident cards. */
.gh-content > h2:not(:first-of-type) {
  border-top: 2px solid var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -.06em;
  line-height: .98;
  margin: 3.1rem 0 1.15rem;
  padding: 1.2rem 0 0 2.55rem;
  position: relative;
}
.gh-content > h2:not(:first-of-type)::before {
  color: var(--magenta);
  font: 900 .7rem/1.5 var(--mono);
  left: 0;
  position: absolute;
  top: 1.35rem;
}
.gh-content > h2:nth-of-type(2)::before { content: "01"; }
.gh-content > h2:nth-of-type(3)::before { content: "02"; }
.gh-content > h2:nth-of-type(4)::before { content: "03"; }
.gh-content > h2:nth-of-type(5) {
  background: var(--magenta);
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--lime);
  color: var(--ink);
  margin-right: .55rem;
  padding: 1.3rem 1.15rem 1.05rem;
}
.gh-content > h2:nth-of-type(5)::before {
  color: var(--ink);
  content: "FICTION TRANSMISSION  ·  NOT REPORTING";
  left: 1.15rem;
  top: .65rem;
}
.gh-content > h2:nth-of-type(5) { padding-top: 2.05rem; }
.gh-content > h2:nth-of-type(5) ~ p {
  background: var(--magenta);
  border-inline: 2px solid var(--ink);
  color: var(--ink);
  margin: 0 .55rem 0 0;
  max-width: none;
  padding: .85rem 1.15rem;
}
.gh-content > h2:nth-of-type(5) ~ p:last-child {
  border-bottom: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--lime);
  padding-bottom: 1.3rem;
}

@media (max-width: 700px) {
  .gh-content > p:first-child { font-size: .52rem; padding: .67rem 0; }
  .gh-content > p:nth-of-type(2) { font-size: 1.05rem; padding-left: .8rem; }
  .gh-content > p:nth-of-type(3) { font-size: 1.02rem; }
  .gh-content > h2:first-of-type { box-shadow: 6px 0 0 var(--magenta), -6px 0 0 var(--ink); font-size: clamp(2.05rem, 10vw, 2.65rem); margin-top: 2.35rem; padding: 1.28rem 1rem .85rem; }
  .gh-content > h2:first-of-type + p,
  .gh-content > h2:first-of-type + p + p { padding-inline: 1rem; }
  .gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5) { font-size: 1.31rem; padding: 1.1rem 1rem .48rem 3.2rem; }
  .gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5)::before { left: 1rem; top: 1.28rem; }
  .gh-content > h2:first-of-type ~ h3:nth-of-type(-n + 5) + p { box-shadow: 6px 0 0 var(--magenta), -6px 0 0 var(--ink); font-size: .91rem; padding: 0 1rem 1.2rem 3.2rem; }
  .gh-content > h2:not(:first-of-type) { font-size: 1.62rem; margin-top: 2.55rem; padding-left: 1.75rem; }
  .gh-content > h2:not(:first-of-type)::before { top: 1.28rem; }
  .gh-content > h2:nth-of-type(5) { box-shadow: 6px 6px 0 var(--lime); padding: 1.9rem 1rem .9rem; }
  .gh-content > h2:nth-of-type(5)::before { left: 1rem; }
  .gh-content > h2:nth-of-type(5) ~ p { padding: .75rem 1rem; }
}
