/* No Crumbs Podcast — site styles
   Layout: the hero is the old one-screen sticker chaos on the wobbly checkerboard; below it the
   page turns into snack packaging (crimped wrappers, a Nutrition Facts label, price-tag bursts)
   on solid cream, teal and orange slabs with bitten, scalloped edges.
   The merch page is the odd one out: a black page with ember-orange serif text. */
:root {
  --teal: #5de0e6;
  --cream: #fdf4ec;
  --paper: #fffaf3;
  --ink: #0d0d0d;
  --ink-soft: #3a302a;
  --crumb: #f7931e;
  --crumb-light: #ffc46b;
  --crumb-deep: #c94001;
  --butter: #ffd84d;
  --ember: #ea6020;
  --night: #000000;
  --rule: #3a2418;

  --comic: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive;
  --display: "Lilita One", "Arial Rounded MT Bold", "Arial Black", sans-serif;
  --label: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tome: "Yrsa", Georgia, "Times New Roman", serif;
  --spell: "MedievalSharp", "Yrsa", Georgia, serif;

  --gutter: clamp(16px, 3vw, 48px);
  --content: 72rem;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--comic);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--teal);
}

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

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px dashed currentColor;
  outline-offset: 5px;
  border-radius: 6px;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Checkerboard backdrop ---------- */

.checkers::before {
  content: "";
  position: fixed;
  inset: -4%;
  z-index: -1;
  background: var(--teal) url("assets/background.webp") center / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-1.2%, -0.8%, 0) rotate(-0.6deg) scale(1.02); }
  to   { transform: translate3d(1.2%, 0.8%, 0) rotate(0.6deg) scale(1.05); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.15em;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font: 700 1.05rem/1.1 var(--comic);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--crumb {
  background: var(--crumb);
}

.btn--ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--cream);
}

.btn--ink:hover {
  box-shadow: 6px 6px 0 var(--cream);
}

.btn--small {
  padding: 0.45em 1em;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn__icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------- Site nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding: calc(0.55rem + env(safe-area-inset-top, 0px)) var(--gutter) 0.55rem;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}

.site-nav__logo img {
  width: auto;
  height: 2.6rem;
}

.site-nav nav {
  margin-left: auto;
}

.site-nav__links {
  display: flex;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__links a {
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 5px;
}

.site-nav__links a:hover {
  text-decoration: underline wavy var(--crumb-deep) 2px;
}

@media (max-width: 720px) {
  .site-nav {
    gap: 0.35rem 1rem;
  }

  .site-nav .btn {
    margin-left: auto;
  }

  .site-nav nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .site-nav__links {
    justify-content: space-between;
    padding-block: 0.15rem 0.1rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 1fr);
  grid-template-areas:
    "girlies logo ate"
    "break   logo ate"
    "help    cta  .";
  align-content: center;
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: 1rem;
  min-height: calc(100svh - 10rem);
  padding-inline: var(--gutter);
  padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}

.note {
  margin: 0;
  text-align: center;
  line-height: 1.25;
  place-self: center;
  text-wrap: balance;
}

.brand {
  position: relative;
  grid-area: logo;
  place-self: center;
  width: 100%;
  max-width: 48rem;
}

.brand h1 {
  margin: 0;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 16px rgb(13 13 13 / 0.16));
  animation: bob 5s ease-in-out infinite;
}

.brand img:hover {
  animation: squish 0.7s ease-in-out;
}

@keyframes bob {
  50% { transform: translateY(-12px) rotate(-1.2deg); }
}

@keyframes squish {
  0%   { transform: scale(1, 1); }
  30%  { transform: scale(1.06, 0.92); }
  55%  { transform: scale(0.96, 1.06); }
  80%  { transform: scale(1.02, 0.98); }
  100% { transform: scale(1, 1); }
}

/* Price-tag starburst, like the "NEW!" on a snack bag */
.burst {
  display: grid;
  place-content: center;
  justify-items: center;
  aspect-ratio: 1;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50.0,1.0 55.8,9.9 63.8,3.0 66.8,13.2 76.5,8.8 76.5,19.4 87.0,17.9 84.1,28.1 94.6,29.6 88.9,38.6 98.5,43.0 90.5,50.0 98.5,57.0 88.9,61.4 94.6,70.4 84.1,71.9 87.0,82.1 76.5,80.6 76.5,91.2 66.8,86.8 63.8,97.0 55.8,90.1 50.0,99.0 44.2,90.1 36.2,97.0 33.2,86.8 23.5,91.2 23.5,80.6 13.0,82.1 15.9,71.9 5.4,70.4 11.1,61.4 1.5,57.0 9.5,50.0 1.5,43.0 11.1,38.6 5.4,29.6 15.9,28.1 13.0,17.9 23.5,19.4 23.5,8.8 33.2,13.2 36.2,3.0 44.2,9.9' fill='%23ffd84d' stroke='%230d0d0d' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.burst span {
  display: block;
}

.burst strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.7em;
  line-height: 0.9;
}

.brand__burst {
  position: absolute;
  top: -3%;
  right: 0;
  width: clamp(5.5rem, 9vw, 8.5rem);
  font-size: clamp(0.62rem, 0.9vw, 0.85rem);
  rotate: 14deg;
  animation: tag-wobble 2.8s ease-in-out infinite;
}

@keyframes tag-wobble {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.06); }
}

.hero__cta {
  grid-area: cta;
  place-self: start center;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.hero__cta .btn-row {
  justify-content: center;
}

.note--girlies {
  grid-area: girlies;
  max-width: 7.5em;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.9vw, 1.85rem);
  transform: rotate(10deg);
  animation: flip 8.1s ease-in-out infinite;
}

@keyframes flip {
  0%, 62% { transform: perspective(600px) rotate(10deg) rotateY(0); }
  88%, 100% { transform: perspective(600px) rotate(10deg) rotateY(360deg); }
}

.note--ate {
  grid-area: ate;
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
  line-height: 1.3;
  transform-origin: 50% 0;
  transform: rotate(-8deg);
  animation: swing 3.5s ease-in-out infinite;
}

@keyframes swing {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
}

.note--break {
  grid-area: break;
  max-width: 7.5em;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  animation: flash 2s ease-in-out infinite;
}

@keyframes flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.note--help {
  grid-area: help;
  width: 11em;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  transform: rotate(-10deg);
  animation: spin 7s linear infinite;
}

@keyframes spin {
  from { transform: rotate(-10deg); }
  to   { transform: rotate(350deg); }
}

/* "Hey! Click over here!" sits just right of the listen buttons, pointing at them */
.hero__listen {
  position: relative;
}

.hello {
  position: absolute;
  left: calc(100% + 0.35rem);
  bottom: 0.4rem;
  display: grid;
  justify-items: start;
  gap: 0.1rem;
  width: max-content;
}

.hello__note {
  max-width: 6.5em;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  transform: rotate(-7deg);
}

.hello__arrow {
  width: clamp(3.5rem, 5vw, 4.75rem);
  height: auto;
  color: var(--ink);
  transform: scaleX(-1) rotate(8deg);
}

/* Phones and tablets: just the logo and the listen buttons, no sticker notes */
@media (max-width: 959px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "logo"
      "cta";
    align-content: start;
    row-gap: clamp(1.5rem, 5vw, 2.25rem);
    min-height: 0;
    padding-block: clamp(2rem, 7vw, 3rem) 4rem;
  }

  .brand {
    max-width: 42rem;
  }

  .hero > .note,
  .hello {
    display: none;
  }
}

/* Phones: the logo runs nearly edge to edge */
@media (max-width: 600px) {
  .brand {
    justify-self: stretch;
    width: auto;
    max-width: none;
    margin-inline: calc(0.25rem - var(--gutter));
  }

  .brand__burst {
    top: -8%;
    right: 0.5rem;
    width: 5.25rem;
    font-size: 0.6rem;
  }
}

/* ---------- Crossed ticker tapes ---------- */

.tickers {
  position: relative;
  z-index: 3;
  height: clamp(6rem, 11vw, 8.5rem);
  margin-bottom: -2.5rem;
}

.ticker {
  position: absolute;
  left: -5%;
  width: 110%;
  overflow: hidden;
  padding-block: 0.45rem;
  border-block: 3px solid var(--ink);
}

.ticker--ink {
  top: 12%;
  z-index: 2;
  background: var(--ink);
  color: var(--cream);
  rotate: -2.5deg;
}

.ticker--crumb {
  top: 38%;
  z-index: 1;
  background: var(--crumb);
  color: var(--ink);
  rotate: 2deg;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker--crumb .ticker__track {
  animation-duration: 36s;
  animation-direction: reverse;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  padding-right: 0.6em;
  white-space: nowrap;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 2.1rem);
  line-height: 1.2;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* A little crumb between phrases */
.crumb {
  flex: none;
  width: 0.34em;
  height: 0.28em;
  border-radius: 45% 55% 50% 40%;
  background: radial-gradient(circle at 35% 30%, var(--crumb-light), var(--crumb) 55%, var(--crumb-deep));
  transform: rotate(-12deg);
}

.ticker--crumb .crumb {
  background: var(--ink);
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-inline: var(--gutter);
  padding-block: clamp(4.5rem, 8vw, 7rem) clamp(4rem, 7vw, 6rem);
  background: var(--surface);
  scroll-margin-top: 4rem;
}

.section--cream { --surface: var(--cream); }
.section--teal  { --surface: var(--teal); }
.section--crumb { --surface: var(--crumb); }

/* Bitten, scalloped top edge */
.scallop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -17px;
  height: 18px;
  background: radial-gradient(circle at 50% 100%, var(--surface) 16px, transparent 16.5px) 0 0 / 36px 18px repeat-x;
}

.section__head {
  display: grid;
  gap: 0.75rem;
  max-width: var(--content);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.section__head--center {
  justify-items: center;
  text-align: center;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: var(--ink);
  text-shadow: 3px 3px 0 var(--crumb);
}

.display--xl {
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  line-height: 0.95;
}

.section--crumb .display {
  text-shadow: 4px 4px 0 var(--cream);
}

.section__sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.lede {
  max-width: 38em;
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}

/* ---------- Episodes ---------- */

/* Crimped top seal of a snack wrapper */
.crimp {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem 0.6rem;
  border-bottom: 3px solid var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(90deg, rgb(13 13 13 / 0.2) 0 2px, transparent 2px 7px) top / 100% 0.45rem no-repeat,
    var(--band);
}

.crimp--crumb  { --band: var(--crumb); }
.crimp--teal   { --band: var(--teal); }
.crimp--butter { --band: var(--butter); }

.featured {
  max-width: var(--content);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
}

.featured__body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.ep-meta {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
}

.featured__brand {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  text-shadow: 4px 4px 0 var(--crumb);
}

.featured__sub {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  text-wrap: balance;
}

.featured__desc {
  max-width: 60ch;
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.featured__art {
  width: clamp(8rem, 15vw, 12rem);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  rotate: 10deg;
}

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: var(--content);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.ep-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  rotate: -0.6deg;
  transition: transform 0.2s ease, box-shadow 0.2s ease, rotate 0.2s ease;
}

.ep-card:nth-child(even) {
  rotate: 0.6deg;
}

.ep-card:hover,
.ep-card:focus-within {
  rotate: 0deg;
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--ink);
}

.ep-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem 1.2rem;
}

.ep-card__brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.6vw, 2.35rem);
  line-height: 1;
}

.ep-card__sub {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.ep-card__desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink-soft);
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ep-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto 0 0;
  padding-top: 0.85rem;
  border-top: 2px dashed var(--ink);
  font-weight: 700;
}

.ep-card__link {
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

/* The whole card is clickable */
.ep-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ep-card__link:focus-visible {
  outline-offset: 3px;
  outline-color: var(--ink);
}

.archive {
  max-width: var(--content);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.archive summary {
  list-style: none;
}

.archive summary::-webkit-details-marker {
  display: none;
}

.archive summary::after {
  content: "";
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.2em;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform 0.2s ease;
}

.archive[open] summary::after {
  transform: translateY(0.15em) rotate(225deg);
}

.archive__season {
  margin-top: 2.25rem;
}

.archive__season h3 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
}

.archive__season h3 span {
  font-family: var(--comic);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.archive__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--ink);
}

.archive__list li {
  border-bottom: 2px solid rgb(13 13 13 / 0.15);
}

.archive__list a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.4rem;
  text-decoration: none;
  border-radius: 8px;
}

.archive__list a:hover {
  background: rgb(247 147 30 / 0.16);
}

.archive__num {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--crumb-deep);
  font-variant-numeric: tabular-nums;
}

.archive__title b {
  margin-right: 0.35rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
}

.archive__meta {
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--ink-soft);
}

@media (max-width: 680px) {
  .featured__body {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The crimp band already shows the episode number */
  .featured__art {
    display: none;
  }

  .archive__list a {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
  }

  .archive__meta {
    grid-column: 2;
    white-space: normal;
  }
}

/* ---------- The show ---------- */

.show {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: var(--content);
  margin: 0 auto;
}

.show__text {
  display: grid;
  gap: 1.15rem;
}

.show__text > p {
  max-width: 60ch;
  margin: 0;
  line-height: 1.6;
}

.subhead {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

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

.segment {
  padding: 1rem 1.1rem 1.1rem;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  rotate: var(--tilt, 0deg);
}

.segment:nth-child(1) { --tilt: -1.2deg; }
.segment:nth-child(2) { --tilt: 1deg; }
.segment:nth-child(3) { --tilt: 0.8deg; }
.segment:nth-child(4) { --tilt: -0.8deg; }

.segment h4 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.05;
}

.segment p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Nutrition Facts label. Real labels are black on white, so these two colors are literal. */
.label {
  --label-ink: #000000;
  --label-paper: #ffffff;
  justify-self: center;
  width: min(100%, 22rem);
  margin: 0;
  padding: 0.35rem 0.55rem 0.65rem;
  background: var(--label-paper);
  color: var(--label-ink);
  border: 2px solid var(--label-ink);
  font-family: var(--label);
  box-shadow: 8px 8px 0 var(--ink);
  rotate: -2deg;
}

.label p {
  margin: 0;
}

.label__title {
  margin: 0;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid var(--label-ink);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.label__servings {
  padding-top: 0.25rem;
  font-size: 1.05rem;
}

.label__serving {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.25rem;
  font-weight: 900;
  font-size: 1.05rem;
}

.label__bar {
  height: 10px;
  background: var(--label-ink);
}

.label__bar--medium {
  height: 5px;
}

.label__small {
  padding-top: 0.2rem;
  font-weight: 700;
  font-size: 0.78rem;
}

.label__calories {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.15rem;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
}

.label__calories span:last-child {
  font-size: 2.5rem;
}

.label__dv {
  padding-block: 0.2rem;
  border-bottom: 1px solid var(--label-ink);
  font-weight: 700;
  font-size: 0.78rem;
  text-align: right;
}

.label__rows {
  margin: 0;
}

.label__rows div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.22rem;
  border-bottom: 1px solid var(--label-ink);
  font-size: 0.9rem;
}

.label__rows dt,
.label__rows dd {
  margin: 0;
}

.label__rows dd {
  font-weight: 700;
}

.label__rows div:last-child {
  border-bottom: 0;
}

.label__note,
.label__ingredients {
  font-size: 0.74rem;
  line-height: 1.35;
}

.label__note {
  margin-top: 0.1rem;
  padding-top: 0.4rem;
  border-top: 5px solid var(--label-ink);
}

.label__ingredients {
  padding-top: 0.45rem;
}

@media (max-width: 860px) {
  .show {
    grid-template-columns: minmax(0, 1fr);
  }

  .label {
    order: 2;
    width: min(calc(100% - 12px), 22rem);
    rotate: -1deg;
  }
}

@media (max-width: 560px) {
  .segments {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Hosts ---------- */

.hosts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: 60rem;
  margin: 0 auto;
}

.host {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 7px 7px 0 var(--ink);
  rotate: -1.2deg;
}

.host--jackson {
  rotate: 1.2deg;
}

.host__photo {
  display: grid;
  place-items: center;
  width: 7.5rem;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--crumb);
  border: 3px solid var(--ink);
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
}

.host--jackson .host__photo {
  background: var(--teal);
}

.host__photo span {
  font-family: var(--display);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--cream);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
}

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

.host__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
}

.host__role {
  margin: 0;
  padding: 0.2rem 0.75rem;
  background: var(--butter);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}

.host__bio {
  max-width: 60ch;
  margin: 0.6rem 0 0;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .hosts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Crumpettes call to action ---------- */

.crumpettes {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}

.crumpettes .btn-row {
  justify-content: center;
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  --surface: var(--ink);
  position: relative;
  padding-inline: var(--gutter);
  padding-block: clamp(3rem, 6vw, 4.5rem) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--cream);
}

/* One centered column: logo, tagline, socials, then a quiet bottom bar */
.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
}

.site-footer__logo img {
  width: 10rem;
  height: auto;
}

.site-footer__tag {
  max-width: 26em;
  margin: 0;
  line-height: 1.5;
}

.site-footer__bottom {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(253 244 236 / 0.2);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline wavy var(--crumb) 2px;
  text-underline-offset: 5px;
}

.site-footer__fine {
  margin: 0;
  font-size: 0.875rem;
  color: rgb(253 244 236 / 0.7);
}

@media (max-width: 480px) {
  .site-footer__links {
    gap: 0.35rem 1rem;
    font-size: 0.95rem;
  }
}

.socials {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .socials {
  grid-auto-flow: column;
  gap: 0.75rem;
}

.social {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.site-footer .social {
  background: var(--cream);
  color: var(--ink);
}

.social svg {
  width: 62%;
  height: 62%;
}

.social:hover {
  transform: rotate(-12deg) scale(1.12);
  background: var(--crumb);
  color: var(--ink);
}

/* ---------- 404 ---------- */

.lost {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 4rem);
  padding-inline: var(--gutter);
  padding-block: clamp(2rem, 6vw, 4rem);
}

.lost__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-width: 34rem;
  padding: clamp(3rem, 7vw, 4rem) clamp(1.5rem, 5vw, 3rem) clamp(2rem, 5vw, 3rem);
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
  rotate: -1deg;
}

.lost__burst {
  position: absolute;
  top: -3.25rem;
  right: -1.5rem;
  width: 7.5rem;
  font-size: 0.8rem;
  rotate: 12deg;
}

.lost__card p {
  margin: 0;
}

/* ---------- About ---------- */

.about {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-height: calc(100svh - 4rem);
  padding-inline: var(--gutter);
  padding-block: clamp(2rem, 5vw, 4rem);
}

.about__title {
  max-width: 24em;
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  text-decoration: underline 3px;
  text-underline-offset: 7px;
}

.about__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(100%, 72rem);
}

.oval {
  display: grid;
  gap: 1.2em;
  padding-block: clamp(3rem, 7vw, 6.5rem);
  padding-inline: clamp(2.5rem, 12%, 9rem);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.5;
  text-align: center;
  animation: wobble 9s ease-in-out infinite;
}

.oval p {
  max-width: 62ch;
  margin: 0 auto;
}

@keyframes wobble {
  0%, 100% { border-radius: 50%; }
  33% { border-radius: 48% 52% 51% 49% / 52% 48% 52% 48%; }
  66% { border-radius: 52% 48% 49% 51% / 48% 53% 47% 52%; }
}

.about__nav {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.about-link {
  font-weight: 700;
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  text-decoration: underline 2px;
  text-underline-offset: 4px;
  transition: transform 0.2s ease;
}

.about-link:hover {
  transform: rotate(-6deg) scale(1.08);
}

@media (max-width: 760px) {
  .about__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .oval {
    padding: 3.25rem 1.5rem;
    border-radius: 50% / 12%;
    animation: none;
  }

  .about__nav {
    grid-auto-flow: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
  }

  .about__nav .socials {
    grid-auto-flow: column;
  }
}

/* ---------- Shop ---------- */

.page-shop {
  background: var(--night);
  color: var(--ember);
  color-scheme: dark;
}

.shop-bar {
  display: flex;
  justify-content: flex-end;
  padding-block: 0.9rem;
  padding-inline: clamp(16px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}

.shop-bar a {
  font-family: var(--spell);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  color: var(--crumb-deep);
  text-decoration: none;
}

.shop-bar a:hover {
  color: var(--ember);
}

.scroll {
  display: grid;
  gap: 1.15em;
  padding-inline: clamp(16px, 5vw, 64px);
  padding-block: clamp(2.5rem, 6vw, 5rem) 6rem;
  font-family: var(--tome);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.3vw, 3rem);
  line-height: 1.2;
}

.scroll p {
  max-width: 13.5em;
  margin: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll p.is-pending {
  opacity: 0;
  transform: translateY(0.5em);
}

.scroll .scroll__home {
  margin-top: 1.5em;
  font-size: clamp(1.1rem, 0.55em, 1.6rem);
}

.scroll__home a {
  text-underline-offset: 5px;
}

.scroll__home a:hover {
  color: var(--crumb-light);
}

/* ---------- Less motion when asked ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .ticker__item[aria-hidden="true"],
  .ticker__track > .ticker__item + .ticker__item {
    display: none;
  }

  .scroll p.is-pending {
    opacity: 1;
    transform: none;
  }
}
