/* Hoaxiverse — less noble than the title.
   Paper, ink, one seal red, brass only at display size. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/newsreader.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-medium.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-italic.woff2") format("woff2");
}

:root {
  --ink: #f4f1ea;
  --paper: #000000;
  --paper-2: #141218;
  --paper-3: #1c1822;
  --brass: #c4a2e0;
  --seal: #c4a2e0;
  --purple: #705583;
  --muted: #b7b0c4;
  --rule: rgba(244, 241, 234, 0.16);
  --rule-strong: rgba(244, 241, 234, 0.5);
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --mono: "IBM Plex Mono", ui-monospace, "Source Code Pro", monospace;
  --measure: 66ch;
  --site: 1120px;
  --gutter: clamp(1.15rem, 4vw, 2.4rem);
  color-scheme: dark;
}

html[data-lamp="night"] {
  --ink: #ebe6dc;
  --paper: #12110e;
  --paper-2: #1c1a16;
  --paper-3: #181612;
  --brass: #d4b072;
  --seal: #e07a72;
  --muted: #b7b0a4;
  --rule: rgba(235, 230, 220, 0.16);
  --rule-strong: rgba(235, 230, 220, 0.5);
  color-scheme: dark;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  background: var(--paper);
  color: var(--ink);
  font-optical-sizing: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("../svg/grain.svg");
  background-size: 180px 180px;
}

html[data-lamp="night"] body::before {
  opacity: 0.09;
  mix-blend-mode: overlay;
}

img { max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:visited { color: inherit; }
a:hover { color: var(--seal); }

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

::selection {
  background: #705583;
  color: #f4f1ea;
}
html[data-lamp="night"] ::selection {
  background: #5c2a26;
  color: #f2eee6;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.8rem;
  z-index: 100;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--seal);
  z-index: 90;
}

body.admin-bar .progress { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .progress { top: 46px; }
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--site));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
}

/* Masthead */

.mast {
  padding-top: 0.85rem;
}

.mast-brand,
.nav-row {
  width: min(100% - 2 * var(--gutter), var(--site));
  margin-inline: auto;
}

.mast-utility {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  width: auto;
  margin: 0;
  padding: 0.1rem max(var(--gutter), calc((100% - var(--site)) / 2)) 0.85rem;
  border-bottom: 1px solid var(--ink);
}

.kicker,
.issue,
.lamp,
.case-line,
.byline,
.section-label h2,
.method-label,
.plate-cap,
.docket-case,
.docket-beat,
.docket-date,
.beat-index,
.weighed-kicker,
.nav-list a,
.search-form,
.nav-toggle,
.pager,
.post-navigation,
.colophon-meta {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  margin: 0;
}

.utility-right {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.85rem;
}

.issue {
  font-size: 0.68rem;
  margin: 0;
}
.issue span { margin-right: 0.45rem; }

.lamp {
  font-size: 0.66rem;
  border: 1px solid var(--rule-strong);
  background: transparent;
  padding: 0.32rem 0.5rem 0.28rem;
  line-height: 1;
}
.lamp[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.mast-brand {
  text-align: center;
  padding: 1.35rem 0 1.15rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 0.35rem;
}
.brand:hover { color: inherit; }

.mark {
  width: 52px;
  height: 52px;
  display: block;
}

.custom-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.wordmark {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.7rem, 12.4vw, 7.5rem);
  letter-spacing: -0.045em;
  line-height: 0.82;
  font-variation-settings: "opsz" 144, "wght" 560;
  display: block;
}

.tagline {
  margin: 0.85rem auto 0;
  max-width: 46rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  font-variation-settings: "opsz" 48, "wght" 460;
}

.site-nav {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0.15rem 0;
}

.nav-toggle {
  display: none;
  margin: 0.55rem auto;
  background: transparent;
  border: 1px solid var(--rule-strong);
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.4rem;
  padding: 0.4rem 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 0.2rem 0.95rem;
  margin: 0;
  padding: 0.3rem 0;
}

.nav-list a {
  font-size: 0.68rem;
  text-decoration: none;
  letter-spacing: 0.13em;
}

.nav-list a[aria-current="page"],
.nav-list .current-menu-item > a,
.nav-list .current-cat > a {
  color: var(--seal);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--rule);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.search-form input[type="search"] {
  width: 9.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 0.25rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
}
.search-form input[type="search"]:focus { outline: none; border-bottom-color: var(--seal); }
.search-form button {
  background: transparent;
  border: none;
  padding: 0.25rem 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Lead, feature, plates */

.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.6rem, 4vw, 3rem) 0 2.2rem;
}

.case-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.68rem;
  margin-bottom: 0.85rem;
}
.case-line a { text-decoration: none; }
.status-contested { color: var(--seal); }
.status-inference { font-style: italic; letter-spacing: 0.08em; }

.lead-title,
.entry-head h1,
.archive-head h1,
.error-hero h1 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-variation-settings: "opsz" 144, "wght" 560;
  text-wrap: balance;
}

.lead-title {
  font-size: clamp(2.5rem, 4.6vw, 4.35rem);
}
.lead-title a {
  color: inherit;
  text-decoration: none;
}
.lead-title a:hover { color: var(--seal); }

.dek {
  margin-top: 1rem;
  font-size: 1.28rem;
  line-height: 1.4;
  font-style: italic;
  max-width: 38rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 1.2rem;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.byline a { color: inherit; text-decoration: none; }
.byline a:hover { color: var(--seal); }

.plate { margin: 0; }
.plate-frame {
  position: relative;
  background: var(--paper-2);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.plate-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plate-frame::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(242, 238, 230, 0.42);
  pointer-events: none;
}
.plate-cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.plate-band { margin: 1.25rem auto 0.5rem; }
.plate-band .plate-frame { aspect-ratio: 21 / 8; }

.method {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.method-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.66rem;
  padding: 0.7rem 0 0.15rem;
}
.method-label a { text-decoration: none; }
.method ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}
.method li + li { border-left: 1px solid var(--rule); }
.method a.method-link {
  display: block;
  height: 100%;
  padding: 0.85rem 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
}
.method a.method-link:hover { color: inherit; background: rgba(138, 100, 40, 0.06); }
.method .num {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.method strong {
  display: block;
  margin: 0.35rem 0 0.3rem;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.method em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  padding: 2rem 0 1rem;
}
.feature .lead-title { font-size: clamp(2rem, 3.4vw, 3.15rem); }

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 2.4rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.4rem;
}
.section-label h2 {
  font-size: 0.68rem;
  font-weight: 500;
}
.section-label p,
.section-label a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--muted);
  margin: 0;
}

.docket { margin: 0.2rem 0 1rem; }
.loop-docket { margin-top: 2rem; }
.letters { margin-top: 0.8rem; }
.docket-row {
  display: grid;
  grid-template-columns: 6.2rem 8.6rem minmax(0, 1fr) auto;
  grid-template-areas:
    "case beat title date"
    "case beat dek date";
  column-gap: 1.15rem;
  row-gap: 0.2rem;
  align-items: baseline;
  padding: 1rem 0.6rem 1rem 0.7rem;
  margin-left: -0.7rem;
  border-bottom: 1px solid var(--rule);
  border-left: 2px solid transparent;
  text-decoration: none;
  color: inherit;
}
.docket-row:hover { border-left-color: var(--brass); color: inherit; }
.docket-row:hover .docket-title { color: var(--seal); }
.docket-case { grid-area: case; font-size: 0.68rem; color: var(--muted); }
.docket-beat { grid-area: beat; font-size: 0.68rem; }
.docket-date { grid-area: date; font-size: 0.68rem; color: var(--muted); text-align: right; }
.docket-title {
  grid-area: title;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.docket-dek {
  grid-area: dek;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  margin-top: 0.4rem;
}
.beat {
  display: block;
  padding: 1.15rem 1.4rem 1.3rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.beat:hover { color: inherit; }
.beat:hover h3 { color: var(--seal); }
.beat-index {
  font-size: 0.64rem;
  color: var(--muted);
}
.beat h3 {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  margin: 0.25rem 0 0.3rem;
  line-height: 1.05;
}
.beat p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
  max-width: 28ch;
}

/* Single and pages */

.entry-head,
.archive-head,
.error-hero {
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.entry-head h1,
.archive-head h1,
.error-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.entry-plate { margin: 1.6rem auto 0.4rem; }

.entry-content {
  margin-top: 1.8rem;
  font-size: 1.1875rem;
  line-height: 1.65;
}
.entry-content > p:first-of-type::first-letter {
  font-family: var(--display);
  font-weight: 560;
  float: left;
  font-size: 5.1rem;
  line-height: 0.72;
  padding: 0.08em 0.08em 0 0;
  color: var(--seal);
  font-variation-settings: "opsz" 144, "wght" 560;
}
.entry-content p { margin: 0.95em 0; text-wrap: pretty; }
.entry-content h2 {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 1.6em 0 0.35em;
  text-wrap: balance;
}
.entry-content a {
  text-decoration-color: var(--brass);
}
.entry-content a:hover { text-decoration-color: var(--seal); }
.entry-content blockquote {
  margin: 1.7rem 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 2px solid var(--brass);
}
.entry-content blockquote p {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.entry-content ul,
.entry-content ol {
  margin: 1em 0;
  padding-left: 1.15em;
}
.entry-content li + li { margin-top: 0.4em; }
.entry-content .notes {
  list-style: decimal;
  font-size: 0.98rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 0.9rem;
  margin-top: 2rem;
}
.entry-content hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}
.entry-content img { margin: 1rem 0; }
.entry-content figcaption,
.wp-caption-text {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

.weighed {
  margin: 2.4rem auto 0;
  width: min(100% - 2 * var(--gutter), var(--measure));
  border-top: 3px solid var(--ink);
  padding-top: 0.8rem;
}
.weighed-kicker {
  font-size: 0.66rem;
  margin-bottom: 0.3rem;
}
.weighed ol { list-style: none; }
.weighed li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}
.weighed li.is-off { color: var(--muted); }
.weighed li.is-off strong { font-weight: 500; }
.weighed-num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  padding-top: 0.35rem;
}
.weighed strong {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.weighed p {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
}
.weighed-status {
  margin-top: 0.9rem;
  font-style: italic;
  color: var(--muted);
}

.lenses { list-style: none; margin-top: 1.5rem; }
.lenses > li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.lens-num {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.8rem;
  color: var(--brass);
  letter-spacing: -0.03em;
  line-height: 1;
}
.lenses h2 {
  font-family: var(--display);
  font-weight: 560;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.4rem;
}
.lenses p { font-size: 1.125rem; line-height: 1.55; margin: 0.45em 0 0; }
.standard-close {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 3px solid var(--ink);
  font-size: 1.2rem;
  line-height: 1.55;
}

.archive-head .dek,
.error-hero .dek { margin-bottom: 0.4rem; }

.post-navigation { margin: 2.5rem auto 0; width: min(100% - 2 * var(--gutter), var(--site)); }
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}
.post-navigation a { text-decoration: none; display: block; }
.post-navigation .nav-next { text-align: right; }
.post-navigation .nav-dir {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.post-navigation .nav-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.navigation.pagination { margin: 1.5rem 0 2rem; }
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.navigation.pagination .page-numbers { text-decoration: none; }
.navigation.pagination .current { color: var(--seal); }

.none, .error-hero { padding-bottom: 2rem; }
.error-hero .plate { margin-top: 1.4rem; }
.error-hero .search-form { margin-top: 1.2rem; letter-spacing: 0.08em; }
.error-hero .search-form input[type="search"] { width: min(100%, 18rem); }

.comments { margin: 2.5rem auto 0; width: min(100% - 2 * var(--gutter), var(--measure)); }
.comments-title, .comment-reply-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.comment-list { list-style: none; margin-top: 1rem; }
.comment-list li { border-top: 1px solid var(--rule); padding: 0.9rem 0; }
.comment-meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.comment-content p { margin: 0.4rem 0 0; }
.comment-form label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.8rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 0.4rem 0;
  font-family: var(--serif);
}
.comment-form textarea { border: 1px solid var(--rule); padding: 0.6rem; min-height: 8rem; }
.comment-form .submit {
  margin-top: 0.8rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.45rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Colophon footer — stays ink, both lamps */

.colophon {
  margin-top: 3.5rem;
  background: #14120e;
  color: #f2eee6;
  padding: 2.4rem 0 1.6rem;
}
.colophon a { color: #f2eee6; text-decoration-color: rgba(212, 176, 114, 0.8); }
.colophon a:hover { color: #e7c9c4; }
.colophon :focus-visible { outline-color: #e7c9c4; }
.colophon-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 2rem;
}
.colophon .mark { color: #f2eee6; }
.colophon .wordmark {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-top: 0.4rem;
}
.colophon .tagline {
  color: #d9d2c6;
  font-size: 1.15rem;
  margin: 0.7rem 0 0;
  max-width: 24rem;
}
.colophon h2 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4b072;
  margin-bottom: 0.7rem;
}
.colophon ul { list-style: none; }
.colophon li { margin: 0.28rem 0; }
.colophon li a { text-decoration: none; }
.colophon-meta {
  margin-top: 1.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(242, 238, 230, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: #c8c0b4;
}
.domains { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1.02rem; color: #d9d2c6; line-height: 1.4; }

/* Page templates */

.page-kicker { margin-bottom: 0.7rem; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-row { display: none; flex-direction: column; align-items: stretch; padding-bottom: 0.8rem; }
  .site-nav.is-open .nav-row { display: flex; }
  .search-form { margin-left: 0; padding-left: 0; border-left: 0; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.55rem; }
  .nav-list a { font-size: 0.95rem; letter-spacing: 0.12em; }
  .search-form { width: 100%; margin-top: 0.4rem; }
  .search-form input[type="search"] { flex: 1; width: auto; }
  .lead, .feature, .method ol, .beats, .colophon-grid, .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
  .method li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .feature .plate { order: -1; }
  .post-navigation .nav-next { text-align: left; }
  .docket-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "case date"
      "beat beat"
      "title title"
      "dek dek";
    row-gap: 0.25rem;
  }
  .docket-date { text-align: right; }
  .mast-utility { align-items: center; }
  .lenses > li { grid-template-columns: 3rem 1fr; }
}

@media (max-width: 640px) {
  .issue { display: none; }
  .kicker {
    max-width: calc(100% - 4.8rem);
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }
  .tagline {
    width: min(20.2rem, calc(100vw - 2.5rem));
    font-size: 1.05rem;
  }
  .dek { font-size: 1.12rem; }
  .lead-title { font-size: clamp(2.15rem, 11vw, 3rem); }
  .beats { grid-template-columns: 1fr; }
  .plate-frame::after { inset: 0.35rem; }
}

@media (min-width: 641px) and (max-width: 980px) {
  .beats { grid-template-columns: 1fr 1fr; }
  .method ol { grid-template-columns: 1fr 1fr; }
  .method li:nth-child(3) { border-left: 0; }
  .method li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}

/* Simple front: name, tagline, search, cards. */

.site-head {
  text-align: center;
  padding: 2.5rem 1.25rem 1.6rem;
}

.site-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
}
.site-brand:hover { color: inherit; }
.site-brand .mark,
.site-brand .custom-logo {
  width: clamp(76px, 16vw, 104px);
  height: auto;
  display: block;
  object-fit: contain;
}
.logo-seal {
  width: min(86vw, 460px);
  height: auto;
  display: block;
}
.logo-word {
  width: min(94vw, 760px);
  height: auto;
  display: block;
  margin-top: 0.15rem;
}

.site-name {
  font-family: var(--display);
  font-weight: 640;
  font-size: clamp(2.9rem, 7.4vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  font-variation-settings: "opsz" 144, "wght" 640;
}

.site-tagline {
  margin: 0.95rem auto 0;
  max-width: 38rem;
  color: var(--ink);
  font-family: var(--display);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  letter-spacing: -0.02em;
  line-height: 1.28;
  font-variation-settings: "opsz" 48, "SOFT" 40, "wght" 520;
}

.story-search {
  margin: 1.35rem auto 0;
  max-width: 18rem;
}
.story-search input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  background-color: #141218;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f1ea' stroke-width='2.4' stroke-linecap='round'><circle cx='10.5' cy='10.5' r='6.2'/><path d='M15.3 15.3 20.2 20.2'/></svg>");
  background-repeat: no-repeat;
  background-position: 0.75rem center;
  background-size: 1rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.28);
  padding: 0.5rem 0.95rem 0.5rem 2.2rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.story-search input[type="search"]::-webkit-search-decoration,
.story-search input[type="search"]::-webkit-search-results-button,
.story-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}
.story-search input[type="search"]::placeholder { color: #9b95a6; }
.story-search input[type="search"]:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

html[data-lamp="night"] .story-search input[type="search"] {
  background-color: var(--paper-2);
  box-shadow: inset 0 0 0 1px rgba(235, 230, 220, 0.2);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.35rem;
  width: min(100% - 2.5rem, 1080px);
  margin: 1.85rem auto 2.2rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  color: inherit;
  text-decoration: none;
  border-radius: 2px;
  overflow: hidden;
}
.story-card:hover { color: inherit; }
.story-card:hover .story-title { color: var(--seal); }
.story-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
  border-radius: 2px;
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-title {
  display: block;
  padding: 0.85rem 0.95rem 1.05rem;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

html[data-lamp="night"] .story-card {
  background: var(--paper-2);
  box-shadow: none;
}

.page-intro {
  width: min(100% - 2.5rem, 1080px);
  margin: 1.6rem auto 0;
}
.page-intro h1 {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.list-empty {
  text-align: center;
  color: var(--muted);
  margin: 1.5rem 1rem 2.5rem;
}
.list-empty a { color: inherit; }

.entry-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.12;
}
.entry-head .byline {
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 0.65rem;
}
.entry-content > p:first-of-type::first-letter {
  float: none;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
  font-variation-settings: normal;
}

.navigation.pagination {
  width: min(100% - 2.5rem, 1080px);
  margin: 0 auto 2.5rem;
}
.navigation.pagination .nav-links { justify-content: center; }

.site-foot {
  margin-top: 2.6rem;
  background: #000;
  color: #f4f1ea;
  text-align: center;
  padding: 1.7rem 1.25rem 1.9rem;
  font-size: 0.98rem;
  border-top: 1px solid rgba(196, 162, 224, 0.55);
}
.site-foot p { margin: 0; }
.site-foot nav { margin-top: 0.4rem; }
.site-foot nav a {
  margin: 0 0.55rem;
  color: inherit;
  text-decoration: none;
}
.site-foot nav a:hover { color: #e7c9c4; }

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; max-width: 28rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  body::before, .progress, .lamp, .nav-toggle, .site-nav, .search-form, .method, .colophon, .weighed, .post-navigation {
    display: none !important;
  }
  body, html { background: white; color: black; }
  .entry-content { font-size: 12pt; }
  .wordmark { font-size: 42pt; }
  a { text-decoration: none; }
}
