/* Global Sales Compliance: field notebook / case file theme */
:root {
  --kraft: #d8c3a0;
  --kraft-deep: #c7ab80;
  --kraft-dark: #9c7f55;
  --manila: #ecdcb4;
  --manila-2: #e4cf9f;
  --manila-edge: #cdb27c;
  --paper: #fbf8f0;
  --paper-2: #f4eee0;
  --sticky: #f5e27c;
  --ink: #1f1c17;
  --ink-2: #3f382f;
  --pencil: #5c5245;
  --red: #b3261e;
  --red-ink: #9e1f18;
  --blue-ink: #23305c;
  --rule: rgba(31, 28, 23, .16);
  --shadow: 0 1px 1px rgba(60, 40, 15, .12), 0 6px 14px -4px rgba(60, 40, 15, .28), 0 18px 34px -18px rgba(60, 40, 15, .35);
  --shadow-sm: 0 1px 1px rgba(60, 40, 15, .12), 0 4px 10px -4px rgba(60, 40, 15, .3);
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --serif: Literata, "Iowan Old Style", Georgia, serif;
  --hand: Caveat, "Segoe Print", "Bradley Hand", cursive;
  --gutter: 16px;
  --max: 1240px;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--kraft);
  background-image: url(/assets/grain.svg), url(/assets/fibers.svg);
  font: 400 18px/1.65 var(--serif);
  font-optical-sizing: auto;
  overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; font-family: var(--mono); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px dashed var(--red); outline-offset: 3px; }

.label {
  display: block; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pencil); margin: 0 0 .6em;
}
.label.red { color: var(--red-ink); }

.readlink {
  font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-decoration: none;
  display: inline; line-height: 1.9; color: var(--ink);
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.readlink::after { content: "\2192"; color: var(--red); display: inline-block; margin-left: .5em; transition: transform .2s; }
.readlink:hover::after { transform: translateX(4px); }

/* ---------- rubber stamps ---------- */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--red); border: 3px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px;
  padding: 6px 14px; line-height: 1.1; font-size: 18px;
  -webkit-mask-image: url(/assets/stamp-mask.svg); mask-image: url(/assets/stamp-mask.svg);
  -webkit-mask-size: 200px; mask-size: 200px;
  mix-blend-mode: multiply; pointer-events: none; user-select: none;
}
.stamp .stamp-sm { font-size: .62em; letter-spacing: .22em; }

/* ---------- masthead ---------- */
.masthead { position: relative; }
.topline {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter);
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px dashed rgba(31, 28, 23, .35);
}
.topline a { text-decoration: none; border-bottom: 1px solid var(--red); }
.topline-mid { display: none; }
@media (min-width: 900px) { .topline-mid { display: inline; } }
.topline > span:first-child { display: none; }
@media (min-width: 600px) { .topline > span:first-child { display: inline; } }

.brandrow {
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 20px;
  display: flex; align-items: center; gap: 20px; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 46px; height: 46px; transform: rotate(-4deg); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-the { font-family: var(--mono); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; margin-bottom: 4px; }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 30px; letter-spacing: -.02em; position: relative; }
.brand-name::after {
  content: ""; position: absolute; left: 0; right: -4px; bottom: -7px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5c40-4 90-2 130-1s50 1 66-2' fill='none' stroke='%23b3261e' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.brand-tag { display: none; margin: 0; font-style: italic; color: var(--ink-2); max-width: 30ch; font-size: 16px; line-height: 1.4; border-left: 1px solid var(--rule); padding-left: 20px; }
.brand-stamp { display: none; }
@media (min-width: 760px) {
  .brand-mark { width: 52px; height: 52px; }
  .brand-name { font-size: 38px; }
  .brand-tag { display: block; }
}
@media (min-width: 1100px) {
  .brand-stamp { display: inline-flex; margin-left: auto; font-family: var(--mono); font-weight: 700; color: var(--red); border: 2px solid var(--red); padding: 4px 10px; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; transform: rotate(3deg);
    -webkit-mask-image: url(/assets/stamp-mask.svg); mask-image: url(/assets/stamp-mask.svg); -webkit-mask-size: 160px; mask-size: 160px; }
}

/* folder-tab navigation */
.tabs { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.tabs ol {
  list-style: none; margin: 0; padding: 0 2px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.tabs ol::-webkit-scrollbar { display: none; }
.tabs li { flex: 0 0 auto; scroll-snap-align: start; }
.tabs a {
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 58px; text-decoration: none;
  padding: 9px 22px 8px 14px; width: 168px;
  background: var(--manila-2); color: var(--ink);
  clip-path: polygon(0 100%, 0 10px, 10px 0, calc(100% - 20px) 0, 100% 100%);
  border-radius: 0; position: relative; transition: background .15s, transform .15s;
  box-shadow: inset 0 -1px 0 var(--manila-edge);
}
.tabs li:nth-child(odd) a { background: var(--manila); }
.tabs a:hover { background: var(--paper); }
.tabs a[aria-current="page"] { background: var(--paper); }
.tabs a[aria-current="page"] .tab-no { color: var(--red); }
.tab-no { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--pencil); }
.tab-name { font-family: var(--mono); font-size: 13px; line-height: 1.2; letter-spacing: .01em; }
.tabs::after { content: ""; display: block; height: 6px; background: var(--paper); margin: 0 calc(var(--gutter) * -1); box-shadow: 0 2px 0 var(--manila-edge); }
@media (min-width: 1180px) {
  .tabs ol { overflow: visible; display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
  .tabs a { width: auto; padding-right: 20px; }
  .tabs::after { margin: 0; }
}

/* ---------- home: desk hero ---------- */
.desk { background: linear-gradient(180deg, rgba(0,0,0,.035), rgba(0,0,0,0) 40px); padding: 36px 0 56px; position: relative; }
.desk-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1000px) {
  .desk { padding: 56px 0 80px; }
  .desk-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
}

.checklist {
  position: relative; background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent 0 54px, rgba(179, 38, 30, .5) 54px 55.5px, transparent 55.5px),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(35, 48, 92, .13) 35px 36px);
  background-position: 0 0, 0 14px;
  box-shadow: var(--shadow); padding: 44px 20px 30px 70px; transform: rotate(-.6deg);
}
.checklist::before { /* punched holes */
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 40px; width: 16px;
  background: radial-gradient(circle at 8px 8px, var(--kraft-deep) 0 6px, rgba(0,0,0,.18) 6.5px, transparent 7.5px) 0 0 / 16px 33.33% repeat-y;
}
.pin { position: absolute; width: 38px; height: 38px; z-index: 3; }
.checklist .pin-a { top: -12px; left: 46%; }
.checklist .pin-b { display: none; }
.checklist-kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--pencil); margin: 0 0 14px; }
.checklist-title { font-size: clamp(36px, 9.4vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
@media (min-width: 1000px) { .checklist-title { font-size: clamp(52px, 4.6vw, 66px); } }
.circled { position: relative; display: inline-block; font-style: italic; font-weight: 600; color: var(--red-ink); padding: 0 .08em; }
.circled::after { content: ""; position: absolute; inset: -.18em -.28em -.14em -.3em; background: url(/assets/circle-scribble.svg) no-repeat center / 100% 100%; pointer-events: none; }
.checklist-sub { font-family: var(--hand); font-size: 26px; font-weight: 500; color: var(--blue-ink); margin: 18px 0 18px; line-height: 1.1; transform: rotate(-1deg); }

.steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.steps li { border-bottom: 1px solid var(--rule); }
.steps a {
  display: grid; grid-template-columns: 22px 30px 1fr; gap: 4px 12px; align-items: start; padding: 13px 4px 12px; text-decoration: none;
  transition: background .15s;
}
.steps a:hover { background: rgba(245, 226, 124, .35); }
.box { width: 20px; height: 20px; border: 2px solid var(--ink); margin-top: 4px; position: relative; background: var(--paper); }
.steps a:hover .box::after, .steps li:first-child .box::after {
  content: ""; position: absolute; inset: -8px -6px -2px -2px; background: url(/assets/tick.svg) no-repeat center / contain;
}
.steps li:first-child .box::after { opacity: .85; }
.step-no { font-family: var(--mono); font-weight: 700; color: var(--red-ink); font-size: 16px; margin-top: 3px; }
.step-text { display: flex; flex-direction: column; min-width: 0; }
.step-name { font-weight: 700; font-size: 20px; line-height: 1.25; }
.step-short { font-size: 15px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.step-count { grid-column: 3; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pencil); }
@media (min-width: 640px) {
  .checklist { padding: 52px 40px 34px 92px; }
  .checklist { background-image:
    linear-gradient(90deg, transparent 0 72px, rgba(179, 38, 30, .5) 72px 73.5px, transparent 73.5px),
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(35, 48, 92, .13) 35px 36px); }
  .checklist::before { left: 26px; }
  .steps a { grid-template-columns: 24px 34px 1fr auto; align-items: center; }
  .step-count { grid-column: auto; text-align: right; white-space: nowrap; }
  .box { margin-top: 0; }
  .step-no { margin-top: 0; }
}
.checklist-foot { margin: 20px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pencil); display: flex; align-items: baseline; gap: 12px; }
.sig { font-family: var(--hand); font-size: 30px; text-transform: none; letter-spacing: 0; color: var(--blue-ink); border-bottom: 1px solid var(--ink-2); padding: 0 10px 0 4px; line-height: 1; }

/* collage */
.collage { position: relative; display: grid; gap: 28px; justify-items: center; }
.polaroid {
  position: relative; margin: 0; background: var(--paper); padding: 14px 14px 12px; box-shadow: var(--shadow);
  transform: rotate(2.2deg); width: min(100%, 440px);
}
.polaroid figcaption { font-family: var(--hand); font-size: 24px; color: var(--ink-2); padding: 10px 4px 0; line-height: 1.1; }
.ph { position: relative; overflow: hidden; background: var(--kraft-deep) url(/assets/flatlay.svg) center / cover no-repeat; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ph-hero { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 3 / 2; }
.ph-cat { aspect-ratio: 3 / 2; background-image: url(/assets/form-sheet.svg); }
.ph-cat::before {
  content: attr(data-step); position: absolute; right: 10px; bottom: 2px; z-index: 0;
  font-family: var(--mono); font-weight: 700; font-size: 64px; line-height: 1; color: rgba(31, 28, 23, .82); letter-spacing: -.04em;
}
.tape {
  position: absolute; width: 110px; height: 30px; background: rgba(250, 244, 222, .62); z-index: 2;
  box-shadow: 0 1px 2px rgba(0,0,0,.08); backdrop-filter: blur(.5px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0), repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 5px);
  -webkit-mask-composite: source-over; mask-composite: add;
}
.tape-l { top: -12px; left: -22px; transform: rotate(-32deg); }
.tape-r { top: -10px; right: -24px; transform: rotate(28deg); }
.sticky {
  position: relative; background: var(--sticky); padding: 26px 24px 22px; width: min(100%, 400px);
  box-shadow: 0 1px 1px rgba(60,40,15,.14), 0 12px 16px -10px rgba(60,40,15,.45);
  transform: rotate(-2deg); font-size: 17px; line-height: 1.55;
  background-image: linear-gradient(180deg, rgba(255,255,255,.25), rgba(0,0,0,.03));
}
.sticky p { margin: 0; }
.sticky .clip { position: absolute; top: -26px; left: 28px; width: 22px; height: auto; }
.margin-note { font-family: var(--hand); font-size: 25px; line-height: 1.15; color: var(--blue-ink); max-width: 300px; margin: 0; position: relative; padding-left: 0; }
.margin-note img { width: 70px; height: 35px; display: inline-block; vertical-align: middle; margin-right: 6px; transform: scaleX(-1) rotate(-10deg); opacity: .8; }
.stamp-hero { position: absolute; top: 34%; right: -2px; transform: rotate(-12deg); font-size: 20px; z-index: 4; }
@media (max-width: 999px) { .stamp-hero { top: 18px; right: 8px; font-size: 15px; } }
@media (min-width: 1000px) {
  .collage { display: block; min-height: 860px; }
  .collage .polaroid { position: absolute; top: 0; right: 10px; width: 400px; }
  .sticky { position: absolute; top: 548px; left: -44px; width: 350px; z-index: 5; }
  .margin-note { position: absolute; top: 812px; left: 70px; width: 330px; font-size: 25px; transform: rotate(-2deg); }
  .margin-note img { left: -78px; top: -14px; }
  .filed { position: absolute; top: 930px; left: 30px; right: 0; }
  .margin-note img { position: absolute; left: -84px; top: -10px; transform: rotate(-20deg); }
  .stamp-hero { top: 420px; right: -10px; }
}

/* ---------- warning slip ---------- */
.nobody { padding: 16px 0 64px; }
.nobody-in {
  display: grid; gap: 28px; position: relative;
}
.nobody-in::before { content: ""; position: absolute; inset: 0 var(--gutter); background: var(--paper-2); box-shadow: var(--shadow-sm); z-index: -1;
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 97%, #000) 0 0 / 18px 100% repeat-x, linear-gradient(#000, #000); }
.nobody-in { isolation: isolate; padding-top: 36px; padding-bottom: 36px; }
.nobody-in > * { padding-inline: 24px; }
.nobody-head h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
.nobody-head h2::before { content: "!"; display: inline-grid; place-items: center; width: .9em; height: .9em; margin-right: .3em; border: 3px solid var(--red); color: var(--red); font-family: var(--mono); font-size: .7em; vertical-align: .12em; transform: rotate(-6deg); }
.nobody-lede { color: var(--ink-2); margin: 12px 0 0; }
.nobody-list { list-style: none; margin: 0; display: grid; gap: 0; counter-reset: n; }
.nobody-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px dashed rgba(158, 31, 24, .5); }
.nobody-list li:last-child { border-bottom: 1px dashed rgba(158, 31, 24, .5); }
.nobody-list .n { font-family: var(--mono); font-weight: 700; color: var(--red-ink); font-size: 20px; }
.nobody-list p { margin: 0; font-size: 18px; }
@media (min-width: 900px) {
  .nobody-in { grid-template-columns: 4fr 7fr; gap: 48px; padding-top: 52px; padding-bottom: 52px; }
  .nobody-in > * { padding-inline: 44px; }
  .nobody-in > .nobody-list { padding-left: 0; }
  .nobody-list { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .nobody-list li:nth-child(3) { border-bottom: 1px dashed rgba(158, 31, 24, .5); }
}
.nobody-in { border-left: 0; }
.nobody-in::after { content: ""; position: absolute; left: var(--gutter); top: 0; bottom: 0; width: 6px; background: var(--red); }

/* ---------- section heads ---------- */
.sec-head { margin-bottom: 28px; max-width: 720px; }
.sec-head h2 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -.03em; }
.sec-sub { color: var(--ink-2); margin: 10px 0 0; font-size: 17px; }

/* ---------- logbook ---------- */
.logbook { padding-top: 24px; padding-bottom: 72px; }
.logbook-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1000px) { .logbook-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.casefile { position: relative; padding-top: 34px; }
.casefile-tab {
  position: absolute; top: 0; left: 0; height: 36px; max-width: 86%; padding: 9px 30px 0 16px; text-decoration: none;
  background: var(--manila); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 100%, 0 8px, 8px 0, calc(100% - 18px) 0, 100% 100%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.casefile-body { position: relative; background: var(--manila); padding: 30px 24px 30px; box-shadow: var(--shadow); }
.casefile-body::before { /* paper sticking out of the folder */
  content: ""; position: absolute; left: 14px; right: 30px; top: -14px; height: 20px; background: var(--paper); z-index: -1; transform: rotate(-1.2deg);
  box-shadow: 0 -1px 2px rgba(0,0,0,.08);
}
.casefile { isolation: isolate; }
.casefile-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.casefile h3 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 16px; }
.casefile h3 a { text-decoration: none; background: linear-gradient(transparent 62%, rgba(245, 226, 124, .9) 62% 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size .35s; }
.casefile h3 a:hover { background-size: 100% 100%; }
.casefile-tldr { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.stamp-new { position: absolute; right: 18px; top: -22px; transform: rotate(8deg); font-size: 15px; background: rgba(251, 248, 240, .0); }
@media (min-width: 640px) { .casefile-body { padding: 40px 44px 38px; } }

.entries { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.entries::before { content: ""; position: absolute; left: 104px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 10px); }
.entries li { display: grid; grid-template-columns: 86px 1fr; gap: 38px; padding: 0 0 22px; position: relative; }
.entries li::before { content: ""; position: absolute; left: 100px; top: 6px; width: 10px; height: 10px; background: var(--kraft); border: 2px solid var(--red); transform: rotate(45deg); }
.entries time { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--ink-2); padding-top: 3px; white-space: nowrap; }
.entry-cat { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); text-decoration: none; }
.entries h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 3px 0 2px; }
.entries h3 a { text-decoration: none; }
.entries h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.entry-meta { font-family: var(--mono); font-size: 12px; color: var(--pencil); margin: 0; }

/* ---------- filing cabinet ---------- */
.drawer { padding: 72px 0 80px; background: var(--kraft-deep); background-image: url(/assets/grain.svg), linear-gradient(180deg, rgba(0,0,0,.08), transparent 60px); position: relative; }
.drawer::before { content: ""; position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 150px; height: 26px; border: 2px solid rgba(31,28,23,.45); border-top: 0; background: rgba(255,255,255,.12); }
.folders { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .folders { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .folders { grid-template-columns: repeat(3, 1fr); gap: 44px 28px; } }
.folder { position: relative; padding-top: 30px; display: flex; flex-direction: column; }
.folder-tab {
  position: absolute; top: 0; height: 32px; width: 130px; padding: 8px 14px 0; text-decoration: none;
  background: var(--manila); font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  clip-path: polygon(0 100%, 0 8px, 8px 0, calc(100% - 16px) 0, 100% 100%);
}
.folder:nth-child(3n+1) .folder-tab { left: 0; }
.folder:nth-child(3n+2) .folder-tab { left: 34%; }
.folder:nth-child(3n) .folder-tab { right: 0; left: auto; }
.folder-body { background: var(--manila); padding: 16px 16px 20px; box-shadow: var(--shadow-sm); flex: 1; display: flex; flex-direction: column; }
.folder .ph-cat { margin: 0 0 16px; box-shadow: 0 0 0 6px var(--paper), 0 2px 8px 5px rgba(60,40,15,.18); transform: rotate(-.8deg); }
.folder:nth-child(even) .ph-cat { transform: rotate(.9deg); }
.folder h3 { font-size: 24px; font-weight: 800; margin: 6px 0 6px; }
.folder h3 a { text-decoration: none; }
.folder h3 a:hover { color: var(--red-ink); }
.folder-body > p { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.folder-docs { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--manila-edge); }
.folder-docs li { border-bottom: 1px solid var(--manila-edge); }
.folder-docs a { display: block; padding: 8px 0 8px 22px; font-size: 15px; line-height: 1.35; text-decoration: none; position: relative; }
.folder-docs a::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 12px; border: 1.5px solid var(--ink-2); background: var(--paper); }
.folder-docs a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.folder-count { margin: auto 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pencil); }

/* ---------- colophon ---------- */
.colophon { padding-top: 72px; padding-bottom: 88px; display: flex; justify-content: center; }
.index-card {
  background-color: var(--paper); max-width: 680px; width: 100%; padding: 28px 26px 30px; box-shadow: var(--shadow); position: relative;
  background-image: linear-gradient(180deg, transparent 0 58px, rgba(179,38,30,.55) 58px 59.5px, transparent 59.5px), repeating-linear-gradient(180deg, transparent 0 31px, rgba(35,48,92,.12) 31px 32px);
  background-position: 0 0, 0 60px; transform: rotate(.6deg);
}
.index-card h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 18px 0 12px; }
.index-card p:not(.label) { line-height: 1.8; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #e9dcc0; padding: 56px 0 44px; font-size: 16px; }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 5fr 5fr 3fr; gap: 56px; } }
.footer img { filter: invert(1) sepia(.3); opacity: .9; margin-bottom: 10px; }
.footer-name { font-family: var(--serif); font-weight: 800; font-size: 26px; color: #fbf3de; margin-bottom: 8px; }
.footer p { color: #d8ccb1; }
.footer-legal { font-size: 14px; color: #b9ad94 !important; font-style: italic; }
.footer .label { color: #c9b995; border-bottom: 1px dashed rgba(233,220,192,.3); padding-bottom: 8px; }
.footer ol, .footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0; }
.footer li a { display: block; padding: 5px 0; text-decoration: none; color: #f1e7cf; }
.footer li a:hover { color: #fff; text-decoration: underline; text-decoration-color: #e0574c; }
.footer-index li span { font-family: var(--mono); color: #e0766c; margin-right: 8px; }
.footer-stamp { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e0766c !important; border: 2px solid #e0766c; padding: 5px 10px; transform: rotate(-3deg); }

/* ---------- breadcrumbs ---------- */
.crumbs { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; padding: 22px 0 0; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--red); }
.crumbs span[aria-hidden] { color: var(--pencil); }

/* ---------- category: cover ---------- */
.cover { padding-top: 24px; padding-bottom: 40px; }
.cover-folder { position: relative; padding-top: 38px; }
.cover-tab {
  position: absolute; top: 0; left: 0; height: 40px; padding: 11px 40px 0 18px; background: var(--manila);
  font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(0 100%, 0 10px, 10px 0, calc(100% - 24px) 0, 100% 100%);
}
.cover-in { background: var(--manila); box-shadow: var(--shadow); padding: 28px 22px 30px; display: grid; gap: 28px; position: relative; }
.cover-in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(180deg, transparent, rgba(60,40,15,.08)); }
.cover h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 18px; }
.cover-desc { font-size: 19px; max-width: 52ch; color: var(--ink-2); }
.cover-meta { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--ink); }
.cover-meta div { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--manila-edge); }
.cover-meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pencil); }
.cover-meta dd { margin: 2px 0 0; font-family: var(--mono); font-weight: 700; font-size: 16px; }
.cover-photo { margin: 0; position: relative; justify-self: center; width: min(100%, 460px); }
.cover-photo .ph { box-shadow: 0 0 0 10px var(--paper), var(--shadow); transform: rotate(2deg); }
.cover-photo .clip { position: absolute; top: -34px; left: 36px; width: 26px; z-index: 3; }
@media (min-width: 900px) {
  .cover-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: 48px 48px 48px 52px; gap: 48px; align-items: center; }
}
.tracker { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 0; counter-reset: t; overflow-x: auto; scrollbar-width: none; }
.tracker li { flex: 1 0 34px; position: relative; display: flex; justify-content: center; }
.tracker li::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 5px, transparent 5px 9px); }
.tracker li:first-child::before { left: 50%; } .tracker li:last-child::before { right: 50%; }
.tracker li.done::before { background: var(--red); }
.tracker a { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; background: var(--kraft); border: 2px solid var(--ink-2); font-family: var(--mono); font-size: 12px; font-weight: 700; text-decoration: none; }
.tracker .done a { background: var(--red); border-color: var(--red); color: var(--paper); }
.tracker .now a { width: 44px; height: 44px; background: var(--paper); border: 3px solid var(--red); color: var(--red-ink); font-size: 15px; transform: rotate(-4deg); }

/* ---------- category: contents ---------- */
.contents { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
@media (min-width: 1000px) { .contents { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; } }
.sheet { background: var(--paper); box-shadow: var(--shadow); padding: 26px 18px 18px; position: relative; }
.sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 30px); opacity: .85; }
@media (min-width: 640px) { .sheet { padding: 36px 40px 26px; } }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sheet-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.sheet-head .label { margin: 0; }
.doclist { list-style: none; margin: 0; padding: 0; }
.doclist li { display: grid; grid-template-columns: 52px 1fr; gap: 6px 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.doc-no { font-family: var(--mono); font-weight: 700; color: var(--red-ink); font-size: 14px; padding-top: 5px; }
.doc-main h3 { font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.doc-main h3 a { text-decoration: none; }
.doc-main h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.doc-main p { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.doc-meta { grid-column: 2; display: flex; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--pencil); text-transform: uppercase; }
@media (min-width: 760px) {
  .doclist li { grid-template-columns: 64px 1fr 120px; gap: 24px; }
  .doc-meta { grid-column: auto; flex-direction: column; gap: 4px; text-align: right; padding-top: 5px; }
}
.empty { padding: 36px 0 20px; display: grid; gap: 14px; justify-items: start; }
.stamp-empty { transform: rotate(-6deg); font-size: 22px; margin: 0; }
.slip { background: var(--paper-2); padding: 24px 22px; border-top: 6px solid var(--red); box-shadow: var(--shadow-sm); transform: rotate(-.8deg); position: relative; }
.slip p:not(.label) { font-size: 16px; }
@media (min-width: 1000px) { .slip { position: sticky; top: 24px; } }

/* pager */
.pager { display: grid; gap: 16px; padding-top: 12px; padding-bottom: 72px; }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; text-decoration: none; background: var(--manila); padding: 18px 22px; box-shadow: var(--shadow-sm); border-left: 6px solid var(--manila-edge); transition: transform .15s; }
.pager a:hover { transform: translateY(-2px); border-left-color: var(--red); }
.pager-next { text-align: right; border-left: 0 !important; border-right: 6px solid var(--manila-edge); }
.pager-next:hover { border-right-color: var(--red); }
.pager .label { margin-bottom: 4px; }
.pager-name { font-weight: 700; font-size: 20px; }

/* ---------- article ---------- */
.note-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 26px; padding-bottom: 56px; }
@media (min-width: 1100px) { .note-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; } }
.note { position: relative; background: var(--paper); box-shadow: var(--shadow); padding: 34px 20px 30px; min-width: 0; }
.note::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 10px; background: radial-gradient(circle at 50% 50%, var(--kraft) 0 3.5px, transparent 4px) 0 0 / 10px 26px repeat-y; opacity: .9; }
@media (min-width: 640px) {
  .note { padding: 48px 56px 44px 80px; }
  .note::before { left: 22px; width: 18px; background: radial-gradient(circle at 50% 50%, var(--kraft-deep) 0 7px, rgba(0,0,0,.14) 7.5px, transparent 8.5px) 0 0 / 18px 120px repeat-y; background-position: 0 40px; }
  .note::after { content: ""; position: absolute; top: 0; bottom: 0; left: 56px; width: 1.5px; background: rgba(179,38,30,.4); }
}
@media (min-width: 1100px) { .note { padding: 60px 72px 52px 104px; } .note::after { left: 72px; } .note::before { left: 30px; } }
.note-tab {
  position: absolute; top: -34px; left: 20px; height: 36px; max-width: calc(100% - 40px); padding: 10px 30px 0 16px; text-decoration: none;
  background: var(--paper); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-ink);
  clip-path: polygon(0 100%, 0 8px, 8px 0, calc(100% - 18px) 0, 100% 100%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 640px) { .note-tab { left: 80px; } }
@media (min-width: 1100px) { .note-tab { left: 104px; } }
.note-layout { padding-top: 60px; }
.formhead { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 15px; }
.formhead td { border: 1px solid var(--ink); padding: 6px 10px 7px; font-family: var(--mono); vertical-align: top; }
.formhead .label { font-size: 10px; margin: 0 0 2px; letter-spacing: .16em; }
@media (max-width: 520px) { .formhead tr { display: grid; grid-template-columns: 1fr 1fr; } .formhead td { display: block; margin: 0 -1px -1px 0; } .formhead td:first-child { grid-column: 1 / -1; } }
.note h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 30px; text-wrap: balance; }
.tldr {
  position: relative; background: var(--sticky); padding: 26px 24px 20px; margin: 0 0 34px; transform: rotate(-.7deg);
  box-shadow: 0 1px 1px rgba(60,40,15,.14), 0 12px 16px -10px rgba(60,40,15,.45);
}
.tldr .pin { top: -16px; left: 50%; margin-left: -18px; width: 36px; height: 36px; }
.tldr-label { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 6px; }
.tldr p:last-child { margin: 0; font-size: 18px; line-height: 1.6; }
@media (min-width: 640px) { .tldr { margin-left: -18px; margin-right: -10px; padding: 30px 32px 24px; } }

.toc-mobile { margin: 0 0 28px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 14px; }
.toc-mobile summary { padding: 10px 14px; cursor: pointer; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.toc-mobile ol { margin: 0; padding: 4px 14px 14px 36px; }
.toc-mobile li { padding: 4px 0; }
.toc-mobile a { text-decoration: none; }
@media (min-width: 1100px) { .toc-mobile { display: none; } }

/* article body typography */
.body { counter-reset: sec; font-size: 18.5px; line-height: 1.72; max-width: 70ch; }
@media (min-width: 640px) { .body { font-size: 19px; } }
.body > p:first-child::first-letter { font-weight: 800; font-size: 3.3em; float: left; line-height: .82; margin: .08em .1em 0 0; color: var(--ink); }
.body h2 { counter-increment: sec; font-size: clamp(25px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; margin: 2.1em 0 .7em; padding-top: 1.1em; border-top: 1px dashed rgba(31,28,23,.35); position: relative; }
.body h2::before { content: "\00a7 " counter(sec, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--red-ink); margin-bottom: 8px; }
.body h3 { font-size: 21px; font-weight: 700; margin: 1.7em 0 .5em; }
.body h3::before { content: "\2014\00a0"; color: var(--red); font-family: var(--mono); }
.body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.body a:hover { background: rgba(245, 226, 124, .6); }
.body strong { font-weight: 700; background: linear-gradient(transparent 58%, rgba(245, 226, 124, .75) 58% 90%, transparent 90%); padding: 0 .06em; }
.body ul, .body ol { padding-left: 0; margin: 0 0 1.3em; list-style: none; }
.body li { position: relative; padding-left: 34px; margin: 0 0 .55em; }
.body ul > li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 14px; height: 14px; border: 2px solid var(--ink); background: var(--paper); }
.body ul > li::after { content: ""; position: absolute; left: 2px; top: .12em; width: 22px; height: 22px; background: url(/assets/tick.svg) no-repeat center / contain; opacity: .9; }
.body ol { counter-reset: li; }
.body ol > li { counter-increment: li; }
.body ol > li::before { content: counter(li); position: absolute; left: 0; top: .15em; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--red); color: var(--red-ink); font-family: var(--mono); font-weight: 700; font-size: 13px; line-height: 1; }
.body blockquote {
  margin: 1.8em 0; padding: 22px 24px 18px 28px; background: var(--paper-2); position: relative; font-style: italic;
  border-left: 4px solid var(--red); box-shadow: var(--shadow-sm); transform: rotate(.4deg);
}
.body blockquote::before { content: "What nobody tells you"; display: block; font-family: var(--mono); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 8px; }
.body blockquote p:last-child { margin: 0; }
.body table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; margin: 1.6em 0 1.8em; background: var(--paper); display: block; overflow-x: auto; border: 2px solid var(--ink); }
.body thead th { background: var(--manila); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-align: left; vertical-align: bottom; border-bottom: 2px solid var(--ink); }
.body th, .body td { padding: 10px 14px; border-right: 1px solid var(--rule); vertical-align: top; min-width: 120px; }
.body tbody tr { border-bottom: 1px solid var(--rule); }
.body tbody tr:nth-child(even) { background: rgba(236, 220, 180, .22); }
.body tbody th { text-align: left; font-weight: 700; }
.body td:first-child { font-weight: 600; }
@media (min-width: 760px) { .body table { display: table; } }
.body hr { border: 0; border-top: 1px dashed var(--ink-2); margin: 2em 0; }

/* FAQ */
.faq { margin-top: 3em; border-top: 2px solid var(--ink); padding-top: 22px; max-width: 70ch; }
.faq h2 { font-size: clamp(25px, 3vw, 32px); font-weight: 800; margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 700; font-size: 19px; line-height: 1.35; position: relative; display: flex; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--mono); font-size: 26px; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq .q { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--paper); background: var(--ink); padding: 3px 7px; height: fit-content; margin-top: 3px; flex: none; }
.faq .a { padding: 0 0 18px 48px; font-size: 17.5px; line-height: 1.68; color: var(--ink-2); }
.faq .a p { margin: 0; }

.note-foot { margin-top: 44px; display: grid; gap: 16px; justify-items: start; font-size: 15px; color: var(--pencil); font-style: italic; max-width: 62ch; }
.stamp-end { transform: rotate(-5deg); font-size: 16px; }

/* sidebar */
.note-side { min-width: 0; }
.side-sticky { display: grid; gap: 22px; }
@media (min-width: 1100px) { .side-sticky { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin; } }
.toc { background: var(--paper); box-shadow: var(--shadow-sm); padding: 20px 20px 16px; display: none; }
@media (min-width: 1100px) { .toc { display: block; } }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; border-top: 1px solid var(--rule); }
.toc a { display: grid; grid-template-columns: 34px 1fr; padding: 8px 0; font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.toc a::before { content: "\00a7" counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--red-ink); padding-top: 2px; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.side-steps { background: var(--manila); padding: 20px 20px 14px; box-shadow: var(--shadow-sm); }
.side-steps ol { list-style: none; margin: 0; padding: 0; position: relative; }
.side-steps ol::before { content: ""; position: absolute; left: 13px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(180deg, var(--ink-2) 0 4px, transparent 4px 8px); }
.side-steps a { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 5px 0; font-size: 15px; text-decoration: none; position: relative; line-height: 1.3; }
.side-steps a span { display: grid; place-items: center; width: 28px; height: 28px; background: var(--manila); border: 2px solid var(--ink-2); font-family: var(--mono); font-weight: 700; font-size: 11px; }
.side-steps .done a span { background: var(--red); border-color: var(--red); color: var(--paper); }
.side-steps .now a { font-weight: 700; }
.side-steps .now a span { background: var(--paper); border: 3px solid var(--red); color: var(--red-ink); transform: rotate(-5deg); }
.side-steps a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* related */
.related { padding-bottom: 48px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  background-color: var(--paper); padding: 16px 18px 18px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column;
  background-image: linear-gradient(180deg, transparent 0 44px, rgba(179,38,30,.5) 44px 45.5px, transparent 45.5px);
}
.card:nth-child(odd) { transform: rotate(-.7deg); }
.card:nth-child(even) { transform: rotate(.6deg); }
.card-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--pencil); margin: 0 0 18px; letter-spacing: .06em; }
.card-meta span { color: var(--red-ink); font-weight: 700; }
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.28; margin-bottom: 8px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover { box-shadow: var(--shadow); }
.card:hover h3 a { text-decoration: underline; text-decoration-color: var(--red); }
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.card-foot { margin: auto 0 0 !important; font-family: var(--mono); font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 60px; padding-bottom: 80px; }
@media (min-width: 1100px) { .about { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; } }
.about-lede { font-size: 21px; line-height: 1.55; color: var(--ink-2); margin: -10px 0 30px; font-style: italic; max-width: 60ch; }
.about .body > p:first-child::first-letter { font-size: 1em; float: none; margin: 0; font-weight: inherit; }
.about-side { display: grid; gap: 40px; justify-items: center; }
.polaroid-sm { width: min(100%, 380px); transform: rotate(-2deg); }
.about-side .index-card { transform: rotate(1deg); }
.about-list { list-style: none; margin: 0; padding: 18px 0 0; }
.about-list a { display: block; padding: 5px 0; line-height: 32px; margin: 0; text-decoration: none; font-size: 17px; }
.about-list a span { font-family: var(--mono); font-weight: 700; color: var(--red-ink); margin-right: 12px; font-size: 14px; }
.about-list a:hover { text-decoration: underline; text-decoration-color: var(--red); }

/* 404 */
.lost { padding-top: 70px; padding-bottom: 100px; display: flex; justify-content: center; }
.lost-slip { position: relative; background: var(--paper); box-shadow: var(--shadow); padding: 44px 24px 36px; max-width: 720px; width: 100%; transform: rotate(-.8deg); }
@media (min-width: 640px) { .lost-slip { padding: 56px 56px 44px; } }
.lost-slip .pin { top: -14px; left: 50%; margin-left: -19px; }
.lost-slip h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; max-width: 14ch; }
.lost-steps { list-style: none; margin: 22px 0 26px; padding: 0; columns: 2 220px; column-gap: 24px; }
.lost-steps a { display: block; padding: 5px 0; text-decoration: none; break-inside: avoid; }
.lost-steps span { font-family: var(--mono); font-weight: 700; color: var(--red-ink); margin-right: 10px; }
.stamp-lost { position: absolute; bottom: 30px; right: 18px; transform: rotate(-8deg); font-size: 16px; }
@media (min-width: 640px) { .stamp-lost { bottom: auto; top: 34px; right: 22px; transform: rotate(12deg); font-size: 20px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  body { background: #fff; }
  .masthead .tabs, .note-side, .related, .pager, .footer, .stamp { display: none !important; }
  .note { box-shadow: none; padding: 0; }
}

/* just-filed receipt in the hero collage */
.filed { background: var(--paper); box-shadow: var(--shadow); padding: 22px 22px 18px; transform: rotate(1.4deg); width: min(100%, 420px); position: relative;
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% calc(100% - 8px) no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 100% / 16px 8px repeat-x; }
.filed ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.filed li { border-bottom: 1px dashed var(--rule); padding: 10px 0; display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.filed time { font-family: var(--mono); font-size: 12px; color: var(--pencil); padding-top: 3px; }
.filed a { text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.35; }
.filed a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.filed-total { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 0; }
.filed-total span:last-child { color: var(--red-ink); }

@media (max-width: 639px) {
  .step-short { display: none; }
  .steps a { padding: 11px 2px 10px; }
  .checklist { padding: 40px 14px 24px 58px; background-image: linear-gradient(90deg, transparent 0 44px, rgba(179, 38, 30, .5) 44px 45.5px, transparent 45.5px), repeating-linear-gradient(180deg, transparent 0 35px, rgba(35, 48, 92, .13) 35px 36px); }
  .checklist::before { left: 13px; }
  .checklist-title { font-size: 35px; }
  .checklist-sub { font-size: 24px; }
  .sig { font-size: 24px; }
}

main { flex: 1 0 auto; }
.masthead, .footer { flex: none; }
