:root {
  --ink: #151311;
  --ink-soft: #595550;
  --paper: #fffdf7;
  --paper-deep: #f1eee6;
  --white: #ffffff;
  --cheese: #f4c44e;
  --cheese-light: #ffe4a0;
  --cheese-dark: #754700;
  --focus: var(--cheese-dark);
  --purple: var(--ink);
  --purple-dark: #000000;
  --pink: var(--cheese);
  --pink-light: var(--cheese-light);
  --lime: var(--cheese);
  --yellow: var(--cheese);
  --blue: var(--cheese);
  --line: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-small: 3px 3px 0 var(--ink);
  --radius-large: 2rem;
  --radius-medium: 1.25rem;
  --shell: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Arial Rounded MT Bold",
    "Trebuchet MS",
    system-ui,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

h3 {
  font-size: 1.45rem;
}

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border: var(--line);
  border-radius: 999px;
  background: var(--lime);
  box-shadow: var(--shadow-small);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.page-confetti {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  opacity: 0.75;
}

.confetti-one {
  top: 17%;
  left: 2%;
  border-radius: 50%;
  background: var(--pink);
}

.confetti-two {
  top: 34%;
  right: 2.5%;
  background: var(--yellow);
  transform: rotate(33deg);
}

.confetti-three {
  bottom: 28%;
  left: 4%;
  width: 9px;
  height: 26px;
  border-radius: 99px;
  background: var(--blue);
  transform: rotate(-38deg);
}

.confetti-four {
  right: 5%;
  bottom: 12%;
  border-radius: 50% 50% 0;
  background: var(--lime);
  transform: rotate(18deg);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  padding-block: 1.35rem;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.65rem;
  width: fit-content;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: var(--line);
  border-radius: 50% 50% 46% 54%;
  background: var(--pink);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1;
  transform: rotate(-7deg);
}

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

.site-nav a,
.footer-links a {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  text-decoration-color: currentColor;
}

.header-github {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-small);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    box-shadow 150ms ease,
    transform 150ms ease,
    background-color 150ms ease;
}

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

.button-small {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 0.9rem;
}

.button-ink {
  color: var(--white);
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--pink);
}

.button-primary {
  color: var(--white);
  background: var(--purple);
}

.button-paper {
  background: var(--white);
}

.button-lime {
  background: var(--lime);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  overflow: hidden;
  padding-top: 9rem;
  background:
    radial-gradient(circle at 13% 27%, rgb(244 196 78 / 28%) 0 7rem, transparent 7.1rem),
    radial-gradient(circle at 83% 13%, rgb(21 19 17 / 7%) 0 11rem, transparent 11.1rem),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-bottom: 7rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 0.05em;
  bottom: -0.02em;
  left: 0.02em;
  height: 0.14em;
  border-radius: 100%;
  background: var(--pink);
  content: "";
  opacity: 0.75;
  transform: rotate(-1.5deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--pink);
  font-size: 1rem;
}

.eyebrow-dark {
  color: var(--ink);
}

.hero-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.6rem;
  padding: 0;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.trust-list li {
  position: relative;
}

.trust-list li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -0.9rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.hero-art {
  position: relative;
  min-height: 510px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px dashed rgb(21 19 17 / 35%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-outer {
  width: min(100%, 470px);
  aspect-ratio: 1;
  animation: spin 45s linear infinite;
}

.orbit-inner {
  width: min(73%, 340px);
  aspect-ratio: 1;
  animation: spin-reverse 35s linear infinite;
}

.riri-hero-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(235px, 27vw, 310px);
  aspect-ratio: 1;
  padding: 0.7rem;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 43% 57% 47% 53% / 51% 46% 54% 49%;
  background: var(--white);
  box-shadow: 10px 12px 0 var(--ink);
  transform: translate(-50%, -50%) rotate(3deg);
  animation: bob 4.5s ease-in-out infinite;
}

.riri-hero-frame img {
  width: 100%;
  height: 100%;
  border-radius: 38% 62% 43% 57% / 54% 44% 56% 46%;
  object-fit: cover;
}

.spark {
  position: absolute;
  z-index: 2;
  color: var(--pink);
  font-size: 2.4rem;
  text-shadow: 2px 2px 0 var(--ink);
}

.spark-one {
  top: 7%;
  left: 12%;
  transform: rotate(-15deg);
}

.spark-two {
  top: 18%;
  right: 3%;
  color: var(--yellow);
  font-size: 3.3rem;
}

.spark-three {
  right: 7%;
  bottom: 15%;
  color: var(--lime);
  font-size: 2rem;
}

.art-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border: var(--line);
  border-radius: 0.85rem;
  background: var(--white);
  box-shadow: var(--shadow-small);
  font-size: 0.9rem;
  font-weight: 900;
}

.note-dot {
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
}

.note-top {
  top: 19%;
  left: -1%;
  transform: rotate(-6deg);
}

.note-bottom {
  right: -1%;
  bottom: 17%;
  flex-direction: column;
  gap: 0;
  padding: 0.85rem 1.15rem;
  background: var(--yellow);
  line-height: 1.15;
  transform: rotate(7deg);
}

.note-bottom strong {
  font-family: Georgia, serif;
  font-size: 1.5rem;
}

.hero-squiggle {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 6rem;
  color: var(--white);
}

.hero-squiggle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sponsor-break {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
  background: var(--white);
}

.sponsor-card {
  position: relative;
  display: grid;
  grid-template-areas:
    "bobber label button"
    "bobber copy button"
    "bobber fine button";
  grid-template-columns: 145px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 92% 18%, rgb(255 255 255 / 45%) 0 5.5rem, transparent 5.6rem),
    var(--cheese);
  box-shadow: 8px 8px 0 var(--ink);
}

.sponsor-card::before {
  position: absolute;
  top: -4.5rem;
  right: 11rem;
  width: 15rem;
  height: 8rem;
  border-bottom: 3px dashed rgb(21 19 17 / 45%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: rotate(8deg);
}

.sponsor-bobber {
  position: relative;
  grid-area: bobber;
  width: 112px;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    var(--pink) 0 44%,
    var(--ink) 44% 48%,
    var(--white) 48% 100%
  );
  box-shadow: 6px 7px 0 var(--ink);
  transform: rotate(-8deg);
}

.sponsor-bobber::before,
.sponsor-bobber::after {
  position: absolute;
  left: 50%;
  border: 3px solid var(--ink);
  content: "";
  transform: translateX(-50%);
}

.sponsor-bobber::before {
  top: -22px;
  width: 20px;
  height: 30px;
  border-radius: 999px 999px 0 0;
  background: var(--yellow);
}

.sponsor-bobber::after {
  bottom: -14px;
  width: 32px;
  height: 20px;
  border-radius: 0 0 999px 999px;
  background: var(--white);
}

.sponsor-bobber span {
  position: absolute;
  top: 59%;
  left: 50%;
  width: 16px;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
}

.sponsor-label {
  grid-area: label;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.2rem;
}

.sponsor-label span {
  padding: 0.3rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.sponsor-label strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.sponsor-copy {
  grid-area: copy;
  max-width: 650px;
}

.sponsor-copy > p:first-child {
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sponsor-copy h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.sponsor-copy h2 em {
  color: var(--purple-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.sponsor-copy > p:last-child {
  max-width: 590px;
  margin-bottom: 0;
  color: rgb(21 19 17 / 78%);
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
}

.sponsor-button {
  grid-area: button;
  color: var(--white);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
  white-space: nowrap;
}

.sponsor-fine-print {
  grid-area: fine;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-self: end;
  margin: 0.65rem 0 0;
  color: rgb(21 19 17 / 68%);
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.sponsor-fine-print a {
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.riri-gallery {
  position: relative;
  background:
    linear-gradient(rgb(255 253 247 / 92%), rgb(255 253 247 / 92%)),
    radial-gradient(var(--purple) 1.4px, transparent 1.4px);
  background-size: auto, 25px 25px;
}

.gallery-heading {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.gallery-heading .eyebrow {
  justify-content: center;
}

.gallery-heading h2 {
  margin-bottom: 0.75rem;
}

.gallery-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.portrait {
  padding: 0.8rem 0.8rem 0.65rem;
  margin: 0;
  border: var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    box-shadow 170ms ease,
    transform 170ms ease;
}

.portrait:nth-child(odd) {
  transform: rotate(-2.5deg);
}

.portrait:nth-child(even) {
  transform: rotate(2.5deg);
}

.portrait:hover {
  z-index: 1;
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px) rotate(0);
}

.portrait-image {
  display: grid;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0.65rem;
  background: var(--paper-deep);
}

.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portrait-sticker .portrait-image {
  background: var(--pink-light);
}

.portrait-sticker .portrait-image img {
  width: 76%;
  height: 76%;
}

.portrait-plush .portrait-image img {
  object-fit: cover;
}

.portrait-cheese .portrait-image {
  background: var(--white);
}

.portrait-commission .portrait-image {
  background: var(--purple);
}

.portrait-commission .portrait-image img {
  padding: 0.4rem;
}

.portrait figcaption {
  padding: 0.65rem 0.2rem 0.05rem;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.image-rights {
  margin: 2.5rem 0 0;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

.image-rights a {
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.collection {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.section-heading > p {
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.filter-button {
  min-height: 2.6rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 900;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease;
}

.filter-button:hover {
  transform: translateY(-2px);
}

.filter-button.is-active {
  color: var(--white);
  background: var(--ink);
}

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

.contribution-card {
  --card-accent: var(--yellow);
  position: relative;
  display: flex;
  min-height: 295px;
  flex-direction: column;
  padding: 1.35rem;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius-medium);
  background: var(--paper);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition:
    box-shadow 170ms ease,
    transform 170ms ease;
  animation: card-arrive 420ms both;
  animation-delay: calc(var(--card-index, 0) * 65ms);
}

.contribution-card::before {
  position: absolute;
  z-index: -1;
  top: -2.3rem;
  right: -2.3rem;
  width: 7rem;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--card-accent);
  content: "";
}

.contribution-card:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px) rotate(-0.35deg);
}

.contribution-card[data-category="fanart"] {
  --card-accent: var(--pink);
}

.contribution-card[data-category="meme"] {
  --card-accent: var(--lime);
}

.contribution-card[data-category="lore"] {
  --card-accent: var(--blue);
}

.contribution-card[data-category="project"] {
  --card-accent: var(--pink-light);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.8rem;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-category {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card-accent);
}

.card-date {
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.contribution-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
}

.contribution-card h3 a {
  text-decoration: none;
}

.contribution-card h3 a::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
}

.contribution-card h3 a:focus-visible {
  outline: 0;
}

.contribution-card:has(h3 a:focus-visible) {
  outline: 4px solid var(--blue);
  outline-offset: 5px;
}

.card-description {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 2px solid rgb(21 19 17 / 18%);
  font-size: 0.82rem;
  font-weight: 800;
}

.card-author {
  position: relative;
  z-index: 2;
  overflow: hidden;
  text-decoration-thickness: 2px;
  text-overflow: ellipsis;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.card-arrow {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: 1rem;
}

.collection-message {
  grid-column: 1 / -1;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem;
  border: 2px dashed var(--ink);
  border-radius: var(--radius-medium);
  color: var(--ink-soft);
  background: var(--paper);
  font-family: system-ui, sans-serif;
  font-weight: 700;
  text-align: center;
}

.collection-message-inner {
  max-width: 34rem;
}

.collection-message strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 1.3rem;
}

.collection-message a {
  position: relative;
  z-index: 1;
  font-weight: 900;
  text-underline-offset: 0.2em;
}

.loading-dot {
  width: 0.85rem;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1s ease-in-out infinite alternate;
}

.collection-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  text-align: right;
}

.collection-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 900;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--pink);
  text-underline-offset: 0.35em;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.about {
  background:
    linear-gradient(rgb(255 253 247 / 90%), rgb(255 253 247 / 90%)),
    radial-gradient(var(--pink) 1.5px, transparent 1.5px);
  background-size: auto, 24px 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.about-sticker {
  position: relative;
  display: grid;
  width: min(100%, 330px);
  aspect-ratio: 1;
  place-content: center;
  justify-self: center;
  border: 3px solid var(--ink);
  border-radius: 49% 51% 48% 52% / 52% 47% 53% 48%;
  background: var(--pink);
  box-shadow:
    13px 14px 0 var(--ink),
    inset 0 0 0 12px var(--pink-light),
    inset 0 0 0 15px var(--ink);
  text-align: center;
  transform: rotate(-6deg);
}

.about-sticker::before,
.about-sticker::after {
  position: absolute;
  color: var(--yellow);
  content: "✦";
  font-size: 2.4rem;
  text-shadow: 2px 2px 0 var(--ink);
}

.about-sticker::before {
  top: 13%;
  left: 19%;
}

.about-sticker::after {
  right: 18%;
  bottom: 14%;
  font-size: 1.7rem;
}

.about-sticker span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-sticker strong {
  display: block;
  margin-block: 0.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-style: italic;
  line-height: 0.95;
}

.about-copy h2 {
  max-width: 780px;
}

.about-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 1.07rem;
}

.about-copy .text-link {
  margin-top: 0.75rem;
}

.contribute {
  color: var(--white);
  background: var(--purple);
}

.contribute-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-large);
  background: var(--purple-dark);
  box-shadow: 10px 10px 0 var(--pink);
}

.contribute .eyebrow {
  color: var(--white);
}

.contribute-intro h2 {
  margin-bottom: 1.25rem;
}

.contribute-intro > p:not(.eyebrow) {
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 78%);
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
}

.contribute .button {
  color: var(--ink);
}

.contribution-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.contribution-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  padding-block: 1.45rem;
  border-bottom: 2px solid rgb(255 255 255 / 20%);
}

.contribution-steps li:first-child {
  padding-top: 0;
}

.contribution-steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-number {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--pink);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
}

.contribution-steps li:nth-child(2) .step-number {
  background: var(--yellow);
}

.contribution-steps li:nth-child(3) .step-number {
  background: var(--blue);
}

.contribution-steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.contribution-steps p {
  margin: 0;
  color: rgb(255 255 255 / 70%);
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
}

.site-footer {
  padding-block: 2rem;
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand-footer {
  color: var(--white);
}

.footer-inner > p {
  margin: 0;
  color: rgb(255 255 255 / 62%);
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.2rem;
  font-size: 0.82rem;
}

.footer-links span {
  color: rgb(255 255 255 / 55%);
}

.fishing-page {
  background: var(--paper);
}

.fishing-hero {
  position: relative;
  min-height: 900px;
  padding: 10rem 0 7rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 25%, var(--cheese) 0 9rem, transparent 9.1rem),
    radial-gradient(circle at 94% 12%, rgb(21 19 17 / 7%) 0 13rem, transparent 13.1rem),
    var(--paper);
}

.fishing-hero::before {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  width: 15rem;
  height: 15rem;
  border: 3px dashed var(--ink);
  border-radius: 50%;
  content: "";
  opacity: 0.14;
}

.fishing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.fishing-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.fishing-hero-copy h1 {
  margin-bottom: 1.6rem;
  font-size: clamp(4.2rem, 8vw, 7.4rem);
}

.fishing-hero-copy h1 em {
  display: inline-block;
  padding: 0 0.12em 0.06em;
  border: 3px solid var(--ink);
  background: var(--cheese);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: inherit;
  font-style: normal;
  transform: rotate(-2deg);
}

.fishing-hero-copy h1 > span {
  display: block;
  width: fit-content;
  margin-top: 0.4em;
  padding-bottom: 0.06em;
  border-bottom: 0.14em solid var(--cheese);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.52em;
  font-style: italic;
  font-weight: 500;
  line-height: 0.98;
}

.fishing-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.fishing-motto {
  display: inline-flex;
  margin: 1.75rem 0 0;
  padding: 0.5rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.fishing-art {
  position: relative;
  min-height: 650px;
}

.fishing-portrait {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: min(80%, 390px);
  height: 570px;
  padding: 1rem 1rem 0;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 1.5rem 1.5rem;
  background: var(--cheese);
  box-shadow: 12px 13px 0 var(--ink);
}

.fishing-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(5px 4px 0 rgb(255 255 255 / 65%));
}

.fishing-line {
  position: absolute;
  z-index: 2;
  top: 2%;
  right: -2%;
  width: 76%;
  height: 36%;
  border-top: 3px dashed var(--ink);
  border-radius: 50%;
  transform: rotate(17deg);
}

.fishing-hook {
  position: absolute;
  z-index: 3;
  top: 29%;
  right: 2%;
  width: 46px;
  height: 62px;
  border-right: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  border-radius: 0 0 55% 50%;
  transform: rotate(13deg);
}

.fishing-hook::after {
  position: absolute;
  right: -7px;
  bottom: 2px;
  width: 18px;
  height: 5px;
  background: var(--ink);
  content: "";
  transform: rotate(-42deg);
  transform-origin: right center;
}

.fishing-status {
  position: absolute;
  z-index: 4;
  top: 19%;
  left: 0;
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 1rem;
  border: 3px solid var(--ink);
  border-radius: 0.9rem;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--cheese);
  font-weight: 900;
  line-height: 1.1;
  transform: rotate(-5deg);
}

.fishing-status span {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cheese-token {
  position: absolute;
  z-index: 4;
  right: -1%;
  bottom: 5%;
  width: 120px;
  height: 92px;
  border: 3px solid var(--ink);
  background: var(--cheese);
  box-shadow: 5px 5px 0 var(--ink);
  clip-path: polygon(0 24%, 100% 0, 84% 100%, 0 100%);
  transform: rotate(7deg);
}

.cheese-token span {
  position: absolute;
  width: 17px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cheese-dark);
}

.cheese-token span:nth-child(1) {
  top: 29%;
  left: 25%;
}

.cheese-token span:nth-child(2) {
  top: 53%;
  right: 20%;
  width: 12px;
}

.cheese-token span:nth-child(3) {
  bottom: 8%;
  left: 43%;
  width: 10px;
}

.open-letter-section {
  color: var(--white);
  background: var(--ink);
}

.open-letter {
  position: relative;
  max-width: 900px;
  padding: clamp(2rem, 6vw, 5rem);
  margin-inline: auto;
  border: 3px solid var(--cheese);
  border-radius: 0.5rem;
  color: var(--ink);
  background: var(--white);
  box-shadow: 13px 14px 0 var(--cheese);
  transform: rotate(-0.6deg);
}

.open-letter::before {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  width: 8rem;
  height: 2.3rem;
  border: 2px solid var(--ink);
  background: var(--cheese);
  content: "";
  opacity: 0.94;
  transform: translateX(-50%) rotate(2deg);
}

.letter-label {
  margin-bottom: 2rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.letter-greeting {
  margin-bottom: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.open-letter h2 {
  max-width: 750px;
  margin-bottom: 1.8rem;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

.open-letter > p:not(.letter-label, .letter-greeting, .letter-signoff, .letter-fine-print) {
  max-width: 720px;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 1.08rem;
}

.open-letter blockquote {
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  background: var(--cheese);
  box-shadow: 4px 4px 0 var(--ink);
}

.open-letter blockquote p {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  text-align: center;
}

.letter-signoff {
  margin: 2.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

.letter-fine-print {
  padding-top: 1.25rem;
  margin: 2rem 0 0;
  border-top: 2px dashed var(--ink);
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

.bait-ready-section {
  background:
    radial-gradient(var(--ink) 1.4px, transparent 1.4px),
    var(--cheese);
  background-size: 24px 24px;
}

.bait-ready-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: 9px 10px 0 var(--ink);
}

.bait-ready-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.bait-ready-card > div > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
}

.bait-ready-card .button {
  white-space: nowrap;
}

.fishing-final {
  background: var(--paper);
}

.fishing-final-inner {
  max-width: 750px;
  text-align: center;
}

.fishing-final-inner > img {
  width: 8rem;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(5px 5px 0 var(--cheese));
}

.fishing-final-inner .eyebrow {
  justify-content: center;
}

.fishing-final-inner h2 {
  margin-bottom: 0.8rem;
}

.fishing-final-inner > p:not(.eyebrow) {
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
}

.not-found-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgb(244 196 78 / 30%) 0 9rem, transparent 9.1rem),
    radial-gradient(circle at 85% 80%, rgb(21 19 17 / 8%) 0 12rem, transparent 12.1rem),
    var(--paper);
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem 1rem;
}

.not-found-card {
  position: relative;
  width: min(680px, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  border: 3px solid var(--ink);
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--pink);
  text-align: center;
}

.not-found-card > img {
  width: 7rem;
  height: 7rem;
  margin: -6rem auto 1rem;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 var(--ink));
}

.not-found-card .eyebrow,
.not-found-card .button-row {
  justify-content: center;
}

.not-found-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.7rem, 8vw, 5rem);
}

.not-found-card > p:not(.eyebrow) {
  max-width: 30rem;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
  font-family: system-ui, sans-serif;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(3deg);
  }

  50% {
    transform: translate(-50%, calc(-50% - 10px)) rotate(-1deg);
  }
}

@keyframes pulse {
  to {
    transform: scale(1.35);
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .fishing-hero {
    min-height: auto;
  }

  .fishing-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fishing-hero-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .fishing-hero-copy .eyebrow,
  .fishing-hero-copy .button-row {
    justify-content: center;
  }

  .fishing-hero-copy h1 > span {
    margin-inline: auto;
  }

  .fishing-intro {
    margin-inline: auto;
  }

  .fishing-art {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
    text-align: center;
  }

  .hero-copy {
    max-width: 740px;
    margin-inline: auto;
  }

  .eyebrow,
  .button-row,
  .trust-list {
    justify-content: center;
  }

  .hero-art {
    width: min(100%, 520px);
    min-height: 470px;
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sponsor-card {
    grid-template-areas:
      "bobber label"
      "bobber copy"
      "button button"
      "fine fine";
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .sponsor-button {
    justify-self: start;
    margin-top: 1rem;
  }

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

  .portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
    margin-inline: auto;
  }

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

  .about-copy {
    text-align: center;
  }

  .about-copy .eyebrow {
    justify-content: center;
  }

  .about-copy > p:not(.eyebrow) {
    margin-inline: auto;
  }

  .contribute-panel {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-links {
    justify-self: center;
  }

  .bait-ready-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bait-ready-card .eyebrow {
    justify-content: center;
  }

  .bait-ready-card > div > p:last-child {
    margin-inline: auto;
  }

  .bait-ready-card .button {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(1120px, calc(100% - 1.25rem));
    --shadow: 4px 4px 0 var(--ink);
  }

  html {
    scroll-padding-top: 1rem;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 3.5rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .section {
    padding-block: 4.5rem;
  }

  .site-header {
    padding-block: 1rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .header-github span {
    display: none;
  }

  .header-github {
    width: 2.75rem;
    padding: 0;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .fishing-hero {
    padding: 8rem 0 4.5rem;
  }

  .fishing-hero-copy h1 {
    font-size: clamp(3.4rem, 18vw, 4.7rem);
  }

  .fishing-hero-copy h1 > span {
    max-width: 8em;
    font-size: 0.48em;
  }

  .fishing-intro {
    font-size: 1rem;
  }

  .fishing-motto {
    font-size: 0.7rem;
  }

  .fishing-art {
    min-height: 500px;
  }

  .fishing-portrait {
    right: 50%;
    width: 280px;
    height: 430px;
    transform: translateX(50%);
  }

  .fishing-line {
    right: -15%;
  }

  .fishing-hook {
    right: -1%;
  }

  .fishing-status {
    top: 13%;
    left: -0.25rem;
    font-size: 0.78rem;
  }

  .cheese-token {
    right: -0.25rem;
    bottom: 2%;
    width: 95px;
    height: 74px;
  }

  .open-letter {
    padding: 2.5rem 1.25rem 1.5rem;
    box-shadow: 7px 8px 0 var(--cheese);
    transform: none;
  }

  .open-letter h2 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .open-letter > p:not(.letter-label, .letter-greeting, .letter-signoff, .letter-fine-print) {
    font-size: 0.98rem;
  }

  .bait-ready-card {
    gap: 1.8rem;
    padding: 1.6rem 1.25rem;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .bait-ready-card .button {
    width: 100%;
  }

  .hero-grid {
    padding-top: 1.5rem;
    padding-bottom: 5rem;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-copy h1 em {
    font-size: 0.88em;
    line-height: 0.92;
  }

  .hero-copy h1 em span:last-child {
    display: block;
  }

  .hero .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-list {
    gap: 0.4rem 1.4rem;
  }

  .hero-art {
    min-height: 370px;
  }

  .riri-hero-frame {
    width: 225px;
  }

  .orbit-outer {
    width: 340px;
  }

  .orbit-inner {
    width: 250px;
  }

  .note-top {
    top: 15%;
    left: 0;
  }

  .note-bottom {
    right: 0;
    bottom: 12%;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .sponsor-break {
    padding-top: 2rem;
  }

  .sponsor-card {
    grid-template-areas:
      "bobber"
      "label"
      "copy"
      "button"
      "fine";
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
    padding: 1.6rem 1.25rem;
    text-align: center;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .sponsor-card::before {
    right: -4rem;
  }

  .sponsor-bobber {
    width: 85px;
    margin-top: 1rem;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .sponsor-label {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sponsor-copy h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .sponsor-button {
    width: 100%;
    margin-top: 0.25rem;
  }

  .sponsor-fine-print {
    justify-content: center;
    margin-top: 0;
  }

  .filter-bar {
    flex-wrap: nowrap;
    padding: 0.25rem 0.25rem 0.65rem;
    margin-inline: -0.25rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .filter-button {
    flex: 0 0 auto;
  }

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

  .portrait-grid {
    gap: 1rem;
  }

  .portrait {
    padding: 0.5rem 0.5rem 0.4rem;
    border-radius: 0.8rem;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .portrait:nth-child(odd) {
    transform: rotate(-1deg);
  }

  .portrait:nth-child(even) {
    transform: rotate(1deg);
  }

  .portrait figcaption {
    font-size: 0.72rem;
  }

  .contribution-card {
    min-height: 270px;
  }

  .collection-footer {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .about-sticker {
    width: 250px;
  }

  .contribute-panel {
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 6px 7px 0 var(--pink);
  }

  .contribute-intro {
    text-align: center;
  }

  .contribute-intro .eyebrow {
    justify-content: center;
  }

  .contribute-intro .button {
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

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

@media (forced-colors: active) {
  .button,
  .brand-mark,
  .filter-button,
  .contribution-card,
  .about-sticker,
  .contribute-panel,
  .fishing-portrait,
  .open-letter,
  .bait-ready-card {
    box-shadow: none;
  }
}
