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

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

:root {
  --page-transition-background: #2b7fff;
  --page-transition-surface: #fef9c3;
  --page-transition-out-duration: 430ms;
  --page-transition-in-duration: 520ms;
}

::view-transition {
  background: var(--page-transition-surface);
}

@media (prefers-reduced-motion: no-preference) {
  html[data-page-transition-phase="out"] body {
    animation: retro-live-pixelate-out var(--page-transition-out-duration) steps(4, end) both;
    pointer-events: none;
  }

  ::view-transition-group(root) {
    animation-duration: var(--page-transition-in-duration);
    animation-fill-mode: both;
    animation-timing-function: steps(5, end);
    background: var(--page-transition-surface);
  }

  ::view-transition-image-pair(root) {
    background: var(--page-transition-surface);
    isolation: isolate;
    overflow: hidden;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: var(--page-transition-in-duration);
    animation-fill-mode: both;
    animation-timing-function: steps(5, end);
    backface-visibility: hidden;
    background: var(--page-transition-surface);
    image-rendering: pixelated;
    mix-blend-mode: normal;
  }

  ::view-transition-old(root) {
    animation-name: retro-pixelated-old-exit;
    z-index: 2;
  }

  ::view-transition-new(root) {
    animation-name: retro-pixelate-in;
    z-index: 1;
  }
}

@font-face {
  font-family: "Departure Mono";
  src: url(/assets/DepartureMono-Regular-41253d259e995fcba30b2c32fffa8cbe21fdcd78713afbdea262bcaecccd0f12.woff2) format("woff2"),
       url(/assets/DepartureMono-Regular-18fbdcd0572635eb13a5bd6db5ac8f5aa8eaa006885ca9b6916c909b84031e37.woff) format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blog-retro-font: "Departure Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --blog-nav-font: "Inter var", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --blog-content-width: min(100% - 2rem, 72rem);
}

html {
  background: var(--page-transition-background);
  font-family: var(--blog-retro-font);
  line-height: 1.5;
}

body {
  background: var(--page-transition-background);
  margin: 0;
}

.scroll-progress {
  display: none;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 50;
      display: block;
      width: 100%;
      height: 0.45rem;
      pointer-events: none;
      background:
        linear-gradient(
          90deg,
          #ff62a5,
          #ffd43b 42%,
          #44d7ff
        );
      border-bottom: 2px solid #050505;
      box-shadow: 0 2px 0 0 rgba(5, 5, 5, 0.28);
      transform: scaleX(0);
      transform-origin: left center;
      animation: scroll-progress linear both;
      animation-timeline: scroll(root block);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-page-transition-phase="out"] body,
  ::view-transition-old(root),
  ::view-transition-new(root),
  .scroll-progress {
    animation: none;
  }

  .scroll-progress {
    display: none !important;
  }
}

@keyframes scroll-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes retro-screen-wipe-out {
  0% {
    clip-path: inset(0);
    filter: contrast(1) saturate(1);
    transform: translate(0, 0);
  }

  45% {
    clip-path: inset(0 0 0 0);
    filter: contrast(1.65) saturate(1.5);
    transform: translate(-10px, 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
    filter: contrast(2) saturate(1.7);
    transform: translate(-34px, 0);
  }
}

@keyframes retro-screen-wipe-in {
  0% {
    clip-path: inset(0 0 0 100%);
    filter: contrast(1.8) saturate(1.5);
    transform: translate(34px, 0);
  }

  55% {
    clip-path: inset(0 0 0 12%);
    filter: contrast(1.35) saturate(1.25);
    transform: translate(8px, 0);
  }

  100% {
    clip-path: inset(0);
    filter: contrast(1) saturate(1);
    transform: translate(0, 0);
  }
}

@keyframes retro-live-pixelate-out {
  0% {
    filter: none;
  }

  24% {
    filter: url("#headway-pixelate-6") brightness(1.04) contrast(1.15) saturate(1.08);
  }

  48% {
    filter: url("#headway-pixelate-12") brightness(1.08) contrast(1.28) saturate(1.12);
  }

  72% {
    filter: url("#headway-pixelate-24") brightness(1.15) contrast(1.45) saturate(1.18);
  }

  100% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
  }
}

@keyframes retro-pixelated-old-exit {
  0% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 1;
  }

  16%,
  100% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 0;
  }
}

@keyframes retro-pixelate-in {
  0% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 1;
  }

  16% {
    filter: url("#headway-pixelate-36") brightness(1.22) contrast(1.62) saturate(1.25);
    opacity: 1;
  }

  40% {
    filter: url("#headway-pixelate-24") brightness(1.15) contrast(1.45) saturate(1.18);
    opacity: 1;
  }

  64% {
    filter: url("#headway-pixelate-12") brightness(1.08) contrast(1.28) saturate(1.12);
    opacity: 1;
  }

  84% {
    filter: url("#headway-pixelate-6") brightness(1.04) contrast(1.15) saturate(1.08);
    opacity: 1;
  }

  100% {
    filter: none;
    opacity: 1;
  }
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.blog-layout {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: hidden;
  color: #111827;
  background: #2b7fff;
}

.blog-layout > header {
  color: #fff;
  background: #2b7fff;
  border-bottom: 4px solid #000;
}

.blog-header__inner,
.blog-index,
.blog-layout footer > div {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.blog-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1rem 0.55rem;
  text-align: center;
  font-family: var(--blog-nav-font);
}

.blog-header__desktop-nav {
  --blog-header-nav-slot: 5rem;
  --blog-header-nav-content-offset: 1.125rem;
  grid-auto-flow: column;
  grid-auto-columns: var(--blog-header-nav-slot);
  align-items: start;
  gap: 0.75rem;
  justify-content: start;
  min-width: 0;
}

.blog-header__desktop-nav,
.blog-header__desktop-social {
  display: none;
}

.blog-header__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.blog-header__desktop-nav > .blog-header__link,
.blog-header__desktop-nav > .blog-header__more {
  width: var(--blog-header-nav-slot);
}

.blog-header__desktop-nav > .blog-header__link {
  min-height: 5.25rem;
  justify-content: start;
  padding-top: var(--blog-header-nav-content-offset);
  overflow-wrap: anywhere;
  white-space: normal;
}

.blog-header__icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.blog-header__icon--ruby {
  width: 4rem;
  height: 4rem;
}

.blog-header__desktop-social .blog-header__link {
  flex-direction: column;
  font-size: 0.875rem;
}

.blog-header__desktop-social .blog-header__link img {
  margin: 0;
}

.blog-header__more {
  display: none;
  position: relative;
  flex: 0 0 auto;
  text-align: left;
}

.blog-header__more-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  list-style: none;
  cursor: pointer;
  transform: translateY(0.15rem);
}

.blog-header__desktop-nav .blog-header__more-toggle {
  width: 100%;
  min-height: 5.25rem;
  justify-content: start;
  padding-top: var(--blog-header-nav-content-offset);
}

.blog-header__more-toggle::-webkit-details-marker,
.blog-header__more-toggle::marker {
  display: none;
  content: "";
}

.blog-header__more-image {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.blog-header__more-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 0.25rem;
  min-width: 15rem;
  padding: 0.5rem;
  background: #2f6df6;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 0 #000;
}

.blog-header__more-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0.3rem 0.65rem;
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  border: 2px solid transparent;
}

.blog-header__more-link--narrow-only {
  display: none;
}

.blog-header__more-link:hover,
.blog-header__more-link:focus-visible {
  color: #030712;
  background: #fefce8;
  border-color: #000;
  outline: 0;
}

.blog-header__menu {
  display: block;
  width: 100%;
  text-align: right;
}

.blog-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.25rem 0.75rem;
  gap: 0.5rem;
  color: #030712;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  background: #fde047;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 0 #000;
}

.blog-header__menu-toggle::-webkit-details-marker,
.blog-header__menu-toggle::marker {
  display: none;
  content: "";
}

.blog-header__menu-icon,
.blog-header__menu-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.blog-header__menu-icon--open,
.blog-header__menu[open] .blog-header__menu-icon--closed {
  display: none;
}

.blog-header__menu[open] .blog-header__menu-icon--open {
  display: inline-flex;
}

.blog-header__menu-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.75rem 0 0.25rem;
  text-align: left;
}

.blog-header__menu-link {
  display: flex;
  align-items: center;
  width: min(100%, 24rem);
  min-height: 3.5rem;
  margin: 0 auto;
  padding: 0.25rem 0.75rem;
  gap: 0.75rem;
  color: #fff;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  border: 2px solid transparent;
}

.blog-header__menu-link:hover,
.blog-header__menu-link:focus-visible {
  color: #030712;
  background: #fefce8;
  border-color: #000;
  outline: 0;
}

.blog-header__menu-image {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  object-fit: contain;
}

.blog-header__menu-image--ruby {
  width: 3.5rem;
  height: 3.5rem;
  flex-basis: 3.5rem;
  margin-left: -0.5rem;
}

.blog-layout main {
  flex: 1 0 auto;
  overflow-x: hidden;
  background: #fef9c3;
}

.blog-breadcrumbs {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 0.9rem 0 0;
  color: #050505;
}

.blog-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: var(--blog-retro-font);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  text-transform: uppercase;
}

.blog-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 100%;
}

.blog-breadcrumbs__separator {
  flex: 0 0 auto;
  color: #5f574f;
  font-weight: 900;
}

.blog-breadcrumbs__link,
.blog-breadcrumbs__text,
.blog-breadcrumbs__current {
  display: inline;
  max-width: 100%;
  color: inherit;
  overflow-wrap: anywhere;
}

.blog-breadcrumbs__link {
  color: #1746a2;
  text-decoration: underline;
  text-decoration-color: #050505;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

.blog-breadcrumbs__link:hover,
.blog-breadcrumbs__link:focus-visible {
  color: #050505;
  background: #ffd43b;
  outline: 2px solid #050505;
  outline-offset: 0.12rem;
}

.blog-breadcrumbs__current {
  font-weight: 900;
  background-image: linear-gradient(#ffd43b, #ffd43b);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
}

.blog-post-show__hero > .blog-breadcrumbs {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.blog-index {
  padding: 1rem;
}

.blog-index__hero {
  margin: 4rem 0;
}

.blog-index__hero h1 {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.blog-index__hero p {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
}

.blog-index__section {
  width: 100%;
}

.blog-index__section-title {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.5rem;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.2;
  background: #7e22ce;
  box-shadow: 4px 4px 0 0 #000;
  transform: rotate(-2deg);
}

.blog-index__posts {
  display: grid;
  gap: 2rem;
}

.blog-index__empty {
  margin: 0;
  padding: 1rem;
  background: #fff;
  border: 4px dashed #000;
  box-shadow: 4px 4px 0 0 #000;
}

.blog-index__empty-action {
  width: fit-content;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  border: 3px solid #000;
  background: #facc15;
  box-shadow: 3px 3px 0 #000;
  cursor: var(--public-button-cursor, pointer);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.blog-index__empty-action:hover,
.blog-index__empty-action:focus-visible {
  background: #fde047;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 #000;
}

.blog-index__empty-action:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.homepage-activity {
  margin-top: 4rem;
}

.homepage-activity__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.activity-log {
  min-width: 0;
}

.activity-log__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.activity-log__title {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.5rem;
  color: #111827;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.2;
  background: #86efac;
  box-shadow: 4px 4px 0 0 #000;
  transform: rotate(1deg);
}

.activity-log__list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-log__body {
  min-width: 0;
  padding: 1rem;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 0 #000;
}

.activity-log__topline,
.activity-log__meta,
.activity-log__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  color: #4b5563;
  font-size: 0.875rem;
}

.activity-log__topline {
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.activity-log__type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.2rem 0.625rem 0.2rem 0.3rem;
  color: #111827;
  font-size: 0.75rem;
  line-height: 1;
  background: #fde047;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 0 #000;
}

.activity-log__item--bluesky-post .activity-log__type {
  background: #67e8f9;
}

.activity-log__item--linkedin-post .activity-log__type {
  background: #c7d2fe;
}

.activity-log__icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.activity-log__source,
.activity-log__project,
.activity-log__message {
  color: #111827;
  overflow-wrap: anywhere;
}

.activity-log__source,
.activity-log__project {
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.activity-log__separator {
  color: #6b7280;
}

.activity-log__message {
  display: block;
  margin: 0.35rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.activity-log__message:hover,
.activity-log__message:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.activity-log__details span:first-child {
  font-family: var(--blog-retro-font);
  color: #111827;
}

.github-contributions {
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem;
  justify-self: start;
  color: #111827;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    #fffdf1;
  background-size: 16px 16px;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 0 #000;
}

.github-contributions__header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.github-contributions__title {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.5rem;
  color: #111827;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.2;
  background: #67e8f9;
  box-shadow: 4px 4px 0 0 #000;
  transform: rotate(-1deg);
}

.github-contributions__summary {
  margin: 0;
  color: #374151;
  font-size: 0.875rem;
}

.github-contributions__profile {
  flex: 0 0 auto;
  padding: 0.45rem 0.65rem;
  color: #111827;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  background: #fde047;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 0 #000;
}

.github-contributions__profile:hover,
.github-contributions__profile:focus-visible {
  background: #fed7aa;
  outline: 4px solid #1447e6;
  outline-offset: 3px;
}

.github-contributions__quarters {
  --github-contribution-size: 0.82rem;
  --github-contribution-gap: 0.18rem;
  display: grid;
  gap: 1rem;
  padding: 0.25rem 0 0.5rem;
}

.github-contributions__quarter {
  display: grid;
  gap: 0.4rem;
}

.github-contributions__quarter-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.github-contributions__quarter-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.12rem 0.35rem;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  background: #67e8f9;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 0 #000;
}

.github-contributions__quarter-range {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 700;
}

.github-contributions__quarter-grid {
  display: grid;
  grid-template-columns: 1rem max-content;
  align-items: start;
  gap: 0 var(--github-contribution-gap);
  width: max-content;
  max-width: 100%;
}

.github-contributions__weekday-labels,
.github-contributions__quarter-calendar {
  display: grid;
  gap: var(--github-contribution-gap);
}

.github-contributions__weekday-labels {
  grid-template-rows: repeat(7, var(--github-contribution-size));
  color: #4b5563;
  font-size: 0.68rem;
  line-height: 1;
  text-align: center;
}

.github-contributions__weekday-labels span {
  display: grid;
  align-items: center;
}

.github-contributions__quarter-calendar {
  grid-template-columns: repeat(var(--github-contribution-weeks), var(--github-contribution-size));
  grid-template-rows: repeat(7, var(--github-contribution-size));
  width: max-content;
}

.github-contributions__day {
  display: block;
  width: var(--github-contribution-size);
  height: var(--github-contribution-size);
  background: #fff8cf;
  border: 1px solid #111827;
}

.github-contributions__day--first-quartile {
  background: #bbf7d0;
}

.github-contributions__day--second-quartile {
  background: #86efac;
}

.github-contributions__day--third-quartile {
  background: #4ade80;
}

.github-contributions__day--fourth-quartile {
  background: #16a34a;
}

.github-contributions__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  color: #4b5563;
  font-size: 0.68rem;
}

.github-contributions__legend .github-contributions__day {
  --github-contribution-size: 0.62rem;
  flex: 0 0 auto;
}

.blog-post-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1rem 1rem;
  color: #111827;
  text-decoration: none;
  background: #f3f4f6;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 0 #000;
}

.blog-post-card__type {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.625rem;
  color: #111827;
  font-size: 0.75rem;
  line-height: 1;
  background: #fde047;
  border-bottom: 3px solid #000;
  border-left: 3px solid #000;
}

.blog-post-card--project .blog-post-card__type {
  background: #67e8f9;
}

.blog-post-card--book .blog-post-card__type {
  background: #86efac;
}

.blog-post-card--cheat-sheet .blog-post-card__type {
  background: #f9a8d4;
}

.blog-post-card:hover,
.blog-post-card:focus-visible {
  background: #fed7aa;
}

.blog-post-card:focus-visible {
  box-shadow: 8px 8px 0 0 #000;
  outline: 4px solid #1447e6;
  outline-offset: 4px;
}

.blog-post-card:hover {
  outline: 0;
}

.blog-post-card__content {
  padding-top: 1.25rem;
}

.blog-post-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}

.blog-post-card__summary {
  margin: 0 0 1rem;
}

.blog-post-card__tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-post-card__tag {
  padding: 0;
  color: #374151;
  font-size: 0.75rem;
}

.blog-post-card__tag::before {
  content: "#";
}

.blog-post-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 1rem;
}

.blog-post-card__date {
  color: #4b5563;
  font-size: 0.875rem;
}

.blog-post-card__image {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.related-content {
  width: var(--blog-content-width);
  margin: 3rem auto 4rem;
  padding: 1rem;
  color: #111827;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    #fffdf1;
  background-size: 20px 20px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 0 #000;
}

.related-content__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.related-content__header p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.35rem 0.6rem;
  color: #111827;
  background: #fde047;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 0 #000;
  font-size: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.related-content__header h2 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 0.95;
  text-align: right;
}

.related-content__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-content__item {
  min-width: 0;
}

.blog-post-show__hero {
  position: relative;
  display: flex;
  min-height: 42rem;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 6.5rem;
  border-bottom: 4px solid #000;
}

.blog-post-show__hero--red { background: #fca5a5; }
.blog-post-show__hero--orange { background: #fdba74; }
.blog-post-show__hero--amber { background: #fcd34d; }
.blog-post-show__hero--yellow { background: #fde047; }
.blog-post-show__hero--lime { background: #bef264; }
.blog-post-show__hero--green { background: #86efac; }
.blog-post-show__hero--emerald { background: #6ee7b7; }
.blog-post-show__hero--teal { background: #5eead4; }
.blog-post-show__hero--cyan { background: #67e8f9; }
.blog-post-show__hero--sky { background: #7dd3fc; }
.blog-post-show__hero--blue { background: #93c5fd; }
.blog-post-show__hero--indigo { background: #a5b4fc; }
.blog-post-show__hero--violet { background: #c4b5fd; }
.blog-post-show__hero--purple { background: #d8b4fe; }
.blog-post-show__hero--fuchsia { background: #f0abfc; }
.blog-post-show__hero--pink { background: #f9a8d4; }
.blog-post-show__hero--rose { background: #fda4af; }

.blog-post-show__intro {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.blog-post-show__intro h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.blog-post-show__intro p {
  margin: 1rem auto 0;
  max-width: 52rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.blog-post-show__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.blog-post-show__tags a,
.blog-post-show__tags span {
  color: inherit;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border: 2px solid #000;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.32);
}

.blog-post-show__tags a:hover,
.blog-post-show__tags a:focus-visible {
  background: rgba(255, 255, 255, 0.6);
}

.share-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.share-action--hero {
  margin-top: 2rem;
}

.share-action--toolbar {
  margin-top: 0;
  justify-content: flex-end;
}

.share-action--book {
  justify-content: flex-start;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  color: #050505;
  font-family: var(--blog-retro-font);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: #fffdf1;
  border: 4px solid #050505;
  box-shadow: 3px 3px 0 0 #050505;
  cursor: var(--public-button-cursor, pointer);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  appearance: none;
}

.share-button::before {
  content: ">>";
  font-weight: 900;
}

.share-button:hover,
.share-button:focus-visible {
  background: #ffd43b;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 #050505;
}

.share-button:focus-visible {
  outline: 4px solid #2f6df6;
  outline-offset: 4px;
}

.share-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

.share-button[data-share-state="copied"] {
  background: #21c66a;
}

.share-action__fallback {
  flex: 1 0 100%;
  margin: 0;
  color: #111827;
  font-family: var(--blog-retro-font);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.share-action--toolbar .share-action__fallback {
  text-align: right;
}

.share-action__fallback a {
  color: inherit;
  cursor: var(--public-button-cursor, pointer);
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
  .blog-index__empty-action,
  .share-button {
    transition: none;
  }

  .blog-index__empty-action:hover,
  .blog-index__empty-action:focus-visible,
  .share-button:hover,
  .share-button:focus-visible {
    transform: none;
  }
}

.blog-post-show__meta {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.blog-post-show__meta time {
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
}

.blog-post-show__image {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  transform: rotate(12deg);
}

.blog-post-show__body {
  display: grid;
  width: var(--blog-content-width);
  margin: 2rem auto;
  gap: 2rem;
}

.blog-post {
  min-width: 0;
}

.blog-post article {
  padding: 1.25rem;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post p,
.blog-post li {
  font-size: 1.125rem;
  line-height: 1.75;
}

.blog-post p,
.blog-post ul,
.blog-post ol,
.blog-post pre,
.blog-post blockquote,
.blog-post hr {
  margin: 0 0 1.5rem;
}

.blog-post h2,
.blog-post h3,
.blog-post h4,
.blog-post h5,
.blog-post h6 {
  margin: 2rem 0 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.blog-post h2 {
  font-size: 1.875rem;
}

.blog-post h3 {
  font-size: 1.5rem;
}

.blog-post h4,
.blog-post h5,
.blog-post h6 {
  font-size: 1.25rem;
}

.blog-post a {
  color: #1447e6;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.125em;
  text-underline-offset: 0.18em;
}

.blog-post code {
  padding: 0.1rem 0.25rem;
  color: #fff;
  background: #111827;
}

.blog-post pre {
  overflow-x: auto;
  padding: 1rem;
  color: #fff;
  background: #000;
  border: 2px solid #000;
}

.blog-post pre code {
  padding: 0;
  background: transparent;
}

.blog-post ul,
.blog-post ol {
  padding-left: 1.5rem;
}

.blog-post ul {
  list-style: square;
}

.blog-post li {
  margin-bottom: 0.5rem;
}

.blog-post blockquote {
  padding-left: 1rem;
  border-left: 4px solid #1447e6;
}

.blog-post > article > :first-child {
  margin-top: 0;
}

.blog-post > article > :last-child {
  margin-bottom: 0;
}

.retro-callout {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.retro-callout img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  transform: scaleX(-1);
}

.retro-callout p {
  position: relative;
  margin: 0;
  padding: 1rem;
  color: #111827;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 0 #000;
  font-weight: 700;
}

.blog-layout footer {
  padding: 1rem;
  color: #fff;
  background: #1447e6;
  border-top: 4px solid #000;
}

.blog-layout footer > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.blog-layout footer img {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
  transform: rotate(12deg);
}

.blog-layout footer > div {
  flex-wrap: wrap;
}

.blog-layout footer > div > * + * {
  margin-left: 0 !important;
}

.blog-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.blog-footer__copy {
  display: grid;
  gap: 0.4rem;
}

.blog-footer__copy p {
  margin: 0;
}

.blog-footer__link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.blog-footer__link:hover,
.blog-footer__link:focus-visible {
  color: #ffd43b;
}

.footer-analytics {
  flex: 1 1 30rem;
  max-width: 44rem;
  color: #050505;
  text-align: left;
  background: #fffdf1;
  border: 4px solid #050505;
  box-shadow: 4px 4px 0 0 #050505;
}

.footer-analytics__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0.75rem;
  color: #fff;
  font-family: var(--blog-retro-font);
  text-transform: uppercase;
  background: #050505;
}

.footer-analytics__link {
  color: #ffd43b;
  font-size: 0.8rem;
  font-weight: 800;
}

.footer-analytics__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
}

.footer-analytics__stat {
  display: inline-flex;
  flex: 1 1 8rem;
  flex-direction: column;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  background: #fff8cf;
  border: 3px solid #050505;
}

.footer-analytics__stat--wide {
  flex-basis: 12rem;
}

.footer-analytics__stat strong {
  font-size: 1.05rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.footer-analytics__stat span {
  font-family: var(--blog-retro-font);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.sitemap-page {
  width: min(100% - 2rem, 58rem);
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
  color: #050505;
}

.sitemap-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 3px solid #050505;
}

.sitemap-kicker {
  margin: 0 0 0.75rem;
  color: #050505;
  font-family: var(--blog-retro-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sitemap-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 900;
  line-height: 1;
}

.sitemap-hero p:not(.sitemap-kicker) {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.sitemap-outline {
  max-width: 48rem;
}

.sitemap-outline h2,
.sitemap-outline h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.2;
}

.sitemap-outline h2 {
  font-size: 1.55rem;
}

.sitemap-outline h3 {
  font-size: 1.35rem;
}

.sitemap-outline p {
  max-width: 42rem;
  margin: 0.35rem 0 0;
  color: #374151;
  line-height: 1.5;
}

.sitemap-outline a {
  color: #1746a2;
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.sitemap-outline a:hover,
.sitemap-outline a:focus-visible {
  color: #9f1239;
}

.sitemap-sections {
  margin-top: 2rem;
  padding-left: 1.25rem;
}

.sitemap-section {
  margin-top: 2rem;
}

.sitemap-section:first-child {
  margin-top: 0;
}

.sitemap-link-list {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
  margin: 0.85rem 0 0;
  padding-left: 1.4rem;
  list-style: disc;
}

.sitemap-link-list p {
  margin: 0;
}

.sitemap-link-description {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

@media (min-width: 48rem) {
  :root {
    --blog-content-width: min(100% - 4rem, 72rem);
  }

  .blog-header__inner,
  .blog-index {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .blog-index__posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-post-show__hero {
    min-height: 44rem;
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .blog-post-show__intro h1 {
    font-size: 3.75rem;
  }

  .blog-post-show__intro p {
    font-size: 1.5rem;
  }

  .blog-post-show__tags a,
  .blog-post-show__tags span {
    font-size: 1.125rem;
  }

  .blog-post-show__meta {
    right: 2rem;
    left: 2rem;
  }

  .share-button {
    font-size: 0.95rem;
  }

  .blog-post article {
    padding: 2rem;
  }

  .related-content {
    padding: 1.25rem;
  }
}

@media (min-width: 64rem) {
  .blog-index__posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .github-contributions__quarters {
    --github-contribution-size: 0.95rem;
    --github-contribution-gap: 0.2rem;
  }

  .homepage-activity__grid--split {
    grid-template-columns: minmax(22rem, 0.95fr) minmax(0, 1.05fr);
  }

  .blog-post-show__intro h1 {
    font-size: 4.5rem;
  }

  .blog-post-show__intro p {
    font-size: 1.875rem;
  }

  .blog-post-show__body {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .blog-post-show__callout {
    grid-column: 1;
    width: min(100%, 18rem);
  }

  .blog-post {
    grid-column: 1;
  }

  .blog-post-show__body > .blog-post:first-child {
    grid-column: 1;
  }
}

@media (max-width: 64rem) {
  .related-content__header {
    display: grid;
    align-items: start;
  }

  .related-content__header h2 {
    text-align: left;
  }

  .blog-breadcrumbs {
    width: min(100% - 1.25rem, 72rem);
    padding-top: 0.7rem;
  }

  .blog-breadcrumbs__list {
    gap: 0.25rem 0.45rem;
    font-size: 0.74rem;
  }

  .blog-breadcrumbs__item {
    gap: 0.45rem;
  }

  .related-content__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 30rem) {
  .activity-log__title {
    font-size: 1.5rem;
  }
}

@media (min-width: 42.001rem) {
  .blog-header__desktop-nav {
    display: grid;
  }

  .blog-header__desktop-social {
    display: flex;
    align-items: center;
  }

  .blog-header__desktop-social {
    gap: 1rem;
  }

  .blog-header__menu {
    display: none;
  }
}

@media (max-width: 64rem) {
  .blog-layout footer > div {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .blog-footer__brand {
    flex-wrap: wrap;
  }

  .footer-analytics {
    flex-basis: auto;
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 42.001rem) and (max-width: 68rem) {
  .blog-header__more {
    display: block;
  }

  .blog-header__link--more-collapse {
    display: none;
  }
}

@media (min-width: 42.001rem) and (max-width: 54rem) {
  .blog-header__link--narrow-collapse {
    display: none;
  }

  .blog-header__more-link--narrow-only {
    display: flex;
  }
}

@media (min-width: 68.001rem) {
  .blog-header__desktop-nav {
    display: grid;
  }

  .blog-header__desktop-social {
    display: flex;
    align-items: center;
  }

  .blog-header__menu {
    display: none;
  }
}

@media (min-width: 96rem) {
  .blog-header__inner {
    max-width: 96rem;
  }
}
