/*
 * www.direktiv.app. The Direktiv identity (ADR-014) set as a printed briefing file: flat colour
 * fields, shape-marked tabs, annotated diagrams, redaction and stamps. Square corners everywhere;
 * depth is a hard ink offset, never a blur. No JavaScript and no inline styles, so the page runs
 * under the app's `default-src 'self'` CSP.
 */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f3eee2;
  --card: #fbf8f1;
  --ink: #1b1a16;
  --ink-2: #3d3a32;
  --muted: #5a5546;
  --line: #d3cbb6;
  --blue: #2457b0;
  --blue-deep: #1a4189;
  --red: #c8352b;
  --ochre: #e5b22b;
  --night: #141310;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --head: "Jost", Futura, "Century Gothic", sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;

  --lift: 6px 6px 0 var(--ink);
  --lift-sm: 3px 3px 0 var(--ink);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

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

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

body {
  margin: 0;
  background: var(--paper) url("paper-grain.svg");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ochre);
  color: var(--ink);
  padding: 8px 14px;
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}
.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

/* ---- type ------------------------------------------------------------------------------- */

.mono,
.kicker,
.label,
.tab,
.stamp {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.statement {
  font-family: var(--head);
  font-weight: 450;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.98;
  margin: 0;
}
.statement .outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.statement .ochre-outline {
  -webkit-text-stroke-color: var(--ochre);
}

h2.title {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 72px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 0.98;
  margin: 0 0 24px;
}

.lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 34em;
}

.redact {
  display: inline-block;
  background: var(--ink);
  color: transparent;
  user-select: none;
  height: 0.9em;
  vertical-align: -0.08em;
}
.redact.w2 {
  width: 2.6em;
}
.redact.w3 {
  width: 4.2em;
}
.redact.w4 {
  width: 6.5em;
}

/* ---- buttons ----------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: var(--lift-sm);
  transition:
    transform 120ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 120ms cubic-bezier(0.2, 0, 0, 1);
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}
.btn.primary {
  background: var(--ochre);
}
.btn.on-dark {
  border-color: var(--card);
  box-shadow: 3px 3px 0 var(--card);
}
.btn.on-dark:hover {
  box-shadow: 4px 4px 0 var(--card);
}
.btn.ghost-dark {
  background: transparent;
  color: var(--card);
}
.arrow::after {
  content: "→";
  font-family: var(--sans);
}

/* ---- masthead ---------------------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--card);
  border-bottom: 2px solid var(--ink);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.masthead .mark {
  font-size: 30px;
  color: var(--card);
  text-decoration: none;
}
.masthead nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.masthead nav a {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  opacity: 0.8;
}
.masthead nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.masthead .btn {
  padding: 8px 16px;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--card);
  border-color: var(--card);
}

.wordmark {
  height: 0.74em;
  width: auto;
}
.wordmark .d {
  fill: var(--blue);
}
.wordmark .i {
  fill: var(--ochre);
}
.wordmark .v {
  fill: var(--red);
}
.on-night .wordmark .d,
.masthead .wordmark .d,
.footer .wordmark .d {
  fill: #6d97e4;
}

/* ---- section scaffolding ----------------------------------------------------------------- */

.file {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
}
.file + .file {
  border-top: 2px solid var(--ink);
}

.field-ochre {
  background: var(--ochre);
}
.field-blue {
  background: var(--blue);
  color: var(--card);
}
.field-red {
  background: var(--red);
  color: var(--card);
}
.field-ink {
  background: var(--ink);
  color: var(--card);
}
.field-paper {
  background: transparent;
}
.on-night {
  background: var(--night);
  color: var(--card);
}

/* The shape tab at the head of each file: number, name and its shape. */
.tab {
  position: absolute;
  top: 0;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 20px;
  background: var(--ink);
  color: var(--card);
  font-size: 13px;
  font-weight: 600;
}
.tab .no {
  opacity: 0.6;
}
.field-ink .tab,
.on-night .tab {
  background: var(--card);
  color: var(--ink);
}

.foot-tab {
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--card);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field-ink .foot-tab {
  background: var(--card);
  color: var(--ink);
}

/* Shapes. Their meaning is the app's: square is work, circle a person, the downward triangle a
   deadline or mandate, the black block a notebook. */
.sh {
  display: inline-block;
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
}
.sh.circle {
  border-radius: 50%;
}
.sh.tri {
  background: none;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid currentColor;
}
.sh.block {
  width: 10px;
  height: 16px;
}
.sh.half {
  width: 9px;
  border-radius: 0 9px 9px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.split.flip > :first-child {
  order: 2;
}

/* Spec lists: a small ruled form. */
.spec {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 2px solid currentColor;
}
.spec li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid currentColor;
}
.spec li > .mono {
  font-size: 12px;
  font-weight: 600;
  padding-top: 3px;
}
.spec strong {
  font-stretch: 112%;
}

/* ---- callouts: labels with a leader line ------------------------------------------------- */

.diagram {
  position: relative;
}
.callout {
  position: absolute;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 220px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.callout::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: currentColor;
}
.callout .lead {
  position: absolute;
  height: 1px;
  background: currentColor;
  top: 7px;
}
.callout.left .lead {
  left: 100%;
  margin-left: 8px;
}
.callout.right {
  flex-direction: row-reverse;
  text-align: right;
}
.callout.right .lead {
  right: 100%;
  margin-right: 8px;
}

/* ---- stamps ------------------------------------------------------------------------------ */

.stamp {
  display: inline-block;
  padding: 6px 12px 5px;
  border: 3px solid var(--red);
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  transform: rotate(-6deg);
  mix-blend-mode: multiply;
}
.stamp.blue {
  border-color: var(--blue);
  color: var(--blue);
}
.stamp.ink {
  border-color: var(--ink);
  color: var(--ink);
}
.stamp.paper {
  border-color: var(--card);
  color: var(--card);
  mix-blend-mode: normal;
}

/* ---- app mock-ups (drawn, not screenshots) ----------------------------------------------- */

.sheet {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--lift);
}
.sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.sheet-head .mono {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 400;
  color: var(--muted);
}
.band {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: 2px solid var(--ink);
}
.band.ochre {
  background: var(--ochre);
}
.band.blue {
  background: var(--blue);
  color: var(--card);
}
.band.red {
  background: var(--red);
  color: var(--card);
}
.band.ink {
  background: var(--ink);
  color: var(--card);
}

.group-label {
  padding: 12px 16px 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.row:last-child {
  border-bottom: 0;
}
.row .title {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .key {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.box {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--ink);
  background: var(--card);
}
.box.done {
  background: var(--ochre);
  position: relative;
}
.box.done::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 5px;
  height: 9px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.row.struck .title {
  text-decoration: line-through;
  color: var(--muted);
}
.prio {
  flex: none;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--red);
}
.prio.med {
  border-top-color: var(--ochre);
}
.chip {
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1.5px solid var(--ink);
  background: var(--card);
}
.chip.late {
  background: var(--red);
  border-color: var(--red);
  color: var(--card);
}
.chip.today {
  background: var(--ochre);
}
.chip.blue {
  background: #d9e2f3;
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}
.who {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #e3dcea;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.who.b {
  background: #d9e2f3;
}

/* ---- 00 hero ----------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--card);
  padding: clamp(90px, 12vw, 170px) 0 clamp(90px, 10vw, 140px);
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero .statement {
  font-size: clamp(42px, 6.4vw, 96px);
  max-width: 13ch;
}
.hero .lede {
  margin-top: 34px;
  color: #e9e3d4;
  max-width: 31em;
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.hero .fine {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b9b2a0;
}
.hero .kicker {
  color: var(--ochre);
  margin-bottom: 30px;
}

.orbits {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-art {
  position: absolute;
  z-index: 1;
  right: -6%;
  top: 50%;
  width: min(62vw, 820px);
  transform: translateY(-46%);
  pointer-events: none;
}
.rule-lines {
  position: absolute;
  left: 0;
  z-index: 1;
  display: grid;
  gap: 54px;
  top: 38%;
}
.rule-lines span {
  display: block;
  height: 2px;
  background: var(--red);
  width: clamp(40px, 6vw, 90px);
}

/* ---- stat row ---------------------------------------------------------------------------- */

.stats {
  padding: clamp(56px, 7vw, 90px) 0;
  border-bottom: 2px solid var(--ink);
}
.stats ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.stats li {
  padding: 22px 18px 4px 0;
  border-right: 1px solid var(--ink);
  margin-right: 18px;
}
.stats li:last-child {
  border-right: 0;
  margin-right: 0;
}
.stats .n {
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stats .n small {
  font-size: 0.4em;
  letter-spacing: 0.08em;
  margin-left: 4px;
}
.stats .what {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--ink-2);
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.intro h2 {
  font-family: var(--head);
  font-weight: 500;
  color: var(--red);
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.intro p {
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.42;
  margin: 0;
  max-width: 30em;
}

/* ---- 01 today ---------------------------------------------------------------------------- */

.today-diagram {
  padding: 40px 0 40px 236px;
}
.today-diagram .callout {
  width: 184px;
}
.today-diagram .sheet {
  transform: rotate(-2deg);
}
.today-diagram .c1 {
  left: 0;
  top: 120px;
}
.today-diagram .c1 .lead {
  width: 52px;
}
.today-diagram .c2 {
  left: 0;
  top: 300px;
}
.today-diagram .c2 .lead {
  width: 56px;
}
.today-diagram .c3 {
  left: 0;
  top: 470px;
}
.today-diagram .c3 .lead {
  width: 60px;
}

/* ---- 02 capture -------------------------------------------------------------------------- */

.capture {
  margin-top: 56px;
}
.capture-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 20px 24px;
  font-size: clamp(17px, 2.1vw, 28px);
  font-stretch: 105%;
}
.capture-bar .kbd {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  padding: 3px 7px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.capture-bar .tok {
  padding: 0 2px;
  border-bottom: 3px solid var(--ink);
}
.capture-bar .tok.p {
  border-color: var(--blue);
}
.capture-bar .tok.d {
  border-color: var(--red);
}
.capture-bar .tok.c {
  border-color: var(--ochre);
}
.capture-bar .caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  vertical-align: -0.18em;
  background: var(--ink);
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .capture-bar .caret {
    animation: none;
  }
}
.parse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
}
.parse > div {
  position: relative;
  padding: 26px 16px 0 0;
  border-top: 2px solid var(--card);
}
.parse > div::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 2px;
  height: 22px;
  background: var(--card);
}
.parse .mono {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.85;
}
.parse .val {
  display: block;
  margin-top: 6px;
  font-family: var(--head);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.burnbag {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.burnbag .sheet .row .age {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.burnbag .sheet .row.ageing .age {
  color: var(--red);
  font-weight: 600;
}
.burnbag h3,
.sub h3 {
  font-family: var(--head);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  margin: 0 0 18px;
}

/* ---- 03 dossiers ------------------------------------------------------------------------- */

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
}
.dossier-diagram {
  padding: 30px 230px 30px 0;
}
.page {
  padding: 22px 26px 26px;
  font-size: 15px;
}
.page h4 {
  font-family: var(--sans);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 4px;
}
.page .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page p {
  margin: 0 0 10px;
}
.page .action {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}
.page .action .box {
  width: 14px;
  height: 14px;
}
.page .key-pt {
  background: #f7e7b4;
  border-left: 4px solid var(--ochre);
  padding: 6px 10px;
  margin: 12px 0;
}
.page .key-pt b {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.page table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 12px;
  font-size: 13px;
}
.page th,
.page td {
  border: 1.5px solid var(--ink);
  padding: 5px 8px;
  text-align: left;
}
.page th {
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dossier-diagram .c1 {
  right: 0;
  top: 112px;
}
.dossier-diagram .c1 .lead {
  width: 64px;
}
.dossier-diagram .c2 {
  right: 0;
  top: 238px;
}
.dossier-diagram .c2 .lead {
  width: 30px;
}
.dossier-diagram .c3 {
  right: 0;
  top: 370px;
}
.dossier-diagram .c3 .lead {
  width: 40px;
}
.dossier-diagram .stamp {
  position: absolute;
  left: -26px;
  bottom: -6px;
}

/* ---- 04 one-on-ones ---------------------------------------------------------------------- */

.briefing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border: 2px solid var(--card);
}
.briefing > div {
  padding: 26px 24px 28px;
  border-right: 2px solid var(--card);
}
.briefing > div:last-child {
  border-right: 0;
}
.briefing .step {
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ochre);
}
.briefing h3 {
  font-family: var(--head);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 10px 0 12px;
  line-height: 1;
}
.briefing p {
  margin: 0;
  color: #e3ddcf;
  font-size: 16px;
}
.eyes-only {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ochre);
}
.eyes-only p {
  margin: 0;
  max-width: 44em;
}

/* ---- 05 mandates ------------------------------------------------------------------------- */

.mandates {
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.mandate .hd {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--ink);
}
.mandate .stripe {
  width: 12px;
  background: var(--ochre);
  border-right: 2px solid var(--ink);
}
.mandate .hd > div {
  padding: 14px 18px;
  flex: 1;
}
.mandate h4 {
  margin: 0;
  font-family: var(--sans);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 20px;
}
.mandate .goal {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.health {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1.5px solid var(--ink);
}
.health::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
}
.health.on {
  color: #2b5d2f;
  border-color: #2b5d2f;
}
.health.risk {
  color: #6e4f00;
  border-color: #6e4f00;
  background: #f7e7b4;
}
.health.off {
  color: var(--card);
  background: var(--red);
  border-color: var(--red);
}
.ws {
  display: grid;
  grid-template-columns: 1fr 120px auto;
  gap: 14px;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ws:last-child {
  border-bottom: 0;
}
.bar {
  height: 10px;
  border: 1.5px solid var(--ink);
  background: var(--card);
  position: relative;
}
.bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
}
.bar i.p72 {
  width: 72%;
}
.bar i.p40 {
  width: 40%;
}
.bar i.p15 {
  width: 15%;
}
.log {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--card);
}
.log li {
  position: relative;
  padding: 0 0 22px 22px;
}
.log li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--card);
  border: 2px solid var(--ink);
}
.log .when {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.log p {
  margin: 4px 0 0;
  font-size: 15.5px;
}
.locked {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- the desk: diagonal stripes ---------------------------------------------------------- */

.stripes {
  border-top: 2px solid var(--ink);
}
.stripe-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  min-height: 150px;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.stripe-row .name {
  position: relative;
  z-index: 1;
  padding: 26px 0 26px var(--gutter);
  clip-path: polygon(0 0, 100% 0, calc(100% - 70px) 100%, 0 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stripe-row .name strong {
  font-family: var(--head);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 50px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}
.stripe-row .name span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 10px;
}
.stripe-row .detail {
  padding: 26px var(--gutter) 26px 48px;
  max-width: 600px;
}
.stripe-row .detail p {
  margin: 0;
}
.stripe-row.s1 .name {
  background: var(--blue);
  color: var(--card);
}
.stripe-row.s2 .name {
  background: var(--red);
  color: var(--card);
}
.stripe-row.s3 .name {
  background: var(--ochre);
}
.stripe-row.s4 .name {
  background: var(--ink);
  color: var(--card);
}
code.q {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--ink);
  color: var(--ochre);
  padding: 1px 7px;
}

/* ---- 06 chain of command ----------------------------------------------------------------- */

.council {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.ring {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.ring svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.seat {
  position: absolute;
  width: 170px;
  text-align: center;
  transform: translate(-50%, -50%);
}
.seat .glyph {
  margin: 0 auto 10px;
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  background: var(--card);
  display: grid;
  place-items: center;
  box-shadow: var(--lift-sm);
}
.seat .glyph .sh {
  width: 22px;
  height: 22px;
}
.seat .glyph .sh.tri {
  width: 0;
  height: 0;
  border-left-width: 12px;
  border-right-width: 12px;
  border-top-width: 20px;
}
.seat > strong,
.seat > span {
  background: var(--paper);
  padding: 0 6px;
}
.seat strong {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.seat > span {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 3px;
}
.seat.chair {
  left: 50%;
  top: 50%;
  width: 200px;
}
.seat.chair .glyph {
  width: 76px;
  height: 76px;
  background: var(--ochre);
}
.seat.chair .glyph .sh {
  width: 30px;
  height: 30px;
}
.seat.n {
  left: 50%;
  top: 9%;
}
.seat.e {
  left: 88%;
  top: 50%;
}
.seat.s {
  left: 50%;
  top: 91%;
}
.seat.w {
  left: 12%;
  top: 50%;
}
.classes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 30px 0 26px;
}
.classes .stamp {
  font-size: 13px;
}
.classes .stamp:nth-child(2) {
  transform: rotate(3deg);
}
.classes .stamp:nth-child(3) {
  transform: rotate(-3deg);
}

/* ---- 07 the analyst ---------------------------------------------------------------------- */

.analyst .statement {
  font-size: clamp(40px, 6.6vw, 96px);
}
.analyst-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  margin-top: 64px;
  align-items: start;
}
.analyst-grid .lede {
  color: #e3ddcf;
}
.suggest .sheet-head {
  background: var(--paper);
}
.suggest .row .why {
  font-size: 12.5px;
  color: var(--muted);
}
.suggest .actions {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}
.suggest .actions .btn {
  padding: 7px 14px;
  font-size: 13px;
}
.budget {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.budget .bar {
  flex: 1;
  max-width: 260px;
  border-color: var(--card);
  background: transparent;
}
.budget .bar i {
  background: var(--ochre);
  width: 23%;
}

/* ---- 08 field kit ------------------------------------------------------------------------ */

.kit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  margin-top: 48px;
}
.kit > div {
  padding: 26px 24px 28px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--card);
}
.kit .ic {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
}
.kit h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.kit p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
}

/* ---- closing ----------------------------------------------------------------------------- */

.closing {
  text-align: left;
}
.closing .statement {
  font-size: clamp(44px, 7.6vw, 112px);
}
.closing .lede {
  margin-top: 30px;
  color: #e3ddcf;
}
.closing .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.closing-art {
  position: absolute;
  right: -4%;
  bottom: -12%;
  width: min(48vw, 600px);
  pointer-events: none;
}

.footer {
  background: var(--ink);
  color: var(--card);
  padding: 34px 0;
  border-top: 2px solid var(--card);
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
}
.footer .mark {
  font-size: 26px;
}
.footer .mono {
  font-size: 11.5px;
  opacity: 0.75;
}
.footer nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.footer nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- responsive -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .today-diagram {
    padding-left: 0;
  }
  .dossier-diagram {
    padding-right: 0;
  }
  .diagram .callout {
    position: static;
    max-width: none;
    margin-top: 14px;
  }
  .diagram .callout .lead {
    display: none;
  }
  .diagram .callout.right {
    flex-direction: row;
    text-align: left;
  }
  .diagram {
    display: flex;
    flex-direction: column;
  }
  .diagram .sheet {
    order: -1;
    margin-bottom: 18px;
  }
  .dossier-diagram .stamp {
    position: static;
    align-self: flex-start;
    margin-top: 16px;
  }
}

@media (max-width: 900px) {
  .masthead nav {
    display: none;
  }
  .masthead .btn {
    margin-left: auto;
  }
  .split,
  .split.flip,
  .intro,
  .burnbag,
  .mandates,
  .council,
  .analyst-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split.flip > :first-child {
    order: 0;
  }
  .stats ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats li {
    border-right: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 18px;
  }
  .parse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
  .briefing,
  .kit {
    grid-template-columns: minmax(0, 1fr);
  }
  .briefing > div {
    border-right: 0;
    border-bottom: 2px solid var(--card);
  }
  .briefing > div:last-child {
    border-bottom: 0;
  }
  .stripe-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .stripe-row .name {
    clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
    padding-right: 60px;
  }
  .stripe-row .detail {
    padding: 20px var(--gutter) 26px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }
  .hero .wrap {
    order: 1;
  }
  .hero-art {
    order: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 118%;
    margin: 36px 0 0 -4%;
  }
  .rule-lines {
    display: none;
  }
  .eyes-only {
    flex-direction: column;
    align-items: flex-start;
  }
  .seat {
    width: 120px;
  }
  .seat.chair {
    width: 140px;
  }
  .seat > span {
    display: none;
  }
  .interlude-file .orbits {
    display: none;
  }
  .statement.interlude {
    text-align: left;
  }
  .tab {
    right: 0;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .capture-bar {
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .ws {
    grid-template-columns: 1fr 70px;
  }
  .ws .health {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .footer nav {
    margin-left: 0;
  }
}

/* ---- interludes -------------------------------------------------------------------------- */

.file .wrap {
  position: relative;
  z-index: 2;
}
.statement.interlude {
  font-size: clamp(36px, 5.8vw, 84px);
  text-align: right;
  margin-left: auto;
  max-width: 16ch;
}
.statement.interlude .outline {
  -webkit-text-stroke-color: var(--red);
}
