/* ==========================================================================
   Sightseeing Sophie — city pages (/cities/{slug}). Loaded on those pages only, after main.css.
   Sections: hero · the trail of stops · the map · the coin toss · the menu · words · pencil to
   paint · the book · more
   ========================================================================== */

.csec__head { max-width: 46rem; margin: 0 auto clamp(40px, 6vw, 80px); text-align: center; }
.csec__head .h2 { margin: 0.9rem 0 1rem; }
.csec__head .lead { margin-inline: auto; }

/* Hero --------------------------------------------------------------------- */
.chero {
  position: relative;
  min-height: clamp(660px, 96svh, 940px);
  padding: clamp(118px, 14vw, 168px) 0 clamp(190px, 24vw, 330px);
  background: linear-gradient(180deg, #cfe6f6 0%, #e4f1f9 38%, color-mix(in srgb, var(--tint) 55%, #fff) 78%, var(--tint) 100%);
  overflow: clip;
  text-align: center;
}
.chero__sky { position: absolute; inset: 0; pointer-events: none; }
.chero__sun { position: absolute; top: 13%; right: 16%; width: clamp(70px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff6c8, #fcd967 62%, #f9c74f); box-shadow: 0 0 0 18px rgba(252, 217, 103, 0.18), 0 0 80px 30px rgba(252, 217, 103, 0.35); }
.chero__sky .cloud { position: absolute; aspect-ratio: 2; height: auto; }
.cloud--c1 { width: clamp(120px, 15vw, 240px); top: 16%; left: 6%; }
.cloud--c2 { width: clamp(90px, 11vw, 170px); top: 30%; right: 4%; }
.cloud--c3 { width: clamp(70px, 8vw, 130px); top: 8%; left: 44%; opacity: 0.8; }
/* (Above Sophie, so she can never cover the buttons or stop them being tapped.) */
.chero__inner { position: relative; z-index: 4; display: grid; justify-items: center; }
.chero__title { margin: 1.1rem 0 0; line-height: 0; }
.chero__lettering { width: min(var(--w, 620px), 86vw); height: auto; filter: drop-shadow(0 10px 14px rgba(120, 70, 10, 0.16)); }
.chero__with { margin-top: 0.4rem; font-family: var(--font-hand); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; color: var(--teal-deep); rotate: -3deg; }
.chero__lead { max-width: 38rem; margin: 1.1rem auto 0; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.chero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 1.8rem; }
.chero__decos { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chero__deco { position: absolute; }
.chero__deco img { width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(29, 54, 64, 0.18)); }
.chero__deco--1 { left: 5%; bottom: 30%; width: clamp(64px, 8vw, 130px); rotate: -10deg; }
.chero__deco--2 { right: 9%; top: 34%; width: clamp(54px, 6vw, 100px); rotate: 14deg; }
.chero__deco--3 { left: 13%; top: 20%; width: clamp(54px, 6vw, 100px); rotate: -24deg; }
.chero__deco.chero__deco--tall { width: clamp(36px, 4.2vw, 72px); rotate: -6deg; }
.chero__sophie { position: absolute; z-index: 3; right: clamp(4%, 9vw, 14%); bottom: clamp(70px, 10vw, 150px); width: clamp(96px, 11vw, 190px); }
.chero__sophie img { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(29, 54, 64, 0.22)); }
.chero__bubble { right: 78%; top: -4%; }
.chero__skyline { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: clamp(170px, 24vw, 340px); }
.chero__skyline img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%); mask-image: linear-gradient(to bottom, transparent 0%, #000 34%); }
html.motion .chero__sophie { animation: c-hop 3.4s var(--ease-in-out) infinite; }
@keyframes c-hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* The trail of stops ---------------------------------------------------------- */
.ctour { position: relative; padding: var(--section) 0; background: var(--paper); }
.ctrail { position: relative; display: grid; gap: clamp(56px, 8vw, 120px); max-width: 1180px; margin: 0 auto; }
/* The dotted walk between the stops. */
.ctrail::before { content: ''; position: absolute; top: 2%; bottom: 2%; left: 50%; width: 0; border-left: 3px dashed color-mix(in srgb, var(--coral) 55%, #fff); translate: -50% 0; }
.cstop { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 8vw, 120px); }
.cstop--flip .cstop__card { order: 2; }
.cstop__card { position: relative; margin: 0; padding: clamp(10px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px) clamp(40px, 4vw, 54px); border-radius: 6px; background: #fff; box-shadow: 0 2px 4px rgba(29, 54, 64, 0.06), 0 26px 50px -24px rgba(29, 54, 64, 0.45); rotate: var(--rot); transition: rotate 0.6s var(--ease-spring), transform 0.6s var(--ease-spring); }
.cstop__card:hover { rotate: 0deg; transform: scale(1.02); }
/* A strip of tape holding each picture down. */
.cstop__card::before { content: ''; position: absolute; top: -14px; left: 50%; z-index: 1; width: 34%; height: 30px; background: rgba(252, 232, 166, 0.82); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); translate: -50% 0; rotate: calc(var(--rot) * -1.6); }
.cstop__pic { overflow: hidden; border-radius: 3px; background: var(--paper-2); }
.cstop__pic img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.cstop__card:hover .cstop__pic img { transform: scale(1.04); }
.cstop__caption { position: absolute; left: 0; right: 0; bottom: clamp(8px, 1vw, 14px); font-family: var(--font-hand); font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 600; color: var(--ink-2); text-align: center; }
.cstop__copy { position: relative; max-width: 30rem; }
.cstop--flip .cstop__copy { justify-self: end; }
.cstop__n { position: absolute; top: 50%; left: calc(clamp(48px, 8vw, 120px) / -2); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--coral-deep); color: #fff; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; box-shadow: 0 0 0 6px var(--paper), 0 10px 20px -8px rgba(204, 70, 55, 0.7); translate: -50% -50%; }
.cstop--flip .cstop__n { left: auto; right: calc(clamp(48px, 8vw, 120px) / -2); translate: 50% -50%; }
.cstop__name { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; }
.cstop__text { margin-top: 0.9rem; font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); }
.cstop__quote { position: relative; margin: 1.2rem 0 0; padding: 0.9rem 1.2rem; border-radius: 22px; background: var(--sky); font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-style: italic; font-size: 1.15rem; line-height: 1.4; color: var(--ink); }
.cstop__quote::after { content: ''; position: absolute; left: 28px; bottom: -9px; width: 20px; height: 20px; border-radius: 3px; background: var(--sky); rotate: 45deg; }
.cstop__fact { display: flex; gap: 0.6rem; margin-top: 1.4rem; padding: 0.9rem 1.1rem; border-radius: 16px; background: var(--butter); font-size: 0.98rem; line-height: 1.5; }
.cstop__fact .icon { margin-top: 0.2em; color: var(--coral-deep); }
.cstop__read { margin-top: 1.1rem; }

/* The map ----------------------------------------------------------------------- */
.cmap { padding: var(--section) 0; background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--tint) 60%, #fff) 30%, color-mix(in srgb, var(--tint) 60%, #fff) 70%, var(--paper)); }
.cmap__board { position: relative; display: flow-root; max-width: 1240px; margin: 0 auto; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); }
/* The pins are placed in % of this box, which holds only the map. On phones a pin's card opens
   under the map, inside the board, so the board grows; this box doesn't, and the pins stay put. */
.cmap__plot { position: relative; padding: clamp(8px, 1vw, 14px); }
.cmap__img { overflow: hidden; border-radius: 10px; }
.cmap__img img { width: 100%; height: auto; }
.cmap__pin { position: absolute; z-index: 2; display: grid; place-items: center; width: clamp(34px, 3.6vw, 48px); aspect-ratio: 1; translate: -50% -50%; -webkit-tap-highlight-color: transparent; }
.cmap__dot { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--coral-deep); color: #fff; font-weight: 800; font-size: clamp(0.85rem, 1.2vw, 1.1rem); box-shadow: 0 0 0 4px #fff, 0 8px 16px -6px rgba(29, 54, 64, 0.6); transition: transform 0.35s var(--ease-spring), background 0.3s; }
.cmap__dot::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--coral); opacity: 0; }
html.motion .cmap__dot::before { animation: c-ping 2.4s var(--ease) infinite; animation-delay: calc(var(--n, 0) * 0.2s); }
@keyframes c-ping { 0% { opacity: 0.8; scale: 1; } 70%, 100% { opacity: 0; scale: 1.9; } }
.cmap__pin:hover .cmap__dot, .cmap__pin[aria-expanded='true'] .cmap__dot { transform: scale(1.18); background: var(--ink); }
.cmap__card {
  position: absolute;
  z-index: 3;
  left: var(--x, 50%);
  top: var(--y, 50%);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  width: min(380px, 86%);
  padding: 12px 40px 12px 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  translate: var(--tx, -50%) var(--ty, 24px);
  animation: c-pop 0.4s var(--ease-spring);
}
@keyframes c-pop { from { opacity: 0; scale: 0.85; } }
.cmap__thumb { overflow: hidden; border-radius: 12px; }
.cmap__thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.cmap__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.cmap__fact { margin: 0.35rem 0 0.4rem; font-size: 0.92rem; line-height: 1.45; color: var(--ink-2); }
.cmap__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); }
.cmap__close .icon { width: 16px; height: 16px; }
.cmap__print { margin-top: 1.6rem; color: var(--ink-2); text-align: center; text-wrap: balance; }
.cmap__print .icon { display: inline-block; margin-right: 0.35em; vertical-align: -0.12em; color: var(--coral-deep); }
.cmap__print a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Toss a coin --------------------------------------------------------------------- */
.ccoin { padding: var(--section) 0; background: linear-gradient(180deg, var(--paper), #e3f1f9 45%, #d6ecf7); overflow: clip; }
/* The words, then the fountain beside them; on phones the fountain comes between the two parts,
   so the coin lands where you can see it right after you press the button. */
.ccoin__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: 'head stage' 'play stage'; align-items: center; column-gap: clamp(32px, 6vw, 90px); }
.ccoin__head { grid-area: head; align-self: end; }
.ccoin__play { grid-area: play; align-self: start; }
.ccoin__stage { grid-area: stage; }
.ccoin__head .h2 { margin: 0.9rem 0 1rem; }
.ccoin__means { display: grid; gap: 8px; margin: 1.6rem 0; }
.ccoin__means li { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, 0.65); color: var(--ink-3); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease-spring); }
.ccoin__count { flex: none; min-width: 4.6em; padding: 0.25em 0.7em; border-radius: 999px; background: rgba(29, 54, 64, 0.08); font-weight: 800; font-size: 0.85rem; text-align: center; }
.ccoin__means li.is-on { background: #fff; color: var(--ink); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.ccoin__means li.is-on .ccoin__count { background: #f7c948; color: var(--ink); }
.ccoin__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.ccoin__again { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); }
.ccoin__said { min-height: 1.6em; margin-top: 1rem; font-family: var(--font-hand); font-size: 1.8rem; font-weight: 600; color: var(--coral-deep); }
.ccoin__stage { position: relative; }
.ccoin__fountain { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(29, 54, 64, 0.18)); }
/* Where coins land: the bottom of the fountain's pool. */
.ccoin__pool { position: absolute; left: 6%; right: 6%; bottom: 3%; height: 15%; pointer-events: none; }
.ccoin__coin { position: absolute; left: 50%; bottom: -10%; z-index: 4; width: clamp(26px, 3vw, 40px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff7cf 0 12%, #f7d25e 30%, #d9a21f 70%, #b7800f); box-shadow: inset 0 0 0 3px rgba(183, 128, 15, 0.55), 0 6px 10px -4px rgba(0, 0, 0, 0.35); }
.ccoin__coin--sunk { z-index: 1; opacity: 0.7; filter: saturate(0.7) brightness(0.95); }
.ccoin__ripple { position: absolute; z-index: 2; width: 18px; height: 7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.95); translate: -50% -50%; animation: c-ripple 1.3s var(--ease) forwards; }
@keyframes c-ripple { to { width: 130px; height: 44px; opacity: 0; } }
.ccoin__splash { position: absolute; z-index: 3; width: 8px; height: 8px; border-radius: 50%; background: #e9f6ff; translate: -50% -50%; animation: c-splash 0.7s var(--ease) forwards; }
@keyframes c-splash { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }

/* Hit a home run (the same layout as the coin toss) ------------------------------------ */
.cbat { background: linear-gradient(180deg, var(--paper), #fde9df 45%, #fbdccf); }
.cbat__board { display: flex; gap: 12px; max-width: 30rem; margin: 1.6rem 0; }
.cbat__board div { flex: 1; padding: 0.7rem 1rem 0.8rem; border-radius: 16px; background: #1f4a3a; color: #fff; text-align: center; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.12), var(--shadow-sm); }
.cbat__board dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.cbat__board dd { margin: 0; font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cbat__stage { position: relative; overflow: hidden; border: clamp(6px, 0.8vw, 10px) solid #fff; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); cursor: pointer; touch-action: manipulation; }
.cbat__park img { display: block; width: 100%; height: auto; }
.cbat__plate { position: absolute; left: 50%; bottom: 3%; width: 12%; aspect-ratio: 1.15; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); translate: -50% 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.25)); }
.cbat__ball { position: absolute; left: 50%; top: 70%; z-index: 2; width: clamp(18px, 4.2%, 30px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #f4f0e7 58%, #d8d0c0); box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.35); opacity: 0; pointer-events: none; }
/* The red stitches. */
.cbat__ball::before, .cbat__ball::after { content: ''; position: absolute; top: 12%; bottom: 12%; width: 40%; border: 2px dashed #d33a2c; border-radius: 50%; }
.cbat__ball::before { left: -18%; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.cbat__ball::after { right: -18%; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.cbat__ball.is-on { opacity: 1; }
.cbat__bat { position: absolute; right: 24%; bottom: 8%; z-index: 3; width: 34%; height: 4.6%; border-radius: 999px 8px 8px 999px; background: linear-gradient(180deg, #d79a5a, #a8672f); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, 0.4); transform-origin: 100% 50%; rotate: -32deg; pointer-events: none; }
.cbat__bat.is-swing { animation: c-swing 0.36s var(--ease); }
@keyframes c-swing { 45% { rotate: 22deg; } }
.cbat__pop { position: absolute; left: 50%; top: 30%; z-index: 4; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; white-space: nowrap; text-shadow: 0 3px 0 var(--coral-deep), 0 10px 20px rgba(0, 0, 0, 0.35); translate: -50% -50%; opacity: 0; pointer-events: none; }
.cbat__pop--strike, .cbat__pop--out { text-shadow: 0 3px 0 var(--ink), 0 10px 20px rgba(0, 0, 0, 0.35); }
.cbat__pop.is-on { animation: c-word 1.4s var(--ease) forwards; }
@keyframes c-word { 0% { opacity: 0; scale: 0.4; } 18% { opacity: 1; scale: 1.15; } 32% { scale: 1; } 78% { opacity: 1; translate: -50% -50%; } 100% { opacity: 0; translate: -50% -90%; } }

/* Ring Big Ben (the same layout again) ---------------------------------------------- */
.cbell { background: linear-gradient(180deg, var(--paper), #e6eef8 45%, #d9e6f5); }
.cbell__count { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.4rem 0; font-weight: 700; color: var(--ink-2); }
.cbell__count [data-bell-count] { display: inline-grid; place-items: center; min-width: 2.2em; padding: 0.15em 0.35em; border-radius: 18px; background: #1d3640; color: #fff; font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cbell__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: end; gap: 14px; cursor: pointer; touch-action: manipulation; }
.cbell__tower { position: relative; overflow: hidden; border: clamp(6px, 0.8vw, 10px) solid #fff; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); transform-origin: 50% 100%; }
.cbell__tower img { display: block; width: 100%; height: auto; }
.cbell__stage.is-bong .cbell__tower { animation: c-bong 0.6s var(--ease); }
@keyframes c-bong { 25% { rotate: -1.5deg; } 55% { rotate: 1.2deg; } }
/* Sound rings, spreading from the clock face (--cx/--cy: where the clock is in the tower picture). */
.cbell__ring { position: absolute; left: var(--cx, 50%); top: var(--cy, 30%); z-index: 2; width: 30px; aspect-ratio: 1; border: 3px solid rgba(255, 214, 92, 0.95); border-radius: 50%; translate: -50% -50%; pointer-events: none; animation: c-ringout 1.5s var(--ease) forwards; }
@keyframes c-ringout { to { width: 260px; opacity: 0; border-width: 1px; } }
.cbell__lion { position: relative; overflow: hidden; border: clamp(6px, 0.8vw, 10px) solid #fff; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); filter: grayscale(0.85) brightness(0.9); transition: filter 0.8s var(--ease); }
.cbell__lion img { display: block; width: 100%; height: auto; }
.cbell__lion.is-awake { filter: none; animation: c-roar 0.9s var(--ease-spring) 2; }
@keyframes c-roar { 0%, 100% { rotate: 0deg; scale: 1; } 20% { rotate: -3deg; scale: 1.06; } 40% { rotate: 3deg; } 60% { rotate: -2deg; } 80% { rotate: 1deg; } }
.cbell__roar { position: absolute; left: 50%; top: 18%; font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #fff; white-space: nowrap; text-shadow: 0 3px 0 var(--coral-deep), 0 10px 20px rgba(0, 0, 0, 0.35); translate: -50% -50%; opacity: 0; scale: 0.4; transition: opacity 0.3s, scale 0.6s var(--ease-spring); }
.cbell__lion.is-awake .cbell__roar { opacity: 1; scale: 1; }

/* Stack macarons (the same layout again) -------------------------------------------- */
.cmac { background: linear-gradient(180deg, var(--paper), #fbe6ee 45%, #f7d9e4); }
.cmac .cbat__board div { background: #8a3b52; }
.cmac__stage { position: relative; aspect-ratio: 4 / 5; max-height: 72svh; overflow: hidden; border: clamp(6px, 0.8vw, 10px) solid #fff; border-radius: 22px; background: linear-gradient(180deg, #e3f0fa, #fdf0f4 70%, #fbe3ea); box-shadow: var(--shadow-lg); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.cmac__tower { position: absolute; right: 5%; bottom: 0; height: 86%; opacity: 0.32; pointer-events: none; }
.cmac__tower img { width: auto; height: 100%; }
.cmac__world { position: absolute; inset: 0; transition: transform 0.5s var(--ease); }
.cmac__plate { position: absolute; left: 50%; bottom: 8%; width: 38%; height: 4%; border-radius: 50%; background: #fff; box-shadow: 0 5px 0 #eadde3, 0 14px 22px -8px rgba(29, 54, 64, 0.35); translate: -50% 0; }
.cmac__m { position: absolute; z-index: 2; border-radius: 46% / 50%; background: linear-gradient(to bottom, var(--c1) 0 38%, var(--c2) 38% 62%, var(--c1) 62% 100%); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08), inset 0 3px 0 rgba(255, 255, 255, 0.45), 0 3px 4px -2px rgba(29, 54, 64, 0.3); }
.cmac__m--moving { z-index: 3; }

/* Picture games: the same layout again, on a framed stage ------------------------------ */
.csled__stage, .cjets__stage, .csafari__stage, .chop__stage, .ctaxi__stage, .cpanda__stage { position: relative; overflow: hidden; border: clamp(6px, 0.8vw, 10px) solid #fff; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.csled .btn, .csafari .btn, .chop .btn, .ctaxi .btn, .cpanda .btn { touch-action: manipulation; user-select: none; -webkit-user-select: none; }

/* Race Dad's huskies */
.csled { background: linear-gradient(180deg, var(--paper), #e8f0f8 45%, #dbe8f4); }
.csled .cbat__board div { background: #2f5a86; }
.csled__stage { aspect-ratio: 3 / 2; background: #fefefc; }
.csled__forest { position: absolute; left: 0; top: 0; display: flex; height: 53%; will-change: transform; }
.csled__forest img { flex: none; width: auto; max-width: none; height: 100%; }
.csled__snow { position: absolute; left: 0; right: 0; top: 51%; bottom: 0; background-image: radial-gradient(ellipse 30px 6px at 18% 28%, #d9ebf7 58%, transparent 62%), radial-gradient(ellipse 18px 4px at 62% 58%, #d9ebf7 58%, transparent 62%), radial-gradient(ellipse 24px 5px at 88% 86%, #e2f0f9 58%, transparent 62%); background-size: 340px 100%; background-repeat: repeat-x; }
.csled__team { position: absolute; left: -2%; bottom: -1%; width: 118%; aspect-ratio: 1800 / 645; will-change: transform; pointer-events: none; }
.csled__slice { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); overflow: hidden; }
.csled__slice img { position: absolute; top: 0; left: calc(var(--a) / (var(--b) - var(--a)) * -100%); width: calc(100% / (var(--b) - var(--a))); max-width: none; height: 100%; }
.csled__stage.is-running .csled__slice { animation: c-trot 0.34s steps(2) calc(var(--i) * -0.11s) infinite; }
.csled__stage.is-running .csled__slice:first-child { animation-duration: 0.56s; }
@keyframes c-trot { 50% { transform: translateY(-2.6%); } }
.csled__finish { position: absolute; top: 50%; bottom: 0; width: 4.5%; background: repeating-conic-gradient(#1d3640 0 25%, #fff 0 50%) 0 0 / 16px 16px; box-shadow: 0 0 0 2px #1d3640; opacity: 0; transition: opacity 0.25s; }
.csled__finish.is-on { opacity: 1; }
.csled__track { position: absolute; left: 9%; right: 9%; top: 7%; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px rgba(29, 54, 64, 0.16); }
.csled__track::after { content: ''; position: absolute; right: -14px; top: 50%; width: 18px; height: 18px; border-radius: 3px; background: repeating-conic-gradient(#1d3640 0 25%, #fff 0 50%) 0 0 / 9px 9px; translate: 0 -50%; }
.csled__mark { position: absolute; left: 0; top: 50%; z-index: 1; padding: 0.15em 0.6em; border-radius: 99px; background: #d9457f; color: #fff; font-size: 0.72rem; font-weight: 800; line-height: 1.4; translate: -50% -50%; }
.csled__mark--dad { background: #d9541e; }

/* Make the fountain dance */
.cjets { background: linear-gradient(180deg, var(--paper), #f6e7f1 45%, #efddec); }
.cjets .cbat__board div { background: #7a3f8c; }
.cjets__pic { position: relative; }
.cjets__pic img { display: block; width: 100%; height: auto; }
.cjets__jet { position: absolute; left: var(--x); bottom: 19%; width: 25%; height: 72%; translate: -50% 0; pointer-events: none; }
.cjets__jet i { position: absolute; left: var(--l); bottom: 0; width: 13%; height: var(--h); border-radius: 50% 50% 40% 40% / 7% 7% 3% 3%; background: linear-gradient(to top, var(--c), color-mix(in srgb, var(--c) 45%, #fff) 52%, #fff 86%, rgba(255, 255, 255, 0)); opacity: 0; transform-origin: 50% 100%; transform: translateX(-50%) rotate(var(--r)) scaleY(0); transition: transform 0.5s cubic-bezier(0.4, 0, 0.6, 1), opacity 0.5s; }
.cjets__jet.is-on i { opacity: 0.96; transform: translateX(-50%) rotate(var(--r)) scaleY(1); transition: transform 0.24s cubic-bezier(0.2, 0.9, 0.25, 1.15) var(--d), opacity 0.1s; }
.cjets__pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 30rem; margin: 0 0 1.4rem; }
.cjets__pad { padding: 0.8rem 0.2rem; border: 3px solid var(--c); border-radius: 16px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--ink); font-weight: 800; transition: transform 0.15s var(--ease-spring), background 0.15s; touch-action: manipulation; }
.cjets__pad[aria-disabled='true'] { cursor: default; opacity: 0.6; }
.cjets__pad.is-on { background: var(--c); opacity: 1; transform: scale(1.08); }

/* Snap the Big Five */
.csafari { background: linear-gradient(180deg, var(--paper), #eef4e2 45%, #e2eecf); }
.csafari__stage { aspect-ratio: 4 / 3; background: #dcebb8; }
.csafari__pano { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 3400 / 846; will-change: transform; }
.csafari__pano img { display: block; width: 100%; max-width: none; height: 100%; }
.csafari__frame { --c: #fff; position: absolute; top: 5%; bottom: 5%; left: 0; width: 34%; translate: -50% 0; pointer-events: none; box-shadow: 0 0 0 100vmax rgba(29, 54, 64, 0.3); background: linear-gradient(var(--c), var(--c)) 0 0 / 30px 4px, linear-gradient(var(--c), var(--c)) 0 0 / 4px 30px, linear-gradient(var(--c), var(--c)) 100% 0 / 30px 4px, linear-gradient(var(--c), var(--c)) 100% 0 / 4px 30px, linear-gradient(var(--c), var(--c)) 0 100% / 30px 4px, linear-gradient(var(--c), var(--c)) 0 100% / 4px 30px, linear-gradient(var(--c), var(--c)) 100% 100% / 30px 4px, linear-gradient(var(--c), var(--c)) 100% 100% / 4px 30px; background-repeat: no-repeat; }
.csafari__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.csafari__flash.is-on { animation: c-flash 0.34s ease-out; }
@keyframes c-flash { from { opacity: 0.95; } to { opacity: 0; } }
.csafari__album { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 30rem; margin: 1.6rem 0 1.1rem; }
.csafari__slot { padding: 5px 5px 6px; background: #fff; box-shadow: var(--shadow-sm); rotate: -2deg; text-align: center; }
.csafari__slot:nth-child(even) { rotate: 2deg; }
.csafari__photo { display: block; aspect-ratio: 1; background-color: #e7eedc; background-repeat: no-repeat; }
.csafari__slot.is-on .csafari__photo { animation: c-develop 0.9s ease-out; }
@keyframes c-develop { from { filter: brightness(1.8) saturate(0.2); } }
.csafari__name { display: block; margin-top: 4px; font-size: 0.68rem; font-weight: 800; color: var(--ink-2); }
.csafari__film { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1.2rem; font-weight: 700; color: var(--ink-2); }
.csafari__film [data-safari-film] { display: inline-grid; place-items: center; min-width: 1.8em; padding: 0.1em 0.3em; border-radius: 14px; background: #3f6b2f; color: #fff; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* Hop with the kangaroo */
.chop { background: linear-gradient(180deg, var(--paper), #fdebdd 45%, #fbe0d0); }
.chop .cbat__board div { background: #874228; padding-inline: 0.5rem; }
.chop__stage { aspect-ratio: 16 / 10; background: #dff0f8; }
.chop__hills { position: absolute; left: 0; top: 0; display: flex; height: 82%; will-change: transform; }
.chop__hills img { flex: none; width: auto; max-width: none; height: 100%; }
.chop__trail { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background-color: #f8ded5; background-image: radial-gradient(ellipse 22px 5px at 22% 38%, #efc9b8 58%, transparent 62%), radial-gradient(ellipse 12px 3px at 66% 70%, #efc9b8 58%, transparent 62%); background-size: 260px 100%; background-repeat: repeat-x; box-shadow: 0 -2px 0 rgba(160, 84, 58, 0.18); }
.chop__roo { position: absolute; left: 8%; bottom: 13%; z-index: 2; height: 46%; transform: scaleX(-1); transform-origin: 50% 92%; will-change: transform; }
.chop__roo img { display: block; width: auto; max-width: none; height: 100%; }
.chop__thing { position: absolute; left: 0; bottom: 12%; z-index: 1; height: 20%; will-change: transform; }
.chop__thing img { display: block; width: auto; max-width: none; height: 100%; }
.chop__spares[hidden] { display: none; }
.chop__tam { position: absolute; left: 0; bottom: 63%; z-index: 1; width: 6.5%; aspect-ratio: 2.3; border-radius: 4px; background: linear-gradient(180deg, #6b3f28, #3d2114); box-shadow: inset 0 2px 0 #8a5a3d, 0 3px 5px rgba(29, 54, 64, 0.3); will-change: transform; }

/* Drive a yellow taxi */
.ctaxi { background: linear-gradient(180deg, var(--paper), #fdf1d3 45%, #fbe7b2); }
/* (Dark with yellow numbers, like the meter in a cab.) */
.ctaxi .cbat__board div { background: #23292e; color: #ffd24d; padding-inline: 0.5rem; }
.ctaxi__stage { aspect-ratio: 16 / 10; background: #f4f9fc; }
/* During a round, a swipe on the stage mustn't scroll the page. */
.ctaxi__stage.is-playing, .cpanda__stage.is-playing { touch-action: none; }
.ctaxi__city { position: absolute; left: 0; bottom: 63%; display: flex; height: 40%; will-change: transform; }
.ctaxi__city img { flex: none; width: auto; max-width: none; height: 100%; }
/* The book's painted pavement, and on it the curb and the lines between the three lanes. */
.ctaxi__wash, .ctaxi__road { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; }
.ctaxi__wash img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ctaxi__road { background-image: linear-gradient(90deg, #fff 0 56%, transparent 0), linear-gradient(90deg, #fff 0 56%, transparent 0), linear-gradient(#e8d9c6 0 6.6%, #b9bdc1 0 8.6%, transparent 0); background-size: 96px 2.5%, 96px 2.5%, 100% 100%; background-position: 0 38.5%, 0 68.7%, 0 0; background-repeat: repeat-x, repeat-x, no-repeat; }
.ctaxi__cab, .ctaxi__thing { position: absolute; left: 0; top: 0; }
.ctaxi__cab { z-index: 3; left: 70%; width: 23%; transition: top 0.14s var(--ease); }
.ctaxi__cab img, .ctaxi__thing img { display: block; width: 100%; max-width: none; height: auto; }
.ctaxi__cab.is-bumped img { animation: c-bump 0.3s linear 3; }
@keyframes c-bump { 50% { opacity: 0.35; } }
.ctaxi__thing { z-index: 2; width: 23%; will-change: transform; }
.ctaxi__thing--pretzel { width: 10%; }
.ctaxi__spares[hidden] { display: none; }
.ctaxi__pads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 30rem; margin: 0 0 1.4rem; }
.ctaxi__pad { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.8rem 0.2rem; border: 3px solid #d39a16; border-radius: 16px; background: #fff6d8; color: var(--ink); font-weight: 800; transition: transform 0.15s var(--ease-spring), background 0.15s; touch-action: manipulation; }
.ctaxi__pad[aria-disabled='true'] { cursor: default; opacity: 0.6; }
.ctaxi__pad:not([aria-disabled='true']):active { background: #fbd25e; transform: scale(1.05); }

/* Peek-a-boo with the pandas */
.cpanda { background: linear-gradient(180deg, var(--paper), #eaf3d4 45%, #dcebbf); }
.cpanda .cbat__board div { background: #2d6b4f; padding-inline: 0.5rem; }
.cpanda__stage { aspect-ratio: 4 / 3; background: #dff0f8; cursor: default; }
.cpanda__hills { position: absolute; inset: 0 0 auto; height: 72%; }
.cpanda__hills img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Two rows of bushes, each with its hiding places behind it: the bottom of each row is off the stage. */
.cpanda__row { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.cpanda__row--back { top: 20%; --up: 8%; }
.cpanda__row--front { top: 40%; --up: 10%; }
.cpanda__bushes { position: absolute; left: -3%; right: -3%; pointer-events: none; }
.cpanda__bushes img { display: block; width: 100%; max-width: none; height: auto; }
.cpanda__row--back .cpanda__bushes { top: 40%; filter: brightness(0.92); }
.cpanda__row--front .cpanda__bushes { top: 53%; scale: -1 1; }
/* (The rows overlap, so only what's showing takes a tap, not a whole hiding place.) */
.cpanda__spot { position: absolute; left: var(--x); top: 0; bottom: 0; width: 30%; padding: 0; translate: -50% 0; background: none; pointer-events: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.cpanda__who { position: absolute; left: 7%; right: 7%; top: var(--up); transform: translateY(78%); transition: transform 0.26s var(--ease-spring); }
.cpanda__who img { display: block; width: 100%; max-width: none; height: auto; }
.cpanda__who img[hidden] { display: none; }
.cpanda__who img[data-panda-sophie] { width: 54%; margin-inline: auto; }
.cpanda__spot.is-up .cpanda__who { transform: none; pointer-events: auto; }
.cpanda__spot.is-found .cpanda__who { animation: c-found 0.42s var(--ease-spring); }
@keyframes c-found { 40% { scale: 1.14; rotate: -5deg; } }
.cpanda__spot:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 16px; }
.cpanda__spares[hidden] { display: none; }

/* The list of tours (/cities) --------------------------------------------------------- */
.cindex { padding: clamp(16px, 3vw, 36px) 0 var(--section); }
.cindex__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.cpick { display: grid; align-content: start; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); color: var(--ink); transition: transform 0.5s var(--ease-spring); }
.cpick:hover { transform: translateY(-4px) rotate(-0.6deg); }
.cpick__pic { aspect-ratio: 4 / 3; overflow: hidden; }
.cpick__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cpick__body { display: grid; justify-items: start; gap: 0.5rem; padding: 1.2rem 1.4rem 1.4rem; }
.cpick__title { width: auto; max-width: 100%; height: 84px; object-fit: contain; object-position: left center; }
.cpick__game { font-weight: 600; color: var(--ink-2); }
.cpick__go { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.cpick__go .icon { width: 16px; height: 16px; }

/* Sophie's menu ---------------------------------------------------------------------- */
.cmenu { padding: var(--section) 0; background: #d6ecf7; }
.cmenu__card {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 72px);
  border: clamp(12px, 1.6vw, 20px) solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(#fffaf2, #fffaf2) padding-box,
    repeating-conic-gradient(#e5604f 0 25%, #fff 0 50%) 0 0 / 28px 28px border-box;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cmenu__eyebrow { font-family: var(--font-hand); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--coral-deep); }
.cmenu__title { margin: 0.4rem 0 clamp(28px, 4vw, 52px); font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; }
.cmenu__list { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.cmenu__plate { display: grid; place-items: center; width: min(100%, 220px); aspect-ratio: 1; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 10px #fff, 0 0 0 12px rgba(29, 54, 64, 0.08), 0 22px 34px -16px rgba(29, 54, 64, 0.45); transition: transform 0.6s var(--ease-spring); }
.cmenu__item:hover .cmenu__plate { transform: rotate(-6deg) scale(1.04); }
.cmenu__plate img { width: 100%; height: 100%; object-fit: cover; }
.cmenu__gelato { width: 62%; height: auto; }
.cmenu__course { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); }
.cmenu__name { margin: 0.3rem 0 0.4rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-style: italic; font-weight: 500; }
.cmenu__text { font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }

/* Words ---------------------------------------------------------------------------------- */
.cwords { padding: var(--section) 0; background: var(--paper); }
.cwords__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.4vw, 28px); }
.cword {
  --c: var(--butter);
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  min-width: 190px;
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: 28px;
  background: var(--c);
  text-align: center;
  rotate: calc((var(--i) - 2) * 1.6deg);
  transition: rotate 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}
.cword:nth-child(5n + 2) { --c: var(--blush); }
.cword:nth-child(5n + 3) { --c: var(--mint); }
.cword:nth-child(5n + 4) { --c: var(--sky); }
.cword:nth-child(5n + 5) { --c: var(--lavender); }
.cword::after { content: ''; position: absolute; left: 30%; bottom: -10px; width: 24px; height: 24px; border-radius: 4px; background: var(--c); rotate: 45deg; }
.cword:hover { rotate: 0deg; transform: translateY(-4px); }
.cword__word { font-family: var(--font-display); font-variation-settings: 'SOFT' 100; font-style: italic; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
/* (A deeper coral than usual: it sits on the pastel cards and must stay readable.) */
.cword__say { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 600; color: #a83a28; }
.cword__mean { font-weight: 600; color: var(--ink-2); }
.cword__hear { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.35em; margin-top: 0.5rem; padding: 0.4em 0.9em; border-radius: 999px; background: #fff; font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.cword__hear.is-saying { background: var(--ink); color: var(--paper); }

/* Pencil to paint ------------------------------------------------------------------------- */
.csketch { padding: var(--section) 0; background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.csketch__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 6vw, 90px); }
.csketch__copy .h2 { margin: 0.9rem 0 1rem; }
.csketch__fig { margin: 0; }
.csketch__frame { position: relative; overflow: hidden; border: clamp(8px, 1vw, 12px) solid #fff; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); touch-action: pan-y; }
.csketch__paint { width: 100%; height: auto; }
.csketch__pencil { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.csketch__pencil img { width: 100%; height: 100%; object-fit: cover; }
.csketch__line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(29, 54, 64, 0.15); translate: -50% 0; pointer-events: none; }
.csketch__knob { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--coral-deep); color: #fff; box-shadow: 0 0 0 4px #fff, var(--shadow); translate: -50% -50%; }
.csketch__knob .icon { width: 16px; height: 16px; }
.csketch__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.csketch__range:focus-visible + .csketch__knob, .csketch__frame:has(.csketch__range:focus-visible) .csketch__knob { outline: 3px solid var(--ink); outline-offset: 4px; }
.csketch__cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-3); }
.csketch__cap span:first-child, .csketch__cap span:last-child { font-family: var(--font-hand); font-size: 1.4rem; font-weight: 600; color: var(--ink-2); }
.csketch__cap span:nth-child(2) { text-align: center; }

/* The book ------------------------------------------------------------------------------- */
.cbook { padding: var(--section) 0; background: var(--tint); }
.cbook__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 90px); }
.cbook__visual { position: relative; display: grid; place-items: center; min-height: clamp(280px, 34vw, 460px); }
.cbook__cover { position: relative; z-index: 1; width: clamp(160px, 20vw, 260px); rotate: -6deg; transition: rotate 0.6s var(--ease-spring); }
.cbook__cover img { border-radius: 3px 10px 10px 3px; box-shadow: var(--shadow-book); }
.cbook__cover:hover { rotate: -2deg; }
.cbook__tablet { position: absolute; z-index: 2; right: 4%; bottom: 2%; width: clamp(150px, 19vw, 250px); padding: clamp(8px, 1vw, 12px); border-radius: clamp(16px, 2vw, 24px); background: #1d3640; box-shadow: var(--shadow-lg); rotate: 7deg; transition: rotate 0.6s var(--ease-spring); }
.cbook__tablet:hover { rotate: 3deg; }
.cbook__screen { display: block; overflow: hidden; border-radius: clamp(8px, 1vw, 12px); aspect-ratio: 4 / 3; }
.cbook__screen img { width: 100%; height: 100%; object-fit: cover; }
.cbook__copy .h2 { margin: 0.9rem 0 1rem; }
.cbook__formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 1.8rem; }
.cformat { display: grid; align-content: start; justify-items: start; gap: 0.35rem; padding: 1.3rem 1.4rem 1.4rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.cformat__name { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tone-ink); }
.cformat__price { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; }
.cformat__note { margin-bottom: 0.6rem; font-size: 0.92rem; color: var(--ink-2); }
.cformat .link-arrow { margin-top: 0.4rem; font-size: 0.95rem; }

/* More ------------------------------------------------------------------------------------ */
/* (Its own sky blue on every city, with room between the colour change and the cards.) */
.cmore { padding: clamp(56px, 7vw, 96px) 0 var(--section); background: var(--sky); }
.cmore__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cmore__card { display: flex; gap: 0.9rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.7); line-height: 1.45; color: var(--ink-2); transition: transform 0.45s var(--ease-spring), background 0.3s; }
.cmore__card:hover { transform: translateY(-4px); background: #fff; }
.cmore__card .icon { flex: none; width: 26px; height: 26px; color: var(--coral-deep); }
.cmore__card strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }

/* Tablets and phones --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .csketch__inner, .cbook__inner { grid-template-columns: minmax(0, 1fr); }
  .ccoin__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'stage' 'play'; row-gap: 18px; }
  .cmenu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmore__grid { grid-template-columns: minmax(0, 1fr); }
  .ccoin__head, .ccoin__play, .csketch__copy { text-align: center; }
  .ccoin__means { max-width: 30rem; margin-inline: auto; text-align: left; }
  .ccoin__actions { justify-content: center; }
  .ccoin__stage { max-width: 560px; justify-self: center; width: 100%; }
  .cpanda__stage { max-width: min(560px, 110svh); }
  .cbat__board, .ctaxi__pads, .cjets__pads, .csafari__album { margin-inline: auto; }
}
@media (max-width: 760px) {
  /* Room under the buttons for Sophie, whose size follows the rules just below. */
  .chero { padding-bottom: calc(clamp(60px, 18vw, 110px) + clamp(84px, 24vw, 120px) * 1.6); }
  /* The trail runs down the left side, each stop's picture then its words. */
  .ctrail { gap: 64px; padding-left: 34px; }
  .ctrail::before { left: 14px; translate: 0 0; }
  .cstop { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cstop--flip .cstop__card { order: 0; }
  .cstop--flip .cstop__copy { justify-self: start; }
  .cstop__n, .cstop--flip .cstop__n { top: -30px; left: -34px; right: auto; width: 44px; height: 44px; font-size: 1.15rem; translate: -50% 0; }
  .cstop__card { margin-top: 10px; }
  .chero__sophie { right: 3%; width: clamp(84px, 24vw, 120px); bottom: clamp(60px, 18vw, 110px); }
  .chero__bubble { font-size: 0.78rem; }
  .chero__deco--2 { top: 12%; right: 4%; }
  .chero__deco--3 { top: 10%; left: 4%; }
  .chero__deco--1 { bottom: 22%; left: 3%; }
  .cmap__card { position: relative; left: auto; top: auto; width: auto; margin: 6px; translate: none; grid-template-columns: 92px minmax(0, 1fr); }
  .cmap__plot { padding: 6px; }
}
@media (max-width: 560px) {
  /* And for her speech bubble, which moves above her head. */
  .chero { padding-bottom: calc(clamp(60px, 18vw, 110px) + clamp(84px, 24vw, 120px) * 2.1); }
  .chero__deco--2, .chero__deco--3 { display: none; }
  /* A tall one stands in the bottom corner, below the words and beside the buttons. */
  .chero__deco.chero__deco--tall { left: 3%; bottom: 9%; width: 30px; }
  /* Above Sophie's head, clear of the buttons in the middle. */
  .chero__bubble { right: -4%; top: -34%; }
  .cmenu__list { grid-template-columns: minmax(0, 1fr); }
  .cmenu__plate { width: 200px; }
  .cword { min-width: 0; width: calc(50% - 10px); padding: 1.1rem 0.8rem 1rem; }
  .cbook__visual { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .chero__sophie, .cmap__dot::before, .csled__stage.is-running .csled__slice { animation: none; }
  .ctaxi__cab, .cpanda__who { transition: none; }
}
