:root {
  color-scheme: light;
  --background: #f4f0e8;
  --background-elevated: #fffdf9;
  --background-soft: #ebe6dd;
  --background-glass: rgb(255 253 249 / 82%);
  --border: #d8d1c5;
  --border-strong: #bdb3a6;
  --text: #26313b;
  --text-muted: #67717b;
  --text-faint: #8b918f;
  --accent: #5f7fa1;
  --accent-strong: #34536f;
  --accent-soft: #dce6ef;
  --navy: #0b1c32;
  --lavender: #e7e1ec;
  --peach: #efe0d5;
  --sage: #dfe7df;
  --success: #39735a;
  --warning: #8b5e24;
  --shadow-soft: 0 18px 50px rgb(72 62 52 / 8%);
  --shadow-card: 0 10px 30px rgb(72 62 52 / 7%);
  --radius-small: 0.8rem;
  --radius-medium: 1.25rem;
  --radius-large: 2rem;
  --content-width: 78rem;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgb(239 224 213 / 58%), transparent 28rem),
    radial-gradient(circle at 92% 9%, rgb(220 230 239 / 68%), transparent 30rem),
    linear-gradient(180deg, #faf8f4 0%, var(--background) 52%, #f0ece4 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(52 83 111 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(52 83 111 / 2%) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 28%), transparent 55%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

:focus-visible {
  outline: 0.2rem solid var(--accent);
  outline-offset: 0.22rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-200%);
  border-radius: var(--radius-small);
  background: var(--navy);
  color: #fff;
  font-weight: 750;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.4rem;
  border-bottom: 1px solid rgb(189 179 166 / 60%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 0.75rem;
}

.brand-emblem {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(52 83 111 / 13%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 20px rgb(46 58 70 / 10%);
}

.brand-emblem img {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: cover;
  border-radius: 50%;
}

.brand-wordmark,
.footer-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.brand-wordmark {
  font-size: 1.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  gap: 0.45rem;
  padding-inline: 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgb(255 255 255 / 66%);
  color: var(--accent-strong);
}

.site-nav svg {
  fill: currentColor;
}

.nav-github {
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 55%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.82fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 41rem;
  margin-top: 1.35rem;
  padding: clamp(2.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border: 1px solid rgb(189 179 166 / 64%);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 8% 10%, rgb(239 224 213 / 78%), transparent 25rem),
    radial-gradient(circle at 92% 0%, rgb(220 230 239 / 92%), transparent 30rem),
    radial-gradient(circle at 80% 90%, rgb(231 225 236 / 82%), transparent 24rem),
    rgb(255 253 249 / 78%);
  box-shadow: var(--shadow-soft);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 32rem;
  aspect-ratio: 1;
  border: 1px solid rgb(95 127 161 / 9%);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgb(255 255 255 / 12%),
    0 0 0 8rem rgb(95 127 161 / 3%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.45rem;
  color: #25313d;
  font-size: clamp(3.2rem, 7.1vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.058em;
}

h1 span {
  color: var(--accent-strong);
}

.hero-summary {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.03rem, 1.9vw, 1.24rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button,
.card-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 780;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button {
  gap: 0.55rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
}

.button:hover,
.card-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  box-shadow: 0 10px 24px rgb(11 28 50 / 16%);
  color: #fff;
}

.button-primary:hover {
  background: #18334f;
  box-shadow: 0 13px 28px rgb(11 28 50 / 20%);
}

.button-secondary {
  border-color: var(--border);
  background: rgb(255 253 249 / 72%);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent-strong);
}

.hero-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 1.7rem 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 720;
  list-style: none;
}

.hero-principles li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-principles li::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero-lounge {
  position: relative;
  z-index: 2;
  min-height: 28rem;
}

.lounge-glow {
  position: absolute;
  top: 12%;
  left: 7%;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgb(255 255 255 / 95%) 0 38%, transparent 39%),
    radial-gradient(circle, rgb(95 127 161 / 14%), transparent 68%);
  filter: blur(0.1px);
}

.lounge-card {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 86%);
  background: rgb(255 253 249 / 58%);
  box-shadow:
    0 26px 65px rgb(52 83 111 / 13%),
    inset 0 1px 0 rgb(255 255 255 / 72%);
  backdrop-filter: blur(16px);
}

.lounge-card-primary {
  top: 10%;
  left: 12%;
  display: grid;
  width: min(78%, 25rem);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  transform: rotate(-2deg);
}

.lounge-card-primary img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter:
    saturate(0.82)
    brightness(1.08)
    drop-shadow(0 18px 30px rgb(11 28 50 / 18%));
  transform: rotate(2deg);
}

.lounge-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgb(189 179 166 / 56%);
  border-radius: 999px;
  background: rgb(255 253 249 / 84%);
  box-shadow: 0 12px 32px rgb(72 62 52 / 9%);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 760;
  backdrop-filter: blur(12px);
}

.lounge-note-top {
  top: 9%;
  right: 0;
}

.lounge-note-bottom {
  right: 5%;
  bottom: 7%;
}

.note-dot {
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 50%;
  background: #6c8eb1;
  box-shadow: 0 0 0 0.25rem rgb(108 142 177 / 12%);
}

.note-symbol {
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
}

.catalogue {
  scroll-margin-top: 1.5rem;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading h2,
.open-source-callout h2 {
  margin-bottom: 0;
  letter-spacing: -0.042em;
}

.section-heading h2 {
  font-size: clamp(2.45rem, 5vw, 4.5rem);
}

.section-summary {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: var(--text-muted);
}

.catalogue-status {
  max-width: 26rem;
  margin: 0 0 0.35rem;
  color: var(--text-faint);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: right;
}

.catalogue-controls {
  margin-block: 2rem 1.2rem;
  padding: 0.75rem;
  border: 1px solid rgb(216 209 197 / 90%);
  border-radius: 1.45rem;
  background: rgb(255 253 249 / 63%);
  box-shadow: 0 8px 24px rgb(72 62 52 / 4%);
  backdrop-filter: blur(14px);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.search-field {
  display: flex;
  min-height: 3.15rem;
  align-items: center;
  gap: 0.75rem;
  padding-inline: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--background-elevated);
}

.search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgb(95 127 161 / 12%);
}

.search-field svg {
  flex: none;
  fill: none;
  stroke: var(--text-faint);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-field input::placeholder {
  color: var(--text-faint);
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.sort-field select {
  min-height: 3.15rem;
  padding: 0.65rem 2.4rem 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--background-elevated);
  color: var(--text);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.filter-button {
  min-height: 2.25rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 740;
}

.filter-button:hover {
  border-color: var(--border);
  background: #fff;
  color: var(--accent-strong);
}

.filter-button[aria-pressed="true"] {
  border-color: rgb(95 127 161 / 13%);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.repository-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.repository-card {
  position: relative;
  display: flex;
  min-height: 25.5rem;
  flex-direction: column;
  padding: 1.35rem;
  overflow: hidden;
  border: 1px solid rgb(216 209 197 / 92%);
  border-radius: 1.45rem;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 58%), transparent 45%),
    var(--background-elevated);
  box-shadow: var(--shadow-card);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.repository-card::before {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--card-wash, var(--accent-soft));
  opacity: 0.65;
  content: "";
  pointer-events: none;
}

.repository-card:hover {
  border-color: rgb(95 127 161 / 42%);
  box-shadow: 0 18px 45px rgb(72 62 52 / 10%);
  transform: translateY(-2px);
}

.repository-card[data-tone="0"] {
  --card-wash: #dce6ef;
  --emblem-bg: #e8eff5;
  --emblem-ink: #34536f;
}

.repository-card[data-tone="1"] {
  --card-wash: #e7e1ec;
  --emblem-bg: #f0ebf3;
  --emblem-ink: #675774;
}

.repository-card[data-tone="2"] {
  --card-wash: #efe0d5;
  --emblem-bg: #f6ebe3;
  --emblem-ink: #875f49;
}

.repository-card[data-tone="3"] {
  --card-wash: #dfe7df;
  --emblem-bg: #eaf0ea;
  --emblem-ink: #4f6d58;
}

.repository-card[data-tone="4"] {
  --card-wash: #eee6cf;
  --emblem-bg: #f5efdf;
  --emblem-ink: #7a6638;
}

.repository-card[data-tone="5"] {
  --card-wash: #dfe6e8;
  --emblem-bg: #eaf0f1;
  --emblem-ink: #4e676d;
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 3.2rem;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.repository-emblem {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 1rem;
  background: var(--emblem-bg, var(--accent-soft));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 78%);
  color: var(--emblem-ink, var(--accent-strong));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 750;
}

.status-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.35rem;
}

.featured-badge,
.archived-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.52rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.featured-badge {
  background: rgb(57 115 90 / 10%);
  color: var(--success);
}

.archived-badge {
  background: rgb(139 94 36 / 11%);
  color: var(--warning);
}

.card-heading {
  position: relative;
  z-index: 1;
  margin-top: 1.55rem;
}

.category-badge {
  margin: 0 0 0.65rem;
  color: var(--accent-strong);
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-heading h3 {
  margin-bottom: 0.72rem;
  color: #27323c;
  font-size: clamp(1.45rem, 2vw, 1.82rem);
  letter-spacing: -0.025em;
}

.repository-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.topic-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  min-height: 1.65rem;
  margin: 1.05rem 0 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 0.23rem 0.46rem;
  border: 1px solid rgb(216 209 197 / 72%);
  border-radius: 999px;
  background: rgb(255 255 255 / 60%);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 720;
}

.repository-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
  margin: auto 0 1.1rem;
  padding-top: 1.35rem;
}

.repository-meta div {
  display: grid;
  gap: 0.05rem;
}

.repository-meta dt {
  color: var(--text-faint);
  font-size: 0.6rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repository-meta dd {
  margin: 0;
  color: var(--text);
  font-size: 0.77rem;
  font-weight: 720;
}

.card-actions {
  position: relative;
  z-index: 1;
  padding-top: 0.95rem;
  border-top: 1px solid rgb(216 209 197 / 76%);
}

.card-link {
  min-height: 2.25rem;
  padding: 0.43rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.74rem;
}

.card-link:hover {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent-strong);
}

.card-link-primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.card-link-primary:hover {
  border-color: #18334f;
  background: #18334f;
  color: #fff;
}

.empty-state,
.notice {
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-medium);
  background: rgb(255 253 249 / 55%);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 0.5rem;
  font-size: 1.55rem;
}

.empty-state p {
  margin: 0;
  color: var(--text-muted);
}

.skeleton {
  min-height: 25rem;
  border-color: transparent;
  background:
    linear-gradient(
      105deg,
      transparent 35%,
      rgb(255 255 255 / 72%) 48%,
      transparent 61%
    ),
    var(--background-soft);
  background-size: 230% 100%;
  animation: shimmer 1.4s linear infinite;
}

.open-source-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.3rem;
  align-items: center;
  margin-bottom: clamp(5rem, 8vw, 7rem);
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgb(216 209 197 / 86%);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 0 100%, rgb(231 225 236 / 74%), transparent 20rem),
    radial-gradient(circle at 100% 0, rgb(220 230 239 / 70%), transparent 22rem),
    rgb(255 253 249 / 72%);
  box-shadow: var(--shadow-soft);
}

.callout-mark {
  display: grid;
  width: 5rem;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(95 127 161 / 14%);
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: 0 12px 26px rgb(72 62 52 / 8%);
}

.callout-mark img {
  width: 4.35rem;
  height: 4.35rem;
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(0.78) brightness(1.08);
}

.open-source-callout .eyebrow {
  margin-bottom: 0.42rem;
}

.open-source-callout h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.open-source-callout p:last-child {
  max-width: 50rem;
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-brand {
  gap: 0.65rem;
}

.footer-brand img {
  border-radius: 50%;
  filter: saturate(0.78) brightness(1.06);
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  color: var(--text);
  font-size: 1.05rem;
}

.footer-brand small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  color: var(--text-muted);
  font-weight: 700;
  text-decoration: none;
}

.site-footer > a:last-child:hover {
  color: var(--accent-strong);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes shimmer {
  to {
    background-position-x: -230%;
  }
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero-lounge {
    width: min(100%, 35rem);
    min-height: 28rem;
    margin-inline: auto;
  }

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

  .open-source-callout {
    grid-template-columns: auto 1fr;
  }

  .open-source-callout .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 45rem) {
  .site-header {
    min-height: 4.7rem;
  }

  .site-nav > a:first-child {
    display: none;
  }

  .nav-github {
    padding-inline: 0.72rem !important;
  }

  .hero {
    margin-top: 0.8rem;
    padding: 2rem 1.25rem;
    border-radius: 1.5rem;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.7rem);
  }

  .hero-lounge {
    min-height: 22rem;
  }

  .lounge-note-top {
    top: 2%;
  }

  .lounge-note-bottom {
    right: 0;
    bottom: 2%;
  }

  .section-heading,
  .site-footer {
    align-items: start;
  }

  .section-heading {
    flex-direction: column;
  }

  .catalogue-status {
    text-align: left;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .sort-field {
    justify-content: space-between;
  }

  .sort-field select {
    flex: 1;
    max-width: 13rem;
  }

  .repository-grid {
    grid-template-columns: 1fr;
  }

  .repository-card {
    min-height: 23.5rem;
  }

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

  .callout-mark {
    width: 4.5rem;
  }

  .open-source-callout .button {
    grid-column: auto;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    text-align: left;
  }

  .site-footer > a:last-child {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
