/* Dinoroos website: paper-cutout look to match the games. */

:root {
  color-scheme: light;

  --paper: #fdf6e7;
  --paper-deep: #f6ead0;
  --card: #fffdf7;
  --ink: #4a2f1f;          /* dark brown, like the games' outlines */
  --ink-soft: #7a5a44;
  --sky: #3fb6ec;
  --sky-deep: #1f8fc7;
  --grass: #5cbf3a;
  --grass-deep: #3d9a25;
  --sun: #ffc93c;
  --orange: #f39324;
  --pink: #f27fb8;

  --radius: 22px;
  --radius-small: 14px;
  --outline: 3px solid var(--ink);
  --shadow: 0 6px 0 rgba(74, 47, 31, 0.18), 0 14px 30px rgba(74, 47, 31, 0.12);

  --font-head: "Fredoka", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: 16px;
  --max: 1120px;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  text-align: center;
  margin-bottom: 1.1em;
}

h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(48px, 8vw, 96px) 0; }

/* A faint paper grain on the alternating bands. */
.paper {
  background-color: var(--paper-deep);
  background-image:
    radial-gradient(rgba(74, 47, 31, 0.045) 1px, transparent 1.4px),
    radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1.4px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
}

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

.button {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  background: var(--sun);
  border: var(--outline);
  border-radius: 999px;
  padding: 0.6em 1.5em;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.button:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.button:focus-visible { outline: 4px solid var(--sky-deep); outline-offset: 4px; }

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

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background: var(--sky) url("img/hero-bg.webp") center bottom / cover no-repeat;
  padding: clamp(24px, 5vw, 56px) var(--gutter) 64px;
  overflow: hidden;
}

/* Soft fade into the page below. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(253, 246, 231, 0), var(--paper));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title { position: relative; margin: 0 0 clamp(12px, 2vw, 24px); }

/* The round "Coming soon!" sticker on the title. */
.soon {
  position: absolute;
  top: 2%;
  right: 4%;
  width: clamp(84px, 11vw, 128px);
  height: clamp(84px, 11vw, 128px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff5a5a;
  border: var(--outline);
  box-shadow: 0 5px 0 var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.9rem, 0.6rem + 0.9vw, 1.35rem);
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 0 rgba(74, 47, 31, 0.45);
  transform: rotate(12deg);
  animation: soon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both, wiggle 3s ease-in-out 1.3s infinite;
}

/* A dashed ring inside, like a real sticker. */
.soon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

@keyframes soon-pop {
  from { transform: rotate(-40deg) scale(0); }
  to { transform: rotate(12deg) scale(1); }
}

@keyframes wiggle {
  0%, 80%, 100% { transform: rotate(12deg) scale(1); }
  85% { transform: rotate(4deg) scale(1.08); }
  90% { transform: rotate(18deg) scale(1.08); }
  95% { transform: rotate(10deg) scale(1); }
}

.hero__logo {
  width: clamp(200px, 42vw, 420px);
  margin: 0 auto -0.4em;
  filter: drop-shadow(0 6px 10px rgba(74, 47, 31, 0.25));
  animation: bob 4s ease-in-out infinite;
}

.hero__name {
  width: clamp(290px, 82vw, 780px);
  margin: 0 auto;
  filter: drop-shadow(0 8px 12px rgba(74, 47, 31, 0.3));
  transform-origin: 50% 80%;
  animation: title-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both, sway 5s ease-in-out 0.9s infinite;
}

@keyframes title-pop {
  from { transform: scale(0.6) rotate(-4deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

/* A slow rock with a little squish, out of step with the logo's bob. */
@keyframes sway {
  0%, 100% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-1.6deg) scale(1.015, 0.985); }
  50% { transform: rotate(0) scale(1); }
  75% { transform: rotate(1.6deg) scale(0.985, 1.015); }
}

.hero__tagline,
.hero__platforms {
  background: rgba(255, 253, 247, 0.92);
  border: var(--outline);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
}

.hero__tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.6rem);
  line-height: 1.3;
  padding: 0.6em 1em;
  margin: 0 0 12px;
  max-width: 640px;
}

.hero__platforms {
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.35em 1em;
  margin: 0 0 22px;
  color: var(--ink-soft);
  border-width: 2px;
  box-shadow: none;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}

.button--song { background: var(--card); cursor: pointer; }
.button--song .note { display: inline-block; }
.dancing .button--song .note { animation: dance 0.5s ease-in-out infinite alternate; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* ---------- Intro ---------- */

.intro { padding: clamp(36px, 6vw, 64px) 0; }

.lead {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.lead strong { color: var(--orange); }

/* ---------- Dig, build, play ---------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.card {
  background: var(--card);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:nth-child(1) { transform: rotate(-0.8deg); }
.card:nth-child(3) { transform: rotate(0.8deg); }

.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: var(--outline);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 18px 20px 0;
}

.card p { padding: 0 20px 20px; margin: 0; }

.num {
  display: inline-grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  border: 3px solid var(--ink);
  font-size: 0.85em;
  background: var(--sun);
}

.card:nth-child(2) .num { background: var(--sky); }
.card:nth-child(3) .num { background: var(--grass); }

/* ---------- Your own Dinoroo ---------- */

.own__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.own h2 { text-align: left; margin-bottom: 0.5em; }

.own__mascot {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 12px 14px rgba(74, 47, 31, 0.25));
}

/* The eight colours, hopping in a wave. Tap one to say hi. */
.wave {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 8px;
  background: var(--card);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 14px 12px;
}

.wave button {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-small);
}

.wave img {
  width: 100%;
  transform-origin: 50% 100%;
  animation: wave-hop 2.4s ease-in-out infinite;
}

.wave button:nth-child(2) img { animation-delay: 0.15s; }
.wave button:nth-child(3) img { animation-delay: 0.3s; }
.wave button:nth-child(4) img { animation-delay: 0.45s; }
.wave button:nth-child(5) img { animation-delay: 0.6s; }
.wave button:nth-child(6) img { animation-delay: 0.75s; }
.wave button:nth-child(7) img { animation-delay: 0.9s; }
.wave button:nth-child(8) img { animation-delay: 1.05s; }

@keyframes wave-hop {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  70% { transform: translateY(-14px) scale(0.96, 1.05); }
  80% { transform: translateY(0) scale(1.06, 0.92); }
  88% { transform: translateY(0) scale(1); }
}

/* ---------- Make it yours ---------- */

.custom { margin-top: clamp(56px, 8vw, 96px); }

.own .custom__title { text-align: center; margin-bottom: 0.8em; }

.stickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 30px;
  margin: -8px 0 36px;
}

.stickers img {
  width: clamp(52px, 7vw, 80px);
  height: auto;
  filter: drop-shadow(0 4px 3px rgba(74, 47, 31, 0.2));
  animation: float 3.2s ease-in-out infinite alternate;
}

.stickers img:nth-child(even) { animation-duration: 2.7s; animation-direction: alternate-reverse; }
.stickers img:nth-child(3n) { animation-delay: -1.2s; }

@keyframes float {
  from { transform: translateY(0) rotate(-8deg); }
  to { transform: translateY(-12px) rotate(8deg); }
}

/* ---------- Gallery ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.shots figure {
  margin: 0;
  background: var(--card);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shots img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: var(--outline);
}

.shots figcaption {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 18px 14px;
}

/* ---------- For grown-ups ---------- */

.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px 28px;
}

.promises li {
  position: relative;
  background: var(--card);
  border: 2px solid rgba(74, 47, 31, 0.25);
  border-radius: var(--radius-small);
  padding: 16px 18px 16px 64px;
}

.promises strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }

.icon {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 1.6rem;
  line-height: 1;
}

/* ---------- Coming later ---------- */

.next { background: linear-gradient(#e9f6fd, #d5ecf8); }

.next__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.next__grid img {
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.next h2 { text-align: left; margin-bottom: 0.5em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  color: var(--card);
  background: var(--sky-deep);
  border-radius: 999px;
  padding: 0.2em 0.9em;
  margin-bottom: 0.8em;
}

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

.footer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 48px 0 40px;
}

.footer__logo { width: 180px; margin: 0 auto 16px; }

.footer p { margin: 0 0 0.4em; }

.small { font-size: 0.9rem; opacity: 0.8; }

/* ---------- Peeking Dinoroos ---------- */

.hero,
.steps,
.own,
.gallery,
.parents,
.next { position: relative; overflow: hidden; }

.peek {
  position: absolute;
  z-index: 2;
  width: clamp(170px, 21vw, 290px);
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  --flip: 1;
  transform: var(--hidden);
  animation: peek 11s ease-in-out infinite;
}

.peek img {
  width: 100%;
  transform: scaleX(var(--flip));
  transform-origin: 50% 100%;
}

.peek:focus-visible { outline: 4px solid var(--sky-deep); outline-offset: 2px; border-radius: 12px; }

/* Hidden, then peeks in, has a little look around, and hides again. */
@keyframes peek {
  0%, 38% { transform: var(--hidden); }
  46%, 58% { transform: var(--shown); }
  64%, 74% { transform: var(--look); }
  80% { transform: var(--shown); }
  88%, 100% { transform: var(--hidden); }
}

/* From the right edge, facing into the page. */
.peek--right {
  right: 0;
  top: 34%;
  --flip: -1;
  --hidden: translateX(110%) rotate(-14deg);
  --shown: translateX(46%) rotate(-14deg);
  --look: translateX(40%) rotate(-24deg);
  animation-delay: 2s;
}

/* From the left edge. */
.peek--left {
  left: 0;
  top: 42%;
  --hidden: translateX(-110%) rotate(14deg);
  --shown: translateX(-44%) rotate(14deg);
  --look: translateX(-38%) rotate(24deg);
  animation-delay: 5s;
}

/* Up from the bottom edge. */
.peek--bottom {
  bottom: 0;
  --hidden: translateY(110%);
  --shown: translateY(36%);
  --look: translateY(30%) rotate(-7deg);
}

/* Each animal peeks out as far as its head needs. */
.peek--trex { top: 20%; --shown: translateX(52%) rotate(-12deg); --look: translateX(46%) rotate(-20deg); }
.peek--spino { top: 46%; animation-delay: 7s; --shown: translateX(54%) rotate(-10deg); --look: translateX(48%) rotate(-18deg); }
.peek--trike { top: 3%; --shown: translateX(-46%) rotate(10deg); --look: translateX(-40%) rotate(18deg); }

/* Bob pokes his long neck up from the grass. */
.peek--hero {
  right: 17%;
  width: clamp(170px, 22vw, 320px);
  animation-delay: 0.5s;
  --shown: translateY(40%);
  --look: translateY(36%) rotate(-5deg);
}

.peek--parents { right: 7%; animation-delay: 3.5s; --shown: translateY(46%); --look: translateY(42%) rotate(-6deg); }

/* Bubbles go next to the heads (top right for these two). */
.peek--hero::after,
.peek--parents::after { left: auto; right: 0; translate: 20% 0; }

/* Tapped: it pops out, hops and says hi. */
.peek.hi { animation: none; transform: var(--shown); }

[data-hi].hi img { animation: hop 0.6s ease-out; }

@keyframes hop {
  0% { transform: scaleX(var(--flip, 1)) translateY(0) scale(1.1, 0.85); }
  35% { transform: scaleX(var(--flip, 1)) translateY(-34px) scale(0.92, 1.1); }
  70% { transform: scaleX(var(--flip, 1)) translateY(0) scale(1.08, 0.9); }
  100% { transform: scaleX(var(--flip, 1)) translateY(0) scale(1); }
}

/* Speech bubble. */
[data-hi]::after {
  content: attr(data-hi);
  position: absolute;
  top: -34px;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--ink);
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.1em 0.7em;
  opacity: 0;
  scale: 0.4;
  transition: opacity 0.15s ease, scale 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

[data-hi].hi::after { opacity: 1; scale: 1; }

.peek--right::after { left: 0; translate: -30% 0; }
.peek--left::after { left: auto; right: 0; translate: 30% 0; }
.peek--bottom::after { top: -40px; }
.wave [data-hi]::after { top: -26px; font-size: 0.85rem; }

/* ---------- The Dinoroo walking along above the footer ---------- */

.next { padding-bottom: calc(clamp(48px, 8vw, 96px) + 40px); }

.walker {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 84px;
  animation: walk 30s linear infinite;
}

.walker img {
  transform-origin: 50% 100%;
  animation: step 0.4s ease-in-out infinite alternate;
}

@keyframes walk {
  0% { transform: translateX(-110px) scaleX(1); }
  49.9% { transform: translateX(calc(100vw + 10px)) scaleX(1); }
  50% { transform: translateX(calc(100vw + 10px)) scaleX(-1); }
  99.9% { transform: translateX(-110px) scaleX(-1); }
  100% { transform: translateX(-110px) scaleX(1); }
}

@keyframes step {
  from { transform: translateY(0) rotate(-3deg); }
  to { transform: translateY(-7px) rotate(3deg); }
}

/* ---------- Music ---------- */

.music {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  background: var(--sun);
  border: var(--outline);
  border-radius: 999px;
  padding: 0.5em 1.1em 0.5em 0.8em;
  box-shadow: 0 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.music:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.music:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.music:focus-visible { outline: 4px solid var(--sky-deep); outline-offset: 4px; }

.music__note { font-size: 1.4rem; line-height: 1; }

.music__bars { display: none; align-items: flex-end; gap: 3px; height: 20px; }

.music__bars i {
  width: 5px;
  height: 100%;
  background: var(--ink);
  border-radius: 3px;
  transform-origin: bottom;
  animation: bar 0.5s ease-in-out infinite alternate;
}

.music__bars i:nth-child(2) { animation-delay: -0.25s; animation-duration: 0.4s; }
.music__bars i:nth-child(3) { animation-delay: -0.1s; animation-duration: 0.6s; }

.dancing .music__bars { display: flex; }
.dancing .music__note { display: none; }

@keyframes bar {
  from { transform: scaleY(0.3); }
  to { transform: scaleY(1); }
}

/* While the song plays, every Dinoroo comes out to dance. */
.dancing .peek:not(.hi) { animation: none; transform: var(--shown); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.dancing .peek:not(.hi) img,
.dancing .wave button:not(.hi) img,
.dancing .walker img { animation: dance 0.5s ease-in-out infinite alternate; }
.dancing .hero__logo { animation-duration: 1s; }
.dancing .hero__name { animation: sway 2s ease-in-out infinite; }

@keyframes dance {
  from { transform: scaleX(var(--flip, 1)) rotate(-7deg) translateY(0); }
  to { transform: scaleX(var(--flip, 1)) rotate(7deg) translateY(-6px); }
}

/* ---------- Stars and notes ---------- */

.star,
.float-note {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  font-weight: 700;
  line-height: 1;
}

.star {
  font-size: 22px;
  animation: star-burst 0.8s ease-out forwards;
}

@keyframes star-burst {
  from { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.1) rotate(180deg); opacity: 0; }
}

.float-note {
  font-size: 26px;
  text-shadow: 0 2px 0 rgba(74, 47, 31, 0.35);
  animation: note-up 2.2s ease-out forwards;
}

@keyframes note-up {
  from { transform: translate(0, 0) scale(0.6); opacity: 1; }
  to { transform: translate(var(--drift), -130px) scale(1.2); opacity: 0; }
}

/* ---------- Pictures wiggle a little on hover ---------- */

.card img,
.shots img { transition: transform 0.3s ease; }

.card:hover img,
.shots figure:hover img { transform: scale(1.04) rotate(-0.6deg); }

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

.lost {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px var(--gutter);
}

.lost img { width: min(260px, 70vw); margin: 0 auto 16px; }

.lost h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }

/* ---------- Small screens ---------- */

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

  .own h2,
  .next h2 { text-align: center; }

  .own__grid > div,
  .next__grid > div { text-align: center; }

  .own__mascot { max-width: 240px; }

  .card:nth-child(1),
  .card:nth-child(3),
  .next__grid img { transform: none; }

  .shots,
  .promises,
  .cards { grid-template-columns: 1fr; }

  /* Show the teal Dinoroo and the eggs on the left of the picture. */
  .hero { min-height: 0; padding-bottom: 150px; background-position: 8% bottom; }

  .hero__platforms { font-size: 0.85rem; padding: 0.35em 0.8em; }

  .peek { width: 140px; }
  .peek--hero { right: 2%; width: 150px; }

  .soon { width: 78px; height: 78px; font-size: 0.85rem; right: -4px; top: -4px; }

  /* Just the round note button on a phone. */
  .music { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .music .label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .wave { padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .music,
  .card img,
  .shots img { transition: none; }

  /* Everything stays put; the Dinoroos just sit there peeking. */
  .hero__logo,
  .hero__name,
  .soon,
  .wave img,
  .stickers img,
  .walker,
  .walker img,
  .music__bars i,
  .dancing .hero__name,
  .dancing .peek:not(.hi) img,
  .dancing .wave button:not(.hi) img,
  .dancing .walker img,
  [data-hi].hi img { animation: none; }

  .peek,
  .dancing .peek:not(.hi) { animation: none; transform: var(--shown); transition: none; }
  .walker { left: 6%; }
}
