/* The Great Insolvency Scam
   An evidence file kept in public. Photocopy paper, dense black, one red highlighter.
   Archivo Black (cover and headlines), Special Elite (labels, tags, figures), Libre Franklin (reading). */

:root {
  --paper: #F6F4EE;
  --sheet: #FDFCF8;
  --shade: #ECE8DD;
  --ink: #111111;
  --ink-soft: #4B4841;
  --rule: rgba(17, 17, 17, .24);
  --red: #E11D2E;
  --marker: rgba(225, 29, 46, .5);
  --slab: "Archivo Black", "Arial Black", Impact, sans-serif;
  --type: "Special Elite", "Courier New", Courier, monospace;
  --read: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --edge: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--read);
  background-color: var(--paper);
  /* toner speckle: three dot fields on sizes that never line up, plus a copier shadow down the left edge */
  background-image:
    radial-gradient(circle, rgba(17, 17, 17, .13) 0, rgba(17, 17, 17, .13) .55px, transparent .9px),
    radial-gradient(circle, rgba(17, 17, 17, .09) 0, rgba(17, 17, 17, .09) .7px, transparent 1.1px),
    radial-gradient(circle, rgba(17, 17, 17, .06) 0, rgba(17, 17, 17, .06) 1.1px, transparent 1.6px),
    linear-gradient(90deg, rgba(17, 17, 17, .07), transparent 26px);
  background-size: 37px 41px, 59px 53px, 137px 113px, 100% 100%;
  background-position: 3px 7px, 23px 31px, 71px 97px, 0 0;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .14em; text-underline-offset: .18em; }
a:hover { background: var(--marker); text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--red); color: var(--sheet); }

.inset { max-width: 1180px; margin-inline: auto; padding-inline: var(--edge); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skipto { position: absolute; left: var(--edge); top: -5rem; z-index: 20; padding: .7rem 1rem .5rem; background: var(--ink); color: var(--paper); font: 400 .9rem var(--type); text-decoration: none; }
.skipto:focus { top: .5rem; outline-color: var(--red); }

/* ---- shared small devices ---- */

.typed-label { font: 400 .8rem/1.3 var(--type); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.typed-link { display: inline-block; font: 400 .88rem/1.3 var(--type); letter-spacing: .05em; text-transform: uppercase; text-decoration-thickness: .16em; }
.typed-link::after { content: " \2192"; }

/* red highlighter: a slanted, see-through block that survives a line break */
.hl {
  color: inherit;
  padding: 0 .16em;
  margin: 0 -.08em;
  background: linear-gradient(101deg, transparent .14em, var(--marker) .14em, var(--marker) calc(100% - .14em), transparent calc(100% - .14em)) no-repeat 0 68% / 100% 74%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* rubber stamp */
.rubber {
  display: inline-block;
  padding: .5em .8em .22em;
  border: 3px solid currentColor;
  border-radius: 5px;
  outline: 1px solid currentColor;
  outline-offset: 3px;
  color: var(--red);
  font: 400 1rem/1 var(--type);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-7deg);
  opacity: .88;
  -webkit-mask-image: radial-gradient(circle, transparent 0, transparent .6px, #000 1px), radial-gradient(circle, transparent 0, transparent .9px, #000 1.4px);
  -webkit-mask-size: 7px 9px, 17px 13px;
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle, transparent 0, transparent .6px, #000 1px), radial-gradient(circle, transparent 0, transparent .9px, #000 1.4px);
  mask-size: 7px 9px, 17px 13px;
  mask-composite: intersect;
  pointer-events: none;
  user-select: none;
}

/* masking tape across the top of a photocopy */
.taped { position: relative; }
.taped::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -15px;
  left: 50%;
  width: 124px;
  height: 32px;
  margin-left: -62px;
  background: linear-gradient(180deg, rgba(226, 220, 203, .93), rgba(236, 232, 221, .9));
  border-block: 1px solid rgba(17, 17, 17, .3);
  transform: rotate(-3deg);
  clip-path: polygon(0 0, 3% 12%, 0 26%, 3% 40%, 0 55%, 3% 70%, 0 84%, 3% 100%, 97% 100%, 100% 86%, 97% 72%, 100% 58%, 97% 43%, 100% 28%, 97% 14%, 100% 0);
}

/* format label, set from the piece's format */
.kind { display: inline-block; padding: .34em .6em .12em; background: var(--ink); color: var(--paper); white-space: nowrap; }
.kind::before { content: "On file"; }
.kind--case-file::before { content: "Case file"; }
.kind--how-it-works::before { content: "How it works"; }
.kind--dispatch::before { content: "Dispatch"; }

.filedline { font: 400 .8rem/1.4 var(--type); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.filedline span::before { content: "/ "; margin-left: .35em; }

.zonehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1.5rem; padding-top: .75rem; border-top: 6px solid var(--ink); }
.zonehead h2 { font: 400 clamp(1.5rem, 3.4vw, 2.15rem)/1 var(--slab); letter-spacing: -.01em; text-transform: uppercase; }
.zonehead p { font: 400 .82rem/1.3 var(--type); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- the cover (masthead) ---- */

.cover { padding-top: clamp(12px, 2.2vw, 26px); }
.cover-board { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); border: 3px solid var(--ink); background: var(--sheet); }
.cover-spine { display: none; writing-mode: vertical-rl; transform: rotate(180deg); padding: .8rem .55rem .8rem .4rem; background: var(--ink); color: var(--paper); font: 400 .72rem/1 var(--type); letter-spacing: .32em; text-transform: uppercase; text-align: center; }
.cover-face { grid-column: 2; min-width: 0; padding: .7rem 1rem .6rem; }
.cover-fields { display: none; list-style: none; flex-wrap: wrap; gap: .1rem 1.6rem; padding-bottom: .55rem; margin-bottom: 1rem; border-bottom: 1px solid var(--ink); font: 400 .76rem/1.4 var(--type); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.cover-fields b { font-weight: 400; color: var(--ink); }
.cover-name { font: 400 1rem/.92 var(--slab); text-transform: uppercase; }
.cover-name a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4em; text-decoration: none; }
.cover-name a:hover { background: none; }
.cover-name a:hover .cover-name-b { background: var(--marker); }
.cover-name-a { font-size: clamp(1.05rem, 3.4vw, 1.7rem); }
.cover-name-b { font-size: clamp(1.05rem, 3.4vw, 1.7rem); letter-spacing: -.005em; }
.cover-subject { display: none; font: 400 .9rem/1.4 var(--type); }
.cover-subject span { margin-right: .6em; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.cover-stamp { position: absolute; right: .9rem; top: 50%; margin-top: -1.05em; font-size: .7rem; display: none; }

/* front page: the cover opened out */
.cover--open .cover-face { padding: clamp(.9rem, 2.6vw, 1.7rem) clamp(1rem, 3vw, 2.2rem) clamp(.9rem, 2.2vw, 1.5rem); }
.cover--open .cover-fields { display: flex; }
.cover--open .cover-name a { display: inline-block; }
.cover--open .cover-name-a { display: block; margin-bottom: .32em; font-size: clamp(1.15rem, 3.2vw, 2.1rem); letter-spacing: .02em; }
.cover--open .cover-name-b { display: block; font-size: clamp(2.4rem, 11.4vw, 5.4rem); letter-spacing: -.02em; line-height: .9; }
.cover--open .cover-subject { display: block; margin-top: 1.1rem; padding-top: .6rem; border-top: 1px solid var(--ink); }
.cover--open .cover-stamp { display: inline-block; top: 2.75rem; right: .7rem; margin: 0; font-size: .7rem; }
.cover-fields li:nth-child(n + 3) { display: none; }

.dividers { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .1rem 1.5rem; padding-left: 3px; }
.dividers ul { display: flex; flex-wrap: wrap; list-style: none; }
.dividers-tabs { gap: 5px 4px; padding-top: 5px; }
.dividers-tabs a { display: block; padding: .55rem .7rem .32rem; border: 2px solid var(--ink); border-radius: 0 0 7px 7px; background: var(--shade); font: 400 .76rem/1.1 var(--type); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.dividers-tabs a:hover { background: var(--sheet); box-shadow: inset 0 -.5em 0 var(--marker); }
.dividers-tabs a[aria-current] { background: var(--ink); color: var(--paper); }
.dividers-tabs a[aria-current]:focus-visible { outline-color: var(--red); }
.dividers-notes { gap: .2rem 1.2rem; padding-top: .55rem; }
.dividers-notes a { font: 400 .78rem/1.5 var(--type); letter-spacing: .06em; text-transform: uppercase; }

@media (min-width: 620px) {
  .cover-stamp { display: inline-block; }
  .cover-face { padding: .8rem 1.3rem .65rem; }
  .cover:not(.cover--open) .cover-face { padding-right: 11rem; }
  .cover-name-a, .cover-name-b { font-size: 1.75rem; }
  .cover--open .cover-spine { display: block; }
  .cover--open .cover-stamp { top: 1.15rem; bottom: auto; right: clamp(1rem, 3vw, 2.2rem); font-size: clamp(.95rem, 2.1vw, 1.65rem); transform: rotate(-5deg); mix-blend-mode: multiply; }
  .cover--open .cover-fields { padding-right: clamp(14rem, 27vw, 20rem); }
  .cover-fields li:nth-child(n + 3) { display: block; }
  .cover--open .dividers { padding-left: calc(3px + 2.2rem); }
  .dividers { padding-left: calc(3px + .9rem); }
  .dividers-tabs a { padding: .6rem .85rem .38rem; font-size: .8rem; }
}
/* wide enough for one row: the tabs hang from the cover like dividers */
@media (min-width: 920px) {
  .dividers-tabs { gap: 0 5px; padding-top: 0; }
  .dividers-tabs a { border-top: 0; }
  .dividers-tabs li:nth-child(even) a { padding-top: .75rem; }
}
@media (max-width: 919px) { .dividers-tabs a { border-radius: 4px; } }

/* ---- front page ---- */

.frontfile > * + * { margin-top: clamp(2.6rem, 6vw, 4.6rem); }

.statement { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); padding-top: clamp(2.2rem, 5vw, 3.6rem); }
.statement-text { margin-top: .9rem; max-width: 23em; font: 400 clamp(1.62rem, 4.3vw, 3.3rem)/1.08 var(--slab); letter-spacing: -.012em; }
.pledgecard { position: relative; align-self: start; padding: 1.5rem 1.3rem 1.3rem; border: 2px solid var(--ink); background: var(--sheet); box-shadow: 7px 7px 0 -2px var(--paper), 7px 7px 0 0 var(--ink); transform: rotate(.6deg); }
.pledgecard::before { content: ""; position: absolute; top: -17px; right: 1.5rem; width: 22px; height: 52px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 52'%3E%3Cpath d='M7 40V13a4.5 4.5 0 0 1 9 0v29a8 8 0 0 1-13 6.200V11a8.500 8.500 0 0 1 17 0v26' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.pledgecard ol { list-style: none; counter-reset: pledge; margin: .9rem 0 1.1rem; }
.pledgecard li { counter-increment: pledge; display: grid; grid-template-columns: 1.9rem 1fr; padding: .6rem 0; border-top: 1px dashed var(--rule); font-weight: 600; line-height: 1.35; }
.pledgecard li::before { content: counter(pledge) "."; font: 400 1rem/1.5 var(--type); color: var(--red); }

@media (min-width: 900px) {
  .pledgecard { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr) auto; align-items: center; gap: 0 2rem; padding: 1.15rem 4.2rem 1rem 1.4rem; transform: rotate(-.35deg); }
  .pledgecard::before { right: 1.3rem; }
  .pledgecard ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
  .pledgecard li { padding: .2rem 1rem .2rem 1.1rem; border-top: 0; border-left: 1px dashed var(--rule); grid-template-columns: 1.5rem 1fr; font-size: .97rem; }
}

/* the lead: one folder shown, the newest case file among the latest four */
.folder { display: none; margin-top: 1.9rem; }
.leadzone .folder--case-file { display: block; }
.leadzone .folder--case-file ~ .folder--case-file { display: none; }
.leadzone:not(:has(.folder--case-file)) > .folder:first-of-type { display: block; }

.folder-tab, .docket-tab, .casehead-tab, .drawerhead-tab { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; font: 400 .8rem/1.2 var(--type); letter-spacing: .1em; text-transform: uppercase; }
.folder-tab { position: relative; z-index: 1; margin-bottom: -3px; padding: .55rem 1.1rem .5rem .6rem; border: 3px solid var(--ink); border-bottom-color: var(--shade); border-radius: 11px 11px 0 0; background: var(--shade); }
.folder-inside { display: grid; gap: 1.6rem clamp(1.5rem, 4vw, 3rem); padding: clamp(1.4rem, 3.4vw, 2.4rem) clamp(1rem, 3.4vw, 2.4rem) clamp(1.1rem, 3vw, 2rem); border: 3px solid var(--ink); background: var(--shade); box-shadow: 9px 9px 0 -3px var(--paper), 9px 9px 0 0 var(--ink); }
.folder-copy { display: block; align-self: start; margin-top: .4rem; padding: 7px; background: var(--sheet); border: 1px solid var(--ink); box-shadow: 5px 6px 0 rgba(17, 17, 17, .16); transform: rotate(1deg); }
.folder-copy:hover { background: var(--sheet); }
.folder-copy img { width: 100%; }
.folder-title { margin-top: .7rem; font: 400 clamp(1.7rem, 4.3vw, 2.95rem)/1.03 var(--slab); letter-spacing: -.015em; text-wrap: balance; }
.folder-title a { text-decoration: none; }
.folder-title a:hover { background: none; box-shadow: inset 0 -.42em 0 var(--marker); }
.folder-dek { margin-top: .9rem; max-width: 34em; font-size: 1.14rem; line-height: 1.5; }
.openfile { display: inline-block; margin-top: 1.3rem; padding: .78rem 1.15rem .52rem; background: var(--ink); color: var(--paper); font: 400 .9rem/1 var(--type); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.openfile::after { content: " \2192"; }
.openfile:hover { background: var(--red); color: var(--sheet); }
.folder .slip { display: none; }
.folder .slip-fee-clock { display: block; margin: 0; }

@media (min-width: 700px) {
  .folder-inside { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .folder-words:first-child, .folder .slip { grid-column: 1 / -1; }
}

/* running file and index */
.stack { display: grid; gap: 3rem clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .stack { grid-template-columns: minmax(0, 1fr) 18.5rem; align-items: start; } }

.runfile { list-style: none; margin-top: 1.5rem; }
.docket { margin-top: 1.25rem; }
.docket-tab { position: relative; z-index: 1; margin-bottom: -2px; padding: .36rem .8rem .34rem .4rem; border: 2px solid var(--ink); border-bottom-color: var(--sheet); border-radius: 8px 8px 0 0; background: var(--sheet); font-size: .74rem; }
.docket-face { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 1.4rem; padding: 1.05rem 1.1rem 1rem; border: 2px solid var(--ink); background: var(--sheet); }
.docket-copy { display: block; align-self: start; padding: 4px; border: 1px solid var(--ink); background: var(--sheet); transform: rotate(-1deg); box-shadow: 3px 4px 0 rgba(17, 17, 17, .14); }
.docket-copy img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.docket-title { font: 400 clamp(1.18rem, 2.5vw, 1.5rem)/1.12 var(--slab); letter-spacing: -.008em; }
.docket-title a { text-decoration: none; }
.docket-title a:hover { background: none; box-shadow: inset 0 -.42em 0 var(--marker); }
.docket-dek { margin-top: .5rem; color: var(--ink-soft); line-height: 1.5; }
.docket .filedline { margin-top: .65rem; }

.docket-face:has(.docket-copy) { grid-template-columns: 5.4rem minmax(0, 1fr); }
@media (min-width: 560px) {
  .docket-face:has(.docket-copy) { grid-template-columns: 9.5rem minmax(0, 1fr); }
  .docket:nth-child(3n + 2) .docket-tab { margin-left: 9%; }
  .docket:nth-child(3n) .docket-tab { margin-left: 18%; }
}

/* front page: the piece already shown as the lead folder is not repeated; later rows are compact */
.frontfile:has(.leadzone .folder--case-file) .runfile > .docket--case-file:not(.docket--case-file ~ .docket--case-file) { display: none; }
.frontfile:not(:has(.leadzone .folder--case-file)) .runfile > .docket:first-child { display: none; }
.frontfile .runfile > .docket:nth-child(n + 5) .docket-copy,
.frontfile .runfile > .docket:nth-child(n + 5) .docket-dek { display: none; }
.frontfile .runfile > .docket:nth-child(n + 5) .docket-face { grid-template-columns: minmax(0, 1fr); }

.runfile--pair, .runfile--full { display: grid; gap: 0 2rem; }
.runfile--pair .docket-copy { display: none; }
.runfile--pair .docket-face { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .runfile--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } .runfile--pair .docket .docket-tab { margin-left: 0; } }

.indexcard { padding: 1.2rem 1.2rem 1rem; border: 2px solid var(--ink); background: var(--sheet); }
.indexcard .typed-label { padding-bottom: .5rem; border-bottom: 2px solid var(--red); color: var(--ink); }
.indexcard ul { list-style: none; margin-top: .3rem; }
.indexcard li a { display: flex; align-items: baseline; gap: .5rem; padding: .62rem 0 .3rem; font: 400 .98rem/1.3 var(--type); text-decoration: none; }
.indexcard-name { order: 1; }
.indexcard li a::after { content: ""; order: 2; flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--ink); transform: translateY(-.28em); opacity: .55; }
.indexcard-count { order: 3; min-width: 1.4em; text-align: right; }
.indexcard li a:hover { background: none; }
.indexcard li a:hover .indexcard-name { background: var(--marker); }
.indexcard-note { margin-top: .9rem; font-size: .82rem; line-height: 1.4; color: var(--ink-soft); }
@media (min-width: 960px) { .stack .indexcard { position: sticky; top: 1.2rem; margin-top: 3.4rem; } }

/* how it works */
.mechanism-steps { list-style: none; counter-reset: step; display: grid; gap: 0; margin-top: 1.6rem; border: 2px solid var(--ink); background: var(--sheet); }
.mechanism-steps li { counter-increment: step; position: relative; padding: 1.2rem 1.2rem 1.3rem 4.1rem; border-top: 2px solid var(--ink); }
.mechanism-steps li:first-child { border-top: 0; }
.mechanism-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1.15rem; font: 400 1.75rem/1 var(--type); }
.mechanism-steps h3 { font: 400 1.16rem/1.15 var(--slab); }
.mechanism-steps p { margin: .55rem 0 .8rem; font-size: .98rem; line-height: 1.52; color: var(--ink-soft); }
@media (min-width: 700px) {
  .mechanism-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mechanism-steps li { padding: 3.9rem 1.3rem 1.4rem; border-top: 0; border-left: 2px solid var(--ink); }
  .mechanism-steps li::before { left: 1.3rem; top: 1.2rem; font-size: 2rem; }
  .mechanism-steps li::after { content: ""; position: absolute; left: 4.4rem; right: 1.3rem; top: 2.15rem; border-top: 2px dotted var(--ink); opacity: .5; }
  .mechanism-steps li:nth-child(2n + 1) { border-left: 0; }
  .mechanism-steps li:nth-child(n + 3) { border-top: 2px solid var(--ink); }
}
@media (min-width: 1040px) {
  .mechanism-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mechanism-steps li:nth-child(2n + 1) { border-left: 2px solid var(--ink); }
  .mechanism-steps li:nth-child(3n + 1) { border-left: 0; }
  .mechanism-steps li:nth-child(n + 3) { border-top: 0; }
  .mechanism-steps li:nth-child(n + 4) { border-top: 2px solid var(--ink); }
}

/* tell us about a case */
.tipoff { margin-top: clamp(3rem, 7vw, 5.5rem); padding-block: clamp(2.4rem, 6vw, 4.2rem); background: var(--ink); color: var(--paper); }
.tipoff-grid { display: grid; gap: 2.2rem clamp(2rem, 6vw, 5rem); }
.tipoff .typed-label { color: rgba(246, 244, 238, .74); }
.tipoff h2 { margin-top: .7rem; font: 400 clamp(2rem, 6vw, 3.7rem)/.98 var(--slab); letter-spacing: -.02em; text-transform: uppercase; }
.tipoff-lead { margin-top: 1.1rem; max-width: 31em; font-size: 1.16rem; line-height: 1.5; }
.tipoff-mail { margin-top: 1.6rem; }
.tipoff-mail a { display: inline-block; position: relative; z-index: 0; padding: .5em .5em .22em; font: 400 clamp(.86rem, 3.5vw, 1.45rem)/1.2 var(--type); color: var(--sheet); text-decoration: none; overflow-wrap: anywhere; }
.tipoff-mail a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--red); transform: skewX(-9deg) rotate(-.7deg); }
.tipoff-mail a:hover { background: none; color: var(--ink); }
.tipoff-mail a:hover::before { background: var(--paper); }
.tipoff a:focus-visible { outline-color: var(--paper); }
.tipoff-list { padding: 1.3rem 1.3rem 1.2rem; border: 2px solid var(--paper); }
.tipoff-list ul { list-style: none; margin-top: .6rem; }
.tipoff-list li { position: relative; padding: .58rem 0 .5rem 1.9rem; border-top: 1px dashed rgba(246, 244, 238, .34); line-height: 1.4; }
.tipoff-list li::before { content: ""; position: absolute; left: .1rem; top: 1.02em; width: 1rem; height: .5rem; background: var(--red); transform: skewX(-18deg) rotate(-4deg); }
.tipoff-not { margin-top: .9rem; padding-top: .9rem; border-top: 2px solid var(--paper); font-size: .95rem; line-height: 1.5; color: rgba(246, 244, 238, .84); }
@media (min-width: 900px) { .tipoff-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }

/* ---- the fee clock ---- */

.slip-fee-clock { border: 3px solid var(--ink); background: var(--sheet); }
.slip-fee-clock .slip-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1.5rem; padding: .62rem 1rem .36rem; background: var(--ink); color: var(--paper); font: 400 .84rem/1.3 var(--type); letter-spacing: .16em; text-transform: uppercase; }
.slip-fee-clock .slip-head::after { content: "From the filed record"; letter-spacing: .08em; color: rgba(246, 244, 238, .72); }
.slip-fee-clock ul { list-style: none; }
.slip-fee-clock li { padding: .85rem 1rem .6rem; border-top: 1px dashed var(--rule); font: 400 1.18rem/1.3 var(--type); }
.slip-fee-clock li:first-child { border-top: 0; }
.slip-fee-clock:not(.is-tiled) li:nth-child(2) { background: linear-gradient(101deg, transparent .5rem, var(--marker) .5rem, var(--marker) calc(100% - .5rem), transparent calc(100% - .5rem)) no-repeat 0 50% / 100% 66%; }

.is-tiled li { display: flex; flex-direction: column; gap: .7rem; padding: 1rem 1rem .9rem; border-top: 2px solid var(--ink); }
.clock-label { font-size: .76rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.clock-figure { font-size: clamp(1.9rem, 8.4vw, 2.5rem); line-height: 1; white-space: nowrap; }
.clock-figure--words { font-size: 1.3rem; white-space: normal; }
.clock-figure--words .clock-ink { padding-bottom: .12em; border-bottom: 2px dashed var(--ink); }
.clock-ink { position: relative; z-index: 0; display: inline-block; padding-top: .14em; }
.is-tiled li:nth-child(2) .clock-label { color: var(--ink); }
.is-tiled li:nth-child(2) .clock-ink::before { content: ""; position: absolute; z-index: -1; inset: -.1em -.28em .04em -.22em; background: var(--red); opacity: .58; transform: skewX(-11deg) rotate(-1.1deg); border-radius: 2px 5px 3px 6px; }

.clockscale { display: grid; gap: .7rem; padding: 1rem 1rem .9rem; border-top: 2px solid var(--ink); }
.clockbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .8rem; align-items: center; font: 400 .74rem/1.2 var(--type); letter-spacing: .1em; text-transform: uppercase; }
.clockbar-track { grid-column: 1 / -1; grid-row: 2; display: block; height: 1.05rem; border-left: 2px solid var(--ink); background: repeating-linear-gradient(90deg, rgba(17, 17, 17, .07) 0, rgba(17, 17, 17, .07) calc(10% - 1px), rgba(17, 17, 17, .3) calc(10% - 1px), rgba(17, 17, 17, .3) 10%); }
.clockbar-fill { display: block; min-width: 2px; height: 100%; background: var(--red); }
.clockbar--return .clockbar-fill { background: var(--ink); }
.clockscale-note { font: 400 .8rem/1.4 var(--read); color: var(--ink-soft); }

@media (min-width: 680px) {
  .is-tiled ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .is-tiled li { border-top: 0; border-left: 2px solid var(--ink); padding: 1.15rem 1.2rem 1.1rem; }
  .is-tiled li:first-child { border-left: 0; }
  .clock-figure { font-size: clamp(1.5rem, 3.25vw, 2.5rem); }
  .clock-figure--words { font-size: clamp(1.1rem, 2vw, 1.4rem); }
  .clockscale { padding-inline: 1.2rem; }
  .clockbar { grid-template-columns: 14.5rem minmax(0, 1fr) 7.2rem; }
  .clockbar-track { grid-column: auto; grid-row: auto; }
  .clockbar-value { text-align: right; }
}

/* ---- the piece ---- */

.casefile > article { padding-top: clamp(2rem, 5vw, 3.4rem); }
.casehead-tab, .drawerhead-tab { position: relative; z-index: 1; margin-bottom: -3px; padding: .55rem 1.1rem .5rem .6rem; border: 3px solid var(--ink); border-bottom-color: var(--shade); border-radius: 11px 11px 0 0; background: var(--shade); }
.casehead-face, .drawerhead-face { padding: clamp(1.3rem, 3.6vw, 2.5rem) clamp(1rem, 3.4vw, 2.4rem) 0; border: 3px solid var(--ink); background: var(--shade); box-shadow: 9px 9px 0 -3px var(--paper), 9px 9px 0 0 var(--ink); }
.casehead-title { max-width: 21em; font: 400 clamp(1.95rem, 5.3vw, 3.65rem)/1.02 var(--slab); letter-spacing: -.018em; }
@media (min-width: 700px) { .casehead-title { text-wrap: balance; } }
.casehead-dek { margin-top: 1.1rem; max-width: 38em; font-size: clamp(1.12rem, 2.1vw, 1.3rem); line-height: 1.45; }
.coversheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: clamp(1.3rem, 3vw, 2rem) calc(-1 * clamp(1rem, 3.4vw, 2.4rem)) 0; border-top: 2px solid var(--ink); background: var(--sheet); }
.coversheet > div { padding: .7rem clamp(1rem, 3.4vw, 2.4rem) .55rem; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.coversheet > div:nth-child(-n + 2) { border-top: 0; }
.coversheet > div:nth-child(odd) { border-left: 0; }
.coversheet dt { font: 400 .7rem/1.3 var(--type); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.coversheet dd { margin-top: .15rem; font: 400 .98rem/1.35 var(--type); }
@media (min-width: 860px) {
  .coversheet { grid-template-columns: 1.1fr 1fr .8fr 1.6fr; }
  .coversheet > div { border-top: 0; padding-inline: 1.2rem; }
  .coversheet > div:first-child { padding-left: clamp(1rem, 3.4vw, 2.4rem); }
  .coversheet > div:nth-child(odd) { border-left: 1px solid var(--rule); }
  .coversheet > div:first-child { border-left: 0; }
}

.casebody { display: flex; flex-direction: column; margin-top: clamp(1.8rem, 4vw, 2.8rem); }
.casebody > * { order: 0; }
.casebody > .slip-fee-clock { order: -3; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.casebody > .copyplate { order: -2; }

.copyplate { max-width: 41rem; margin: .6rem 0 clamp(1.8rem, 4vw, 2.6rem); padding: 9px; border: 1px solid var(--ink); background: var(--sheet); box-shadow: 6px 8px 0 rgba(17, 17, 17, .15); transform: rotate(1deg); }
.copyplate img { width: 100%; }

.account { max-width: 41rem; font-size: 1.125rem; line-height: 1.68; }
.account > p + p, .account > pre + p, .account > p + pre { margin-top: 1.15em; }
.casefile .account > p:first-child::first-line { font-weight: 700; }
.account code, .slip code { padding: .12em .35em .02em; border: 1px solid var(--rule); background: var(--sheet); font: 400 .9em var(--type); }
.account pre { position: relative; margin-block: 1.6em; padding: 1.7rem 1.1rem 1rem; overflow-x: auto; border: 2px solid var(--ink); background: var(--sheet); font: 400 .9rem/1.55 ui-monospace, "Courier New", Courier, monospace; tab-size: 2; }
.account pre::before { content: "Extract"; position: absolute; top: 0; left: 0; padding: .3rem .6rem .12rem; background: var(--ink); color: var(--paper); font: 400 .68rem/1.2 var(--type); letter-spacing: .14em; text-transform: uppercase; }
.account pre[data-lang]::before { content: "Extract / " attr(data-lang); }
.account pre code { padding: 0; border: 0; background: none; font: inherit; }

.slip { max-width: 41rem; margin-top: clamp(2.2rem, 5vw, 3rem); }
.slip-fee-clock { max-width: none; margin-top: 0; }
.slip-exhibits .slip-head, .slip-tells .slip-head { display: flex; align-items: baseline; gap: 1rem; padding-top: .7rem; border-top: 6px solid var(--ink); font: 400 clamp(1.35rem, 3vw, 1.7rem)/1 var(--slab); text-transform: uppercase; }
.slip-exhibits .slip-head::after { content: "Documents relied on"; margin-left: auto; font: 400 .74rem/1.3 var(--type); letter-spacing: .1em; color: var(--ink-soft); }
.slip-tells .slip-head::after { content: "In a report or proposal"; margin-left: auto; font: 400 .74rem/1.3 var(--type); letter-spacing: .1em; color: var(--ink-soft); }

/* exhibits: tagged A, B, C */
.slip-exhibits ul { list-style: none; counter-reset: exhibit; margin-top: .9rem; }
.slip-exhibits li { counter-increment: exhibit; display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem 1.2rem; align-items: start; padding: .95rem 0 .9rem; border-bottom: 1px dashed var(--rule); line-height: 1.45; }
.slip-exhibits li::before { content: "Exhibit " counter(exhibit, upper-alpha); justify-self: start; padding: .5em .7em .22em; border: 2px solid var(--ink); background: var(--sheet); font: 400 .8rem/1 var(--type); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.4deg); }
.slip-exhibits li:nth-child(even)::before { transform: rotate(1deg); }
@media (min-width: 520px) { .slip-exhibits li { grid-template-columns: 7.6rem minmax(0, 1fr); } .slip-exhibits li::before { justify-self: stretch; text-align: center; } }

/* what to look for: a checklist ticked in red marker */
.slip-tells ul { list-style: none; margin-top: .9rem; padding: .3rem 1.1rem; border: 2px solid var(--ink); background: var(--sheet); }
.slip-tells li { position: relative; padding: .9rem 0 .8rem 2.7rem; border-top: 1px dashed var(--rule); font-weight: 600; line-height: 1.4; }
.slip-tells li:first-child { border-top: 0; }
.slip-tells li::before { content: ""; position: absolute; left: .1rem; top: .95rem; width: 1.25rem; height: 1.25rem; border: 2px solid var(--ink); background: var(--paper); }
.slip-tells li::after { content: ""; position: absolute; left: .62rem; top: .08rem; width: .86rem; height: 1.85rem; border: solid var(--red); border-width: 0 .42rem .42rem 0; opacity: .8; transform: rotate(40deg) skewY(-9deg); border-radius: 1px 2px 3px 2px; }

.marginalia { position: relative; max-width: 41rem; margin-top: clamp(2.4rem, 5vw, 3rem); padding: 1.5rem 1.2rem 1.2rem; border: 2px solid var(--ink); background: var(--sheet); font-size: .95rem; line-height: 1.5; }
.marginalia .rubber { position: absolute; right: .9rem; top: -1.1rem; font-size: .92rem; background: var(--sheet); -webkit-mask-image: none; mask-image: none; }
.marginalia .typed-label { margin-top: 1.2rem; color: var(--ink); }
.marginalia .rubber + .typed-label { margin-top: 0; padding-right: 6rem; }
.marginalia p { margin: .4rem 0 .55rem; color: var(--ink-soft); }
.marginalia-mail { text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; font-size: .72rem; }
.marginalia-mail::after { content: none; }

.casefoot { max-width: 41rem; margin-top: 2rem; }
.casefoot ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: .6rem; }
.casefoot li { padding: .42rem .65rem .2rem; border: 1px solid var(--ink); background: var(--sheet); font: 400 .8rem/1.2 var(--type); letter-spacing: .05em; }

@media (min-width: 1000px) {
  .casebody { display: grid; grid-template-columns: minmax(0, 41rem) minmax(0, 18.5rem); grid-auto-flow: row dense; justify-content: space-between; column-gap: 3rem; }
  .casebody > * { grid-column: 1; }
  .casebody > .slip-fee-clock { grid-column: 1 / -1; }
  .casebody > .marginalia { grid-column: 2; grid-row: span 5; order: -1; align-self: start; position: sticky; top: 1.4rem; margin-top: 1.6rem; }
}

.alsofiled { margin-top: clamp(3rem, 7vw, 5rem); }

/* ---- drawers (category), about, rules, not found ---- */

.drawerhead { padding-top: clamp(2rem, 5vw, 3.4rem); }
.drawerhead-face { padding-bottom: clamp(1.2rem, 3vw, 2rem); }
.drawerhead-face h1 { font: 400 clamp(2.2rem, 7vw, 4.4rem)/.98 var(--slab); letter-spacing: -.02em; text-transform: uppercase; }
.drawerhead-face p { margin-top: .9rem; max-width: 40em; font-size: 1.1rem; line-height: 1.5; }
.drawer .stack, .keepers-grid, .rulesheet-grid { margin-top: clamp(2rem, 5vw, 3.2rem); }
.drawer .runfile { margin-top: 0; }
.drawer .runfile .docket:first-child { margin-top: 0; }
@media (min-width: 960px) { .drawer .stack .indexcard { margin-top: 1.9rem; } }

.keepers-grid, .rulesheet-grid { display: grid; gap: 2.6rem clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 960px) { .keepers-grid, .rulesheet-grid { grid-template-columns: minmax(0, 41rem) minmax(0, 21rem); justify-content: space-between; align-items: start; } }
.keepers-story > p:first-child { font: 400 clamp(1.3rem, 2.8vw, 1.65rem)/1.25 var(--slab); letter-spacing: -.005em; }
.keepers-notes { display: grid; gap: 1.6rem; }
.notecard { padding: 1.1rem 1.2rem 1rem; border: 2px solid var(--ink); background: var(--sheet); }
.notecard:nth-child(odd) { transform: rotate(-.5deg); }
.notecard:nth-child(even) { transform: rotate(.4deg); }
.notecard .typed-label { padding-bottom: .5rem; border-bottom: 2px solid var(--red); color: var(--ink); }
.notecard ul, .notecard ol { list-style: none; }
.notecard li { padding: .6rem 0 .5rem; border-top: 1px dashed var(--rule); font-size: .98rem; line-height: 1.42; }
.notecard li:first-child { border-top: 0; }
.notecard-questions { counter-reset: q; }
.notecard-questions li { counter-increment: q; display: grid; grid-template-columns: 2.1rem 1fr; font-weight: 600; }
.notecard-questions li::before { content: "Q" counter(q); font: 400 .9rem/1.6 var(--type); color: var(--red); }
.notecard-struck li { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: .09em; }
.keepers-drawers { margin-top: clamp(3rem, 6vw, 4.5rem); }
.keepers-drawers .indexcard { margin-top: 1.5rem; }
@media (min-width: 700px) { .keepers-drawers .indexcard ul { columns: 2; column-gap: 3rem; } .keepers-drawers .indexcard li { break-inside: avoid; } }

.rulesheet-list { list-style: none; counter-reset: rule; }
.rulesheet-list li { counter-increment: rule; padding: 1.4rem 0 1.5rem; border-top: 2px solid var(--ink); }
.rulesheet-list li:first-child { padding-top: 0; border-top: 0; }
.rulesheet-list li::before { content: "Rule " counter(rule); display: inline-block; padding: .46em .7em .2em; background: var(--ink); color: var(--paper); font: 400 .78rem/1 var(--type); letter-spacing: .16em; text-transform: uppercase; }
.rulesheet-list h2 { margin-top: .8rem; font: 400 clamp(1.3rem, 3vw, 1.75rem)/1.1 var(--slab); letter-spacing: -.008em; }
.rulesheet-list p { margin-top: .6rem; font-size: 1.1rem; line-height: 1.62; }
.rulesheet-send { position: relative; padding: 1.8rem 1.3rem 1.3rem; border: 2px solid var(--ink); background: var(--sheet); box-shadow: 7px 7px 0 -2px var(--paper), 7px 7px 0 0 var(--ink); font-size: .98rem; line-height: 1.52; }
.rulesheet-send .rubber { position: absolute; right: .8rem; top: -1.2rem; font-size: .84rem; background: var(--sheet); -webkit-mask-image: none; mask-image: none; }
.rulesheet-send h2 { font: 400 1.4rem/1.1 var(--slab); }
.rulesheet-send p { margin-top: .7rem; }
.rulesheet-send ol { list-style: none; counter-reset: send; margin-top: .8rem; }
.rulesheet-send ol li { counter-increment: send; display: grid; grid-template-columns: 1.8rem 1fr; padding: .55rem 0 .5rem; border-top: 1px dashed var(--rule); }
.rulesheet-send ol li::before { content: counter(send) "."; font: 400 1rem/1.5 var(--type); color: var(--red); }
.rulesheet-send .typed-label { margin-top: 1.4rem; padding-top: .9rem; border-top: 2px solid var(--ink); color: var(--ink); }
.rulesheet-send a { overflow-wrap: anywhere; }

.missing-sheet { position: relative; padding-top: clamp(4.5rem, 10vw, 7rem); padding-bottom: clamp(2rem, 5vw, 3rem); }
.missing-sheet .rubber--big { position: absolute; top: clamp(1.4rem, 4vw, 2.6rem); left: var(--edge); font-size: clamp(1.1rem, 3vw, 1.6rem); }
.missing-sheet h1 { max-width: 14em; font: 400 clamp(2.1rem, 6.5vw, 4rem)/1 var(--slab); letter-spacing: -.02em; }
.missing-sheet p { margin-top: 1rem; max-width: 34em; font-size: 1.12rem; }

/* ---- nothing on file yet: the empty box ---- */

.evidencebox { display: grid; gap: 2rem clamp(2rem, 6vw, 4.5rem); align-items: center; }
.evidencebox-drawing { width: min(100%, 25rem); margin-inline: auto; padding: 0 calc(.8rem + 9px) 9px .8rem; }
.evidencebox-lid { position: relative; z-index: 1; height: 3rem; margin-inline: -.8rem; border: 3px solid var(--ink); background: var(--shade); box-shadow: 0 5px 0 rgba(17, 17, 17, .14); }
.evidencebox-lid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; border-top: 1px solid var(--rule); }
.evidencebox-body { display: grid; justify-items: center; gap: 1.5rem; margin-top: -3px; padding: 1.7rem 1.4rem 2rem; border: 3px solid var(--ink); background-color: var(--shade); background-image: repeating-linear-gradient(90deg, transparent 0, transparent 13px, rgba(17, 17, 17, .055) 13px, rgba(17, 17, 17, .055) 14px); box-shadow: 9px 9px 0 -3px var(--paper), 9px 9px 0 0 var(--ink); }
.evidencebox-grip { width: 5.4rem; height: 1.7rem; border: 3px solid var(--ink); border-radius: 1rem; background: var(--ink); box-shadow: inset 0 -5px 0 rgba(246, 244, 238, .16); }
.evidencebox-plate { display: grid; width: 100%; padding: .9rem 1rem .7rem; border: 2px solid var(--ink); background: var(--sheet); font: 400 .78rem/1.35 var(--type); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-.8deg); }
.evidencebox-plate-top { color: var(--ink-soft); letter-spacing: .16em; }
.evidencebox-plate-name { margin: .3rem 0 .55rem; padding-bottom: .4rem; border-bottom: 2px solid var(--red); font: 400 clamp(1.3rem, 5vw, 1.8rem)/1 var(--slab); letter-spacing: 0; }
.evidencebox-plate-row { padding: .32rem 0 .14rem; border-bottom: 1px dotted var(--ink); }
.evidencebox-plate-row:last-child { border-bottom: 0; }
.evidencebox-plate-row i { font-style: normal; color: var(--ink-soft); margin-right: .5em; }
.evidencebox-plate-row i::after { content: ":"; }
.evidencebox-words h2 { margin-top: .6rem; font: 400 clamp(1.8rem, 4.6vw, 2.9rem)/1.02 var(--slab); letter-spacing: -.015em; text-wrap: balance; }
.evidencebox-words p { margin-top: 1rem; max-width: 33em; font-size: 1.1rem; line-height: 1.55; }
.evidencebox-words p.typed-label { margin-top: 0; font-size: .8rem; }
.evidencebox-words .evidencebox-ask { margin-top: 1.4rem; padding-top: 1rem; border-top: 2px solid var(--ink); font-weight: 600; }
.evidencebox-ask a { overflow-wrap: anywhere; }
@media (min-width: 860px) { .evidencebox { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); } }
.drawer .evidencebox { grid-template-columns: minmax(0, 1fr); justify-items: start; }
.drawer .evidencebox-drawing { margin-inline: 0; }

/* ---- back cover (footer) ---- */

.backcover { padding-block: clamp(2.2rem, 5vw, 3.4rem) 2rem; font-size: .95rem; line-height: 1.55; }
.backcover-grid { display: grid; gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.backcover-name { font: 400 1.25rem/1 var(--slab); text-transform: uppercase; }
.backcover-id p + p { margin-top: .7rem; max-width: 30em; }
.backcover-terms { color: var(--ink-soft); }
.backcover h2 { padding-bottom: .4rem; border-bottom: 2px solid var(--ink); font: 400 .78rem/1.3 var(--type); letter-spacing: .14em; text-transform: uppercase; }
.backcover ul { list-style: none; margin-top: .5rem; }
.backcover li { padding: .22rem 0; }
.backcover h2 + p { margin-top: .7rem; }
.backcover-mail { font: 400 .84rem/1.4 var(--type); overflow-wrap: anywhere; }
.backcover p + p { margin-top: .5rem; }
.backcover-small { padding-top: 1rem; border-top: 1px solid var(--ink); font: 400 .76rem/1.5 var(--type); letter-spacing: .05em; color: var(--ink-soft); }
@media (min-width: 620px) { .backcover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .backcover-id, .backcover-small { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .backcover-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.2fr); } .backcover-id { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  body { background: #fff; }
  .dividers, .tipoff, .alsofiled, .marginalia, .skipto { display: none; }
  .copyplate, .pledgecard, .notecard { transform: none; }
}
