/* The site's page layout (C7b): the approved v2 design (rulings §2.39) around the components, whose own rules live in
   site/components/ (components.css). Colours, faces and sizes are the tokens' (Law #13). Motion honours Reduce Motion. */
.hero2 {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56em) {
  .hero2 {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

@keyframes frost {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.9;
  }
}

/* on the cook's phone (W108 S3): the words beside the phone on a wide screen, on the page's own paper */
.cook {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
@media (min-width: 56em) {
  .cook {
    grid-template-columns: 1fr minmax(0, 22rem);
    justify-content: space-between;
  }
}
.cook-phone {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}
.cook-phone .phone {
  width: min(100%, 20rem);
}

/* proof: a real record in three numbers */
.proof {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
@media (min-width: 56em) {
  .proof {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.figs div {
  display: grid;
  gap: 0.25rem;
}
.figs b {
  font: 600 1.5rem/1 var(--mono);
}
.figs span {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* the shop: in the freezer now · preorder for the next cook day */
.shelf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}
.ready {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font: 600 0.875rem/1 var(--text);
  color: var(--cold);
}
.ready::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--cold);
  box-shadow: 0 0 0 0 var(--cold);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--cold) 55%, transparent);
  }
  100% {
    box-shadow: 0 0 0 0.5rem transparent;
  }
}
.youtube {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* the passport: the temperature story, an ingredient's journey, a living timeline */
.journey {
  display: grid;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem;
}
@media (min-width: 37.5em) {
  .journey {
    grid-template-columns: repeat(4, 1fr);
  }
}
.journey li {
  list-style: none;
  display: grid;
  gap: 0.125rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--r);
  background: var(--sunk);
  font-size: 0.8125rem;
  position: relative;
}
.journey li b {
  font-size: 0.875rem;
}
.journey li.h {
  background: var(--heat-soft);
}
.journey li.c {
  background: var(--cold-soft);
}
.timeline.living li {
  opacity: 1;
  transform: none;
}
.js .timeline.living li {
  opacity: 0;
  transform: translateY(0.5rem);
  transition:
    opacity var(--motion, 320ms) ease,
    transform var(--motion, 320ms) ease;
}
.js .timeline.living li.seen {
  opacity: 1;
  transform: none;
}
.now {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--cold);
}
.now::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--cold);
  animation: pulse 2.4s ease-out infinite;
}

@media print {
  .js .timeline.living li {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .timeline.living li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* v2.1 page layout around the site's components (the components' own rules live in site/components/) */
.pick2 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
