/* KAFE !N — link hub (first screen) */

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

html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--surface-2) var(--bg); overflow-x: clip; }
body {
  margin: 0; min-height: 100svh;
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  color: var(--text); background: var(--bg);
  display: flex; flex-direction: column; align-items: center;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
html[lang="ar"] body { font-family: var(--arabic); }
::selection { background: var(--accent-fill); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* theme switch: the new theme spreads out from the toggle as a circle */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .6s cubic-bezier(.7, 0, .2, 1); }
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); }
  to { clip-path: circle(var(--tr, 150vmax) at var(--tx, 50%) var(--ty, 0)); }
}

/* ---------- backdrop: warm light + tumbling beans ---------- */

.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60vmax 46vmax at 50% 16%, var(--glow-top), transparent 70%),
    radial-gradient(80vmax 60vmax at 50% 110%, var(--glow-bottom), transparent 70%);
}
#beans { position: absolute; inset: 0; }
.grain { position: absolute; inset: 0; background-image: var(--grain, none); }

/* ---------- intro: the screen fills from the bottom with a wavy edge ---------- */

.pour {
  position: fixed; inset: 0; z-index: 30; pointer-events: none;
  background: var(--pour);
  transform: translateY(-115%);
}
.pour__wave {
  position: absolute; left: 0; right: 0; top: 100%; height: 34px; margin-top: -1px;
  background: var(--pour);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34' preserveAspectRatio='none'%3E%3Cpath d='M0 0h160v12c-20 0-20 14-40 14S100 12 80 12 60 26 40 26 20 12 0 12z'/%3E%3C/svg%3E") repeat-x 0 0 / 160px 34px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34' preserveAspectRatio='none'%3E%3Cpath d='M0 0h160v12c-20 0-20 14-40 14S100 12 80 12 60 26 40 26 20 12 0 12z'/%3E%3C/svg%3E") repeat-x 0 0 / 160px 34px;
  animation: wave .9s linear infinite;
}
@keyframes wave { to { -webkit-mask-position: 160px 0; mask-position: 160px 0; } }
.is-intro .pour { animation: pour-up var(--pour-time) cubic-bezier(.7, 0, .3, 1) .1s both; }
@keyframes pour-up { from { transform: translateY(0); } to { transform: translateY(-115%); } }
.is-leaving .pour { animation: pour-down .55s cubic-bezier(.6, 0, .4, 1) both; }
@keyframes pour-down { from { transform: translateY(-115%); } to { transform: translateY(0); } }

/* ---------- top bar ---------- */

.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(12px + env(safe-area-inset-top)) 16px 0;
  max-width: 560px; margin-inline: auto;
  direction: ltr; /* controls keep their places in Arabic too */
}
.topbar__group { display: flex; gap: 8px; }
.chip-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.chip-btn:active { transform: scale(.9); }
.chip-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* sun shows in dark (tap for light), moon shows in light (tap for dark) */
.theme-btn svg { grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.theme-btn .moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-kafein-theme="light"] .theme-btn .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-kafein-theme="light"] .theme-btn .moon { opacity: 1; transform: none; }

.lang {
  display: inline-flex; gap: 2px; padding: 3px; min-height: 44px; align-items: center; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.lang__opt { min-width: 38px; padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; text-align: center; font-family: var(--sans); transition: background-color .25s var(--ease), color .25s; }
.lang__opt[data-lang="ar"] { font-family: var(--arabic); }
.lang__opt.is-active { background: var(--text); color: var(--bg); }

/* ---------- hub column ---------- */

.hub {
  width: 100%; max-width: 520px;
  padding: calc(50px + env(safe-area-inset-top)) 20px 8px;
  display: flex; flex-direction: column; align-items: center;
}
.profile { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- the dial ---------- */

.dial {
  --size: min(58vw, 226px);
  position: relative; width: var(--size); height: var(--size);
  display: grid; place-items: center; margin-top: 22px;
  touch-action: none; /* the ring is draggable */
}
.dial__ticks, .dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial__ticks line { stroke: var(--accent); stroke-width: 1; stroke-linecap: round; opacity: .5; }
.dial__ticks line.major { stroke-width: 1.6; opacity: .95; }
.dial__ring { cursor: grab; will-change: transform; }
.dial.is-dragging .dial__ring { cursor: grabbing; }
.dial__ring text {
  fill: var(--ring-text); font-family: var(--sans);
  font-size: 13px; font-weight: 800; font-stretch: 118%; letter-spacing: .03em;
}

.cup {
  position: relative; z-index: 1;
  width: 57%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center; overflow: hidden;
  outline: 1.5px solid var(--accent); outline-offset: 5px;
  box-shadow: 0 22px 44px -14px var(--shadow);
  transition: transform .3s var(--ease);
}
.cup:active { transform: scale(.94); }
.cup__logo {
  display: block; width: 80%; aspect-ratio: 500 / 170;
  background: url("../assets/logo.jpg") no-repeat;
  background-size: 117.8% auto; background-position: 59% 50.3%;
  mix-blend-mode: multiply;
  position: relative; z-index: 1;
}
/* tap the cup: rings spread across the surface like a drop in coffee */
.ripple {
  position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  border: 2px solid #c99a6b; pointer-events: none;
  animation: ripple .9s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(12); opacity: 0; } }

.steam {
  position: absolute; left: 50%; bottom: calc(100% - 30px); width: 96px; margin-left: -48px; z-index: 2;
  fill: none; stroke: var(--steam); stroke-width: 3; stroke-linecap: round; opacity: 0;
  pointer-events: none;
}
.steam path { opacity: 0; animation: steam 3.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.2s; }
.steam path:nth-child(3) { animation-delay: 2.4s; }
.is-ready .steam { opacity: .5; transition: opacity 1s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(14px) scaleY(.7); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-16px) scaleY(1.1); }
}

.hint {
  margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: opacity .5s var(--ease);
}
.hint::before, .hint::after { content: ""; width: 14px; height: 1.5px; background: currentColor; border-radius: 2px; }
.hint.is-gone { opacity: 0; }

.handle { margin: 10px 0 4px; font-weight: 800; font-size: 18px; font-stretch: 112%; letter-spacing: .005em; font-family: var(--sans); }
.bio { margin: 0; max-width: 34ch; color: var(--text-dim); font-size: 15.5px; text-wrap: balance; }

/* ---------- socials ---------- */

.socials { display: flex; gap: 12px; margin: 16px 0 18px; }
.social {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  transition: background-color .2s, color .2s, border-color .2s, transform .35s cubic-bezier(.16, 1, .3, 1);
}
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
@media (hover: hover) {
  .social:hover { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateY(-3px) rotate(-6deg); }
}
.social:active { transform: scale(.88); }
.social[aria-disabled="true"] { opacity: .45; }

/* ---------- the menu button ---------- */

.links { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 10px; }

.link {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px;
  min-height: 88px; padding: 14px 16px 14px 12px;
  border-radius: 16px;
  background: var(--invert-bg); color: var(--invert-text);
  box-shadow: 0 14px 30px -16px var(--shadow);
  transition: transform .2s var(--ease), color .3s;
}
html[dir="rtl"] .link { padding: 14px 12px 14px 16px; }
/* hover: crema fills the button like milk going into the cup */
.link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent-fill);
  transform: translateY(101%); border-radius: 40% 40% 0 0 / 18px 18px 0 0;
  transition: transform .45s var(--ease), border-radius .45s var(--ease);
}
@media (hover: hover) {
  .link:hover::before { transform: translateY(0); border-radius: 0; }
  .link:hover { color: var(--accent-ink); }
  .link:hover .link__go { transform: translateX(4px); }
  html[dir="rtl"] .link:hover .link__go { transform: scaleX(-1) translateX(4px); }
}
.link:active { transform: scale(.975); }

.link__icon {
  flex: none; width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: var(--invert-icon-bg); color: var(--invert-icon-text);
}
.link__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link__text { display: grid; gap: 1px; min-width: 0; }
.link__title { font-size: 27px; font-weight: 900; font-stretch: 120%; letter-spacing: -.015em; line-height: 1.05; }
html[lang="ar"] .link__title { font-weight: 700; letter-spacing: 0; }
.link__sub { font-size: 13.5px; opacity: .75; }
.link__go {
  margin-inline-start: auto; flex: none; width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
html[dir="rtl"] .link__go { transform: scaleX(-1); }
.link .wisp { animation: wisp 2.4s ease-in-out infinite; }
@keyframes wisp { 0%, 100% { opacity: .2; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-1.5px); } }

/* ---------- places: compact branch cards with a map thumbnail ---------- */

.places { width: 100%; margin-top: 10px; }
.places__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.place {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 7px; padding-inline-end: 8px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .2s;
}
.place:active { transform: scale(.97); }
@media (hover: hover) {
  .place:hover { transform: translateY(-2px); border-color: var(--accent); }
  .place:hover .place__map svg { transform: scale(1.12); }
}

.place__map {
  position: relative; flex: none; width: 46px; height: 46px; overflow: hidden;
  border-radius: 12px; background: var(--map-bg);
}
.place__map > svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.m-bg { fill: var(--map-bg); }
.m-road { stroke: var(--map-road); }
.m-major { stroke: var(--map-major); }
.m-park { fill: var(--map-park); }
.m-water { fill: var(--map-water); }
.m-edge { stroke: var(--map-edge); }
.m-rail { stroke: var(--map-rail); }

/* café marker, the way map apps show a coffee shop */
.marker {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-fill); color: var(--accent-ink);
  border: 2px solid var(--surface);
  box-shadow: 0 3px 6px -1px rgb(0 0 0 / .45);
}
.marker svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.marker::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--accent-fill); opacity: 0;
  animation: pulse 2.4s ease-out 1.4s infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* open / closed dot on the thumbnail corner */
.place__dot {
  position: absolute; top: 4px; inset-inline-end: 4px; z-index: 2;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--closed); border: 2px solid var(--surface);
}
.place__dot.is-open { background: var(--open); }

.place__body { display: grid; gap: 1px; min-width: 0; }
.place__name { font-size: 17px; font-weight: 800; font-stretch: 115%; letter-spacing: -.01em; line-height: 1.2; }
html[lang="ar"] .place__name { font-weight: 700; letter-spacing: 0; }
.place__hours {
  display: flex; align-items: center; gap: 4px; min-width: 0;
  font-size: 12px; font-weight: 600; color: var(--text-dim); letter-spacing: -.01em;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.place__hours svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.place__hours span { overflow: hidden; text-overflow: ellipsis; }

/* ---------- ticker: signature drinks on a tilted crema strip ---------- */

.ticker {
  display: block; width: 112vw; flex: none; margin: 44px 0 8px; overflow: hidden;
  background: var(--accent-fill); color: var(--accent-ink);
  transform: rotate(-3deg);
  padding: 13px 0;
  direction: ltr;
}
.ticker__track { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-visible .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 18px; padding-inline-end: 18px;
  font-weight: 900; font-stretch: 122%; font-size: 21px; line-height: 1; letter-spacing: -.01em; white-space: nowrap;
}
.ticker__item svg { width: 15px; height: 20px; flex: none; fill: currentColor; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- picker: let the cup choose ---------- */

.picker { width: 100%; max-width: 520px; padding: 26px 20px 8px; scroll-margin-top: 12px; }
.picker__card {
  display: grid; justify-items: center; text-align: center;
  padding: 22px 16px 16px; border-radius: 24px;
  background: var(--surface); border: 2px solid var(--accent-fill);
  box-shadow: 0 18px 40px -26px var(--shadow);
}
.picker__title { margin: 0; font-size: clamp(30px, 9vw, 40px); font-weight: 900; font-stretch: 122%; letter-spacing: -.025em; line-height: 1; text-wrap: balance; }
html[lang="ar"] .picker__title { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.picker__sub { margin: 10px 0 4px; color: var(--text-dim); max-width: 32ch; text-wrap: balance; }

/* the two steps: a real sequence, so they're numbered */
.step {
  justify-self: stretch; display: flex; align-items: center; gap: 8px;
  margin: 18px 0 10px; font-weight: 800; font-size: 15px; text-align: start;
}
.step__n {
  flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-fill); color: var(--accent-ink); font-size: 13px; font-family: var(--sans);
}

.moods { justify-self: stretch; display: flex; flex-wrap: wrap; gap: 8px; }
.mood {
  min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 600; font-size: 14.5px;
  transition: background-color .2s, color .2s, border-color .2s, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.mood[aria-checked="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.mood:active { transform: scale(.95); }

/* the slot is tappable too */
.slot {
  justify-self: stretch; display: flex; align-items: center; gap: 14px; text-align: start;
  min-height: 104px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: var(--bg); border: 1.5px dashed var(--accent);
  overflow: hidden; transition: border-color .2s, transform .2s var(--ease);
}
html[dir="rtl"] .slot { padding: 12px 12px 12px 16px; }
.slot:active { transform: scale(.98); }
.slot__art { flex: none; width: 72px; height: 80px; display: grid; place-items: center; }
.slot__art .ka { width: 100%; height: 100%; overflow: visible; color: var(--text); }
.slot__text { display: grid; gap: 2px; min-width: 0; }
.slot__name {
  font-weight: 800; font-size: 16px; line-height: 1.2; color: var(--text-dim);
}
.slot__price { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.slot__price:empty { display: none; }
.slot.is-rolling .slot__name, .slot.is-rolling .slot__art { animation: roll .09s linear infinite; }
@keyframes roll { 0% { transform: translateY(-14%); filter: blur(1.5px); opacity: .55; } 100% { transform: translateY(14%); filter: blur(1.5px); opacity: .55; } }
.slot.is-landed { border-style: solid; border-color: var(--accent-fill); }
.slot.is-landed .slot__name { color: var(--text); font-size: clamp(20px, 6vw, 26px); font-weight: 900; font-stretch: 116%; letter-spacing: -.015em; }
html[lang="ar"] .slot.is-landed .slot__name { font-weight: 700; letter-spacing: 0; }
.slot.is-landed .slot__name, .slot.is-landed .slot__art { animation: land .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes land { from { transform: scale(.7); opacity: 0; } }

.ka-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.picker__actions { margin-top: 12px; width: 100%; display: grid; gap: 4px; justify-items: center; }
.pick-btn {
  width: 100%; min-height: 56px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--invert-bg); color: var(--invert-text);
  font-weight: 800; font-size: 17.5px; font-stretch: 110%;
  box-shadow: 0 12px 24px -16px var(--shadow);
  transition: transform .2s var(--ease), background-color .2s;
}
.pick-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pick-btn:active { transform: scale(.97); }
.pick-btn:disabled { opacity: .75; cursor: progress; }
.pick-btn:disabled svg { animation: shuffle .5s linear infinite; }
@keyframes shuffle { 50% { transform: scaleX(-1); } }
/* one nudge when the card first comes into view, so the button gets noticed */
.pick-btn.is-nudge { animation: nudge .9s cubic-bezier(.36, .07, .19, .97) .2s 2; }
@keyframes nudge { 0%, 100% { transform: none; } 20% { transform: rotate(-2deg) scale(1.03); } 40% { transform: rotate(2deg) scale(1.03); } 60% { transform: rotate(-1deg); } 80% { transform: rotate(1deg); } }
.picker__see[hidden] { display: none; }
.picker__see { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }

/* ---------- floating hint: there's more below ---------- */

.cue {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 14px 10px 18px; border-radius: 999px;
  background: var(--invert-bg); color: var(--invert-text);
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
  box-shadow: 0 12px 28px -12px var(--shadow);
  transform: translateX(-50%); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
html[dir="rtl"] .cue { padding: 10px 18px 10px 14px; }
.cue svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }
.cue.is-gone { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }

/* ---------- footer, toast ---------- */

.foot { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--text-faint); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 40;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 999px; transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- entrance after the pour ---------- */

.is-intro .dial, .is-intro .hint,
.is-intro .handle, .is-intro .bio,
.is-intro .social, .is-intro .links > li, .is-intro .ticker,
.is-intro .place { opacity: 0; }

.is-ready .dial { animation: pop .8s var(--ease) both; }
.is-ready .hint, .is-ready .handle, .is-ready .bio { animation: rise .6s var(--ease) both; animation-delay: .12s; }
.is-ready .social { animation: rise .5s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .05s); }
.is-ready .links > li { animation: rise .6s var(--ease) both; animation-delay: .32s; }
.is-ready .place { animation: rise .6s var(--ease) both; animation-delay: calc(.42s + var(--i, 0) * .1s); }
.is-ready .marker { animation: drop .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.7s + var(--i, 0) * .14s); }
@keyframes drop { 0% { opacity: 0; transform: translateY(-26px) scale(.6); } 60% { opacity: 1; } }
.is-ready .ticker { animation: slap .6s cubic-bezier(.16, 1, .3, 1) .6s both; }

@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-40deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes slap { from { opacity: 0; transform: rotate(-9deg) scale(1.1); } }

@media (min-width: 768px) {
  .hub { padding-top: 84px; }
  .dial { --size: 268px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none !important; }
  .pour { display: none; }
  ::view-transition-new(root) { animation: none; }
}
