:root {
  color-scheme: light;
  --paper: #f7fbf4;
  --paper-strong: #ffffff;
  --ink: #212224;
  --muted: #66706a;
  --mint: #b9ecd5;
  --mint-strong: #3aa77a;
  --coral: #ff7566;
  --coral-dark: #bd3f35;
  --sun: #f7c95d;
  --plum: #51476d;
  --line: rgba(33, 34, 36, 0.14);
  --shadow: 0 20px 60px rgba(33, 34, 36, 0.14);
  --radius: 8px;
  --content: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(185, 236, 213, 0.32) 0 14px,
      transparent 15px
    ),
    linear-gradient(180deg, var(--paper) 0%, #fffaf1 46%, #f4fbff 100%);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(33, 34, 36, 0.1) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(33, 34, 36, 0.08) 0 1.5px, transparent 2px);
  background-position:
    24px 22px,
    31px 30px;
  background-size: 180px 180px;
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    black 10%,
    black 86%,
    transparent 100%
  );
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content);
  margin: 10px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(33, 34, 36, 0.1);
  border-radius: var(--radius);
  background: rgba(247, 251, 244, 0.96);
  box-shadow: 0 16px 42px rgba(33, 34, 36, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 3px 9px 3px 3px;
  border-radius: var(--radius);
  background: rgba(247, 251, 244, 0.96);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--sun);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.brand-mark::before {
  left: 8px;
}

.brand-mark::after {
  right: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--ink);
  color: white;
  outline: none;
}

.section-shell {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(86svh - 74px);
  padding: 34px 0 56px;
}

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

.hero h1,
.split-heading h2,
.blog-layout h2,
.recommendation-copy h2,
.checkpoint h2 {
  margin: 0;
  max-width: 9.8em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(4rem, 8.5vw, 7.9rem);
}

.hero p {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 650;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

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

.button-secondary {
  background: var(--mint);
  color: var(--ink);
}

.button-small {
  min-height: 42px;
  padding: 11px 14px;
  background: var(--paper-strong);
  color: var(--ink);
  font-size: 0.86rem;
}

.hero-stage {
  position: relative;
  min-height: 540px;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo:first-child {
  top: 2%;
  right: 0;
  width: min(74%, 430px);
  aspect-ratio: 4 / 5;
}

.hero-photo-offset {
  bottom: 0;
  left: 0;
  width: min(68%, 390px);
  aspect-ratio: 4 / 5;
  transform: rotate(-3deg);
}

.running-mice {
  position: absolute;
  right: 12%;
  bottom: 20%;
  width: 300px;
  height: 150px;
  overflow: hidden;
  pointer-events: none;
}

.mouse {
  position: absolute;
  width: 28px;
  height: 15px;
  border-radius: 50% 55% 45% 50%;
  background: #5d6062;
  animation: mouse-run 5.8s linear infinite;
}

.mouse::before {
  position: absolute;
  top: -4px;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #777b7d;
  content: "";
}

.mouse::after {
  position: absolute;
  right: -16px;
  top: 8px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #777b7d;
  transform: rotate(20deg);
  content: "";
}

.mouse-one {
  top: 16px;
  left: 12px;
}

.mouse-two {
  top: 72px;
  left: 52px;
  animation-delay: -2s;
  transform: scale(0.8);
}

.mouse-three {
  top: 110px;
  left: 6px;
  animation-delay: -4.4s;
  transform: scale(0.65);
}

@keyframes mouse-run {
  0% {
    translate: 0 0;
  }

  45% {
    translate: 245px -32px;
  }

  55% {
    translate: 245px -32px;
    scale: -1 1;
  }

  100% {
    translate: 0 0;
    scale: -1 1;
  }
}

.maze-section {
  padding: 84px 0 96px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(185, 236, 213, 0.34) 100%
  );
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.split-heading h2,
.blog-layout h2,
.recommendation-copy h2,
.checkpoint h2 {
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
}

.split-heading p,
.blog-layout p,
.recommendation-copy p,
.checkpoint p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.6;
}

.maze-scoreboard {
  display: grid;
  gap: 4px;
  min-width: 128px;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sun);
  box-shadow: 5px 5px 0 var(--ink);
  text-align: center;
}

.maze-scoreboard span {
  color: rgba(33, 34, 36, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.maze-scoreboard strong {
  font-size: 2.2rem;
  line-height: 1;
}

.maze-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
  margin-top: 32px;
}

.maze-card,
.maze-notes,
.blog-entry {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 7px 7px 0 var(--ink);
}

.maze-card {
  padding: clamp(12px, 2vw, 18px);
}

.maze-board {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 5px;
  width: min(100%, 780px);
  aspect-ratio: 13 / 9;
  margin: 0 auto;
  padding: 9px;
  border-radius: var(--radius);
  background: #24342f;
  outline: none;
}

.maze-board:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 117, 102, 0.38);
}

.cell {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  border-radius: 4px;
  background: #dcf1e5;
}

.cell.wall {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0
      0 / 10px 10px,
    #40534d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.cell.path::after {
  width: 16%;
  height: 16%;
  border-radius: 50%;
  background: rgba(33, 34, 36, 0.08);
  content: "";
}

.cell.exit {
  background: #ffd9d3;
}

.sprite {
  position: relative;
  z-index: 2;
  display: block;
}

.sprite.cat {
  width: 70%;
  height: 58%;
  border-radius: 44% 48% 40% 40%;
  background: var(--plum);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}

.sprite.cat::before,
.sprite.cat::after {
  position: absolute;
  top: -18%;
  width: 28%;
  height: 40%;
  background: var(--plum);
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  content: "";
}

.sprite.cat::before {
  left: 12%;
}

.sprite.cat::after {
  right: 12%;
}

.sprite.cat span {
  position: absolute;
  top: 44%;
  left: 22%;
  width: 10%;
  height: 10%;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 28px 0 0 var(--mint);
}

.sprite.mouse-token {
  width: 52%;
  height: 34%;
  border-radius: 50% 55% 45% 50%;
  background: #5d6062;
  animation: wiggle 840ms ease-in-out infinite;
}

.sprite.mouse-token::before {
  position: absolute;
  top: -28%;
  left: 18%;
  width: 28%;
  height: 44%;
  border-radius: 50%;
  background: #777b7d;
  content: "";
}

.sprite.mouse-token::after {
  position: absolute;
  right: -40%;
  top: 50%;
  width: 48%;
  height: 10%;
  border-radius: 999px;
  background: #777b7d;
  transform: rotate(16deg);
  content: "";
}

.sprite.snack {
  width: 42%;
  height: 42%;
  border-radius: 48% 52% 46% 54%;
  background: var(--sun);
  box-shadow: inset -3px -4px 0 rgba(0, 0, 0, 0.14);
}

.sprite.exit-token {
  width: 54%;
  height: 42%;
  border-radius: 50% 50% 42% 42%;
  background: var(--coral);
}

.sprite.exit-token::before,
.sprite.exit-token::after {
  position: absolute;
  top: -14%;
  width: 24%;
  height: 38%;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.sprite.exit-token::before {
  left: 18%;
}

.sprite.exit-token::after {
  right: 18%;
}

@keyframes wiggle {
  0%,
  100% {
    transform: translateX(-1px) rotate(-4deg);
  }

  50% {
    transform: translateX(1px) rotate(4deg);
  }
}

.maze-controls {
  display: grid;
  grid-template-columns: repeat(4, 44px) minmax(82px, auto);
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--mint);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translate(2px, 2px);
  background: var(--sun);
  box-shadow: 2px 2px 0 var(--ink);
  outline: none;
}

.icon-button span {
  width: 13px;
  height: 13px;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

[data-move="up"] span {
  transform: translateY(4px) rotate(45deg);
}

[data-move="left"] span {
  transform: translateX(4px) rotate(-45deg);
}

[data-move="down"] span {
  transform: translateY(-4px) rotate(225deg);
}

[data-move="right"] span {
  transform: translateX(-4px) rotate(135deg);
}

.maze-notes {
  padding: 24px;
}

.maze-notes h3,
.cat-card h3,
.blog-entry h3,
.blog-posts-heading h3,
.post-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
}

.maze-notes ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.maze-notes li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.maze-notes li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 8px -3px 0 var(--mint-strong);
  content: "";
}

.cats-section {
  padding: 96px 0;
}

.cat-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.cat-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 6px 6px 0 var(--ink);
}

.cat-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cat-card:nth-child(1) img {
  object-position: 48% 48%;
}

.cat-card:nth-child(2) img {
  object-position: 52% 46%;
}

.cat-card:nth-child(3) img {
  object-position: 52% 62%;
}

.cat-card div {
  padding: 20px;
}

.cat-card p,
.blog-entry p,
.blog-posts-heading p,
.post-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.5;
}

.blog-section {
  padding: 96px 0;
  background: #27332f;
  color: white;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 40px;
  align-items: center;
}

.blog-intro {
  max-width: 700px;
}

.blog-layout h2 {
  max-width: 10.5em;
}

.blog-layout p {
  color: rgba(255, 255, 255, 0.76);
}

.blog-layout .blog-entry p {
  color: var(--muted);
}

.blog-entry {
  padding: 26px;
  background: #fffaf1;
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--coral);
}

.blog-feature {
  min-height: 340px;
}

.blog-entry span,
.post-card-kicker,
.post-relation-label {
  display: block;
  margin-bottom: 16px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.blog-meta span {
  display: inline-flex;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(33, 34, 36, 0.16);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
}

.blog-body {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.blog-body p {
  margin: 0;
}

.post-relations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.post-relations li {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
}

.blog-posts-wrap {
  margin-top: 48px;
}

.blog-posts-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.blog-posts-heading h3 {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

.blog-posts-heading p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.76);
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

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

.post-card-button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  appearance: none;
  border: 2px solid white;
  border-radius: var(--radius);
  background: #111815;
  box-shadow: 6px 6px 0 var(--coral);
  color: white;
  cursor: pointer;
  text-align: left;
}

.post-card-button::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(6, 9, 8, 0.08) 0%,
      rgba(6, 9, 8, 0.48) 42%,
      rgba(6, 9, 8, 0.93) 100%
    ),
    linear-gradient(90deg, rgba(6, 9, 8, 0.72), rgba(6, 9, 8, 0.16));
  content: "";
}

.post-card-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 260ms ease;
}

.post-card:nth-child(1) img,
.post-card:nth-child(4) img {
  object-position: 48% 48%;
}

.post-card:nth-child(2) img {
  object-position: 52% 45%;
}

.post-card:nth-child(3) img {
  object-position: 52% 62%;
}

.post-card-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 22px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.post-card h3 {
  color: white;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.post-card p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.post-card-kicker {
  justify-self: start;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(6, 9, 8, 0.76);
  color: white;
  line-height: 1;
  text-shadow: none;
}

.post-card-button:hover img,
.post-card-button:focus-visible img {
  transform: scale(1.04);
}

.post-card-button:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 4px;
}

.post-card.is-active .post-card-button {
  border-color: var(--sun);
  box-shadow: 6px 6px 0 var(--sun);
}

.recommendation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: 96px 0;
}

.recommendation-copy p {
  max-width: 560px;
}

.recommendation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fffaf1;
  box-shadow: 7px 7px 0 var(--mint-strong);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.form-actions {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.45;
}

.form-row input,
.form-row select {
  min-height: 48px;
  padding: 0 13px;
}

.form-row textarea {
  min-height: 148px;
  padding: 12px 13px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--coral);
  outline: 4px solid rgba(255, 117, 102, 0.22);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: 18px;
  align-items: center;
}

.form-actions .button {
  width: auto;
  cursor: pointer;
}

.form-actions .button[disabled] {
  cursor: progress;
  opacity: 0.7;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.form-status.is-success {
  color: #1c6f50;
}

.form-status.is-error {
  color: var(--coral-dark);
}

.checkpoint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 96px 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: var(--content);
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 920px) {
  :root {
    --content: min(100vw - 28px, 720px);
  }

  .site-header {
    position: relative;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-links {
    overflow-x: auto;
    max-width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px 0 76px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero-photo:first-child {
    width: min(68%, 390px);
  }

  .hero-photo-offset {
    width: min(68%, 370px);
  }

  .maze-wrap,
  .blog-layout,
  .recommendation-section {
    grid-template-columns: 1fr;
  }

  .blog-posts-heading {
    align-items: stretch;
    flex-direction: column;
  }

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

  .maze-notes {
    order: -1;
  }

  .cat-gallery {
    grid-template-columns: 1fr;
  }

  .cat-card {
    grid-template-columns: minmax(140px, 0.72fr) 1fr;
    grid-template-rows: none;
  }

  .cat-card img {
    height: 100%;
    min-height: 230px;
  }

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

@media (max-width: 620px) {
  :root {
    --content: min(100vw - 24px, 560px);
  }

  .site-header {
    display: grid;
    padding-top: 12px;
  }

  .brand {
    min-height: 38px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .hero {
    gap: 30px;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 19vw, 5.1rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-photo:first-child {
    width: 72%;
  }

  .hero-photo-offset {
    width: 70%;
  }

  .running-mice {
    right: 0;
    bottom: 16%;
    width: 210px;
  }

  .split-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .maze-section,
  .cats-section,
  .blog-section,
  .recommendation-section,
  .checkpoint {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .maze-scoreboard {
    width: 100%;
  }

  .maze-board {
    gap: 3px;
    padding: 6px;
  }

  .maze-controls {
    grid-template-columns: repeat(4, 42px);
  }

  .maze-controls .button-small {
    grid-column: 1 / -1;
  }

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

  .cat-card img {
    min-height: 0;
  }

  .blog-feature {
    min-height: 0;
  }

  .blog-posts {
    grid-template-columns: 1fr;
  }

  .post-card-button {
    display: grid;
    min-height: 0;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.92);
    background: var(--paper-strong);
    color: var(--ink);
  }

  .post-card-button::after {
    display: none;
  }

  .post-card-button img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    filter: none;
    transform: none;
  }

  .post-card-copy {
    position: static;
    padding: 20px;
    background: var(--paper-strong);
    color: var(--ink);
    text-shadow: none;
  }

  .post-card h3 {
    color: var(--ink);
  }

  .post-card p {
    color: var(--muted);
    text-shadow: none;
  }

  .post-card-kicker {
    border-color: var(--line);
    background: #fffaf1;
    color: var(--coral-dark);
  }

  .post-card-button:hover img,
  .post-card-button:focus-visible img {
    transform: none;
  }

  .recommendation-form {
    grid-template-columns: 1fr;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}
