/* ==========================================================================
   The Ledger — CryptKeeper.AI
   Ink, Parchment, Crypt Lime. Cormorant Garamond display, DM Sans everything.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e141f;
  --parchment: #eae3d2;
  --lime: #b7ed62;
  --verdigris: #35b8ae;
  --pine: #143b38;
  --deep-verdigris: #0e5f5a;
  --lichen: #4a6b22;
  --slate: #56615d;
  --muted: #9fb2b0;
  --parchment-deep: #dcd5c2;
  --surface: #131c26;
  --raised: #1a2630;
  --line: #2c3b42;
  --ember: #9b3a2a;
  --ember-light: #f0b4a6;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;

  --shell: 1200px;
  --measure: 660px;
  --gutter: 32px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 28px;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--deep-verdigris);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

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

.masthead :focus-visible,
.colophon :focus-visible,
.hero :focus-visible,
.invitation :focus-visible,
.post-cta :focus-visible {
  outline-color: var(--lime);
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.shell-narrow {
  width: 100%;
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  background: var(--ink);
  color: var(--parchment);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-key {
  display: block;
  width: 28px;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 29px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--parchment);
}

.wordmark .dot {
  color: var(--lime);
}

.descriptor {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.nav a:hover {
  color: var(--parchment);
  border-bottom-color: var(--lime);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(234, 227, 210, 0.35);
  border-radius: 2px;
  color: var(--parchment);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}

.cta-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: var(--ink);
  color: var(--parchment);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 48px;
  padding-top: 84px;
  padding-bottom: 72px;
  position: relative;
}

.hero-eyebrow {
  color: var(--muted);
  margin: 0 0 22px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(64px, 10vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--parchment);
}

.hero-dek {
  max-width: 30em;
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 30px;
  color: #cfc9ba;
}

.hero-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-mark {
  justify-self: end;
  opacity: 0.5;
  padding-bottom: 8px;
}

.hero-mark img {
  display: block;
  width: 220px;
  height: 220px;
}

/* --------------------------------------------------------------------------
   Feature
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--parchment-deep);
}

.feature-folio {
  padding-top: 8px;
  color: var(--slate);
}

.feature-cat {
  margin: 0 0 14px;
  color: var(--lichen);
}

.feature-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 20em;
}

.feature-title a {
  color: var(--ink);
  text-decoration: none;
}

.feature-title a:hover {
  color: var(--deep-verdigris);
}

.feature-dek {
  max-width: 34em;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 30px;
  color: var(--slate);
}

.meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.meta .label {
  color: var(--slate);
}

.read-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.read-link:hover {
  color: var(--deep-verdigris);
  border-bottom-color: var(--deep-verdigris);
}

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */

.archive {
  padding: 56px 0 24px;
}

.archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.archive-count {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--parchment-deep);
}

.filter {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  margin: 0;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  cursor: pointer;
  transition: color 140ms var(--ease), border-color 140ms var(--ease);
}

.filter:hover {
  color: var(--ink);
}

.filter[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.entries {
  display: block;
}

.entry {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0 32px;
  border-bottom: 1px solid var(--parchment-deep);
}

.entry[hidden] {
  display: none;
}

.entry-folio {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--slate);
  padding-top: 2px;
}

.entry-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
  max-width: 24em;
}

.entry-title a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--lichen), var(--lichen));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 220ms var(--ease), color 160ms var(--ease);
}

.entry-title a:hover {
  color: var(--deep-verdigris);
  background-size: 100% 1px;
}

.entry-dek {
  max-width: 40em;
  margin: 0;
  font-size: 17px;
  line-height: 27px;
  color: var(--slate);
}

.filter-empty,
.empty {
  padding: 32px 0;
  color: var(--slate);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Invitation
   -------------------------------------------------------------------------- */

.invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--ink);
  color: var(--parchment);
  padding: 52px 56px;
  margin: 56px 0 80px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.invitation::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.invitation-copy {
  max-width: 44em;
}

.invitation .label {
  color: var(--muted);
  margin: 0 0 14px;
}

.invitation-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.invitation-dek {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #cfc9ba;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 160ms var(--ease);
}

.cta:hover {
  filter: brightness(1.07);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Article
   -------------------------------------------------------------------------- */

.post-head {
  padding-top: 72px;
  padding-bottom: 36px;
}

.post-cat {
  margin: 0 0 20px;
}

.post-cat a {
  color: var(--lichen);
  text-decoration: none;
}

.post-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  max-width: 18em;
}

.post-dek {
  font-size: 21px;
  line-height: 32px;
  color: var(--slate);
  max-width: 32em;
  margin: 0 0 28px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
  border-top: 1px solid var(--parchment-deep);
  padding-top: 16px;
}

.byline-mark img {
  display: block;
  width: 13px;
  height: auto;
}

.post-body {
  padding-top: 8px;
  padding-bottom: 8px;
}

.post-body > * {
  max-width: var(--measure);
}

.post-body p {
  margin: 0 0 24px;
}

.post-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 76px;
  line-height: 0.78;
  padding: 8px 10px 0 0;
  color: var(--ink);
}

.post-body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 52px 0 16px;
  scroll-margin-top: 24px;
}

.post-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  margin: 36px 0 12px;
  scroll-margin-top: 24px;
}

.post-body .anchor {
  float: left;
  margin-left: -0.72em;
  width: 0.72em;
  color: var(--parchment-deep);
  text-decoration: none;
  font-family: var(--body);
  font-weight: 400;
  opacity: 0;
  transition: opacity 140ms var(--ease);
}

.post-body h2:hover .anchor,
.post-body h3:hover .anchor,
.post-body .anchor:focus {
  opacity: 1;
  color: var(--lichen);
}

.post-body ul,
.post-body ol {
  margin: 0 0 26px;
  padding-left: 1.2em;
}

.post-body li {
  margin-bottom: 10px;
}

.post-body li::marker {
  color: var(--lichen);
}

.post-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--lime);
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.post-body blockquote p {
  margin: 0 0 12px;
}

.post-body blockquote p:last-child {
  margin: 0;
}

.post-body blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--body);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 32px;
  font-size: 15px;
  line-height: 23px;
}

.post-body th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--ink);
  padding: 0 14px 10px 0;
}

.post-body td {
  border-bottom: 1px solid var(--parchment-deep);
  padding: 12px 14px 12px 0;
  vertical-align: top;
}

.post-body code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(14, 20, 31, 0.06);
  padding: 0.1em 0.32em;
  border-radius: 2px;
}

.post-body pre {
  background: var(--ink);
  color: var(--parchment);
  padding: 20px 22px;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: 2px;
}

.post-body pre code {
  background: none;
  padding: 0;
  font-size: 13px;
  line-height: 22px;
}

.post-body hr {
  border: 0;
  border-top: 1px solid var(--parchment-deep);
  margin: 40px 0;
}

.post-body a {
  color: var(--deep-verdigris);
}

.cite {
  font-size: 0.62em;
  line-height: 0;
  vertical-align: super;
}

.cite a {
  color: var(--lichen);
  text-decoration: none;
  font-weight: 600;
  padding: 0 2px;
}

.sources {
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin: 48px auto 0;
  padding: 28px var(--gutter) 0;
  border-top: 1px solid var(--ink);
}

.sources-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 16px;
}

.source-list {
  margin: 0 0 14px;
  padding-left: 1.4em;
  font-size: 14px;
  line-height: 22px;
}

.source-list li {
  margin-bottom: 10px;
  color: var(--slate);
}

.source-list a {
  color: var(--deep-verdigris);
  overflow-wrap: anywhere;
}

.source-note {
  font-size: 12px;
  line-height: 20px;
  color: var(--slate);
  margin: 0;
}

.post-disclaimer {
  margin-top: 40px;
}

.post-disclaimer p {
  border-left: 2px solid var(--lichen);
  background: rgba(220, 213, 194, 0.5);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 23px;
  color: var(--slate);
  margin: 0;
}

.post-disclaimer strong {
  color: var(--ink);
}

.post-cta {
  background: var(--ink);
  color: var(--parchment);
  margin-top: 64px;
  padding: 48px 0;
}

.post-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.post-cta .label {
  color: var(--muted);
  margin: 0 0 10px;
}

.post-cta-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 0 72px;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.pager a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  border-top: 1px solid var(--parchment-deep);
  padding-top: 14px;
}

.pager a:hover {
  color: var(--deep-verdigris);
}

.pager-next {
  text-align: right;
  align-items: flex-end;
}

.pager .label {
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   Static pages
   -------------------------------------------------------------------------- */

.page-head {
  padding: 76px 0 40px;
  border-bottom: 1px solid var(--parchment-deep);
}

.page-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 16px 0 18px;
}

.page-dek {
  font-size: 20px;
  line-height: 31px;
  color: var(--slate);
  max-width: 34em;
  margin: 0;
}

.page-body {
  padding-top: 52px;
  padding-bottom: 80px;
}

.standards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 64px;
  align-items: start;
}

.standards-main h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.15;
  margin: 40px 0 12px;
}

.standards-main h2:first-child {
  margin-top: 0;
}

.standards-main p {
  margin: 0 0 20px;
  max-width: var(--measure);
}

.standards-aside {
  position: sticky;
  top: 28px;
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(0.15);
}

.caption {
  margin: 10px 0 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.aside-note {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.aside-note p:last-child {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  margin: 10px 0 0;
}

/* --------------------------------------------------------------------------
   Colophon
   -------------------------------------------------------------------------- */

.colophon {
  background: var(--ink);
  color: var(--muted);
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
}

.colophon-inner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.seal {
  opacity: 0.5;
}

.wordmark-sm {
  font-size: 24px;
  margin: 0 0 8px;
}

.colophon-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--parchment);
  margin: 0 0 18px;
}

.colophon-small {
  max-width: 62em;
  font-size: 12px;
  line-height: 20px;
  margin: 0 0 10px;
}

.colophon a {
  color: var(--muted);
  text-decoration-color: var(--line);
}

.colophon a:hover {
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Progress hairline
   -------------------------------------------------------------------------- */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 50;
  background: transparent;
  pointer-events: none;
  display: none;
}

body.post .progress {
  display: block;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  transition: width 80ms linear;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --gutter: 22px;
  }

  .masthead-inner {
    flex-wrap: wrap;
    gap: 14px 20px;
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: 0;
  }

  .brand {
    margin-right: auto;
  }

  .cta-ghost {
    order: 2;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 22px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 56px;
    padding-bottom: 48px;
    gap: 24px;
  }

  .hero-mark {
    display: none;
  }

  .hero-dek {
    font-size: 17px;
    line-height: 27px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 40px;
  }

  .feature-folio {
    padding-top: 0;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 0;
  }

  .entry-folio {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .entry-title {
    font-size: 26px;
  }

  .invitation {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 28px;
    margin-bottom: 56px;
  }

  .post-head {
    padding-top: 48px;
  }

  .post-body > p:first-of-type::first-letter {
    font-size: 62px;
  }

  .post-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .pager {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 56px;
  }

  .pager-next {
    text-align: left;
    align-items: flex-start;
  }

  .standards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .standards-aside {
    position: static;
    max-width: 320px;
  }

  .colophon-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .cta-ghost {
    display: none;
  }

  .archive-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .filters {
    gap: 4px 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .masthead,
  .colophon,
  .post-cta,
  .pager,
  .progress,
  .filters,
  .invitation {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .post-head,
  .post-body,
  .sources,
  .post-disclaimer {
    max-width: none;
    padding: 0;
  }

  .post-title {
    font-size: 28pt;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  .source-list a::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #444;
  }
}
