/* ========================================
   AI INCIDENT REPORT
   CASE 1728
======================================== */

html {
  scroll-behavior: smooth;
}



/* ========================================
   HEADER
======================================== */

.incident-header-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .65rem;
  letter-spacing: .12em;
}


.archive-back {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .7rem;

  text-transform: uppercase;

  transition: color .2s ease;
}


.archive-back:hover {
  color: var(--accent);
}



/* ========================================
   CASE INTRO
======================================== */

.case-intro {
  max-width: var(--max);
  min-height: 100vh;

  margin: auto;
  padding: 130px 28px 70px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}



/* ========================================
   ARCHIVE TOPLINE
======================================== */

.archive-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 18px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .65rem;
  letter-spacing: .12em;
}



/* ========================================
   PHYSICAL CASE FOLDER WRAPPER
======================================== */

.case-folder-wrapper {
  position: relative;

  width: 100%;
  max-width: 960px;

  margin: 95px auto 65px;
  padding-top: 55px;
}


/* Folder layer behind */

.case-folder-wrapper::before {
  content: "";

  position: absolute;

  top: 38px;
  left: 22px;
  right: -12px;
  bottom: -14px;

  background: #0e1115;

  border: 1px solid var(--line);

  transform: rotate(1deg);

  opacity: .8;
}


/* Document sticking out */

.case-folder-wrapper::after {
  content: "COURT DOCUMENT  /  CASE 1728";

  position: absolute;

  top: 0;
  right: 65px;

  width: 330px;
  height: 95px;

  padding: 18px 22px;

  background: #171c22;

  border: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .1em;

  transform: rotate(1.5deg);

  z-index: 1;
}



/* ========================================
   MAIN CASE FOLDER
======================================== */

.case-folder {
  position: relative;

  z-index: 2;

  min-height: 570px;

  padding: 55px;

  background:
    linear-gradient(
      135deg,
      #151a20 0%,
      var(--panel) 55%,
      #101419 100%
    );

  border: 1px solid #343c45;

  box-shadow:
    0 35px 80px rgba(0, 0, 0, .38),
    8px 10px 0 rgba(0, 0, 0, .12);

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}


/* Inner folder edge */

.case-folder::before {
  content: "";

  position: absolute;

  inset: 8px;

  border: 1px solid rgba(255, 255, 255, .025);

  pointer-events: none;
}


.case-folder:hover {
  transform:
    translateY(-7px)
    rotate(-.15deg);

  border-color: #4a555f;

  box-shadow:
    0 45px 95px rgba(0, 0, 0, .45),
    10px 13px 0 rgba(0, 0, 0, .14);
}



/* ========================================
   MAIN FOLDER TAB
======================================== */

.folder-tab {
  position: absolute;

  top: -40px;
  left: -1px;

  width: 235px;
  height: 41px;

  padding: 0 22px;

  background: #151a20;

  border: 1px solid #343c45;
  border-bottom: 0;

  color: var(--accent);

  display: flex;
  align-items: center;

  font-family: "DM Mono", monospace;
  font-size: .65rem;
  letter-spacing: .12em;

  z-index: 3;
}


/* Angled folder tab edge */

.folder-tab::after {
  content: "";

  position: absolute;

  top: -1px;
  right: -31px;

  width: 32px;
  height: 41px;

  background: #151a20;

  border-top: 1px solid #343c45;

  transform: skewX(32deg);
  transform-origin: bottom left;
}



/* ========================================
   FOLDER METADATA
======================================== */

.folder-meta {
  position: relative;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding-bottom: 25px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .62rem;
  letter-spacing: .1em;
}



/* ========================================
   ARCHIVE STAMP
======================================== */

.case-stamp {
  position: absolute;

  right: 55px;
  top: 115px;

  width: 125px;
  height: 62px;

  border:
    2px solid rgba(183, 255, 74, .22);

  color:
    rgba(183, 255, 74, .32);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-family: "DM Mono", monospace;

  transform: rotate(6deg);

  pointer-events: none;

  z-index: 1;
}


.case-stamp span {
  font-size: .75rem;
  letter-spacing: .16em;
}


.case-stamp small {
  margin-top: 5px;

  font-size: .48rem;
  letter-spacing: .1em;
}



/* ========================================
   CASE TITLE
======================================== */

.case-title {
  position: relative;

  z-index: 2;

  padding: 60px 0 55px;
}


.case-classification {
  margin-bottom: 20px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .14em;
}


.case-title h1 {
  max-width: 850px;

  font-size:
    clamp(3.3rem, 7vw, 6.7rem);

  line-height: .98;
  letter-spacing: -.05em;
}


.case-title h1 span {
  color: var(--accent);
}


.case-subtitle {
  max-width: 680px;

  margin-top: 30px;

  color: var(--muted);

  font-size:
    clamp(1rem, 1.6vw, 1.2rem);

  line-height: 1.8;
}



/* ========================================
   CASE DETAILS
======================================== */

.case-details {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.case-details > div {
  padding: 22px 20px;
}


.case-details > div + div {
  border-left: 1px solid var(--line);
}


.case-details span {
  display: block;

  margin-bottom: 9px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .1em;
}


.case-details strong {
  color: var(--text);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;
}



/* ========================================
   OPEN CASE BUTTON
======================================== */

.open-case {
  position: relative;

  z-index: 2;

  width: 100%;

  margin-top: 35px;

  padding: 20px 22px;

  background: transparent;

  border: 1px solid var(--accent);

  color: var(--accent);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: "DM Mono", monospace;
  font-size: .75rem;
  letter-spacing: .1em;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease;
}


.open-case:hover {
  background: var(--accent);

  color: var(--bg);
}



/* ========================================
   ARCHIVE FOOTER LABEL
======================================== */

.archive-footer-label {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-top: 18px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .1em;
}



/* ========================================
   CASE CONTENT
======================================== */

.case-contents {
  max-width: var(--max);

  margin: auto;

  padding: 120px 28px 140px;

  opacity: .25;

  filter: grayscale(.35);

  transition:
    opacity .6s ease,
    filter .6s ease;
}


.case-open .case-contents {
  opacity: 1;

  filter: grayscale(0);
}


.case-content-header {
  margin-bottom: 55px;
}


.case-content-header > p:first-child {
  margin-bottom: 15px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
}


.case-content-header > p:last-child {
  margin-top: 15px;

  color: var(--muted);
}



/* ========================================
   CASE FILE FOLDER STACK
======================================== */

.case-tabs {
  position: relative;

  z-index: 4;

  display: flex;
  align-items: flex-end;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 25px 4px 0;

  scrollbar-width: thin;

  scrollbar-color:
    var(--line)
    transparent;
}



/* ========================================
   INDIVIDUAL FOLDER TABS
======================================== */

.case-tab {
  position: relative;

  flex: 1;

  min-width: 150px;
  min-height: 78px;

  padding: 17px 20px 14px;

  background:
    linear-gradient(
      145deg,
      #101419 0%,
      #151a20 100%
    );

  border: 1px solid #343c45;
  border-bottom: 0;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .67rem;
  line-height: 1.4;

  text-align: left;

  cursor: pointer;

  transform: translateY(13px);

  transition:
    transform .25s ease,
    color .25s ease,
    background .25s ease,
    border-color .25s ease;
}


.case-tab + .case-tab {
  margin-left: -1px;
}


/* Folder tab top */

.case-tab::before {
  content: "";

  position: absolute;

  top: -10px;
  left: -1px;

  width: 58%;
  height: 11px;

  background: #151a20;

  border: 1px solid #343c45;
  border-bottom: 0;
}


/* Angled tab edge */

.case-tab::after {
  content: "";

  position: absolute;

  top: -10px;
  left: calc(58% - 1px);

  width: 15px;
  height: 11px;

  background: #151a20;

  border-top: 1px solid #343c45;

  transform: skewX(35deg);

  transform-origin: bottom left;
}


.case-tab span {
  display: block;

  margin-bottom: 7px;

  color: var(--accent);

  font-size: .56rem;
  letter-spacing: .12em;
}


.case-tab:hover {
  color: var(--text);

  border-color: #46505a;

  transform: translateY(7px);
}


.case-tab.active {
  z-index: 5;

  background:
    linear-gradient(
      145deg,
      #181e24 0%,
      var(--panel) 100%
    );

  border-color: #46505a;

  color: var(--text);

  transform: translateY(0);

  box-shadow:
    0 -8px 25px rgba(0, 0, 0, .16);
}


.case-tab.active::before,
.case-tab.active::after {
  background: #181e24;

  border-color: #46505a;
}



/* ========================================
   MAIN OPEN FOLDER
======================================== */

.case-document {
  position: relative;

  z-index: 3;

  min-height: 650px;

  padding: 55px;

  background:
    linear-gradient(
      145deg,
      #171c22 0%,
      var(--panel) 60%,
      #101419 100%
    );

  border: 1px solid #46505a;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, .32),
    8px 10px 0 rgba(0, 0, 0, .1);
}


/* Inner folder edge */

.case-document::before {
  content: "";

  position: absolute;

  inset: 9px;

  border:
    1px solid rgba(255, 255, 255, .025);

  pointer-events: none;
}


/* Folder underneath */

.case-document::after {
  content: "";

  position: absolute;

  z-index: -1;

  top: 13px;
  left: 18px;
  right: -13px;
  bottom: -15px;

  background: #0e1216;

  border: 1px solid var(--line);

  transform: rotate(.35deg);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, .18);
}



/* ========================================
   CASE DOCUMENT PANELS
======================================== */

.case-panel {
  position: relative;

  z-index: 2;

  display: none;

  animation:
    documentEnter .35s ease;
}


.case-panel.active {
  display: block;
}


@keyframes documentEnter {

  from {
    opacity: 0;

    transform: translateY(8px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }

}



/* ========================================
   DOCUMENT TOPLINE
======================================== */

.document-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 20px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .62rem;
  letter-spacing: .1em;
}



/* ========================================
   GENERIC DOCUMENT CONTENT
======================================== */

.document-placeholder {
  position: relative;

  min-height: 480px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}


.document-label {
  margin-bottom: 20px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
}


.document-placeholder h2 {
  max-width: 700px;
}


.document-placeholder h2 span {
  color: var(--accent);
}


.document-placeholder > p:last-child {
  max-width: 650px;

  margin-top: 25px;

  color: var(--muted);

  font-size: 1.05rem;
  line-height: 1.8;
}



/* ========================================
   DOCUMENT 01 — INCIDENT
======================================== */

.incident-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;

  padding: 70px 0 45px;

  border-bottom: 1px solid var(--line);
}


.incident-heading h2 {
  margin: 0;

  font-size:
    clamp(3rem, 6vw, 5.5rem);

  line-height: .95;
  letter-spacing: -.045em;
}


.incident-heading h2 span {
  color: var(--accent);
}


.incident-status {
  min-width: 170px;

  padding-left: 20px;

  border-left: 1px solid var(--line);
}


.incident-status span {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.incident-status strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;

  line-height: 1.5;
  letter-spacing: .08em;
}



/* ========================================
   INCIDENT CASE SUMMARY
======================================== */

.incident-lead {
  display: grid;

  grid-template-columns:
    160px 1fr;

  gap: 35px;

  padding: 40px 0;

  border-bottom: 1px solid var(--line);
}


.incident-lead span {
  padding-top: 6px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .12em;
}


.incident-lead p {
  max-width: 720px;

  margin: 0;

  color: var(--text);

  font-size:
    clamp(1.15rem, 2vw, 1.5rem);

  line-height: 1.65;
}



/* ========================================
   INCIDENT FACTS
======================================== */

.incident-facts {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  margin: 45px 0;

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}


.incident-fact {
  min-height: 115px;

  padding: 22px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.incident-fact span {
  display: block;

  margin-bottom: 13px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .54rem;
  letter-spacing: .11em;
}


.incident-fact strong {
  color: var(--text);

  font-size: .85rem;
  font-weight: 600;

  line-height: 1.55;
}



/* ========================================
   INCIDENT RECORD
======================================== */

.incident-narrative {
  margin-top: 70px;
}


.incident-narrative-label {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-bottom: 15px;

  border-bottom: 1px solid var(--line);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .12em;
}


.incident-copy {
  max-width: 760px;

  margin: 45px auto 0;
}


.incident-copy p {
  margin: 0 0 28px;

  color: var(--muted);

  font-size: 1.05rem;

  line-height: 1.9;
}


.incident-copy em {
  color: var(--text);
}



/* ========================================
   INCIDENT CASE NOTE
======================================== */

.incident-case-note {
  width: 100%;
  max-width: 440px;

  margin: 65px 0 65px auto;

  padding: 25px;

  border:
    1px solid rgba(183, 255, 74, .35);

  transform: rotate(-1deg);
}


.incident-case-note span {
  display: block;

  margin-bottom: 18px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.incident-case-note strong {
  display: block;

  color: var(--text);

  font-size: 1.05rem;

  line-height: 1.55;
}


.incident-case-note small {
  display: block;

  margin-top: 18px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .08em;
}



/* ========================================
   DOCUMENT 02 — EVIDENCE
======================================== */

.evidence-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;

  padding: 70px 0 45px;

  border-bottom: 1px solid var(--line);
}


.evidence-heading h2 {
  margin: 0;

  font-size:
    clamp(3rem, 6vw, 5.5rem);

  line-height: .95;
  letter-spacing: -.045em;
}


.evidence-heading h2 span {
  color: var(--accent);
}


.evidence-count {
  min-width: 150px;

  padding-left: 20px;

  border-left: 1px solid var(--line);
}


.evidence-count span {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.evidence-count strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;

  line-height: 1.5;
  letter-spacing: .08em;
}



/* ========================================
   EVIDENCE INTRO
======================================== */

.evidence-intro {
  display: grid;

  grid-template-columns:
    160px 1fr;

  gap: 35px;

  padding: 40px 0 60px;
}


.evidence-intro span {
  padding-top: 6px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .12em;
}


.evidence-intro p {
  max-width: 720px;

  margin: 0;

  color: var(--text);

  font-size: 1.15rem;

  line-height: 1.75;
}



/* ========================================
   EVIDENCE EXHIBITS
======================================== */

.evidence-item {
  position: relative;

  display: grid;

  grid-template-columns:
    90px 1fr;

  max-width: 900px;

  margin: 0 auto 55px;
}



/* ========================================
   EXHIBIT MARKER
======================================== */

.evidence-marker {
  position: relative;

  z-index: 3;

  align-self: start;

  margin-top: 35px;
  margin-right: -1px;

  padding: 15px 10px;

  background: #0f1317;

  border: 1px solid #46505a;

  text-align: center;
}


.evidence-marker span {
  display: block;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .48rem;
  letter-spacing: .1em;
}


.evidence-marker strong {
  display: block;

  margin-top: 8px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: 1.5rem;
  font-weight: 400;
}



/* ========================================
   EVIDENCE SHEET
======================================== */

.evidence-sheet {
  position: relative;

  z-index: 2;

  padding: 35px;

  background:
    linear-gradient(
      145deg,
      #181e24 0%,
      #12171c 100%
    );

  border: 1px solid #46505a;

  box-shadow:
    9px 10px 0 rgba(0, 0, 0, .13);
}


/* Sheet underneath */

.evidence-sheet::after {
  content: "";

  position: absolute;

  z-index: -1;

  top: 7px;
  left: 8px;
  right: -8px;
  bottom: -9px;

  background: #0d1115;

  border: 1px solid var(--line);

  transform: rotate(.25deg);
}



/* ========================================
   EVIDENCE SHEET HEADER
======================================== */

.evidence-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 15px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .53rem;
  letter-spacing: .1em;
}



/* ========================================
   EVIDENCE SOURCE
======================================== */

.evidence-source {
  padding: 35px 0;
}


.evidence-type {
  margin: 0 0 12px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.evidence-source h3 {
  margin: 0;

  color: var(--text);

  font-size: 1.55rem;

  line-height: 1.3;
}


.evidence-description {
  max-width: 650px;

  margin: 18px 0 0;

  color: var(--muted);

  font-size: .95rem;

  line-height: 1.75;
}



/* ========================================
   EVIDENCE FINDINGS
======================================== */

.evidence-findings {
  padding: 25px;

  background:
    rgba(0, 0, 0, .13);

  border-left:
    2px solid var(--accent);
}


.evidence-findings > span {
  display: block;

  margin-bottom: 18px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .54rem;
  letter-spacing: .12em;
}


.evidence-findings ul {
  margin: 0;

  padding-left: 18px;

  color: var(--muted);
}


.evidence-findings li {
  margin-bottom: 11px;

  padding-left: 5px;

  line-height: 1.65;
}


.evidence-findings li:last-child {
  margin-bottom: 0;
}



/* ========================================
   EVIDENCE SOURCE FOOTER
======================================== */

.evidence-source-footer {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  margin-top: 30px;

  padding-top: 15px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}



/* ========================================
   EVIDENCE DOCUMENT ROTATION
======================================== */

.evidence-item:nth-of-type(odd)
.evidence-sheet {
  transform: rotate(-.2deg);
}


.evidence-item:nth-of-type(even)
.evidence-sheet {
  transform: rotate(.2deg);
}



/* ========================================
   VERIFICATION NOTE
======================================== */

.verification-note {
  display: grid;

  grid-template-columns:
    65px 1fr;

  gap: 25px;

  max-width: 760px;

  margin: 80px auto 70px;

  padding: 30px;

  border:
    1px solid rgba(183, 255, 74, .3);
}


.verification-symbol {
  width: 52px;
  height: 52px;

  border:
    1px solid var(--accent);

  color: var(--accent);

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "DM Mono", monospace;
  font-size: 1.3rem;
}


.verification-note span {
  display: block;

  margin-bottom: 10px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.verification-note strong {
  display: block;

  color: var(--text);

  font-size: 1rem;

  line-height: 1.55;
}


.verification-note p {
  margin: 12px 0 0;

  color: var(--muted);

  font-size: .85rem;

  line-height: 1.7;
}



/* ========================================
   PERSONAL ASSESSMENT
======================================== */

.assessment-panel
.document-topline {
  color: var(--accent);
}


.assessment-panel
.document-placeholder::after {
  content:
    "PERSONAL ASSESSMENT";

  position: absolute;

  right: 0;
  bottom: 35px;

  padding: 9px 12px;

  border:
    1px solid var(--accent);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .12em;

  transform: rotate(-3deg);

  opacity: .65;
}



/* ========================================
   DOCUMENT FOOTER
======================================== */

.document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-top: 20px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .1em;
}



/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

  .incident-header-label {
    display: none;
  }


  .case-folder {
    padding: 40px 30px;
  }


  .case-folder-wrapper::after {
    right: 35px;

    width: 280px;
  }


  .case-stamp {
    right: 35px;

    top: 105px;
  }


  .case-details {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .case-details > div:nth-child(3) {
    border-left: 0;

    border-top:
      1px solid var(--line);
  }


  .case-details > div:nth-child(4) {
    border-top:
      1px solid var(--line);
  }


  .case-document {
    padding: 35px 30px;
  }

}



/* ========================================
   INCIDENT / EVIDENCE TABLET
======================================== */

@media (max-width: 750px) {

  .incident-heading,
  .evidence-heading {
    align-items: flex-start;

    flex-direction: column;
  }


  .incident-status,
  .evidence-count {
    padding:
      15px 0 0;

    border-left: 0;

    border-top:
      1px solid var(--line);
  }


  .incident-lead,
  .evidence-intro {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .incident-facts {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .evidence-item {
    grid-template-columns: 1fr;
  }


  .evidence-marker {
    width: 90px;

    margin:
      0 0 -1px 20px;
  }


  .evidence-sheet {
    padding: 28px;
  }

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 550px) {

  .case-intro {
    padding:
      110px 20px 60px;
  }


  .archive-topline {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }


  .case-folder-wrapper {
    margin-top: 75px;

    padding-top: 35px;
  }


  .case-folder-wrapper::before {
    left: 8px;

    right: -5px;
  }


  .case-folder-wrapper::after {
    top: 0;
    right: 15px;

    width: 210px;
    height: 70px;

    padding: 12px 15px;

    font-size: .48rem;
  }


  .case-folder {
    min-height: auto;

    padding: 35px 22px;
  }


  .folder-tab {
    width: 175px;
    height: 36px;

    top: -35px;
  }


  .folder-tab::after {
    height: 36px;
  }


  .folder-meta {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }


  .case-stamp {
    display: none;
  }


  .case-title {
    padding: 45px 0;
  }


  .case-details {
    grid-template-columns: 1fr;
  }


  .case-details > div + div {
    border-left: 0;

    border-top:
      1px solid var(--line);
  }


  .archive-footer-label {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }


  .case-contents {
    padding:
      90px 20px 100px;
  }


  .case-document {
    padding: 28px 22px;
  }


  .assessment-panel
  .document-placeholder::after {
    right: 0;

    bottom: 10px;
  }

}



/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 500px) {

  .incident-facts {
    grid-template-columns: 1fr;
  }


  .incident-copy {
    margin-top: 35px;
  }


  .incident-case-note {
    transform: none;
  }


  .evidence-sheet-top,
  .evidence-source-footer {
    align-items: flex-start;

    flex-direction: column;
  }


  .verification-note {
    grid-template-columns: 1fr;
  }

}

/* ========================================
   EVIDENCE DOCUMENT PREVIEW
======================================== */

.evidence-document-preview {
  margin: 5px 0 35px;
}


.evidence-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 12px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}


.evidence-document-link {
  position: relative;

  display: block;

  max-width: 650px;

  margin: auto;

  overflow: hidden;

  background: #fff;

  border: 1px solid #46505a;

  box-shadow:
    7px 8px 0 rgba(0, 0, 0, .18);

  transition:
    transform .25s ease,
    border-color .25s ease;
}


.evidence-document-link:hover {
  transform: translateY(-4px);

  border-color: var(--accent);
}


.evidence-document-link img {
  display: block;

  width: 100%;
  height: auto;
}


/* View-document overlay */

.evidence-expand {
  position: absolute;

  right: 14px;
  bottom: 14px;

  padding: 9px 12px;

  background: rgba(11, 13, 16, .92);

  border: 1px solid var(--accent);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .08em;

  opacity: 0;

  transform: translateY(5px);

  transition:
    opacity .2s ease,
    transform .2s ease;
}


.evidence-document-link:hover
.evidence-expand {
  opacity: 1;

  transform: translateY(0);
}


.evidence-caption {
  max-width: 650px;

  margin: 15px auto 0;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .58rem;

  line-height: 1.6;
}

/* ========================================
   EMBEDDED EVIDENCE PDF
======================================== */

.evidence-pdf-frame {
  position: relative;

  width: 100%;
  height: 650px;

  overflow: hidden;

  background: #fff;

  border: 1px solid #46505a;

  box-shadow:
    7px 8px 0 rgba(0, 0, 0, .18);
}


.evidence-pdf-frame iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;

  background: #fff;
}



/* ========================================
   PDF ACTIONS
======================================== */

.evidence-document-actions {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 30px;

  margin-top: 18px;
}


.evidence-document-actions
.evidence-caption {
  margin: 0;

  flex: 1;
}


.evidence-pdf-button {
  flex-shrink: 0;

  padding: 10px 13px;

  border: 1px solid var(--accent);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .08em;

  transition:
    background .2s ease,
    color .2s ease;
}


.evidence-pdf-button:hover {
  background: var(--accent);

  color: var(--bg);
}



/* ========================================
   PDF MOBILE
======================================== */

@media (max-width: 650px) {

  .evidence-pdf-frame {
    height: 500px;
  }


  .evidence-document-actions {
    flex-direction: column;
  }


  .evidence-pdf-button {
    width: 100%;

    text-align: center;
  }

}

/* ========================================
   DOCUMENT 03 — WHAT WENT WRONG
======================================== */

.failure-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  padding: 70px 0 45px;

  border-bottom: 1px solid var(--line);
}


.failure-heading h2 {
  margin: 0;

  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}


.failure-heading h2 span {
  color: var(--accent);
}


.failure-status {
  min-width: 170px;

  padding-left: 20px;

  border-left: 1px solid var(--line);
}


.failure-status span {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.failure-status strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08em;
}



/* ========================================
   FAILURE INTRO
======================================== */

.failure-intro {
  display: grid;

  grid-template-columns: 160px 1fr;

  gap: 35px;

  padding: 40px 0 60px;
}


.failure-intro span {
  padding-top: 6px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .12em;
}


.failure-intro p {
  max-width: 720px;

  margin: 0;

  color: var(--text);

  font-size: 1.15rem;
  line-height: 1.75;
}



/* ========================================
   FAILURE BOARD
======================================== */

.failure-board {
  position: relative;

  width: 100%;
  height: 780px;

  margin: 20px 0 80px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255,255,255,.025),
      transparent 30%
    ),
    radial-gradient(
      circle at 75% 65%,
      rgba(255,255,255,.018),
      transparent 32%
    ),
    #0d1115;

  border: 1px solid #39424b;

  box-shadow:
    inset 0 0 60px rgba(0,0,0,.38),
    8px 10px 0 rgba(0,0,0,.12);
}


.failure-board::before {
  content: "";

  position: absolute;

  inset: 12px;

  border: 1px solid rgba(255,255,255,.025);

  pointer-events: none;
}



/* ========================================
   CONNECTING LINES
======================================== */

.board-lines {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 1;

  pointer-events: none;
}


.board-line {
  stroke: rgba(183,255,74,.38);

  stroke-width: 2;

  vector-effect: non-scaling-stroke;

  stroke-dasharray: 7 7;

  transition:
    stroke .3s ease,
    stroke-width .3s ease,
    opacity .3s ease;
}


.failure-board:has(.failure-note:hover)
.board-line {
  opacity: .35;
}



/* ========================================
   EVIDENCE NOTES
======================================== */

.failure-note {
  position: absolute;

  z-index: 3;

  width: 190px;
  min-height: 145px;

  padding: 27px 22px 20px;

  background:
    linear-gradient(
      145deg,
      #1a2026 0%,
      #12171c 100%
    );

  border: 1px solid #46505a;

  color: var(--text);

  text-align: left;

  box-shadow:
    6px 7px 0 rgba(0,0,0,.2);

  cursor: pointer;

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}


.failure-note:hover {
  z-index: 6;

  border-color: var(--accent);

  transform:
    translateY(-5px)
    rotate(0deg);

  box-shadow:
    8px 11px 0 rgba(0,0,0,.22);
}



/* ========================================
   NOTE POSITIONS
======================================== */

.note-1 {
  top: 70px;
  left: 55px;

  transform: rotate(-2deg);
}


.note-2 {
  top: 65px;
  right: 55px;

  transform: rotate(2deg);
}


.note-3 {
  left: 45px;
  bottom: 80px;

  transform: rotate(1.5deg);
}


.note-4 {
  right: 45px;
  bottom: 85px;

  transform: rotate(-1.5deg);
}


.note-5 {
  left: 50%;
  bottom: 18px;

  width: 210px;

  transform:
    translateX(-50%)
    rotate(.5deg);
}


.note-5:hover {
  transform:
    translateX(-50%)
    translateY(-5px)
    rotate(0deg);
}



/* ========================================
   BOARD PINS
======================================== */

.board-pin,
.center-pin {
  position: absolute;

  top: 9px;
  left: 50%;

  width: 12px;
  height: 12px;

  background: var(--accent);

  border: 2px solid #0b0d10;

  border-radius: 50%;

  box-shadow:
    0 2px 5px rgba(0,0,0,.55);

  transform: translateX(-50%);
}


.board-pin::after,
.center-pin::after {
  content: "";

  position: absolute;

  top: 10px;
  left: 50%;

  width: 1px;
  height: 8px;

  background: rgba(183,255,74,.4);

  transform: translateX(-50%);
}



/* ========================================
   NOTE TYPOGRAPHY
======================================== */

.note-number {
  display: block;

  margin-bottom: 16px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .12em;
}


.failure-note strong {
  display: block;

  font-family: "DM Mono", monospace;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .04em;
}


.note-action {
  display: block;

  margin-top: 20px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}


.note-detail {
  display: none;

  margin-top: 18px;
  padding-top: 16px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-family: "Manrope", sans-serif;
  font-size: .75rem;
  line-height: 1.6;
}



/* OPEN NOTE */

.failure-note.open {
  z-index: 8;

  width: 250px;

  border-color: var(--accent);

  transform: rotate(0deg);
}


.failure-note.open .note-detail {
  display: block;
}


.failure-note.open .note-action {
  color: var(--accent);
}



/* ========================================
   CENTER DOCUMENT
======================================== */

.failure-center {
  position: absolute;

  z-index: 5;

  top: 43%;
  left: 50%;

  width: 330px;
  min-height: 300px;

  padding: 38px 32px 30px;

  background:
    linear-gradient(
      145deg,
      #1b2229 0%,
      #13181e 100%
    );

  border: 1px solid #56616c;

  box-shadow:
    10px 12px 0 rgba(0,0,0,.24);

  transform:
    translate(-50%, -50%)
    rotate(-.6deg);
}


.failure-center::after {
  content: "";

  position: absolute;

  inset: 8px;

  border: 1px solid rgba(255,255,255,.025);

  pointer-events: none;
}


.center-file {
  margin: 0 0 22px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .12em;
}


.failure-center h3 {
  margin: 0;

  font-size: 2.25rem;
  line-height: .95;
  letter-spacing: -.04em;
}


.failure-center h3 span {
  color: var(--accent);
}



/* CENTER STATUS */

.center-status {
  margin: 28px 0 20px;
  padding: 17px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.center-status span {
  display: block;

  margin-bottom: 8px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}


.center-status strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .08em;
}


.center-copy {
  margin: 0;

  color: var(--muted);

  font-size: .78rem;
  line-height: 1.65;
}



/* ========================================
   BOARD CASE LABEL
======================================== */

.board-case-label {
  position: absolute;

  z-index: 2;

  right: 18px;
  top: 50%;

  display: flex;

  align-items: center;

  gap: 12px;

  color: rgba(155,164,174,.35);

  font-family: "DM Mono", monospace;

  transform:
    translateY(-50%)
    rotate(90deg);
}


.board-case-label span {
  font-size: .46rem;

  letter-spacing: .12em;
}


.board-case-label strong {
  color: rgba(183,255,74,.3);

  font-size: .55rem;
  font-weight: 400;
}



/* ========================================
   RECONSTRUCTION FINDING
======================================== */

.failure-finding {
  display: grid;

  grid-template-columns: 100px 1fr;

  gap: 35px;

  max-width: 820px;

  margin:
    0 auto
    75px;

  padding:
    30px 0
    30px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.finding-index {
  color: rgba(183,255,74,.45);

  font-family: "DM Mono", monospace;
  font-size: 1.5rem;
}


.failure-finding span {
  display: block;

  margin-bottom: 13px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.failure-finding strong {
  display: block;

  color: var(--text);

  font-size: 1.25rem;
  line-height: 1.5;
}


.failure-finding p {
  margin: 17px 0 0;

  color: var(--muted);

  font-size: .95rem;
  line-height: 1.8;
}



/* ========================================
   FAILURE BOARD — TABLET
======================================== */

@media (max-width: 850px) {

  .failure-heading {
    align-items: flex-start;

    flex-direction: column;
  }


  .failure-status {
    padding:
      15px 0 0;

    border-left: 0;

    border-top:
      1px solid var(--line);
  }


  .failure-intro {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .failure-board {
    height: auto;

    padding:
      35px 25px;

    display: grid;

    grid-template-columns:
      repeat(2, 1fr);

    gap: 25px;
  }


  .board-lines {
    display: none;
  }


  .failure-note,
  .note-1,
  .note-2,
  .note-3,
  .note-4,
  .note-5 {
    position: relative;

    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    width: 100%;

    transform: none;
  }


  .failure-note.open {
    width: 100%;
  }


  .failure-note:hover,
  .note-5:hover {
    transform:
      translateY(-4px);
  }


  .failure-center {
    position: relative;

    top: auto;
    left: auto;

    width: 100%;
    min-height: 280px;

    grid-column:
      1 / -1;

    grid-row: 2;

    transform: none;
  }


  .note-5 {
    grid-column:
      1 / -1;
  }


  .board-case-label {
    display: none;
  }

}



/* ========================================
   FAILURE BOARD — MOBILE
======================================== */

@media (max-width: 550px) {

  .failure-board {
    grid-template-columns: 1fr;

    padding:
      30px 18px;
  }


  .failure-center,
  .note-5 {
    grid-column: auto;
    grid-row: auto;
  }


  .failure-finding {
    grid-template-columns: 1fr;

    gap: 15px;
  }

}

/* ========================================
   DOCUMENT 04 — AFTERMATH
======================================== */

.aftermath-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  padding: 70px 0 45px;

  border-bottom: 1px solid var(--line);
}


.aftermath-heading h2 {
  margin: 0;

  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}


.aftermath-heading h2 span {
  color: var(--accent);
}


.aftermath-status {
  min-width: 170px;

  padding-left: 20px;

  border-left: 1px solid var(--line);
}


.aftermath-status span {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.aftermath-status strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08em;
}



/* ========================================
   AFTERMATH INTRO
======================================== */

.aftermath-intro {
  display: grid;

  grid-template-columns: 160px 1fr;

  gap: 35px;

  padding: 40px 0 70px;
}


.aftermath-intro span {
  padding-top: 6px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .12em;
}


.aftermath-intro p {
  max-width: 720px;

  margin: 0;

  color: var(--text);

  font-size: 1.15rem;
  line-height: 1.75;
}



/* ========================================
   AFTERMATH TIMELINE
======================================== */

.aftermath-timeline {
  position: relative;

  max-width: 880px;

  margin: 10px auto 100px;
}


.aftermath-timeline::before {
  content: "";

  position: absolute;

  top: 25px;
  bottom: 25px;
  left: 36px;

  width: 1px;

  background:
    linear-gradient(
      to bottom,
      var(--accent),
      rgba(183,255,74,.12)
    );
}



/* ========================================
   TIMELINE EVENT
======================================== */

.aftermath-event {
  position: relative;

  display: grid;

  grid-template-columns: 74px 1fr;

  gap: 28px;

  margin-bottom: 55px;
}


.aftermath-event:last-child {
  margin-bottom: 0;
}



/* TIMELINE MARKER */

.timeline-marker {
  position: relative;

  z-index: 3;

  width: 74px;
  height: 74px;

  background: #101419;

  border: 1px solid #46505a;

  display: flex;

  align-items: center;
  justify-content: center;

  box-shadow:
    4px 5px 0 rgba(0,0,0,.15);
}


.timeline-marker::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 10px;

  background: var(--accent);

  border-radius: 50%;

  box-shadow:
    0 0 0 4px #101419;
}


.timeline-marker span {
  position: absolute;

  bottom: 8px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .45rem;
  letter-spacing: .08em;
}



/* ========================================
   AFTERMATH RECORD
======================================== */

.aftermath-record {
  position: relative;

  padding: 30px 32px;

  background:
    linear-gradient(
      145deg,
      #171d23 0%,
      #11161b 100%
    );

  border: 1px solid #39424b;

  box-shadow:
    7px 8px 0 rgba(0,0,0,.12);
}


.aftermath-record::before {
  content: "";

  position: absolute;

  top: 36px;
  left: -29px;

  width: 28px;
  height: 1px;

  background: #46505a;
}


.aftermath-record-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding-bottom: 14px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}


.aftermath-record h3 {
  max-width: 620px;

  margin: 28px 0 18px;

  color: var(--text);

  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}


.aftermath-record h3 span {
  color: var(--accent);
}


.aftermath-record p {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: .95rem;
  line-height: 1.8;
}


.aftermath-tag {
  display: inline-block;

  margin-top: 25px;
  padding: 8px 10px;

  border: 1px solid rgba(183,255,74,.25);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .48rem;
  letter-spacing: .1em;
}



/* ========================================
   BROADER WARNING
======================================== */

.aftermath-warning {
  display: grid;

  grid-template-columns: 100px 1fr;

  gap: 35px;

  max-width: 820px;

  margin: 0 auto 90px;

  padding: 35px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.warning-index {
  color: rgba(183,255,74,.4);

  font-family: "DM Mono", monospace;
  font-size: 1.5rem;
}


.warning-copy > span {
  display: block;

  margin-bottom: 15px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.warning-copy h3 {
  max-width: 620px;

  margin: 0;

  color: var(--text);

  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.25;
}


.warning-copy h3 em {
  color: var(--accent);

  font-style: normal;
}


.warning-copy p {
  max-width: 680px;

  margin: 22px 0 0;

  color: var(--muted);

  font-size: .95rem;
  line-height: 1.85;
}



/* ========================================
   CASE DISPOSITION
======================================== */

.aftermath-disposition {
  position: relative;

  display: grid;

  grid-template-columns:
    150px 1fr 1px 1fr;

  align-items: center;

  gap: 30px;

  margin: 0 0 75px;

  padding: 35px;

  overflow: hidden;

  background: #0f1418;

  border: 1px solid #46505a;
}


.disposition-label span {
  display: block;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.disposition-label small {
  display: block;

  margin-top: 9px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .48rem;
  letter-spacing: .08em;
}


.disposition-result span {
  display: block;

  margin-bottom: 9px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}


.disposition-result strong {
  color: var(--text);

  font-family: "DM Mono", monospace;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .05em;
}


.disposition-divider {
  width: 1px;
  height: 55px;

  background: var(--line);
}



/* ========================================
   WAKEUP CALL STAMP
======================================== */

.disposition-stamp {
  position: absolute;

  right: 25px;
  bottom: -5px;

  padding: 8px 14px;

  border: 2px solid rgba(183,255,74,.18);

  color: rgba(183,255,74,.22);

  font-family: "DM Mono", monospace;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: .1em;
  text-align: center;

  transform: rotate(-7deg);

  pointer-events: none;
}



/* ========================================
   AFTERMATH — MOBILE
======================================== */

@media (max-width: 750px) {

  .aftermath-heading {
    align-items: flex-start;

    flex-direction: column;
  }


  .aftermath-status {
    padding: 15px 0 0;

    border-left: 0;

    border-top: 1px solid var(--line);
  }


  .aftermath-intro {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .aftermath-event {
    grid-template-columns: 55px 1fr;

    gap: 18px;
  }


  .aftermath-timeline::before {
    left: 27px;
  }


  .timeline-marker {
    width: 55px;
    height: 55px;
  }


  .aftermath-record {
    padding: 25px 22px;
  }


  .aftermath-record::before {
    top: 27px;
    left: -19px;

    width: 18px;
  }


  .aftermath-warning {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .aftermath-disposition {
    grid-template-columns: 1fr;

    gap: 25px;
  }


  .disposition-divider {
    width: 100%;
    height: 1px;
  }


  .disposition-stamp {
    right: 15px;
    bottom: 15px;
  }

}


@media (max-width: 500px) {

  .aftermath-record-top {
    align-items: flex-start;

    flex-direction: column;
  }

}

/* ========================================
   DOCUMENT 05 — MY ASSESSMENT
======================================== */

.assessment-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  padding: 70px 0 45px;

  border-bottom: 1px solid var(--line);
}


.assessment-heading h2 {
  margin: 0;

  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}


.assessment-heading h2 span {
  color: var(--accent);
}


.assessment-classification {
  min-width: 170px;

  padding-left: 20px;

  border-left: 1px solid var(--line);
}


.assessment-classification span {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.assessment-classification strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08em;
}



/* ========================================
   ANALYST NOTICE
======================================== */

.assessment-notice {
  display: grid;

  grid-template-columns: 160px 1fr;

  gap: 35px;

  padding: 35px 0;

  border-bottom: 1px solid var(--line);
}


.assessment-notice span {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .12em;
}


.assessment-notice p {
  max-width: 680px;

  margin: 0;

  color: var(--muted);

  font-size: .9rem;
  line-height: 1.7;
}



/* ========================================
   PRIMARY THESIS
======================================== */

.assessment-thesis {
  max-width: 900px;

  margin: 90px auto;

  padding:
    45px 0
    50px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.thesis-number {
  display: block;

  margin-bottom: 30px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .58rem;
  letter-spacing: .12em;
}


.assessment-thesis blockquote {
  max-width: 800px;

  margin: 0;

  color: var(--text);

  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.045em;
}


.assessment-thesis blockquote em {
  color: var(--muted);

  font-style: normal;
}


.assessment-thesis blockquote strong {
  color: var(--accent);

  font-weight: 600;
}



/* ========================================
   ANALYST MEMO
======================================== */

.assessment-memo {
  display: grid;

  grid-template-columns:
    170px 1fr;

  max-width: 900px;

  margin:
    0 auto
    100px;

  background:
    linear-gradient(
      145deg,
      #181e24 0%,
      #11161b 100%
    );

  border: 1px solid #46505a;

  box-shadow:
    8px 10px 0 rgba(0,0,0,.14);

  transform: rotate(-.25deg);
}


.memo-sidebar {
  padding: 35px 25px;

  border-right: 1px solid var(--line);
}


.memo-sidebar span {
  display: block;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .12em;
}


.memo-sidebar strong {
  display: block;

  margin-top: 25px;

  color: var(--text);

  font-family: "DM Mono", monospace;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
}


.memo-sidebar small {
  display: block;

  margin-top: 40px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .47rem;
  line-height: 1.6;
  letter-spacing: .08em;
}


.memo-body {
  padding: 45px 50px;
}


.memo-body p {
  margin:
    0 0
    28px;

  color: var(--muted);

  font-size: 1rem;
  line-height: 1.9;
}


.memo-body p:last-child {
  margin-bottom: 0;
}



/* ========================================
   HUMAN CHECKPOINT
======================================== */

.checkpoint-section {
  margin:
    0 0
    100px;

  padding:
    45px 0;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


.checkpoint-heading > span {
  display: block;

  margin-bottom: 15px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.checkpoint-heading h3 {
  max-width: 650px;

  margin: 0;

  color: var(--text);

  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
}


.checkpoint-heading h3 em {
  color: var(--accent);

  font-style: normal;
}



/* CHECKPOINT FLOW */

.checkpoint-flow {
  display: grid;

  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr;

  align-items: stretch;

  gap: 15px;

  margin-top: 50px;
}


.checkpoint-step {
  min-height: 180px;

  padding: 22px;

  background: #101419;

  border: 1px solid var(--line);
}


.checkpoint-step > span {
  display: block;

  margin-bottom: 35px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
}


.checkpoint-step strong {
  display: block;

  margin-bottom: 15px;

  color: var(--text);

  font-family: "DM Mono", monospace;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .08em;
}


.checkpoint-step small {
  display: block;

  color: var(--muted);

  font-size: .72rem;
  line-height: 1.6;
}


.checkpoint-critical {
  border-color: var(--accent);

  box-shadow:
    inset 0 0 25px
    rgba(183,255,74,.025);
}


.checkpoint-critical > span,
.checkpoint-critical strong {
  color: var(--accent);
}


.checkpoint-arrow {
  display: flex;

  align-items: center;

  color: rgba(183,255,74,.45);

  font-family: "DM Mono", monospace;
}



/* ========================================
   PLAYBOOK CONNECTION
======================================== */

.assessment-connection {
  display: grid;

  grid-template-columns:
    100px 1fr;

  gap: 35px;

  max-width: 820px;

  margin:
    0 auto
    100px;
}


.connection-index {
  color: rgba(183,255,74,.4);

  font-family: "DM Mono", monospace;
  font-size: 1.5rem;
}


.connection-copy > span {
  display: block;

  margin-bottom: 15px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.connection-copy h3 {
  max-width: 650px;

  margin: 0 0 25px;

  color: var(--text);

  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.25;
}


.connection-copy h3 em {
  color: var(--accent);

  font-style: normal;
}


.connection-copy p {
  max-width: 680px;

  margin:
    0 0
    22px;

  color: var(--muted);

  font-size: .95rem;
  line-height: 1.85;
}



/* PLAYBOOK BUTTON */

.assessment-playbook-link {
  display: inline-flex;

  align-items: center;

  gap: 35px;

  margin-top: 15px;

  padding:
    13px 16px;

  border: 1px solid var(--accent);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .09em;

  transition:
    background .2s ease,
    color .2s ease;
}


.assessment-playbook-link:hover {
  background: var(--accent);

  color: var(--bg);
}



/* ========================================
   FINAL ASSESSMENT
======================================== */

.assessment-final {
  position: relative;

  max-width: 900px;

  margin:
    0 auto
    75px;

  padding: 40px;

  overflow: hidden;

  background: #0f1418;

  border: 1px solid #46505a;
}


.assessment-final::after {
  content: "ASSESSMENT";

  position: absolute;

  right: -15px;
  bottom: -20px;

  color:
    rgba(183,255,74,.035);

  font-family: "DM Mono", monospace;
  font-size: 5rem;
  letter-spacing: -.05em;

  pointer-events: none;
}


.assessment-final-label {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-bottom: 18px;

  border-bottom: 1px solid var(--line);
}


.assessment-final-label span,
.assessment-final-label small {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .1em;
}


.assessment-final p {
  position: relative;

  z-index: 2;

  max-width: 730px;

  margin:
    40px 0;

  color: var(--muted);

  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
}


.assessment-final p strong {
  color: var(--text);

  font-weight: 600;
}


.assessment-signature {
  position: relative;

  z-index: 2;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-top: 18px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}



/* ========================================
   ASSESSMENT — TABLET / MOBILE
======================================== */

@media (max-width: 750px) {

  .assessment-heading {
    align-items: flex-start;

    flex-direction: column;
  }


  .assessment-classification {
    padding: 15px 0 0;

    border-left: 0;

    border-top: 1px solid var(--line);
  }


  .assessment-notice {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .assessment-memo {
    grid-template-columns: 1fr;

    transform: none;
  }


  .memo-sidebar {
    border-right: 0;

    border-bottom: 1px solid var(--line);
  }


  .memo-sidebar strong {
    margin-top: 15px;
  }


  .memo-sidebar small {
    margin-top: 15px;
  }


  .checkpoint-flow {
    grid-template-columns: 1fr;
  }


  .checkpoint-arrow {
    justify-content: center;

    transform: rotate(90deg);
  }


  .checkpoint-step {
    min-height: auto;
  }


  .checkpoint-step > span {
    margin-bottom: 20px;
  }


  .assessment-connection {
    grid-template-columns: 1fr;

    gap: 15px;
  }

}


@media (max-width: 500px) {

  .assessment-thesis {
    margin:
      65px auto;
  }


  .memo-body {
    padding:
      35px 25px;
  }


  .assessment-final {
    padding:
      30px 24px;
  }


  .assessment-final-label,
  .assessment-signature {
    align-items: flex-start;

    flex-direction: column;
  }

}

/* ========================================
   DOCUMENT 06 — SOURCES
======================================== */

.sources-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;

  padding: 70px 0 45px;

  border-bottom: 1px solid var(--line);
}


.sources-heading h2 {
  margin: 0;

  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}


.sources-heading h2 span {
  color: var(--accent);
}


.sources-status {
  min-width: 170px;

  padding-left: 20px;

  border-left: 1px solid var(--line);
}


.sources-status span {
  display: block;

  margin-bottom: 10px;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
}


.sources-status strong {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .08em;
}



/* ========================================
   SOURCES INTRO
======================================== */

.sources-intro {
  display: grid;

  grid-template-columns: 160px 1fr;

  gap: 35px;

  padding: 40px 0 70px;
}


.sources-intro span {
  padding-top: 6px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .12em;
}


.sources-intro p {
  max-width: 720px;

  margin: 0;

  color: var(--text);

  font-size: 1.15rem;
  line-height: 1.75;
}



/* ========================================
   SOURCE RECORD
======================================== */

.source-record {
  display: grid;

  grid-template-columns: 75px 1fr;

  max-width: 920px;

  margin:
    0 auto
    50px;
}


.source-index {
  position: relative;

  z-index: 3;

  align-self: start;

  margin-top: 30px;
  margin-right: -1px;

  padding:
    18px 10px;

  background: #0f1317;

  border: 1px solid #46505a;

  text-align: center;
}


.source-index span {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .75rem;
  letter-spacing: .1em;
}



/* SOURCE BODY */

.source-record-body {
  position: relative;

  padding: 35px;

  background:
    linear-gradient(
      145deg,
      #181e24 0%,
      #11161b 100%
    );

  border: 1px solid #46505a;

  box-shadow:
    8px 9px 0 rgba(0,0,0,.12);
}


.source-record-body::after {
  content: "";

  position: absolute;

  z-index: -1;

  top: 7px;
  left: 8px;
  right: -8px;
  bottom: -9px;

  background: #0d1115;

  border: 1px solid var(--line);

  transform: rotate(.2deg);
}



/* SOURCE TOPLINE */

.source-record-top {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-bottom: 15px;

  border-bottom: 1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .1em;
}



/* SOURCE TITLE */

.source-title-row {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 30px;

  padding:
    30px 0
    20px;
}


.source-type {
  margin:
    0 0
    10px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  letter-spacing: .12em;
}


.source-title-row h3 {
  max-width: 600px;

  margin: 0;

  color: var(--text);

  font-size: 1.4rem;
  line-height: 1.4;
}



/* BADGES */

.source-badge {
  flex-shrink: 0;

  padding:
    7px 9px;

  border:
    1px solid var(--line);

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .46rem;
  letter-spacing: .1em;
}


.source-badge.primary {
  border-color:
    rgba(183,255,74,.35);

  color: var(--accent);
}


.source-badge.related {
  border-style: dashed;

  color: var(--muted);
}



/* PURPOSE */

.source-purpose {
  max-width: 680px;

  margin:
    0 0
    30px;

  color: var(--muted);

  font-size: .9rem;
  line-height: 1.75;
}



/* ========================================
   APA REFERENCE
======================================== */

.apa-reference {
  padding:
    22px 25px;

  background:
    rgba(0,0,0,.13);

  border-left:
    2px solid var(--accent);
}


.apa-reference > span {
  display: block;

  margin-bottom: 12px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .48rem;
  letter-spacing: .12em;
}


.apa-reference p {
  margin: 0;

  color: var(--text);

  font-size: .82rem;
  line-height: 1.75;
}


.apa-reference em {
  color: var(--text);
}



/* ========================================
   SOURCE LINK
======================================== */

.source-link {
  display: inline-flex;

  align-items: center;

  gap: 28px;

  margin-top: 25px;

  padding:
    10px 13px;

  border:
    1px solid var(--accent);

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .5rem;
  letter-spacing: .09em;

  transition:
    background .2s ease,
    color .2s ease;
}


.source-link:hover {
  background: var(--accent);

  color: var(--bg);
}



/* ========================================
   SOURCE KEY
======================================== */

.source-key {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 1px;

  max-width: 920px;

  margin:
    90px auto;

  background: var(--line);

  border: 1px solid var(--line);
}


.source-key > div {
  padding: 25px;

  background: #101419;
}


.key-marker {
  display: block;

  width: 11px;
  height: 11px;

  margin-bottom: 18px;

  border-radius: 50%;

  border: 1px solid var(--muted);
}


.key-marker.primary {
  background: var(--accent);

  border-color: var(--accent);
}


.key-marker.secondary {
  background: transparent;

  border-color: var(--accent);
}


.key-marker.related {
  border-style: dashed;
}


.source-key p {
  margin: 0;

  color: var(--muted);

  font-size: .72rem;
  line-height: 1.65;
}


.source-key strong {
  display: block;

  margin-bottom: 6px;

  color: var(--text);

  font-family: "DM Mono", monospace;
  font-size: .52rem;
  font-weight: 400;
  letter-spacing: .08em;
}



/* ========================================
   END OF CASE FILE
======================================== */

.sources-close {
  max-width: 700px;

  margin:
    0 auto
    90px;

  padding:
    50px 30px;

  border-top:
    1px solid var(--line);

  border-bottom:
    1px solid var(--line);

  text-align: center;
}


.sources-close span {
  display: block;

  margin-bottom: 15px;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .15em;
}


.sources-close strong {
  display: block;

  color: var(--text);

  font-size:
    clamp(2.5rem,5vw,4rem);

  letter-spacing: -.04em;
}


.sources-close p {
  margin:
    18px 0 0;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .6rem;
  letter-spacing: .06em;
}



/* ========================================
   SOURCES — MOBILE
======================================== */

@media (max-width: 750px) {

  .sources-heading {
    align-items: flex-start;

    flex-direction: column;
  }


  .sources-status {
    padding:
      15px 0 0;

    border-left: 0;

    border-top:
      1px solid var(--line);
  }


  .sources-intro {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .source-record {
    grid-template-columns: 1fr;
  }


  .source-index {
    width: 70px;

    margin:
      0 0 -1px
      20px;
  }


  .source-key {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 500px) {

  .source-record-body {
    padding: 27px 22px;
  }


  .source-record-top,
  .source-title-row {
    align-items: flex-start;

    flex-direction: column;
  }


  .source-title-row {
    gap: 18px;
  }

}

/* ========================================
   IN-TEXT CITATIONS
======================================== */

.inline-citation {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .72em;

  white-space: normal;
}


.inline-citation em {
  color: inherit;
}