/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@import 'fonts';
@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: normal;
  font-style: normal;
}
.globe-screen {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
    radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.45), rgba(17, 24, 39, 0) 58%),
    #111827;
  background-size: 22px 22px, 22px 22px, auto, auto;
  cursor: grab;
  image-rendering: pixelated;
}

.globe-screen:active {
  cursor: grabbing;
}

.globe-screen.is-pin-hovering:not(:active),
.globe-screen.is-pin-hovering:not(:active) .globe-canvas {
  cursor: var(--globe-pin-cursor, pointer);
}

.globe-screen::before,
.globe-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.globe-screen::before {
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.07) 2px,
    transparent 2px,
    transparent 7px
  );
  mix-blend-mode: screen;
  opacity: 0.35;
}

.globe-screen::after {
  border: 8px solid rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 4px rgba(250, 204, 21, 0.2);
}

.globe-canvas {
  display: block;
  height: 100%;
  image-rendering: pixelated;
  position: relative;
  width: 100%;
  z-index: 1;
}

.globe-pin-row.is-selected {
  background-color: #f9a8d4;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 #000;
}

.globe-pin-row--visited.is-selected {
  background-color: #67e8f9;
}

.globe-pin-type-input:checked + .globe-pin-type-card {
  box-shadow: 6px 6px 0 0 #000;
  transform: translate(-2px, -2px);
}

.globe-pin-type-input:checked + .globe-pin-type-card--lived {
  background-color: #f9a8d4;
}

.globe-pin-type-input:checked + .globe-pin-type-card--visited {
  background-color: #67e8f9;
}

.globe-pin-type-input:focus-visible + .globe-pin-type-card {
  outline: 4px solid #1d4ed8;
  outline-offset: 4px;
}
/*
 * Tailwind-generated builds expect inter-font.css to exist so the layout can load Inter.
 * Using a fallback import keeps system specs from failing when the file is missing.
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@view-transition {
  navigation: auto;
}

.blog-post article {
  background-color: white;
  padding: 2rem;
  border-width: 4px;
  border-color: black;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.75rem;
}

.blog-post h2,
.blog-post h3 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.blog-post pre {
  font-size: 0.875rem;
  overflow-x: auto;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-width: 2px;
  border-color: black;
  background-color: black;
  color: white;
}

.blog-post ul,
.blog-post ol {
  list-style-type: square;
  list-style-position: inside;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

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

:root {
  --retro-ink: #050505;
  --retro-paper: #fff1a8;
  --retro-paper-light: #fff8cf;
  --retro-white: #fffdf1;
  --retro-blue: #2f6df6;
  --retro-yellow: #ffd43b;
  --retro-green: #21c66a;
  --retro-pink: #ff62a5;
  --retro-cyan: #44d7ff;
  --retro-red: #ff5a5f;
  --retro-muted: #5f574f;
  --retro-border-sm: 2px;
  --retro-border-md: 3px;
  --retro-border-lg: 4px;
  --retro-shadow-sm: 3px 3px 0 0 var(--retro-ink);
  --retro-shadow-md: 6px 6px 0 0 var(--retro-ink);
  --retro-shadow-lg: 10px 10px 0 0 var(--retro-ink);
  --retro-space-1: 0.25rem;
  --retro-space-2: 0.5rem;
  --retro-space-3: 0.75rem;
  --retro-space-4: 1rem;
  --retro-space-5: 1.25rem;
  --retro-space-6: 1.5rem;
  --retro-space-8: 2rem;
  --retro-space-10: 2.5rem;
  --retro-space-12: 3rem;
  --retro-motion-fast: 120ms;
  --retro-motion-default: 180ms;
  --retro-motion-slow: 420ms;
}

.blog-header__inner {
  position: relative;
}

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

.blog-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin-left: auto;
  padding: 0.35rem 0.8rem;
  color: var(--retro-ink);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  background: var(--retro-yellow);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

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

.blog-header__menu-icon {
  display: inline-flex;
  align-items: center;
}

.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.35rem;
  padding: 0.85rem 0 0.35rem;
  text-align: left;
}

.blog-header__menu-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(100%, 24rem);
  min-height: 3.4rem;
  margin: 0 auto;
  padding: 0.35rem 0.85rem;
  color: white;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  border: 2px solid transparent;
}

.blog-header__menu-link:hover,
.blog-header__menu-link:focus-visible {
  color: var(--retro-ink);
  background: var(--retro-paper-light);
  border-color: var(--retro-ink);
  outline: none;
}

.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;
}

.retro-panel,
.retro-card {
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.retro-panel {
  padding: var(--retro-space-5);
}

.retro-panel--muted {
  background: #f0f0e5;
}

.retro-card {
  position: relative;
  padding: var(--retro-space-5);
  transition:
    transform var(--retro-motion-default) ease,
    box-shadow var(--retro-motion-default) ease;
}

.retro-card:hover,
.retro-card:focus-within {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 0 var(--retro-ink);
}

.retro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 0.95rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform var(--retro-motion-fast) ease,
    box-shadow var(--retro-motion-fast) ease,
    background-color var(--retro-motion-fast) ease;
}

.retro-button:hover,
.retro-button:focus {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--retro-ink);
  outline: 0;
}

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

.retro-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.retro-button--primary {
  background: var(--retro-yellow);
}

.retro-button--success {
  background: var(--retro-green);
}

.retro-button--danger {
  background: var(--retro-red);
}

.retro-button--small {
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-width: var(--retro-border-sm);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-size: 0.75rem;
}

.retro-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.25rem 0.5rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.retro-chip--blue {
  background: var(--retro-cyan);
}

.retro-chip--green {
  background: var(--retro-green);
}

.retro-chip--pink {
  background: var(--retro-pink);
}

.retro-input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font: inherit;
}

.retro-input:focus {
  outline: var(--retro-border-lg) solid var(--retro-blue);
  outline-offset: 3px;
}

.retro-table-wrap {
  overflow-x: auto;
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.retro-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.retro-table th,
.retro-table td {
  padding: 0.85rem 1rem;
  border-bottom: var(--retro-border-md) solid var(--retro-ink);
  text-align: left;
  vertical-align: middle;
}

.retro-table th {
  background: #f5f5eb;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.retro-table tr:last-child td {
  border-bottom: 0;
}

.retro-table tbody tr:hover {
  background: #fff4b7;
}

.retro-meter {
  color: var(--retro-ink);
  font-family: var(--font-mono);
}

.retro-meter span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.retro-meter div {
  height: 1.2rem;
  background: var(--retro-ink);
  border: var(--retro-border-md) solid var(--retro-ink);
}

.retro-meter i {
  display: block;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      var(--retro-green) 0,
      var(--retro-green) 12px,
      #97ff5d 12px,
      #97ff5d 16px
    );
}

.retro-meter--pink i {
  background:
    repeating-linear-gradient(
      90deg,
      var(--retro-pink) 0,
      var(--retro-pink) 12px,
      #ffc1dc 12px,
      #ffc1dc 16px
    );
}

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

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

.retro-callout p {
  position: relative;
  margin: 0;
  padding: var(--retro-space-4);
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-weight: 700;
}

.retro-flash {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: start;
  padding: var(--retro-space-4);
  padding-right: var(--retro-space-12);
  color: var(--retro-ink);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.retro-flash strong,
.retro-flash span {
  grid-column: 1;
}

.retro-flash button {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--retro-white);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
  font-family: var(--font-mono);
  font-weight: 700;
}

.retro-flash--success {
  background: #baf7c8;
}

.retro-flash--danger {
  background: #ffb3b5;
}

.retro-boot-log {
  padding: var(--retro-space-4);
  color: #eaffef;
  background: #101818;
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.retro-boot-log p {
  margin: 0;
  line-height: 1.55;
}

.retro-empty {
  display: grid;
  gap: var(--retro-space-3);
  justify-items: center;
  padding: var(--retro-space-8);
  text-align: center;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-lg) dashed var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
}

.retro-empty img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.retro-empty h3,
.retro-empty p {
  margin: 0;
}

.retro-empty h3 {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.retro-list {
  display: grid;
  gap: var(--retro-space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.retro-list li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: var(--retro-space-2);
  align-items: start;
}

.retro-list li::before {
  content: ">";
  font-family: var(--font-mono);
  font-weight: 700;
}

.retro-list--ordered {
  counter-reset: retro-list;
}

.retro-list--ordered li {
  counter-increment: retro-list;
}

.retro-list--ordered li::before {
  content: counter(retro-list, decimal-leading-zero);
}

.design-system-page {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  color: var(--retro-ink);
  background-color: var(--retro-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px);
  background-size: 32px 32px;
}

.design-system-page code {
  padding: 0.1rem 0.25rem;
  color: var(--retro-ink);
  background: rgba(255, 255, 255, 0.72);
  border: var(--retro-border-sm) solid var(--retro-ink);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.design-system-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem);
  gap: var(--retro-space-8);
  align-items: center;
  padding: 4rem;
  background: var(--retro-yellow);
  border-bottom: var(--retro-border-lg) solid var(--retro-ink);
}

.design-system-hero__copy {
  max-width: 48rem;
}

.design-system-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow:
    5px 5px 0 var(--retro-white),
    10px 10px 0 var(--retro-pink);
}

.design-system-hero__copy > p {
  max-width: 43rem;
  margin: var(--retro-space-6) 0 0;
  font-size: 1.28rem;
  line-height: 1.55;
}

.design-system-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-3);
  margin-top: var(--retro-space-6);
}

.design-system-hero__meta span {
  padding: 0.4rem 0.6rem;
  color: var(--retro-ink);
  background: var(--retro-white);
  border: var(--retro-border-md) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-cabinet {
  padding: 0.8rem;
  background: #141414;
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-lg);
  transform: rotate(1.25deg);
}

.design-system-cabinet__screen {
  position: relative;
  overflow: hidden;
  min-height: 26rem;
  padding: var(--retro-space-5);
  color: var(--retro-white);
  background: #12233d;
  border: var(--retro-border-lg) solid var(--retro-ink);
}

.design-system-cabinet__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 6px
    );
  animation: design-system-scan 5s linear infinite;
}

.design-system-cabinet .retro-meter,
.design-system-cabinet .retro-boot-log,
.design-system-player {
  position: relative;
  z-index: 1;
}

.design-system-cabinet .retro-meter {
  margin-top: var(--retro-space-5);
  color: var(--retro-white);
}

.design-system-cabinet .retro-meter span {
  color: var(--retro-yellow);
}

.design-system-player {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: var(--retro-space-4);
  align-items: center;
}

.design-system-player__portrait {
  width: 6rem;
  height: 6rem;
  padding: 0.5rem;
  overflow: hidden;
  background: var(--retro-cyan);
  border: var(--retro-border-lg) solid var(--retro-white);
  box-shadow: var(--retro-shadow-sm);
}

.design-system-player__portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-system-player__label,
.design-system-player__name {
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.design-system-player__label {
  color: var(--retro-yellow);
  font-size: 0.78rem;
  font-weight: 700;
}

.design-system-player__name {
  margin-top: var(--retro-space-1);
  color: var(--retro-white);
  font-size: 2.1rem;
  line-height: 1;
}

.design-system-shell {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: var(--retro-space-8);
  max-width: 88rem;
  margin: 0 auto;
  padding: var(--retro-space-8) var(--retro-space-6) var(--retro-space-12);
}

.design-system-nav {
  position: sticky;
  top: var(--retro-space-4);
  align-self: start;
  display: grid;
  gap: var(--retro-space-5);
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-md);
  font-family: var(--font-mono);
}

.design-system-nav p {
  margin: 0 0 var(--retro-space-2);
  color: var(--retro-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-nav a {
  display: block;
  padding: 0.25rem 0;
  color: var(--retro-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.design-system-nav a:hover,
.design-system-nav a:focus {
  color: var(--retro-white);
  background: var(--retro-ink);
  outline: 0;
}

.design-system-content {
  min-width: 0;
}

.design-system-section {
  padding: var(--retro-space-8) 0;
  border-top: var(--retro-border-lg) solid var(--retro-ink);
}

.design-system-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.design-system-section__header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-3);
  align-items: baseline;
  margin-bottom: var(--retro-space-4);
  font-family: var(--font-mono);
}

.design-system-section__header > span {
  color: var(--retro-blue);
  font-weight: 700;
}

.design-system-section h2,
.design-system-section h3 {
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.design-system-section h2 {
  font-size: 2.6rem;
  line-height: 1;
}

.design-system-section > p {
  max-width: 56rem;
  margin: 0 0 var(--retro-space-6);
  font-size: 1.08rem;
  line-height: 1.6;
}

.design-system-type-grid,
.design-system-swatches,
.design-system-border-grid,
.design-system-motion-grid,
.design-system-control-row,
.design-system-feedback-grid,
.design-system-loading-grid,
.design-system-voice-grid {
  display: grid;
  gap: var(--retro-space-4);
}

.design-system-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-type-grid > div {
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.design-system-type-grid span,
.design-system-type-grid p {
  display: block;
  margin: 0;
  color: var(--retro-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.design-system-type-grid strong {
  display: block;
  margin: var(--retro-space-2) 0;
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.design-system-swatches {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.design-system-swatch {
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--retro-space-4);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
}

.design-system-swatch span {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-swatch--ink {
  color: var(--retro-white);
  background: var(--retro-ink);
}

.design-system-swatch--paper {
  background: var(--retro-paper);
}

.design-system-swatch--blue {
  color: var(--retro-white);
  background: var(--retro-blue);
}

.design-system-swatch--yellow {
  background: var(--retro-yellow);
}

.design-system-swatch--green {
  background: var(--retro-green);
}

.design-system-swatch--pink {
  background: var(--retro-pink);
}

.design-system-swatch--cyan {
  background: var(--retro-cyan);
}

.design-system-swatch--red {
  background: var(--retro-red);
}

.design-system-space-list {
  display: grid;
  gap: var(--retro-space-3);
}

.design-system-space-list div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) 4rem;
  gap: var(--retro-space-3);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-space-list i {
  display: block;
  height: 1.35rem;
  min-width: 0.25rem;
  background: var(--retro-blue);
  border: var(--retro-border-sm) solid var(--retro-ink);
  box-shadow: 2px 2px 0 0 var(--retro-ink);
}

.design-system-border-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-border-sample {
  display: grid;
  min-height: 8rem;
  place-items: center;
  padding: var(--retro-space-4);
  background: var(--retro-paper-light);
  border: var(--retro-border-lg) dashed var(--retro-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.design-system-motion-grid {
  grid-template-columns: auto 4rem minmax(14rem, 1fr);
  align-items: center;
}

.design-system-blink {
  width: 2rem;
  height: 2rem;
  background: var(--retro-pink);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  animation: design-system-blink 1s steps(2, start) infinite;
}

.design-system-sprite-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--retro-space-4);
}

.design-system-sprite-grid div {
  display: grid;
  gap: var(--retro-space-2);
  justify-items: center;
  padding: var(--retro-space-4);
  background: var(--retro-white);
  border: var(--retro-border-lg) solid var(--retro-ink);
  box-shadow: var(--retro-shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-sprite-grid img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.design-system-control-row {
  grid-template-columns: repeat(5, minmax(0, max-content));
  align-items: center;
}

.design-system-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--retro-space-5);
}

.design-system-form label {
  display: grid;
  gap: var(--retro-space-2);
  font-weight: 700;
}

.design-system-form label span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.design-system-link-copy a {
  color: var(--retro-ink);
  font-weight: 700;
  text-decoration-color: var(--retro-ink);
  text-decoration-style: dashed;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22rem;
}

.design-system-link-copy a:hover,
.design-system-link-copy a:focus {
  color: var(--retro-white);
  background: var(--retro-ink);
  outline: 0;
  text-decoration-style: solid;
}

.design-system-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--retro-space-2);
}

.design-system-list-grid,
.design-system-meter-stack,
.design-system-component-grid {
  display: grid;
  gap: var(--retro-space-4);
}

.design-system-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-system-meter-stack {
  max-width: 42rem;
}

.design-system-component-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.design-system-blog-card,
.design-system-chore-card {
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  justify-content: space-between;
}

.design-system-blog-card {
  background: #f5f5eb;
}

.design-system-blog-card img,
.design-system-chore-card img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  align-self: flex-end;
  filter: drop-shadow(4px 4px 0 rgba(5, 5, 5, 0.35));
}

.design-system-blog-card p,
.design-system-save-card p,
.design-system-chore-card p {
  margin: var(--retro-space-3) 0;
  line-height: 1.5;
}

.design-system-save-card {
  display: grid;
  gap: var(--retro-space-4);
  background: var(--retro-cyan);
}

.design-system-save-card > img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.design-system-save-card span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.design-system-chore-card {
  background: var(--retro-green);
}

.design-system-chore-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--retro-space-4);
}

.design-system-chore-card__footer strong {
  font-family: var(--font-mono);
  font-size: 2rem;
}

.design-system-feedback-grid,
.design-system-loading-grid,
.design-system-voice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-system-feedback-grid .retro-callout {
  grid-row: span 2;
}

.design-system-loading-grid {
  align-items: stretch;
}

@keyframes design-system-scan {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 48px;
  }
}

@keyframes design-system-blink {
  50% {
    opacity: 0;
  }
}

.projects-page {
  --projects-ink: #050505;
  --projects-paper: #fff1a8;
  --projects-blue: #2f6df6;
  --projects-green: #21c66a;
  --projects-yellow: #ffd43b;
  --projects-pink: #ff62a5;
  --projects-cyan: #44d7ff;

  position: relative;
  overflow: hidden;
  min-height: 100%;
  color: var(--projects-ink);
  background-color: var(--projects-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px);
  background-size: 32px 32px;
}

.projects-page > * {
  position: relative;
}

.projects-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 2rem;
  align-items: stretch;
  padding: clamp(2rem, 6vw, 5rem);
  border-bottom: 4px solid var(--projects-ink);
  background-color: #ffe060;
}

.projects-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46rem;
}

.projects-kicker {
  display: inline-block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  color: white;
  text-transform: uppercase;
  background: var(--projects-blue);
  border: 4px solid var(--projects-ink);
  box-shadow: 4px 4px 0 0 var(--projects-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.projects-hero h1 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 0.85;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 white, 10px 10px 0 var(--projects-pink);
}

.projects-hero__copy > p:not(.projects-kicker) {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.projects-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.projects-hero__chips span {
  display: inline-block;
  padding: 0.4rem 0.65rem;
  color: var(--projects-ink);
  background: white;
  border: 3px solid var(--projects-ink);
  box-shadow: 3px 3px 0 0 var(--projects-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.projects-console {
  align-self: center;
  padding: 0.8rem;
  background: #141414;
  border: 4px solid var(--projects-ink);
  box-shadow: 10px 10px 0 0 var(--projects-ink);
  transform: rotate(1.5deg);
}

.projects-console__screen {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  padding: 1.25rem;
  color: white;
  background-color: #12233d;
  border: 4px solid #050505;
}

.projects-console__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.08) 0,
    rgba(255, 255, 255, 0.08) 2px,
    transparent 2px,
    transparent 6px
  );
  animation: projects-scan 5s linear infinite;
}

.projects-player {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  align-items: center;
}

.projects-player__portrait {
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  background: var(--projects-cyan);
  border: 4px solid white;
  box-shadow: 4px 4px 0 0 #050505;
}

.projects-player__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-player__label {
  margin: 0;
  color: var(--projects-yellow);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.projects-player__name {
  margin: 0.25rem 0 0;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  line-height: 1;
}

.projects-meter {
  position: relative;
  z-index: 1;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
}

.projects-meter span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--projects-yellow);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.projects-meter div {
  height: 1rem;
  background: #050505;
  border: 3px solid white;
}

.projects-meter i {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--projects-green) 0,
    var(--projects-green) 12px,
    #97ff5d 12px,
    #97ff5d 16px
  );
}

.projects-console__prompt {
  position: relative;
  z-index: 1;
  margin: 2rem 0 0;
  padding: 0.85rem;
  color: white;
  background: #050505;
  border: 3px solid white;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.5;
}

.projects-console__prompt span {
  display: inline-block;
  width: 0.7rem;
  height: 1rem;
  margin-left: 0.2rem;
  vertical-align: text-bottom;
  background: white;
  animation: projects-blink 1s steps(2, start) infinite;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.project-card {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 1rem;
  cursor: pointer;
  background: white;
  border: 4px solid var(--projects-ink);
  box-shadow: 7px 7px 0 0 var(--projects-ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card::after {
  content: "";
  display: block;
  clear: both;
}

.project-card__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.project-card--yellow {
  background: var(--projects-yellow);
}

.project-card--green {
  background: var(--projects-green);
}

.project-card--blue {
  background: var(--projects-cyan);
}

.project-card--pink {
  background: var(--projects-pink);
}

.project-card:hover,
.project-card:focus-within,
.project-card:focus {
  transform: translate(-4px, -4px);
  box-shadow: 11px 11px 0 0 var(--projects-ink);
}

.project-card:focus {
  outline: 4px solid var(--projects-blue);
  outline-offset: 4px;
}

.project-card__sprite {
  float: right;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 0 0.75rem 1rem;
}

.project-card__sprite img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(4px 4px 0 rgba(5, 5, 5, 0.42));
}

.project-card h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.65rem;
  line-height: 1;
}

.project-card > p {
  margin: 0.85rem 0 1rem;
  line-height: 1.55;
}

.project-card__stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  clear: both;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.project-card__stack a {
  color: var(--projects-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2rem;
}

.project-card__stack a::before {
  content: "#";
}

.project-card__stack a:not(:last-child)::after {
  content: " /";
  text-decoration: none;
}

.project-card__stack a:hover,
.project-card__stack a:focus {
  color: white;
  background: var(--projects-ink);
  outline: 0;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 3px solid var(--projects-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

@keyframes projects-scan {
  from {
    background-position-y: 0;
  }

  to {
    background-position-y: 48px;
  }
}

@keyframes projects-blink {
  50% {
    opacity: 0;
  }
}

.resume-page {
  --resume-ink: #050505;
  --resume-paper: #fff1a8;
  --resume-blue: #2f6df6;
  --resume-green: #21c66a;
  --resume-yellow: #ffd43b;
  --resume-pink: #ff62a5;
  --resume-cyan: #44d7ff;
  --resume-red: #ff5a5f;

  min-height: 100%;
  color: var(--resume-ink);
  background-color: var(--resume-paper);
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px),
    linear-gradient(0deg, rgba(5, 5, 5, 0.08) 2px, transparent 2px);
  background-size: 32px 32px;
}

.resume-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background: #ffe060;
  border-bottom: 4px solid var(--resume-ink);
}

.resume-hero__copy {
  max-width: 44rem;
}

.resume-kicker {
  display: inline-block;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.45rem 0.7rem;
  color: white;
  text-transform: uppercase;
  background: var(--resume-blue);
  border: 4px solid var(--resume-ink);
  box-shadow: 4px 4px 0 0 var(--resume-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.2;
}

.resume-hero h1 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 white, 10px 10px 0 var(--resume-pink);
}

.resume-hero__copy > p:not(.resume-kicker) {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.resume-contact span,
.resume-contact a {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  color: var(--resume-ink);
  background: white;
  border: 3px solid var(--resume-ink);
  box-shadow: 3px 3px 0 0 var(--resume-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.resume-contact a:hover,
.resume-contact a:focus {
  color: white;
  background: var(--resume-ink);
  outline: 0;
}

.resume-hero__art {
  margin: 0;
  padding: 0.8rem;
  background: #141414;
  border: 4px solid var(--resume-ink);
  box-shadow: 10px 10px 0 0 var(--resume-ink);
  transform: rotate(1deg);
}

.resume-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--resume-ink);
  image-rendering: auto;
}

.resume-stats,
.resume-credits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.resume-stat-card,
.resume-credits > div,
.resume-job {
  background: white;
  border: 4px solid var(--resume-ink);
  box-shadow: 7px 7px 0 0 var(--resume-ink);
}

.resume-stat-card,
.resume-credits > div {
  padding: 1.25rem;
}

.resume-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
}

.resume-stat-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 9rem;
  height: 9rem;
  background:
    linear-gradient(var(--resume-ink), var(--resume-ink)) 3rem 0 / 3rem 9rem,
    linear-gradient(var(--resume-ink), var(--resume-ink)) 0 3rem / 9rem 3rem,
    var(--resume-yellow);
  background-repeat: no-repeat;
  border: 4px solid var(--resume-ink);
  opacity: 0.16;
  transform: rotate(12deg);
}

.resume-stat-card--attributes {
  background: #d8ecff;
}

.resume-stat-card--inventory {
  background: #fffdf1;
}

.resume-stats h2,
.resume-credits h2,
.resume-section-heading h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.resume-attribute-list,
.resume-inventory-grid,
.resume-job ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.resume-attribute-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
}

.resume-attribute-list li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 3px solid rgba(5, 5, 5, 0.25);
}

.resume-attribute-list li:first-child {
  border-top: 3px solid rgba(5, 5, 5, 0.25);
}

.resume-attribute-list img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(5, 5, 5, 0.24));
}

.resume-attribute-list__content div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.resume-attribute-list__content span {
  flex: 0 0 auto;
  color: white;
  background: var(--resume-blue);
  border: 2px solid var(--resume-ink);
  padding: 0.1rem 0.35rem;
}

.resume-attribute-list meter {
  display: block;
  width: 100%;
  height: 1rem;
  border: 3px solid var(--resume-ink);
  background: #12233d;
}

.resume-attribute-list meter::-webkit-meter-bar {
  background: #12233d;
  border: 0;
  border-radius: 0;
}

.resume-attribute-list meter::-webkit-meter-optimum-value {
  background: repeating-linear-gradient(
    90deg,
    var(--resume-green) 0,
    var(--resume-green) 12px,
    #97ff5d 12px,
    #97ff5d 16px
  );
  border-radius: 0;
}

.resume-attribute-list meter::-moz-meter-bar {
  background: repeating-linear-gradient(
    90deg,
    var(--resume-green) 0,
    var(--resume-green) 12px,
    #97ff5d 12px,
    #97ff5d 16px
  );
}

.resume-inventory-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.2rem, 1fr));
  gap: 0.85rem 0.6rem;
}

.resume-inventory-grid li {
  display: grid;
  gap: 0.25rem;
  align-items: start;
  justify-items: center;
  color: var(--resume-ink);
}

.resume-inventory-grid img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(5, 5, 5, 0.24));
}

.resume-inventory-grid strong {
  display: block;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 1.2vw, 0.78rem);
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.resume-stat-card--inventory h2 {
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
}

.resume-job li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.55;
}

.resume-job li + li {
  margin-top: 0.55rem;
}

.resume-job li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--resume-red);
  border: 2px solid var(--resume-ink);
}

.resume-timeline {
  display: grid;
  gap: 1.25rem;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
}

.resume-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.resume-job {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  overflow: hidden;
}

.resume-job__meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: white;
  background: #12233d;
  border-right: 4px solid var(--resume-ink);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.resume-job__meta span,
.resume-job__meta strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
}

.resume-job__body {
  position: relative;
  padding: 1.15rem 1.25rem 1.25rem;
}

.resume-job__heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4rem;
  padding-right: min(22rem, 48%);
}

.resume-job__heading img {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(5, 5, 5, 0.3));
}

.resume-job h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1;
}

.resume-job h3 span {
  display: inline-block;
  color: #4b5563;
  font-size: 0.6em;
}

.resume-job__role {
  width: fit-content;
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  margin: 0;
  padding: 0.25rem 0.45rem;
  color: var(--resume-ink);
  background: var(--resume-yellow);
  border: 3px solid var(--resume-ink);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.resume-job__body > p:last-child,
.resume-credits p {
  margin: 0.75rem 0 0;
  line-height: 1.55;
}

.resume-credits {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.resume-credits .resume-kicker {
  margin-bottom: 1.5rem;
}

.resume-credits > div:first-child {
  background: var(--resume-cyan);
}

.resume-credits > div:last-child {
  background: var(--resume-pink);
}

@media (max-width: 68rem) {
  .blog-header__inner {
    align-items: stretch;
    justify-content: flex-end;
  }

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

  .blog-header__menu {
    display: block;
  }

  .design-system-hero,
  .design-system-shell {
    grid-template-columns: 1fr;
  }

  .design-system-hero {
    padding: var(--retro-space-8) var(--retro-space-5);
  }

  .design-system-hero h1 {
    font-size: 4.4rem;
  }

  .design-system-cabinet {
    max-width: 34rem;
    transform: none;
  }

  .design-system-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-system-type-grid,
  .design-system-border-grid,
  .design-system-component-grid,
  .design-system-feedback-grid,
  .design-system-loading-grid,
  .design-system-voice-grid {
    grid-template-columns: 1fr;
  }

  .design-system-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-system-sprite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .design-system-control-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-system-control-row .retro-button {
    width: 100%;
  }

  .projects-hero,
  .resume-hero,
  .resume-stats,
  .resume-credits {
    grid-template-columns: 1fr;
  }

  .projects-console {
    transform: none;
  }

  .resume-hero__art {
    transform: none;
  }

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

@media (max-width: 42rem) {
  .blog-header__inner {
    padding-top: 0.45rem;
    padding-bottom: 0.55rem;
  }

  .blog-header__menu-toggle {
    width: 100%;
  }

  .design-system-hero {
    padding: var(--retro-space-6) var(--retro-space-4);
  }

  .design-system-hero h1 {
    font-size: 3rem;
    text-shadow:
      3px 3px 0 var(--retro-white),
      6px 6px 0 var(--retro-pink);
  }

  .design-system-hero__copy > p {
    font-size: 1.05rem;
  }

  .design-system-shell {
    padding: var(--retro-space-6) var(--retro-space-4) var(--retro-space-10);
  }

  .design-system-nav,
  .design-system-swatches,
  .design-system-form,
  .design-system-list-grid,
  .design-system-control-row {
    grid-template-columns: 1fr;
  }

  .design-system-section h2 {
    font-size: 2rem;
  }

  .design-system-section > p {
    font-size: 1rem;
  }

  .design-system-cabinet__screen {
    min-height: 0;
  }

  .design-system-player {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .design-system-player__portrait {
    width: 4.5rem;
    height: 4.5rem;
  }

  .design-system-player__name {
    font-size: 1.5rem;
  }

  .design-system-space-list div {
    grid-template-columns: 5.5rem minmax(0, 1fr) 3.5rem;
  }

  .design-system-motion-grid {
    grid-template-columns: 1fr;
  }

  .design-system-sprite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retro-callout {
    grid-template-columns: 1fr;
  }

  .projects-hero {
    padding: 2rem 1rem;
  }

  .projects-hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
    text-shadow: 3px 3px 0 white, 6px 6px 0 var(--projects-pink);
  }

  .projects-console__screen {
    min-height: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .project-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .resume-hero {
    padding: 2rem 1rem;
  }

  .resume-hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
    text-shadow: 3px 3px 0 white, 6px 6px 0 var(--resume-pink);
  }

  .resume-stats,
  .resume-timeline,
  .resume-credits {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .resume-section-heading {
    display: block;
  }

  .resume-job {
    grid-template-columns: 1fr;
  }

  .resume-job__meta {
    border-right: 0;
    border-bottom: 4px solid var(--resume-ink);
  }

  .resume-job__heading {
    padding-right: 0;
  }

  .resume-job__role {
    position: static;
    margin: 0.45rem 0 0.85rem;
  }

  .resume-inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 0.35rem;
  }

  .resume-inventory-grid img {
    width: 3.7rem;
    height: 3.7rem;
  }

  .resume-inventory-grid strong {
    font-size: 0.6rem;
  }
}

@media (max-width: 90rem) {
  .admin-projects__table-wrap {
    overflow: visible;
  }

  .admin-projects__table,
  .admin-projects__table thead,
  .admin-projects__table tbody,
  .admin-projects__table tr,
  .admin-projects__table td {
    display: block;
  }

  .admin-projects__table thead {
    display: none;
  }

  .admin-projects__table tbody {
    border-top: 0;
  }

  .admin-projects__table tr {
    padding: 1rem;
  }

  .admin-projects__table tr + tr {
    border-top: 4px solid #000;
  }

  .admin-projects__table td {
    padding: 0.45rem 0;
    text-align: left;
    white-space: normal;
    min-width: 0;
  }

  .admin-projects__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #4b5563;
  }

  .admin-projects__project-cell > div {
    align-items: flex-start;
  }

  .admin-projects__actions-cell > div {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-system-cabinet__screen::after,
  .design-system-blink,
  .projects-console__screen::after,
  .projects-console__prompt span {
    animation: none;
  }

  .retro-card,
  .retro-button,
  .project-card {
    transition: none;
  }
}
