:root {
  --bg: #ffd8eb;
  --bg-soft: #f4a3ca;
  --bg-strong: #dc72ab;
  --panel: rgba(255, 233, 244, 0.68);
  --panel-strong: rgba(255, 216, 232, 0.86);
  --card: rgba(255, 238, 247, 0.88);
  --ink: #4f1236;
  --soft-ink: rgba(79, 18, 54, 0.8);
  --accent: #ff5aa8;
  --accent-strong: #ef2f8f;
  --accent-deep: #a81d67;
  --accent-soft: #ffc3e2;
  --line: rgba(151, 31, 94, 0.16);
  --line-strong: rgba(151, 31, 94, 0.28);
  --shadow: 0 28px 72px rgba(118, 20, 73, 0.2);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #180712;
  --bg-soft: #3a1030;
  --bg-strong: #581b46;
  --panel: rgba(34, 12, 28, 0.74);
  --panel-strong: rgba(56, 18, 44, 0.92);
  --card: rgba(48, 18, 39, 0.92);
  --ink: #ffe3f1;
  --soft-ink: rgba(255, 227, 241, 0.82);
  --accent: #ff78ba;
  --accent-strong: #ff4fa9;
  --accent-deep: #ffb0d7;
  --accent-soft: rgba(255, 160, 210, 0.18);
  --line: rgba(255, 173, 215, 0.16);
  --line-strong: rgba(255, 173, 215, 0.34);
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 18%, transparent 18% 56%),
    linear-gradient(155deg, rgba(255, 128, 190, 0.24) 0 24%, transparent 24% 68%, rgba(255, 255, 255, 0.14) 68% 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12) 0 14px,
      rgba(255, 255, 255, 0) 14px 34px
    ),
    linear-gradient(180deg, #ffd9ec 0%, #f3a7cc 46%, #d86ca8 100%);
}

html[data-theme="dark"] body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 18%, transparent 18% 56%),
    linear-gradient(155deg, rgba(255, 91, 171, 0.12) 0 24%, transparent 24% 68%, rgba(255, 255, 255, 0.02) 68% 100%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0 14px,
      rgba(255, 255, 255, 0) 14px 34px
    ),
    linear-gradient(180deg, #12050e 0%, #2e0d24 46%, #140610 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -56px;
  right: -118px;
  width: 380px;
  height: 260px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255, 198, 226, 0.42), rgba(240, 65, 148, 0.22));
  transform: rotate(-18deg);
  filter: blur(2px);
}

html[data-theme="dark"] body::before {
  background: linear-gradient(135deg, rgba(255, 171, 216, 0.18), rgba(255, 76, 165, 0.14));
}

body::after {
  bottom: -34px;
  left: -82px;
  width: 260px;
  height: 210px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 208, 231, 0.36), rgba(184, 29, 110, 0.16));
  transform: rotate(16deg);
}

html[data-theme="dark"] body::after {
  background: linear-gradient(135deg, rgba(255, 194, 227, 0.14), rgba(255, 90, 172, 0.1));
}

.floating-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.paw-print {
  position: absolute;
}

.paw-print {
  width: 88px;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cellipse cx='19' cy='57' rx='14' ry='20' fill='%23ffe6f1' fill-opacity='0.10' stroke='%23fff8fc' stroke-opacity='0.95' stroke-width='1.4'/%3E%3Cellipse cx='44' cy='24' rx='12.5' ry='19' fill='%23ffe6f1' fill-opacity='0.10' stroke='%23fff8fc' stroke-opacity='0.95' stroke-width='1.4'/%3E%3Cellipse cx='76' cy='24' rx='12.5' ry='19' fill='%23ffe6f1' fill-opacity='0.10' stroke='%23fff8fc' stroke-opacity='0.95' stroke-width='1.4'/%3E%3Cellipse cx='101' cy='57' rx='14' ry='20' fill='%23ffe6f1' fill-opacity='0.10' stroke='%23fff8fc' stroke-opacity='0.95' stroke-width='1.4'/%3E%3Cpath d='M60 56C70 65 81 74 91 84C99 92 97 105 87 110C79 114 70 110 64 102C62 99 61 95 60 91C59 95 58 99 56 102C50 110 41 114 33 110C23 105 21 92 29 84C39 74 50 65 60 56Z' fill='%23ffe6f1' fill-opacity='0.08' stroke='%23fff8fc' stroke-opacity='0.95' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 10px 18px rgba(128, 16, 76, 0.1));
}

.paw-print-top {
  top: 148px;
  right: 124px;
  transform: rotate(18deg) scale(1.02);
}

.paw-print-upper {
  top: 360px;
  right: 56px;
  transform: rotate(10deg) scale(0.88);
}

.paw-print-middle {
  bottom: 248px;
  left: 48px;
  transform: rotate(-20deg);
}

.paw-print-bottom {
  right: 152px;
  bottom: 68px;
  transform: rotate(16deg) scale(0.94);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto;
}

.site-header,
.site-footer,
.panel,
.content-strip,
.quote-panel,
.cta-panel,
.hero {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body,
body::before,
body::after,
.site-header,
.site-footer,
.panel,
.content-strip,
.quote-panel,
.cta-panel,
.hero,
.button,
.theme-toggle,
.tag-row li,
.hero-mode-tag,
.hero-chip-cloud span,
.media-card,
.info-card,
.feature-card,
.card-index,
.video-shell,
.video-shell video,
.sound-toggle,
.donation-card {
  transition:
    background 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-radius: var(--radius-pill);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin-bottom: 18px;
  background: rgba(255, 224, 238, 0.82);
}

html[data-theme="dark"] .site-header {
  background: rgba(29, 10, 24, 0.86);
}

.brand,
h1,
h2,
h3,
blockquote {
  font-family: "Fraunces", serif;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: var(--soft-ink);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 79, 164, 0.08);
  color: var(--ink);
}

html[data-theme="dark"] .site-nav a:hover,
html[data-theme="dark"] .site-nav a:focus-visible {
  background: rgba(255, 120, 186, 0.14);
}

.theme-toggle {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 91, 171, 0.16);
  box-shadow: 0 16px 28px rgba(211, 59, 135, 0.18);
}

.theme-toggle[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(255, 89, 169, 0.24), rgba(255, 181, 222, 0.2));
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 232, 243, 0.08);
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  background: rgba(255, 120, 186, 0.18);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

main {
  display: grid;
  gap: 18px;
}

.hero,
.panel,
.content-strip,
.quote-panel,
.cta-panel {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-xl);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 26%, transparent 26% 58%, rgba(255, 255, 255, 0.1) 58% 100%),
    linear-gradient(145deg, rgba(255, 218, 235, 0.86), rgba(240, 140, 191, 0.88));
}

html[data-theme="dark"] .hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 26%, transparent 26% 58%, rgba(255, 255, 255, 0.03) 58% 100%),
    linear-gradient(145deg, rgba(42, 14, 34, 0.92), rgba(94, 30, 69, 0.96));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 50%, rgba(255, 255, 255, 0.18) 50% 54%, transparent 54% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html[data-theme="dark"] .hero::before {
  background:
    linear-gradient(120deg, transparent 0 50%, rgba(255, 255, 255, 0.08) 50% 54%, transparent 54% 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.hero-copy,
.hero-aside,
.about-layout,
.content-layout,
.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), #ff8abe);
  color: #fff9fc;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  box-shadow: 0 12px 24px rgba(235, 45, 132, 0.2);
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  line-height: 0.96;
  color: var(--ink);
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.2rem);
}

h2 {
  max-width: 15ch;
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
}

h3 {
  font-size: 1.5rem;
  line-height: 1.08;
}

p,
figcaption {
  margin: 0;
  line-height: 1.7;
  color: var(--soft-ink);
}

.hero-text,
.about-text {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 58ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(211, 59, 135, 0.22);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-color: rgba(235, 45, 132, 0.2);
  color: #fff9fc;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #de2a7b, #ff6ab0);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
}

html[data-theme="dark"] .button-secondary {
  background: rgba(255, 236, 245, 0.08);
  border-color: rgba(255, 173, 215, 0.26);
}

.button-large {
  min-width: 180px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.tag-row li {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(151, 31, 94, 0.16);
  background: rgba(255, 236, 245, 0.46);
  color: var(--ink);
}

html[data-theme="dark"] .tag-row li {
  border-color: rgba(255, 173, 215, 0.22);
  background: rgba(255, 236, 245, 0.06);
}

.hero-aside {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 18px;
  justify-items: end;
}

.hero-mode-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(239, 47, 143, 0.96), rgba(168, 29, 103, 0.96));
  color: #fff8fc;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(128, 16, 76, 0.18);
}

html[data-theme="dark"] .hero-mode-tag {
  background: linear-gradient(135deg, rgba(255, 86, 170, 0.96), rgba(107, 35, 82, 0.96));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.hero-paw-stack {
  position: relative;
  width: min(100%, 300px);
  min-height: 210px;
}

.hero-paw {
  width: 122px;
}

.hero-paw-one {
  top: 8px;
  right: 28px;
  transform: rotate(16deg) scale(1.02);
}

.hero-paw-two {
  top: 78px;
  left: 34px;
  transform: rotate(-14deg);
}

.hero-paw-three {
  bottom: 6px;
  right: 76px;
  transform: rotate(10deg) scale(0.94);
}

.hero-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 320px;
}

.hero-chip-cloud span {
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid rgba(151, 31, 94, 0.18);
  background: rgba(255, 239, 247, 0.5);
  color: var(--ink);
  box-shadow: 0 12px 22px rgba(128, 16, 76, 0.08);
}

html[data-theme="dark"] .hero-chip-cloud span {
  border-color: rgba(255, 173, 215, 0.2);
  background: rgba(255, 239, 247, 0.07);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.hero-chip-cloud span:nth-child(1) {
  transform: rotate(-4deg);
}

.hero-chip-cloud span:nth-child(2) {
  transform: rotate(3deg);
}

.hero-chip-cloud span:nth-child(3) {
  transform: rotate(-2deg);
}

.hero-chip-cloud span:nth-child(4) {
  transform: rotate(5deg);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: start;
}

.media-card,
.info-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194, 92, 144, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 243, 249, 0.94));
}

html[data-theme="dark"] .media-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .feature-card {
  border-color: rgba(255, 173, 215, 0.16);
  background: linear-gradient(180deg, rgba(58, 22, 45, 0.92), rgba(40, 15, 32, 0.96));
}

.portrait-card {
  padding: 14px;
}

.portrait-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.portrait-card figcaption,
.content-photo-frame figcaption {
  padding: 14px 10px 4px;
  font-size: 0.94rem;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 8px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-card,
.feature-card {
  padding: 24px;
}

.info-card h3,
.feature-card h3 {
  margin-bottom: 10px;
}

.content-strip {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 24%, transparent 24% 100%),
    linear-gradient(180deg, rgba(255, 232, 243, 0.84), rgba(242, 178, 210, 0.92));
}

html[data-theme="dark"] .content-strip {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 24%, transparent 24% 100%),
    linear-gradient(180deg, rgba(57, 21, 44, 0.94), rgba(32, 12, 26, 0.98));
}

.content-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
  align-items: stretch;
}

.photo-stack {
  display: grid;
  height: 100%;
  gap: 18px;
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.video-card,
.photo-card {
  height: 100%;
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 79, 164, 0.08);
  color: var(--ink);
  letter-spacing: 0.12em;
}

html[data-theme="dark"] .card-index {
  background: rgba(255, 120, 186, 0.12);
}

.video-shell {
  position: relative;
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(194, 92, 144, 0.16);
  background: #fff4fa;
}

html[data-theme="dark"] .video-shell {
  border-color: rgba(255, 173, 215, 0.16);
  background: #28111f;
}

.video-shell video {
  height: auto;
  object-fit: contain;
  background: #ffedf6;
}

html[data-theme="dark"] .video-shell video {
  background: #1b0a15;
}

.sound-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(194, 92, 144, 0.26);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

html[data-theme="dark"] .sound-toggle {
  border-color: rgba(255, 173, 215, 0.24);
  background: rgba(255, 236, 245, 0.1);
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 79, 164, 0.92);
  border-color: rgba(194, 92, 144, 0.42);
  color: #fff9fc;
}

.content-photo-frame {
  margin: 20px 0 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.content-photo-frame img {
  flex: 1;
  min-height: 260px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
}

.face-card .content-photo-frame img {
  aspect-ratio: 4 / 3;
  object-position: center 24%;
}

.quote-panel {
  display: grid;
  place-items: center;
  min-height: 240px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 20%, transparent 20% 100%),
    linear-gradient(180deg, rgba(255, 229, 241, 0.82), rgba(234, 162, 201, 0.92));
}

html[data-theme="dark"] .quote-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 20%, transparent 20% 100%),
    linear-gradient(180deg, rgba(70, 24, 53, 0.94), rgba(35, 13, 28, 0.98));
}

.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 79, 164, 0.2);
}

html[data-theme="dark"] .quote-mark {
  color: rgba(255, 138, 196, 0.24);
}

blockquote {
  max-width: 14ch;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, rgba(245, 86, 171, 0.94), rgba(214, 116, 169, 0.98));
}

html[data-theme="dark"] .cta-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 18%, transparent 18% 100%),
    linear-gradient(135deg, rgba(105, 35, 79, 0.96), rgba(52, 18, 40, 0.98));
}

.cta-copy {
  max-width: 640px;
}

.cta-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.donation-card {
  width: min(100%, 280px);
  padding: 18px;
  border: 1px solid rgba(194, 92, 144, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.36);
  text-align: center;
}

html[data-theme="dark"] .donation-card {
  border-color: rgba(255, 173, 215, 0.2);
  background: rgba(255, 236, 245, 0.08);
}

.donation-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.donation-handle {
  margin-top: 6px;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.donation-button {
  width: 100%;
  margin-top: 14px;
}

.site-footer {
  margin-top: 18px;
  color: var(--soft-ink);
}

.site-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .paw-print-top,
  .paw-print-upper {
    display: none;
  }

  .hero,
  .about-layout,
  .content-layout,
  .photo-stack,
  .cta-panel,
  .about-points {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    justify-items: stretch;
  }

  .donation-card {
    width: 100%;
  }

  .hero-aside {
    min-height: 280px;
    justify-items: start;
  }

  .hero-paw-stack,
  .hero-chip-cloud {
    max-width: none;
  }

  .hero-chip-cloud {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin: 10px auto;
  }

  .site-header,
  .site-footer,
  .panel,
  .content-strip,
  .quote-panel,
  .cta-panel,
  .hero {
    border-radius: 24px;
  }

  .site-header,
  .site-footer {
    padding: 16px;
  }

  .hero,
  .panel,
  .content-strip,
  .quote-panel,
  .cta-panel {
    padding: 22px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .theme-toggle {
    margin-left: 0;
    width: 100%;
  }

  .paw-print-middle,
  .paw-print-bottom {
    opacity: 0.4;
  }

  .hero-mode-tag {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-paw-stack {
    min-height: 170px;
  }

  .hero-paw {
    width: 98px;
  }

  .hero-paw-one {
    right: 12px;
  }

  .hero-paw-two {
    left: 12px;
  }

  .hero-paw-three {
    right: 52px;
  }

  .quote-panel {
    min-height: 200px;
  }

  .sound-toggle {
    right: 12px;
    bottom: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
