* {
  box-sizing: border-box;
}
.publication-title:has(.desk-link),
.reader-editor,
.draft-facts {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
}
.publication-title:has(.desk-link) {
  justify-content: space-between;
}
.desk-link,
.editor-source,
.desk-help summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.desk-heading,
.draft-list,
.desk-help,
.desk-empty {
  max-width: 48rem;
}
.desk-heading {
  margin: 2rem 0;
}
.desk-help p + p {
  margin-top: 0.65rem;
}
.desk-heading h1 {
  margin: 0.15rem 0 0.5rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.editor-status {
  color: var(--tagit-accent);
  font-weight: 800;
}
.reader-editor,
.draft-facts {
  color: var(--tagit-muted);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.draft-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.draft-list li,
.desk-help {
  border-top: 1px solid var(--tagit-line);
  padding: 1.15rem 0;
}
.draft-list h2,
.draft-list p {
  margin: 0.3rem 0;
}
.draft-list h2 a {
  color: var(--tagit-text);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.desk-help summary {
  cursor: pointer;
  color: var(--tagit-accent);
  font-weight: 800;
  text-decoration: underline;
}
.desk-help code,
.editor-source {
  overflow-wrap: anywhere;
}

html {
  background: var(--tagit-bg);
  color: var(--tagit-text);
}
body {
  margin: 0;
  font:
    1rem/1.5 "TagIt Sans",
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--tagit-accent);
  text-underline-offset: 0.18em;
}
button,
input,
select {
  color: inherit;
  font: inherit;
}
button,
select {
  cursor: pointer;
}
a,
button,
select {
  touch-action: manipulation;
}
:is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--tagit-accent);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
.primary-button,
.byline {
  color: var(--tagit-text);
}
.site-frame {
  overflow-wrap: anywhere;
  max-width: 1464px;
  margin-inline: auto;
  padding-inline: max(20px, min(4vw, 60px), env(safe-area-inset-left))
    max(20px, min(4vw, 60px), env(safe-area-inset-right));
}
.skip-link {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: max(16px, env(safe-area-inset-left));
  padding: 12px 18px;
  transform: translateY(-170%);
  color: var(--tagit-text);
  background: var(--tagit-surface);
}
.skip-link:focus {
  transform: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.tagit-public-header {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 29px);
  min-height: 69px;
  padding-block: max(12px, env(safe-area-inset-top)) 12px;
  border-bottom: 1px solid var(--tagit-line);
}
.tagit-public-header .tagit-app-wordmark {
  font-size: clamp(24px, 2.1vw, 30px);
}
.tagit-public-header nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tagit-public-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--tagit-text);
  text-decoration: none;
}
.tagit-public-header nav a:first-child {
  position: relative;
  padding-inline-start: clamp(16px, 2vw, 29px);
}
.tagit-public-header nav a:first-child::before {
  position: absolute;
  inset: 11px auto 11px 0;
  width: 1px;
  background: var(--tagit-line);
  content: "";
}
.primary-button,
.tagit-public-header nav a[href="/states"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 22px;
  border: none;
  border-radius: 30px;
  color: var(--tagit-on-accent);
  background: var(--tagit-accent);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.primary-button:hover,
.tagit-public-header nav a[href="/states"]:hover {
  filter: brightness(0.91);
}
.link-arrow {
  font-size: 1.1em;
  line-height: 1;
}
.tagit-public-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(14px, 2vw, 26px);
  margin-top: clamp(38px, 5.5vw, 82px);
  padding-block: 16px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--tagit-line);
}
.tagit-public-footer a,
.format-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tagit-muted);
  font-size: 0.87rem;
  text-decoration: none;
}
.tagit-public-footer a:hover,
.format-link a:hover {
  color: var(--tagit-accent);
  text-decoration: underline;
}
.publication-title {
  padding-block: clamp(18px, 2.2vw, 34px) clamp(16px, 2vw, 27px);
}
.publication-title h1 {
  font-size: clamp(3.15rem, 6.3vw, 5.8rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.04em;
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.98fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 54px);
  border-top: 1px solid var(--tagit-line);
  padding-block: clamp(17px, 1.7vw, 26px);
}
.feature-text {
  grid-template-columns: minmax(0, 64ch);
}
.feature-copy {
  padding-bottom: 7px;
}
.feature-type {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  color: var(--tagit-text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.feature-type::before {
  width: 27px;
  height: 3px;
  background: var(--tagit-accent);
  content: "";
}
.feature h2 {
  margin-block: 7px 15px;
  font-size: clamp(2.2rem, 3.75vw, 3.75rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.037em;
}
.feature h2 a,
.story-summary h3 a {
  color: inherit;
  text-decoration: none;
}
.feature h2 a:hover,
.story-summary h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
}
.feature-copy > p,
.reader-deck {
  max-width: 61ch;
  font-size: clamp(1.02rem, 1.32vw, 1.18rem);
  line-height: 1.48;
}
.feature-copy .primary-button {
  margin-top: 20px;
}
.story-figure,
.story-thumb,
.story-summary {
  min-width: 0;
}
.photo,
.story-thumb {
  overflow: hidden;
  background: var(--tagit-surface-strong);
}
.feature-figure .photo {
  aspect-ratio: 2.32;
}
.story-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-figure figcaption {
  padding-top: 5px;
  color: var(--tagit-muted);
  font-size: 0.75rem;
  line-height: 1.42;
}
.archive-section,
.topic-directory,
.related,
.end-section,
.results-section {
  border-top: 1px solid var(--tagit-line);
}
.archive-toolbar,
.results-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px clamp(15px, 2.4vw, 36px);
  padding-block: 15px;
}
.archive-toolbar h2,
.topic-directory h2,
.related > h2,
.results-heading h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.archive-toolbar h2 {
  margin-right: auto;
}
.archive-search {
  flex: 1 1 200px;
  max-width: 420px;
}
.query-box {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--tagit-muted);
  border-radius: 30px;
  background: var(--tagit-surface);
}
.query-box:focus-within {
  outline: 2px solid var(--tagit-accent);
  outline-offset: 2px;
}
.query-box input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 8px 13px 8px 0;
  border: 0;
  border-radius: 0 30px 30px 0;
  background: transparent;
  font-size: 1rem;
}
.query-box input:focus-visible {
  outline: none;
}
.query-box input::placeholder {
  color: var(--tagit-muted);
  opacity: 1;
}
.query-icon {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.type-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(7px, 1.25vw, 21px);
}
.type-nav a,
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: var(--tagit-text);
  text-decoration: none;
}
.type-nav a {
  justify-content: center;
  padding-inline: 5px;
  border-bottom: 2px solid transparent;
  font-size: 0.925rem;
}
.type-nav a[aria-current] {
  border-bottom-color: var(--tagit-accent);
  color: var(--tagit-accent);
  font-weight: 700;
}
.type-nav a:hover,
.crumbs a:hover,
.feature-type:hover,
.tagit-public-header nav a:first-child:hover {
  color: var(--tagit-accent);
  text-decoration: underline;
}
.story-list,
.topic-directory ul,
.contents ul,
.source-links,
.tag-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-row {
  display: grid;
  grid-template-columns: minmax(100px, 25%) minmax(0, 1fr) auto;
  align-items: start;
  gap: 6px clamp(19px, 2.5vw, 38px);
  padding-block: 17px;
  border-top: 1px solid var(--tagit-line);
}
.story-thumb {
  display: block;
  width: 100%;
  height: clamp(94px, 9.3vw, 143px);
  border-radius: 4px;
}
.story-summary {
  align-self: center;
}
.story-summary h3 {
  font-size: clamp(1.23rem, 1.9vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.story-summary h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.story-summary p {
  max-width: 68ch;
  color: var(--tagit-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.row-type {
  font-size: 0.82rem;
  font-weight: 700;
}
.row-date {
  margin-top: 3px;
  color: var(--tagit-muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.text-row {
  grid-template-columns: 1fr auto;
}
.archive-note,
.empty-results,
.search-fallback,
.search-error {
  padding-block: 18px;
}
.topic-directory,
.related {
  margin-top: clamp(26px, 3.6vw, 54px);
  padding-top: 22px;
}
.topic-directory ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 23px;
  margin-top: 12px;
}
.topic-directory a,
.tag-links a {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  gap: 8px;
  color: var(--tagit-text);
  text-decoration: underline;
  text-decoration-color: var(--tagit-line);
}
.topic-directory a:hover,
.tag-links a:hover {
  color: var(--tagit-accent);
  text-decoration-color: currentColor;
}
.topic-count {
  color: var(--tagit-muted);
  font-size: 0.77rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
  color: var(--tagit-muted);
  font-size: 0.89rem;
}
.crumbs a {
  color: var(--tagit-accent);
}
.secondary-heading,
.reader-heading {
  padding-block: 5px clamp(20px, 2.4vw, 35px);
}
.secondary-heading h1,
.reader-heading h1 {
  font-size: clamp(2.4rem, 4.3vw, 4.1rem);
  line-height: 1.055;
  font-weight: 800;
  letter-spacing: -0.037em;
}
.secondary-heading p,
.reader-deck {
  margin-top: 13px;
}
.reader-heading h1 {
  max-width: 31ch;
}
.reading-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 16px;
  margin-top: 12px;
}
.article-share {
  position: relative;
  flex: none;
  font-size: 0.9rem;
}
.article-share summary {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--tagit-line);
  border-radius: 24px;
  font-weight: 700;
  cursor: pointer;
}
.article-share summary::marker {
  color: var(--tagit-accent);
}
.draft-share-image {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.share-options {
  position: absolute;
  z-index: 3;
  inset-block-start: calc(100% + 4px);
  inset-inline-end: 0;
  width: min(225px, 84vw);
  padding: 6px;
  border: 1px solid var(--tagit-line);
  border-radius: 12px;
  background: var(--tagit-surface);
  color: var(--tagit-text);
  box-shadow: 0 8px 26px rgb(0 0 0 / 14%);
}
.share-options :is(a, button) {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  text-align: start;
  text-decoration: none;
}
.share-options :is(a, button):is(:hover, :focus-visible) {
  background: var(--tagit-surface-strong);
  text-decoration: underline;
}
.share-options label,
.share-options p:not(:empty) {
  display: block;
  padding: 8px 12px;
}
.share-options input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--tagit-line);
  background: var(--tagit-bg);
}
.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  color: var(--tagit-muted);
  font-size: 0.9rem;
}
.byline > :not(:first-child)::before {
  display: inline-block;
  height: 0.86em;
  width: 1px;
  margin-inline: 12px;
  background: var(--tagit-line);
  vertical-align: -1px;
  content: "";
}
.reader-figure .photo {
  aspect-ratio: 4.65;
}
.reading-layout,
.end-section {
  display: grid;
  grid-template-columns: minmax(145px, 18%) minmax(0, 64ch);
  gap: 18px clamp(24px, 4vw, 65px);
}
.reading-layout {
  padding-block: clamp(28px, 3.5vw, 54px);
}
.contents {
  align-self: start;
  border-top: 1px solid var(--tagit-line);
  font-size: 0.9rem;
}
.contents h2,
.end-section h2,
.contents summary {
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.contents h2 {
  margin: 13px 0 7px;
}
.contents a,
.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 7px;
  overflow-wrap: anywhere;
}
.contents-small {
  display: none;
}
.prose {
  grid-column: 2;
  min-width: 0;
  color: var(--tagit-text);
  font-size: clamp(1.07rem, 1.35vw, 1.18rem);
  line-height: 1.68;
  overflow-wrap: break-word;
}
.prose > :first-child {
  margin-top: 0;
}
.prose > :has(+ .article-end-marker) {
  margin-bottom: 0;
}
.article-end-marker {
  display: block;
  height: 1px;
}
.prose p,
.prose ol,
.prose ul,
.prose blockquote {
  margin-block: 0 1.15em;
}
.prose h2,
.prose h3 {
  scroll-margin-top: 1.5rem;
  letter-spacing: -0.034em;
}
.prose h2 {
  margin-block: 1.28em 0.28em;
  font-size: clamp(1.55rem, 2.1vw, 2.1rem);
  line-height: 1.2;
}
.prose h3 {
  margin-block: 1.1em 0.25em;
  font-size: 1.24em;
  line-height: 1.3;
}
.prose a {
  overflow-wrap: anywhere;
}
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
}
.prose blockquote {
  margin-inline: 0;
  padding-inline: 1em;
  border-left: 2px solid var(--tagit-line);
}
.prose pre,
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.prose td,
.prose th {
  padding: 0.4em 0.65em;
  border-bottom: 1px solid var(--tagit-line);
  text-align: start;
}
.end-section {
  align-items: start;
  padding-block: 13px;
  scroll-margin-top: 16px;
}
.end-section h2 {
  padding-block: 11px;
}
.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.format-link {
  border-top: 1px solid var(--tagit-line);
}
.related > h2 {
  margin-bottom: 16px;
}
.search-form {
  max-width: 820px;
  padding-block: 0 28px;
}
.search-form .query-box {
  padding: 4px;
}
.search-form .query-box input {
  border-radius: 0;
}
.filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}
.select-label {
  display: grid;
  flex: 1 1 150px;
  max-width: 230px;
  gap: 5px;
}
.select-label > span {
  font-size: 0.86rem;
  font-weight: 700;
}
.select-label select {
  width: 100%;
  min-height: 44px;
  padding: 8px 26px 8px 10px;
  border: 1px solid var(--tagit-muted);
  border-radius: 4px;
  background: var(--tagit-surface);
}
.clear-search,
.search-error button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.search-error {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
}
.search-error button {
  padding: 7px 14px;
  border: 1px solid var(--tagit-line);
  border-radius: 4px;
  background: var(--tagit-surface);
}
.results-heading {
  justify-content: space-between;
}
.results-heading p {
  color: var(--tagit-muted);
  font-size: 0.89rem;
}
@media (max-width: 1000px) {
  .feature-figure .photo {
    aspect-ratio: 1.75;
  }
  .archive-toolbar .type-nav {
    flex-basis: 100%;
  }
  .archive-search {
    margin-left: auto;
  }
  .reader-figure .photo {
    aspect-ratio: 3.4;
  }
}
@media (max-width: 760px) {
  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .feature-copy {
    max-width: 36rem;
    padding-bottom: 0;
  }
  .feature h2 {
    max-width: 21ch;
  }
  .feature-copy .primary-button {
    margin-top: 12px;
  }
  .feature-figure .photo {
    aspect-ratio: 2;
  }
  .reader-figure .photo {
    aspect-ratio: 2.45;
  }
  .reading-layout,
  .end-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .prose {
    grid-column: 1;
    max-width: 64ch;
  }
  .contents {
    border-block: 1px solid var(--tagit-line);
    margin-bottom: 15px;
  }
  .contents-wide {
    display: none;
  }
  .contents-small {
    display: block;
  }
  .contents-small summary {
    min-height: 44px;
    padding: 11px 0;
    font-weight: 700;
    cursor: pointer;
  }
  .contents-small ul {
    padding-bottom: 8px;
  }
  .end-section {
    gap: 0;
  }
  .end-section h2 {
    padding-block: 5px;
  }
}
@media (max-width: 600px) {
  .publication-title h1,
  .feature h2,
  .secondary-heading h1,
  .reader-heading h1,
  .story-summary h3 {
    letter-spacing: -0.03em;
  }
  .site-frame {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
  }
  .tagit-public-header nav a[href="/states"] {
    padding-inline: 17px;
  }
  .archive-toolbar {
    gap: 5px 12px;
  }
  .archive-search {
    flex-basis: 145px;
  }
  .type-nav {
    gap: 0 4px;
  }
  .type-nav a {
    padding-inline: 1px;
    font-size: 0.86rem;
  }
  .story-row {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 5px 13px;
    align-items: center;
    padding-block: 15px;
  }
  .story-summary {
    grid-column: 1;
    grid-row: 1;
  }
  .story-thumb {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 92px;
    height: 82px;
  }
  .story-summary p {
    font-size: 0.9rem;
  }
  .row-date {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.77rem;
  }
  .text-row {
    grid-template-columns: 1fr;
  }
  .feature-figure .photo,
  .reader-figure .photo {
    aspect-ratio: 1.8;
  }
  .reader-heading h1 {
    font-size: clamp(2.13rem, 8.6vw, 3rem);
  }
  .byline {
    font-size: 0.82rem;
  }
  .reading-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .share-options {
    inset-inline: 0 auto;
  }
  .byline > :not(:first-child)::before {
    margin-inline: 8px;
  }
  .filters {
    gap: 9px 12px;
  }
  .select-label {
    flex-basis: 130px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
