@font-face {
  font-family: "FredokaLocal";
  src: url("assets/fonts/fredoka-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NunitoLocal";
  src: url("assets/fonts/nunito-extra-bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #1487db;
  --blue-deep: #083b8f;
  --blue-soft: #d9f3ff;
  --yellow: #ffc91f;
  --yellow-deep: #f0ad00;
  --red: #ef2f25;
  --red-deep: #c91e18;
  --ink: #0d1421;
  --cream: #fffae8;
  --muted: #52606f;
  --green: #49a347;
  --white: #ffffff;
  --shadow: 0 18px 34px rgba(8, 60, 112, 0.18);
  --outline: 0 0 0 4px var(--white), 0 8px 0 rgba(16, 32, 51, 0.16);
  --font-body: "NunitoLocal", Nunito, Avenir, Helvetica, Arial, sans-serif;
  --font-display: "FredokaLocal", Fredoka, "Arial Black", Avenir, Helvetica, Arial, sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--blue-soft);
  overflow-x: hidden;
}

body.animals-page {
  background: var(--blue);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

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

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

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  margin: 12px auto 0;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--blue-deep);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  font-size: 0.98rem;
  font-weight: 900;
}

.site-nav a {
  padding: 10px 2px;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover {
  border-color: var(--yellow);
}

.site-nav .nav-cta {
  padding: 12px 16px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--red-deep);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 4px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  min-height: 720px;
  margin-top: -84px;
  padding: 124px max(18px, calc((100vw - 1180px) / 2)) 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    var(--blue);
  border-bottom: 6px solid var(--ink);
}

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

.hero h1 {
  font-family: var(--font-display);
  max-width: 720px;
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2.8rem, 6.4vw, 5.7rem);
  font-weight: 1000;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 0;
  paint-order: stroke fill;
  text-shadow: none;
}

.hero h1 span {
  display: block;
  color: var(--yellow);
  -webkit-text-stroke: 6px var(--white);
  paint-order: stroke fill;
  text-shadow: 0 8px 0 rgba(16, 32, 51, 0.16);
}

.hero h1 span:nth-child(2) {
  color: var(--blue-deep);
  -webkit-text-stroke-color: var(--white);
}

.hero-copy p {
  max-width: min(520px, 100%);
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 2px 0 rgba(16, 32, 51, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.button {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  font-weight: 1000;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

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

.button svg,
.play-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.button-red {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 7px 0 var(--red-deep);
}

.button-yellow {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 7px 0 var(--yellow-deep);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.featured-video {
  position: relative;
  width: min(100%, 710px);
  aspect-ratio: 16 / 9;
  background: var(--white);
  border: 6px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--outline);
  transform: translateY(-64px) rotate(0.8deg);
  overflow: hidden;
}

.featured-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(70px, 8vw, 102px);
  height: clamp(70px, 8vw, 102px);
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border: 5px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.22);
  transform: translate(-50%, -50%);
}

.video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--white);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 1000;
  box-shadow: 0 5px 0 rgba(16, 32, 51, 0.2);
}

.hero-real-animal {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  filter:
    drop-shadow(0 0 0 var(--white))
    drop-shadow(0 12px 0 rgba(16, 32, 51, 0.16));
}

.hero-peaches {
  left: clamp(8px, 3vw, 52px);
  bottom: clamp(-10px, 1vw, 18px);
  width: clamp(260px, 31vw, 455px);
  transform: rotate(-3deg);
}

.section-heading {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.parents-section h2,
.final-cta h2 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 4px var(--white);
  paint-order: stroke fill;
  text-shadow: 0 6px 0 rgba(16, 32, 51, 0.12);
}

.section-heading p,
.parents-section p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.watch-section {
  scroll-margin-top: 110px;
  padding: 56px 0 70px;
  background: var(--cream);
}

.animal-preview-section {
  scroll-margin-top: 110px;
  padding: 68px 0 80px;
  background: var(--white);
}

.home-animal-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.home-animal-card {
  min-height: 348px;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-animal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 rgba(16, 32, 51, 0.13);
}

.home-animal-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: 50% 44%;
  border: 3px solid var(--white);
  border-radius: 8px;
}

.home-animal-card strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 1000;
  line-height: 1;
}

.home-animal-card span {
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 1000;
}

.home-animal-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.animal-preview-link {
  margin: 28px max(18px, calc((100vw - 1180px) / 2)) 0;
}

.episode-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.episode-card {
  position: relative;
  min-height: 382px;
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.episode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 rgba(16, 32, 51, 0.13);
}

.episode-card > img,
.episode-art,
.episode-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 4px solid var(--ink);
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
}

.episode-art,
.episode-photo {
  display: grid;
  place-items: end center;
}

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

.episode-art img {
  max-width: 76%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(16, 32, 51, 0.12));
}

.episode-art.yellow {
  background: var(--yellow);
}

.episode-art.blue {
  background: var(--blue);
}

.episode-chip {
  align-self: flex-start;
  margin-top: 14px;
  padding: 7px 10px;
  color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.episode-chip.red {
  background: var(--red);
}

.episode-chip.yellow {
  color: var(--ink);
  background: var(--yellow);
}

.episode-chip.blue {
  background: var(--blue-deep);
}

.episode-card h3 {
  font-family: var(--font-display);
  margin: 13px 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 1000;
  line-height: 0.98;
}

.episode-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.card-action {
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--yellow-deep);
  font-size: 0.88rem;
  font-weight: 1000;
  line-height: 1;
}

.friends-section {
  scroll-margin-top: 110px;
  padding: 60px 0 76px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.28)),
    var(--yellow);
  border-block: 6px solid var(--ink);
}

.friend-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.friend-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.friend-button {
  min-height: 188px;
  padding: 10px;
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 7px 0 rgba(16, 32, 51, 0.12);
  font: inherit;
  font-size: 1rem;
  font-weight: 1000;
  cursor: pointer;
}

.friend-button img {
  width: min(100%, 132px);
  height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 6px 0 rgba(16, 32, 51, 0.12));
}

.friend-button[data-friend="peaches"] img {
  width: min(100%, 172px);
  height: 136px;
}

.friend-button.real-friend img {
  width: min(100%, 146px);
  object-fit: cover;
  object-position: 50% 48%;
  border: 3px solid var(--ink);
  border-radius: 8px;
  filter: none;
}

.friend-button[data-friend="ryan"] img {
  object-position: 42% 44%;
}

.friend-button[data-friend="cheese"] img {
  object-position: 42% 42%;
}

.friend-button[data-friend="topper"] img {
  object-position: 50% 36%;
}

.friend-button.is-active {
  background: var(--blue);
  color: var(--white);
}

.friend-note {
  min-height: 388px;
  padding: clamp(18px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.14);
}

.friend-note img {
  width: 138%;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 10px 0 rgba(16, 32, 51, 0.14));
  transform: translateX(-16%);
}

.friend-note img.is-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  object-fit: cover;
  object-position: 50% 42%;
  border: 4px solid var(--ink);
  border-radius: 8px;
  filter: none;
  transform: none;
}

.friend-note span {
  display: inline-flex;
  padding: 8px 11px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.friend-note h3 {
  margin: 16px 0 0;
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 4.3rem);
  font-weight: 1000;
  line-height: 0.92;
  text-transform: uppercase;
}

.friend-note p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
}

.inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--yellow-deep);
  font-size: 0.9rem;
  font-weight: 1000;
  line-height: 1;
}

.parents-section {
  scroll-margin-top: 110px;
  width: 100%;
  margin: 0;
  padding: 78px max(18px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 30px;
  align-items: start;
  color: var(--white);
  background: var(--blue-deep);
}

.parents-section p {
  margin-top: 18px;
  color: var(--white);
}

.parents-section h2 {
  color: var(--white);
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.parents-link {
  margin-top: 24px;
}

.parent-side {
  display: grid;
  gap: 14px;
}

.real-photo-stack {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 150px 150px;
  gap: 12px;
}

.real-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 7px 0 rgba(16, 32, 51, 0.1);
}

.real-photo-stack img:first-child {
  grid-row: span 2;
}

.promise-list {
  display: grid;
  gap: 12px;
}

.promise-list div {
  padding: 18px;
  display: grid;
  gap: 6px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 7px 0 rgba(16, 32, 51, 0.1);
}

.promise-list strong {
  color: var(--red);
  font-size: 1.18rem;
  font-weight: 1000;
}

.promise-list span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.38;
}

.final-cta {
  padding: 60px 18px 66px;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
  background: var(--blue);
  border-top: 6px solid var(--ink);
}

.final-cta img {
  width: 150px;
  filter: drop-shadow(0 8px 0 rgba(16, 32, 51, 0.16));
}

.final-cta h2 {
  max-width: 820px;
  color: var(--yellow);
}

.animal-hero {
  width: 100%;
  min-height: 520px;
  margin: -84px 0 0;
  padding: 150px max(18px, calc((100vw - 1180px) / 2)) 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: var(--blue);
}

.animal-hero h1 {
  font-family: var(--font-display);
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.75rem, 5.4vw, 4.7rem);
  font-weight: 1000;
  line-height: 1.03;
}

.animal-hero p {
  max-width: 540px;
  margin: 20px 0 24px;
  color: var(--white);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 2px 0 rgba(16, 32, 51, 0.2);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.animal-hero-photo {
  position: relative;
  min-height: 360px;
}

.animal-hero-main {
  width: min(100%, 430px);
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 0 rgba(16, 32, 51, 0.15));
  transform: rotate(-3deg);
}

.animal-hero-peaches {
  aspect-ratio: auto;
}

.animal-hero-small {
  position: absolute;
  width: clamp(142px, 17vw, 232px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--outline);
}

.animal-hero-peaches-card {
  left: -22px;
  bottom: -18px;
  object-position: 48% 52%;
  transform: rotate(-4deg);
}

.animal-hero-arlo-card {
  right: 0;
  top: -36px;
  object-position: 48% 44%;
  transform: rotate(3deg);
}

.animal-directory {
  padding: 64px 0 76px;
  background: var(--cream);
  border-block: 0;
}

.animal-directory-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.animal-card {
  min-height: 274px;
  padding: 14px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 7px 0 rgba(16, 32, 51, 0.12);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.animal-card img {
  width: 100%;
  height: 138px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 0 rgba(16, 32, 51, 0.1));
}

.animal-card.real-card img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  object-position: 46% 45%;
  border: 3px solid var(--ink);
  border-radius: 8px;
  filter: none;
}

.animal-card[data-animal="tina-turner"] img {
  object-position: 48% 28%;
}

.animal-card span {
  justify-self: start;
  text-align: left;
  font-size: 1.25rem;
  font-weight: 1000;
  line-height: 1;
}

.animal-card small {
  justify-self: start;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 900;
}

.animal-card.is-selected {
  color: var(--white);
  background: var(--blue);
}

.animal-card.is-selected small {
  color: var(--white);
}

.animal-detail {
  position: static;
  margin-top: 42px;
  display: grid;
  gap: 14px;
}

.animal-detail-main,
.fact-panel,
.real-animal-photo {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.12);
}

.animal-detail-main {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(140px, 0.64fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.animal-detail-image {
  min-height: 240px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 8px;
}

.animal-detail-image img {
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 8px 0 rgba(16, 32, 51, 0.14));
}

.animal-detail-main span {
  display: inline-flex;
  padding: 8px 11px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.animal-detail-main h3 {
  margin: 14px 0 0;
  color: var(--blue-deep);
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  font-weight: 1000;
  line-height: 0.88;
  text-transform: uppercase;
}

.animal-detail-main p,
.real-animal-photo p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.42;
}

.fact-panel {
  padding: 20px;
}

.fact-panel h4 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.fact-panel ul {
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.5;
}

.fact-panel li + li {
  margin-top: 8px;
}

.real-animal-photo {
  padding: 12px;
}

.real-animal-photo img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 8px;
}

.parents-page {
  background: var(--white);
}

.watch-page {
  background: var(--blue);
}

.parent-page-hero {
  min-height: 560px;
  margin-top: -84px;
  padding: 150px max(18px, calc((100vw - 1180px) / 2)) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 54px;
  align-items: center;
  color: var(--white);
  background: var(--blue-deep);
}

.parent-page-hero h1 {
  font-family: var(--font-display);
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 5.7vw, 5rem);
  font-weight: 1000;
  line-height: 1.05;
}

.parent-page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.45;
}

.parent-hero-photos {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 150px 150px;
  gap: 12px;
}

.parent-hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid var(--white);
  border-radius: 8px;
}

.parent-hero-photos img:first-child {
  grid-row: span 2;
}

.watch-page-hero {
  margin-top: -84px;
  padding: 150px max(18px, calc((100vw - 1180px) / 2)) 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    var(--blue);
  border-bottom: 6px solid var(--ink);
}

.watch-page-hero h1 {
  font-family: var(--font-display);
  max-width: 690px;
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(3rem, 5.8vw, 5.7rem);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: 0;
}

.watch-page-hero p {
  max-width: 560px;
  margin: 22px 0 24px;
  color: var(--white);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 900;
  line-height: 1.4;
}

.watch-featured-video {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--white);
  border: 6px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--outline);
}

.watch-featured-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-section {
  padding: 72px 0 86px;
  background: var(--cream);
}

.playlist-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.playlist-card {
  min-height: 374px;
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.playlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 rgba(16, 32, 51, 0.13);
}

.playlist-art {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-soft);
  border: 4px solid var(--ink);
  border-radius: 8px;
}

.playlist-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-art.animals img {
  object-position: 52% 42%;
}

.playlist-art.calm img {
  object-position: 50% 28%;
}

.playlist-art.parents img {
  object-position: 50% 32%;
}

.playlist-card h3 {
  font-family: var(--font-display);
  margin: 13px 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 1000;
  line-height: 1;
}

.playlist-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.watch-final-band {
  padding: 52px max(18px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: var(--white);
  background: var(--blue-deep);
  border-top: 6px solid var(--ink);
}

.watch-final-band h2 {
  font-family: var(--font-display);
  max-width: 690px;
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2.3rem, 4vw, 4.6rem);
  font-weight: 1000;
  line-height: 0.92;
  letter-spacing: 0;
}

.watch-final-band p {
  max-width: 560px;
  margin: 14px 0 0;
  font-weight: 900;
  line-height: 1.4;
}

.watch-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.parent-promise,
.seo-blocks {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 0;
}

.parent-promise h2,
.seo-blocks h2 {
  font-family: var(--font-display);
  margin: 0 0 32px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 1000;
  line-height: 1;
}

.promise-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.promise-card-grid article,
.seo-row {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(16, 32, 51, 0.13);
}

.promise-card-grid article {
  min-height: 120px;
  padding: 24px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.promise-card-grid article span {
  width: 24px;
  height: 24px;
  margin-top: 3px;
  background: var(--yellow);
  border: 4px solid var(--ink);
  border-radius: 999px;
}

.promise-card-grid article:nth-child(2n) span {
  background: var(--red);
}

.promise-card-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 1000;
  line-height: 1.2;
}

.seo-blocks {
  padding-bottom: 92px;
}

.seo-row {
  min-height: 112px;
  margin-top: 22px;
  padding: 24px 30px;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background: var(--white);
}

.seo-row h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.2rem;
  font-weight: 1000;
}

.seo-row p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.real-animal-photo p {
  margin: 10px 4px 2px;
  font-size: 0.92rem;
}

.site-footer {
  min-height: 86px;
  padding: 24px max(18px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.site-footer a {
  color: var(--yellow);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 28px));
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 4px solid var(--ink);
    border-radius: 8px;
    box-shadow: 0 8px 0 rgba(16, 32, 51, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero,
  .animal-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 116px;
  }

  .hero-stage {
    min-height: 420px;
    align-items: start;
  }

  .episode-grid,
  .home-animal-grid,
  .animal-directory-layout,
  .friend-layout,
  .parents-section {
    grid-template-columns: 1fr;
  }

  .animal-detail {
    position: static;
  }

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

  .parent-page-hero {
    grid-template-columns: 1fr;
    margin-top: -84px;
  }

  .watch-page-hero {
    grid-template-columns: 1fr;
  }

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

  .watch-final-band {
    display: grid;
  }

  .watch-final-actions {
    justify-content: flex-start;
  }

  .promise-card-grid,
  .seo-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 18px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .brand span {
    max-width: 138px;
  }

  .menu-toggle {
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .hero {
    padding-inline: 14px;
    padding-bottom: 30px;
  }

  .hero h1,
  .animal-hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 11.5vw, 3.1rem);
  }

  .hero h1 span,
  .animal-hero h1 span {
    -webkit-text-stroke-width: 3px;
  }

  .animal-hero {
    margin-top: 0;
    padding-inline: 14px;
    padding-bottom: 38px;
  }

  .animal-hero p {
    max-width: 330px;
    font-size: 1rem;
  }

  .animal-hero-photo {
    min-height: 310px;
  }

  .animal-hero-main {
    width: min(100%, 300px);
  }

  .animal-hero-small {
    width: 118px;
  }

  .animal-hero-peaches-card {
    left: 8px;
    bottom: 4px;
  }

  .animal-hero-arlo-card {
    right: 4px;
    top: 154px;
  }

  .hero-copy p {
    max-width: 330px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
  }

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

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

  .featured-video {
    width: min(100%, 300px);
    justify-self: start;
    transform: translateY(-18px) rotate(0.8deg);
  }

  .hero-peaches {
    left: 88px;
    top: 120px;
    bottom: auto;
    width: 194px;
  }

  .video-badge {
    top: 8px;
    right: 8px;
    font-size: 0.72rem;
  }

  .episode-card {
    min-height: 0;
  }

  .friend-picker {
    grid-template-columns: 1fr 1fr;
  }

  .friend-button {
    min-height: 152px;
  }

  .friend-button img {
    height: 94px;
  }

  .friend-note {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .animal-card {
    min-height: 216px;
  }

  .animal-card img {
    height: 104px;
  }

  .animal-card.real-card img {
    width: 100%;
    height: 104px;
  }

  .animal-detail-main {
    grid-template-columns: 1fr;
  }

  .animal-detail-image {
    min-height: 190px;
  }

  .animal-detail-image img {
    max-height: 200px;
  }

  .friend-note img {
    max-height: 240px;
  }

  .real-photo-stack {
    grid-template-rows: 118px 118px;
  }

  .home-animal-grid {
    grid-template-columns: 1fr;
  }

  .home-animal-card {
    min-height: 0;
  }

  .parent-page-hero {
    margin-top: 0;
    padding: 118px 14px 48px;
  }

  .parent-page-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .watch-page-hero {
    margin-top: 0;
    padding: 118px 14px 48px;
  }

  .watch-page-hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.55rem);
  }

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

  .playlist-card {
    min-height: 0;
  }

  .parent-hero-photos {
    grid-template-rows: 118px 118px;
  }

  .parent-promise,
  .seo-blocks {
    width: calc(100% - 28px);
    padding-top: 54px;
  }

  .seo-row {
    gap: 12px;
    padding: 20px;
  }

  .section-heading h2,
  .parents-section h2,
  .final-cta h2 {
    -webkit-text-stroke-width: 3px;
  }

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