@font-face {
  font-family: Inter;
  src: url("/static/fonts/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/fonts/barlow-condensed-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --paper: #f8f6ed;
  --ink: #171717;
  --dim: #54534d;
  --blue: #80a6fa;
  --pink: #f4a4d1;
  --gold: #ffdb55;
  --mint: #afe4b9;
  --rule: 2px solid var(--ink);
  --display: "Barlow Condensed", "Arial Narrow", Inter, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.5 Inter,
    system-ui,
    sans-serif;
}
button,
select,
input,
textarea {
  color: inherit;
  font: inherit;
}
button,
select,
input,
textarea,
.download {
  border: 1.5px solid var(--ink);
  border-radius: 0;
  padding: 0.55rem 0.8rem;
  background: var(--paper);
}
button,
.download,
select,
summary {
  cursor: pointer;
}
button,
.download {
  font-weight: 680;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
button:hover,
.download:hover {
  background: var(--gold);
}
button:disabled {
  opacity: 0.58;
  cursor: default;
}
select {
  min-width: 0;
  max-width: 100%;
  text-overflow: ellipsis;
}
option,
optgroup {
  color: var(--ink);
  background: var(--paper);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid #4144d6;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 2;
  padding: 8px 12px;
  background: var(--gold);
}
.skip:focus {
  top: 4px;
}
main,
.bar {
  max-width: 1600px;
  width: calc(100% - clamp(28px, 5.6vw, 96px));
  margin-inline: auto;
}
.bar,
nav,
.brand,
.controls,
.sectionhead,
.chips,
footer {
  display: flex;
  align-items: center;
}
.bar {
  min-height: 65px;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(23px, 2.25vw, 36px);
  font-weight: 880;
  letter-spacing: -0.075em;
  line-height: 1;
}
.mark {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 28px;
}
.mark::before,
.mark::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 10px;
  border: 3px solid var(--ink);
  transform: skewY(-14deg);
}
.mark::before {
  top: 1px;
  left: 0;
  background: var(--blue);
}
.mark::after {
  bottom: 1px;
  right: 0;
  background: var(--pink);
}
nav {
  gap: 18px;
  font-size: 13px;
}
.investigation-nav {
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.eyebrow,
.hint {
  font: 600 11px/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.065em;
}
.primary {
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px 22px 22px 2px;
  padding-inline: 15px 18px;
}
#new b {
  font-size: 17px;
  line-height: 0.8;
  margin-right: 3px;
}
#new {
  background: var(--gold);
  color: var(--ink);
}
.primary:hover {
  color: var(--ink);
  background: var(--gold);
}
#new:hover {
  background: var(--ink);
  color: var(--paper);
}
.case-poster {
  border: 3px solid var(--ink);
}
.hero {
  display: grid;
  background: var(--blue);
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  position: relative;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 2.2vw, 36px);
}
.case-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
#edition {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 7px;
}
#case-title {
  font-weight: 700;
}
h1,
h2,
h3,
.metric strong {
  font-family: var(--display);
  font-weight: 800;
  margin: 0;
}
h1 {
  font-size: clamp(48px, 5.6vw, 89px);
  letter-spacing: -0.026em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 18px 0 15px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 em {
  font-style: normal;
  color: var(--gold);
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}
#scope {
  font-size: clamp(13px, 1.04vw, 16px);
  line-height: 1.5;
  max-width: 79ch;
  margin: 0;
  font-weight: 510;
}
.live-case .hero {
  display: block;
  background: #fffef8;
}
.live-case .hero-art {
  display: none;
}
.live-case h1 {
  width: auto;
  max-width: 68ch;
  margin: 10px 0 0;
  font: 720 clamp(22px, 2.65vw, 38px)/1.2 Inter, sans-serif;
  letter-spacing: -0.045em;
  text-transform: none;
  text-wrap: wrap;
}
.live-case #scope {
  margin-top: 8px;
}
#social-example {
  font-weight: 650;
}
#wording {
  margin-top: 16px;
  background: #fffef8;
}
#wording > p {
  margin-block: 8px 14px;
}
#quote-branches, .quote-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#quote-branches button {
  font-size: 13px;
  overflow-wrap: anywhere;
}
#quote-branches [aria-pressed="true"] {
  background: var(--gold);
}
.quote-cards {
  margin-block: 14px;
}
.quote-cards > div {
  flex: 1 1 230px;
  min-width: 0;
  overflow-wrap: anywhere;
  border-left: 4px solid var(--blue);
  background: var(--paper);
  padding: 10px 14px;
}
.quote-cards > div + div {
  border-left-color: var(--pink);
}
.quote-cards blockquote {
  margin: 6px 0;
  font-size: 17px;
}
#quote-comparison p {
  margin: 2px 0 0;
}
.hero-art {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  isolation: isolate;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% 7% 10% 7%;
  border-radius: 50%;
  background: var(--pink);
  transform: rotate(-16deg);
  z-index: -1;
}
.hero-art img {
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-6deg) scale(1.06);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--rule);
}
.metric {
  display: flex;
  gap: clamp(12px, 1.2vw, 22px);
  align-items: center;
  min-width: 0;
  padding: 8px clamp(14px, 2.2vw, 36px);
  background: #ebe9df;
}
.metric + .metric {
  border-left: var(--rule);
  background: var(--pink);
}
.metric:last-child {
  background: var(--gold);
}
.metric strong {
  font-size: clamp(44px, 4.3vw, 65px);
  line-height: 1;
}
.metric > div {
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 680;
}
.metric small {
  display: block;
  font: 11px/1.5 var(--mono);
}
.controls {
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 15px 0;
  border-bottom: var(--rule);
}
label {
  font-size: 13px;
  font-weight: 570;
}
.controls label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.controls select,
#restore,
.download {
  font-size: 13px;
}
#exclude {
  width: clamp(150px, 16vw, 240px);
}
#claim {
  max-width: 26vw;
}
.download {
  margin-left: auto;
  text-decoration: none;
  display: flex;
  gap: 12px;
  align-items: center;
}
.download span {
  font-size: 16px;
  line-height: 1;
}
.workspace,
.lower {
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: 20px;
}
.workspace {
  grid-template-columns: minmax(0, 2.4fr) minmax(245px, 1fr);
  align-items: stretch;
}
.panel {
  min-width: 0;
  padding: clamp(17px, 1.55vw, 26px);
  border: var(--rule);
}
#question {
  overflow-wrap: anywhere;
}
.paths {
  background: #fffef8;
}
.sectionhead,
footer {
  justify-content: space-between;
  gap: 12px;
}
h2 {
  font-size: clamp(32px, 2.8vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-transform: uppercase;
}
h3 {
  font-size: 24px;
  line-height: 1.08;
  margin: 16px 0 8px;
}
.hint {
  color: var(--dim);
}
.map {
  margin-top: 15px;
  background-color: #f1efe4;
  background-image: radial-gradient(#c3c2b8 0.85px, transparent 0.85px);
  background-size: 12px 12px;
  border: 1px solid #b9b8ac;
  overflow-x: auto;
}
.map svg {
  display: block;
  width: 100%;
  min-width: 580px;
}
.edge {
  fill: none;
  stroke: #35362f;
  stroke-width: 1.8;
}
.graphnode {
  cursor: pointer;
}
.graphnode rect {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.3;
}
.graphnode.measurement rect {
  fill: var(--blue);
}
.graphnode.terminal rect {
  fill: var(--gold);
}
.graphnode.selected rect,
.graphnode:hover rect {
  fill: var(--pink);
  stroke-width: 2.2;
}
.graphnode text {
  fill: var(--ink);
  font:
    650 11.6px Inter,
    sans-serif;
}
.coltitle {
  font: 700 9px var(--mono);
  fill: #484841;
  letter-spacing: 0.075em;
}
#map-note,
.inspector p,
.inspector a {
  font-size: 13px;
}
#map-note {
  margin: 11px 0;
  color: var(--dim);
}
summary {
  border-top: 1px solid #aeaea2;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 670;
}
.inspector {
  background: var(--ink);
  color: var(--paper);
}
.inspector-label {
  color: var(--pink);
  padding-bottom: 12px;
  border-bottom: 1px solid #6a6668;
  margin-bottom: 13px;
}
.inspector h2 {
  font-size: clamp(28px, 2.25vw, 39px);
}
.inspector small {
  color: #cfcec7;
  font: 11px/1.4 var(--mono);
}
.inspector blockquote {
  font: 800 clamp(23px, 2.2vw, 34px) / 1.03 var(--display);
  margin: 15px 0;
}
.inspector a {
  color: var(--gold);
  overflow-wrap: anywhere;
}
.inspector button {
  margin-top: 14px;
  border-color: var(--paper);
  color: var(--paper);
  background: transparent;
  font-size: 12px;
}
.inspector button:hover {
  background: var(--paper);
  color: var(--ink);
}
.inspector :focus-visible {
  outline-color: var(--pink);
}
.lower {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
}
.lower > :first-child {
  background: var(--mint);
}
.lower h2,
main > .panel h2 {
  margin: 5px 0 15px;
}
.lower label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
#affected {
  margin-bottom: 0;
  padding-left: 1.2rem;
}
#lookup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
#lookup input {
  margin-left: 7px;
  font-weight: 400;
}
.chips {
  gap: 8px;
  flex-wrap: wrap;
}
.chips button {
  border-radius: 20px;
  font-size: 13px;
}
li {
  margin-block: 0.4em;
}
footer {
  padding: 22px 0 32px;
  font-weight: 780;
  letter-spacing: -0.035em;
}
footer span {
  font-weight: 480;
  font-size: 12px;
  letter-spacing: 0;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  padding: clamp(21px, 3vw, 36px);
  border: 3px solid var(--ink);
  width: min(530px, 94vw);
  max-height: 90vh;
}
dialog::backdrop {
  background: #1414169c;
}
dialog h2 {
  margin: 0 38px 17px 0;
}
.close {
  float: right;
}
.close button {
  font-size: 23px;
  line-height: 1;
  padding: 3px 9px;
}
textarea {
  width: 100%;
  min-height: 96px;
  display: block;
  margin-top: 5px;
}
#notice {
  background: var(--gold);
  border-left: 3px solid var(--ink);
  padding: 10px;
}
@media (max-width: 940px) {
  .hero {
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  }
  .workspace {
    grid-template-columns: minmax(0, 1.9fr) minmax(215px, 1fr);
  }
  .controls {
    gap: 8px 12px;
  }
}
@media (max-width: 850px) {
  .workspace,
  .lower {
    grid-template-columns: minmax(0, 1fr);
  }
  .bar {
    gap: 8px;
    flex-wrap: wrap;
    padding-block: 13px;
  }
  nav {
    gap: 7px;
  }
  .hero-copy {
    padding: 19px;
  }
  .hero {
    grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr);
  }
  .hero-art img {
    transform: rotate(-9deg) scale(1.19);
  }
  .metric {
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
    padding: 9px 12px;
  }
  .metric strong {
    font-size: 42px;
  }
  #map-note {
    margin-top: 10px;
  }
}
@media (max-width: 530px) {
  nav {
    width: 100%;
  }
  #new {
    font-size: 13px;
    padding: 7px 11px;
  }
  .case-poster {
    border-width: 2px;
  }
  .hero {
    display: block;
  }
  .hero-art {
    position: absolute;
    top: 52px;
    right: 0;
    width: 26%;
    height: 108px;
  }
  .hero-copy {
    padding: 16px;
  }
  .case-meta {
    font-size: 9px;
    gap: 5px 8px;
  }
  h1 {
    font-size: clamp(38px, 9.5vw, 52px);
    width: 80%;
    margin: 16px 0;
    text-wrap: initial;
  }
  #scope {
    font-size: 12px;
  }
  .metric {
    padding: 8px 9px;
  }
  .metric > div {
    line-height: 1.2;
  }
  .controls {
    align-items: flex-end;
  }
  .controls label {
    flex: 1 1 40%;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  #claim,
  #exclude {
    width: 100%;
    max-width: none;
  }
  .download {
    margin-left: 0;
  }
  .workspace,
  .lower {
    margin-top: 14px;
  }
  .hero-art img {
    transform: rotate(-4deg);
  }
  .sectionhead h2 {
    font-size: 30px;
  }
  .hint {
    max-width: 90px;
    text-align: right;
    font-size: 9px;
  }
  #lookup label {
    width: 100%;
  }
  #lookup input {
    width: 100%;
    margin: 4px 0 0;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
  }
}
