/* Corrupt California */
:root {
  --bg: #0B0B0C;
  --ink: #F4F1EA;
  --body: #CFCCC5;
  --muted: #A9A7A1;
  --rule: #26262B;
  --line: #3A3A40;
  --accent: #FFE14A;
  --display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "HelveticaNeue-CondensedBold", "sans-serif-condensed", Impact, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* the masthead can run wide for a moment before the web font loads */
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }
svg { flex: none; }

.skip { position: absolute; left: -999px; top: 12px; z-index: 10; padding: 10px 14px; background: var(--accent); color: var(--bg); font-weight: 700; }
.skip:focus { left: 12px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Top strip */
.strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 4px 16px; min-height: 60px; padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.strip a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }

/* Masthead */
.masthead {
  margin: 26px 0 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(60px, 19vw, 140px); line-height: 0.84; letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere; /* only matters if the web font fails to load */
}
.masthead span, .wordmark span { display: inline-block; padding: 0.03em 0.1em 0; background: var(--accent); color: var(--bg); }
.masthead span { margin-left: -0.03em; }
.tagline {
  margin: 20px 0 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 7vw, 34px); line-height: 1.05;
  color: var(--accent);
}
.mission { margin: 10px 0 0; max-width: 34em; font-size: 17px; line-height: 1.55; color: var(--body); }
.wordmark {
  display: inline-block; margin: 22px 0 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 9.4vw, 46px); line-height: 0.9; text-transform: uppercase;
}
.wordmark span { margin-right: 0.12em; }
.wordmark:hover { text-decoration: none; }
.back { margin: 4px 0 0; }
.back a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Posts */
.feed { margin-top: 34px; }
.feed--single { margin-top: 10px; }
.post { display: flex; flex-direction: column; gap: 10px; padding: 24px 0 10px; border-top: 1px solid var(--rule); }
.post--big { gap: 14px; padding: 20px 0 26px; border-top: 3px solid var(--accent); }
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted);
}
.kicker { font-weight: 700; color: var(--accent); }
.pill { padding: 3px 7px; border-radius: 4px; border: 1px solid transparent; }
.pill--convicted { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 700; }
.pill--charged { border-color: var(--accent); color: var(--accent); }
.pill--probe { border: 1px dashed #8D8D95; color: #E9E6DF; }
.pill--audit { background: #2A2A30; color: #E9E6DF; }
.headline {
  margin: 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 7.2vw, 31px); line-height: 1.06;
  text-wrap: balance;
}
.post--big .headline { font-weight: 800; font-size: clamp(34px, 9vw, 52px); line-height: 1; }
.body { display: flex; flex-direction: column; gap: 12px; }
.body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.post--big .body p { font-size: 18px; line-height: 1.5; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin: 2px 0 0; }
.read, .perma { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; font-weight: 700; }
.read { color: var(--accent); }
.perma { font-weight: 600; color: var(--muted); }
.post--big .read {
  gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--bg); font-size: 15px;
}

/* Pagination */
.pager {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 16px; padding: 22px 0 30px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}
.pager a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink); font-size: 14px; font-weight: 600;
}
.pager a.next { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 700; }

/* Single post extras */
.label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.address {
  display: flex; flex-direction: column; gap: 6px; margin: 0 0 22px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 10px;
}
.address p:not(.label) {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0;
  font-size: 15px; font-weight: 600; overflow-wrap: anywhere;
}
.address button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink);
  font-family: var(--text); font-size: 14px; font-weight: 600; cursor: pointer;
}
.more { display: flex; flex-direction: column; margin-bottom: 34px; border-top: 1px solid var(--rule); }
.more a { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.more strong { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; }

/* Footer */
.foot { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; padding: 32px 0 56px; border-top: 3px solid var(--ink); }
.foot__big { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 9vw, 44px); line-height: 1; text-transform: uppercase; }
.foot__text { margin: 0; max-width: 36em; font-size: 16px; line-height: 1.55; color: var(--body); }
.foot__contacts { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.foot__contacts div { display: flex; flex-direction: column; gap: 6px; }
.foot__contacts a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--muted); }
.foot__small { margin: 0; font-size: 13px; color: var(--muted); }

/* All-stories page */
.page-title {
  margin: 12px 0 0;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 11vw, 64px); line-height: 0.95; text-transform: uppercase;
}
.archive { list-style: none; margin: 22px 0 34px; padding: 0; border-top: 1px solid var(--rule); }
.archive a { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.archive a:hover { text-decoration: none; }
.archive a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.archive strong { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.1; text-wrap: balance; }
