/* ZamTraveler — liquid ink buttons + ink cursor (shared by the landing and inner pages). */
:root { --e-out: cubic-bezier(.16, 1, .3, 1); --e-spring: cubic-bezier(.34, 1.56, .64, 1); }
/* ======================= LIQUID INK BUTTONS ======================= */
.goo-btn {
  --h: 54px; --px: 26px; --drop: 22px;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 var(--px); border-radius: 999px; color: var(--bone);
  font: 500 15px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.goo { position: absolute; inset: -124px -140px; z-index: -1; pointer-events: none; }
.goo__body, .goo__d { position: absolute; background: #0b0b0d; }
.goo__body { inset: 124px 140px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.28); }
.goo__d { left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; will-change: transform; }
.goo__d1 { --s: calc(var(--drop) * 1.55); }
.goo__d2 { --s: calc(var(--drop) * 1.38); }
.goo__d3 { --s: calc(var(--drop) * 1.22); }
.goo__d4 { --s: calc(var(--drop) * 1.08); }
.goo__d5 { --s: calc(var(--drop) * 1.15); }
.ink-ready:not(.goo-lite) .goo { filter: url(#zt-goo); }
.ink-ready:not(.goo-lite) .goo__body { box-shadow: none; }
/* v3 lite goo (touch devices): no SVG filter (a blur + lighting pass over a
   ~600x400 px box per button). Same glossy pill drawn with gradients. */
.goo-lite .goo__d { display: none; }
.goo-lite .goo__body {
  background: radial-gradient(120% 160% at 28% -20%, rgba(244,241,255,.22), rgba(244,241,255,0) 46%), #0b0b0d;
  box-shadow: inset 0 0 0 1px rgba(200,202,220,.3), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,0,0,.6);
}
.goo-lite .goo__d, .goo-lite .goo-label { will-change: auto; }
.goo-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0; will-change: transform; }
.goo-ico {
  display: grid; place-items: center; width: 32px; height: 32px; margin: 0 -14px 0 16px; border-radius: 50%;
  background: var(--bone); color: #000; transition: transform .6s var(--e-spring);
}
.goo-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.goo-btn:hover .goo-ico { transform: translate(2px, -2px) scale(1.07); }
.goo-btn--sm { --h: 44px; --px: 20px; --drop: 18px; font-size: 14px; }
.goo-btn--lg { --h: 62px; --px: 30px; --drop: 24px; font-size: 16px; }
.goo-btn--xl { --h: 76px; --px: 38px; --drop: 28px; font-size: clamp(16px, 1.4vw, 19px); }
.goo-btn--xl .goo-ico { width: 44px; height: 44px; margin-right: -24px; margin-left: 20px; }
.goo-btn--ghost .goo { opacity: .6; }
.goo-btn--ghost .goo-label { color: var(--mist); transition: color .3s; }
.goo-btn--ghost:hover .goo-label { color: var(--bone); }
.goo-ripples { position: absolute; inset: 0; border-radius: 999px; overflow: hidden; pointer-events: none; z-index: 1; }
.goo-ripples i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.26), rgba(255,255,255,0) 62%); transform: scale(0); animation: goo-rip .85s var(--e-out) forwards; }
@keyframes goo-rip { to { transform: scale(1); opacity: 0; } }
.goo-btn.is-squish { animation: goo-squish .6s var(--e-out); }
@keyframes goo-squish { 0% { transform: scale(1); } 28% { transform: scale(.94, .88); } 58% { transform: scale(1.04, 1.06); } 100% { transform: scale(1); } }

.ink-cursor {
  position: fixed; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  pointer-events: none; z-index: 90; transform: translate3d(-100px, -100px, 0);
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.95) 0 9%, #3a3a40 24%, #060607 62%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.38), 0 6px 18px rgba(0,0,0,.6);
  transition: opacity .35s;
}
.ink-cursor.is-absorbed { opacity: 0; }
.goo-lite .ink-cursor { display: none; }

@media (prefers-reduced-motion: reduce) { .ink-cursor { display: none; } .goo-btn.is-squish { animation: none; } }

/* ======================= INK VEIL (intro + page transitions, transition.js) ======================= */
.ink-veil { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2147483000; pointer-events: none; display: block; visibility: hidden; }
.ink-veil.is-on { visibility: visible; }                         /* v3: never blocks input */
.ink-veil-plain { position: fixed; inset: 0; z-index: 2147483000; background: #000; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.ink-veil-plain.is-on { opacity: 1; }
/* first-paint cover while the next page boots (class set by the inline <head> snippet) */
html.ink-arrive::before, html.is-intro::before {
  content: ""; position: fixed; inset: 0; z-index: 2147482999; background: #000; pointer-events: none;
  animation: ink-cover-fallback .5s ease 1.6s forwards;          /* JS never ran: get out of the way */
}
html.is-intro::before { animation-delay: 3.2s; }
@keyframes ink-cover-fallback { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.ink-arrive::before { animation-delay: .4s; } }
