/* WeDoo: one typeface, cream page, ink text, tomato for the one action.
   Chrome stays quiet (flat surfaces, hairlines, no hard shadows); the colour lives in Tab, Clix,
   the illustrations and the work. Spacing sits on a 4px grid.
   Pass 2 (vs jamm.co, hallmark floor as checklist): asymmetric hero, work shown in mixed shapes,
   price set as the moment, longer section rhythm with one small-head section, composed footer. */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-opsz-v1.woff2") format("woff2-variations"),
       url("/assets/fonts/bricolage-opsz-v1.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  /* neutral ramp, warm cream toward paper and ink */
  --cream: #F4EEE3;
  --paper: #FFFDF7;
  --raised: #ECE5D7;
  --line: #E3DACA;
  --ink: #1B1F3B;
  --ink-2: #474A63;
  --muted: #66677A;
  --hair: color-mix(in srgb, var(--ink) 10%, transparent);
  --hair-2: color-mix(in srgb, var(--ink) 18%, transparent);
  --field: color-mix(in srgb, var(--ink) 50%, var(--paper));
  /* on the ink panels */
  --on-ink: var(--cream);
  --on-ink-2: color-mix(in srgb, var(--cream) 74%, var(--ink));
  --on-ink-hair: color-mix(in srgb, var(--cream) 14%, transparent);
  /* brand colours: tomato is the action; the rest live in the illustrations */
  --tomato: #FF5A36;
  --tomato-d: #EC4521;
  --tomato-hi: color-mix(in srgb, var(--tomato) 82%, var(--paper));
  --tomato-ink: #B4321A;
  --cobalt: #4F6BFF;
  --sun: #FFC53A;
  --mint: #2CC79A;
  --sand: #E6DDCC;
  --shade: color-mix(in srgb, var(--ink) 18%, transparent);
  --mask-on: #000;
  /* type */
  --font: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  /* shape */
  --r: 24px;
  --r-img: 16px;
  --gut: 20px;
  --max: 1140px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* icons, drawn as masks so they take the text colour */
  --i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
button, summary, [role="tab"] { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
section[id] { scroll-margin-top: 80px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 32px;
  border: 0; border-radius: 999px;
  background: var(--tomato); color: var(--ink);
  font-weight: 600; font-size: 17px; letter-spacing: 0; line-height: 1.2; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color .16s var(--ease), transform .16s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { background: var(--raised); color: var(--muted); cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--tomato-hi); }
  .btn--ghost:hover { background: var(--raised); }
  .btn[disabled]:hover { background: var(--raised); }
  .hdr__nav a.lnk:hover { color: var(--ink); }
  .ftr nav a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.hdr.is-scrolled { border-bottom-color: var(--hair); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.hdr__nav { display: flex; align-items: center; gap: 32px; }
.hdr__nav a.lnk { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 16px; text-decoration: none; color: var(--ink-2); transition: color .16s var(--ease); }
.hdr__nav .btn { transition: opacity .2s var(--ease), background-color .16s var(--ease), transform .16s var(--ease); }
@media (max-width: 720px) { .hdr__nav a.lnk { display: none; } }
@media (max-width: 720px) { .hdr__nav { gap: 16px; } .hdr__nav a.lnk--in { display: inline-flex; } }
@media (max-width: 380px) { .hdr__nav .btn--sm { padding: 0 16px; } }
@media (max-width: 899px) { body.bar-on .hdr__nav .btn { opacity: 0; pointer-events: none; } }

/* logo: "WeD" + two eyes that follow you (the brand mark, kept as drawn) */
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 30px; letter-spacing: -0.045em; line-height: 1; }
.logo__eyes { display: inline-flex; gap: 2px; margin-left: 2px; transform: translateY(2px); }
.logo__eye { width: .62em; height: .62em; border-radius: 50%; border: .11em solid currentColor; background: var(--paper); position: relative; overflow: hidden; }
.logo__eye i { position: absolute; width: .26em; height: .26em; border-radius: 50%; background: var(--ink); left: 50%; top: 50%; transform: translate(calc(-50% + var(--lx, .07em)), calc(-50% + var(--ly, -.04em))); transition: transform .25s var(--ease); }

/* ---------- hero ----------
   Phones: Tab and Clix stand side by side under the button, both fully on screen, Clix a step higher; the work wall starts right below them.
   Desktop: they flank the headline at different heights and sizes, Tab low on the left, never cut off. */
.hero { position: relative; padding: 40px 0 0; text-align: center; overflow-x: clip; }
.hero h1 { font-size: clamp(44px, calc(9.2vw + 8px), 116px); line-height: .98; letter-spacing: -0.025em; font-weight: 600; }
.hero h1 .pop { color: var(--tomato-d); display: block; }
.hero__sub { max-width: 40ch; margin: 24px auto 0; font-size: clamp(18px, calc(1vw + 15px), 21px); color: var(--ink-2); line-height: 1.45; }
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__fine { font-size: 15px; color: var(--ink-2); }
.hero__stage { position: relative; z-index: 2; height: 148px; max-width: 560px; margin: 8px auto -4px; pointer-events: none; }
.hero__m { position: absolute; bottom: 0; }
.hero__m--tab { left: 14px; width: 144px; }
.hero__m--clix { right: 14px; bottom: 28px; width: 96px; }
.hero__m .shadow { width: 62%; height: 12px; margin: -8px auto 0; border-radius: 50%; background: var(--shade); transform-origin: center; }
.hero__m--clix .shadow { width: 46%; margin-left: 38%; } /* under his feet: the matched legs stand right of the drawing centre */
@media (min-width: 560px) { .hero__m--tab { left: 14px; } }
/* 480-899px: the price line under the button runs on one line and reaches Clix, so drop the pair a little to keep his hand off it at the top of his bob */
@media (min-width: 480px) and (max-width: 899px) { .hero__stage { margin-top: 32px; } }
@media (min-width: 900px) {
  .hero { padding-top: 96px; }
  .hero__stage { position: absolute; inset: 0; z-index: 0; height: 100%; max-width: none; margin: 0; }
  .hero__m--tab { left: max(24px, calc(50% - 760px)); bottom: 40px; width: clamp(220px, 23vw, 340px); }
  .hero__m--clix { right: max(24px, calc(50% - 704px)); bottom: auto; top: 184px; width: clamp(156px, 16vw, 236px); }
  .hero__body { position: relative; z-index: 2; padding-bottom: 104px; }
}

/* mascot motion (Tab and Clix keep their life; everything else stays still) */
/* The hero mascots stand on the ground. Most of the time they bounce on their knees (see "alive" below);
   every few seconds the whole character crouches, hops and lands, and the shadow under it shrinks. */
.bob { animation: hop 5.6s var(--ease) infinite; transform-origin: 50% 100%; }
.bob--slow { animation-duration: 6.8s; animation-delay: -2.4s; }
.shadow { animation: shad 5.6s var(--ease) infinite; }
.bob--slow + .shadow { animation-duration: 6.8s; animation-delay: -2.4s; }
@keyframes hop { 0%, 76%, 100% { transform: none; } 81% { transform: scale(1.05, .93); } 87% { transform: translateY(-22px) scale(.97, 1.04) rotate(-3deg); } 93% { transform: scale(1.06, .92); } 96% { transform: scale(.985, 1.015); } }
@keyframes shad { 0%, 80%, 94%, 100% { transform: scaleX(1); opacity: 1; } 87% { transform: scaleX(.68); opacity: .5; } }
.mascot { overflow: visible; }
.mascot .m-arm, .mascot .m-brows, .mascot .m-spark, .mascot .m-pencil { transform-box: view-box; }
/* blinks: one, then a quick double, about every two seconds */
.mascot .m-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
.mascot--clix .m-eyes { animation-delay: -1.5s; }
@keyframes blink { 0%, 40%, 44%, 85%, 89%, 93%, 100% { transform: scaleY(1); } 42%, 87%, 91% { transform: scaleY(.1); } }
/* alive: the body bounces, the legs flex from the ankles to follow it, the shoes stay planted and one foot taps.
   --up0/--up1 are the body travel in the mascot's own units; --leg0/--leg1 the matching leg stretch. */
.mascot--live .m-up, .w-live .m-up { animation: m-up 1.4s ease-in-out infinite alternate; }
@keyframes m-up { from { transform: translateY(var(--up0, 5px)); } to { transform: translateY(var(--up1, -8px)); } }
.mascot--live .m-limbs, .w-live .m-limbs { transform-box: fill-box; transform-origin: 50% 100%; animation: m-legs 1.4s ease-in-out infinite alternate; }
@keyframes m-legs { from { transform: scaleY(var(--leg0, .929)); } to { transform: scaleY(var(--leg1, 1.114)); } }
.mascot--clix.mascot--live, .w-live--clix { --leg0: .906; --leg1: 1.151; }
.mascot--cheer.mascot--live { --leg0: .911; --leg1: 1.143; }
.mascot--clix.mascot--live .m-up, .mascot--clix.mascot--live .m-limbs { animation-duration: 1.15s; }
.mascot--live .m-shoe, .w-live .m-shoe { transform-box: fill-box; }
.mascot--live .m-shoe--r, .w-live .m-shoe--r { transform-origin: 22% 88%; animation: m-tap 3.2s ease-in-out infinite; }
.mascot--clix.mascot--live .m-shoe--r { animation: none; }
.mascot--clix.mascot--live .m-shoe--l { transform-origin: 78% 88%; animation: m-tap-l 2.6s ease-in-out infinite; }
@keyframes m-tap { 0%, 52%, 100% { transform: none; } 59%, 73% { transform: rotate(-17deg); } 66%, 80% { transform: none; } }
@keyframes m-tap-l { 0%, 30%, 100% { transform: none; } 38%, 54% { transform: rotate(17deg); } 46%, 62% { transform: none; } }
.mascot .m-pupils { transition: transform .3s var(--ease); }
.mascot .m-brows { animation: brow 4.6s var(--ease) infinite; }
.mascot--clix .m-brows { animation-duration: 5.8s; animation-delay: -2s; }
@keyframes brow { 0%, 62%, 76%, 100% { transform: none; } 66%, 72% { transform: translateY(-5px); } }
.mascot .m-arm--wave { animation: wave 4s var(--ease) infinite; }
@keyframes wave { 0%, 58%, 100% { transform: rotate(-6deg); } 66% { transform: rotate(16deg); } 74% { transform: rotate(-12deg); } 82% { transform: rotate(16deg); } 90% { transform: rotate(-6deg); } }
.mascot .m-arm--point { animation: point 2.4s var(--ease) infinite; }
@keyframes point { 0%, 58%, 100% { transform: none; } 66% { transform: translate(-2px, 6px) rotate(-5deg); } 76% { transform: rotate(1deg); } }
.mascot .m-spark { opacity: 0; animation: spark 2.4s var(--ease) infinite; }
@keyframes spark { 0%, 64% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1); } 86% { opacity: 0; transform: scale(1.3); } 100% { opacity: 0; } }
.mascot .m-pencil { transform-origin: 269px 226px; animation: doodle 3.2s var(--ease) infinite; }
@keyframes doodle { 0%, 70%, 100% { transform: none; } 76% { transform: rotate(-8deg); } 82% { transform: rotate(6deg); } 88% { transform: rotate(-3deg); } }
.mascot--cheer .m-arm--l { animation: cheerL .5s var(--ease) infinite alternate; }
.mascot--cheer .m-arm--r { animation: cheerR .5s var(--ease) infinite alternate; }
@keyframes cheerL { from { transform: rotate(6deg); } to { transform: rotate(-9deg); } }
@keyframes cheerR { from { transform: rotate(-6deg); } to { transform: rotate(9deg); } }
@media (prefers-reduced-motion: reduce) {
  .bob, .shadow, .mascot * { animation: none !important; }
}

/* ---------- sections: one rhythm ----------
   Long, even gaps between sections (224px on desktop), big heads, and one small-head section ("What do we doo?")
   to break the beat. */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec__head { text-align: center; max-width: 1040px; margin: 0 auto 32px; }
.sec--price .sec__head { max-width: 760px; }
.sec__head h2 { font-size: clamp(36px, calc(5.6vw + 14px), 96px); line-height: .98; letter-spacing: -0.025em; }
.sec__head p { margin-top: 16px; font-size: clamp(18px, calc(.4vw + 16px), 21px); color: var(--ink-2); }
.sec__head--left { text-align: left; margin-left: 0; }
@media (min-width: 900px) { .sec__head { margin-bottom: 64px; } }

/* ---------- look what we doo: the work wall, straight under the hero ----------
   The main event. Strongest work first, and size says so: a row shares the width between however many tiles
   it holds, so the top row of two is the biggest, then three, then four. Nothing in it is a link.
   Under 900px the top row stacks full width, captions on, and the rows inside .shelf become one sideways swipe:
   two rows of smaller cards, the second set half a card over, no captions, a progress bar underneath. */
.sec--work { padding-top: 32px; }
.sec--work .sec__head { margin-bottom: 24px; }
.sec--work .sec__head h2 { font-size: clamp(34px, 10.4vw, 52px); }
.shelf__row { display: flex; gap: 24px; }
.shot { flex: 1 1 0%; min-width: 0; color: var(--ink); -webkit-user-select: none; user-select: none; }
.shot figure { margin: 0; }
.shot img, .pex img { -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--line); }
.shot figcaption { margin-top: 12px; font-weight: 600; font-size: 16px; line-height: 1.35; text-wrap: balance; }
.shot figcaption small { font-weight: 400; font-size: inherit; color: var(--muted); }
.shelf__row--top .shot figcaption { font-size: 18px; }
.sw-hint { margin: 36px 0 12px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.sl-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.sl-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--hair-2); overflow: hidden; }
.sl-bar i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.3); }
.sl-btn { display: none; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1.5px var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease); }
.sl-btn svg { width: 18px; height: 18px; }
.sl-btn:active { transform: scale(.96); }
.sl-btn[disabled] { box-shadow: inset 0 0 0 1.5px var(--hair-2); color: var(--muted); background: transparent; cursor: default; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .sl-btn { display: grid; place-items: center; } .sl-btn:hover { background: var(--raised); } }
@media (max-width: 899px) {
  .shelf__row--top { flex-direction: column; gap: 28px; }
  /* the swipe: cards sit on a grid of half-card tracks and flow top, bottom, top, bottom in the order they are
     written, however many there are. The empty ::before holds the first track of row two, so every card in
     that row lands half a card over. Nothing to number when a tile is added or taken away. */
  .shelf { --rh: 150px; --cw: calc(var(--rh) * 4 / 3); --t: calc((var(--cw) + 16px) / 2);
    display: grid; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: var(--t); gap: 16px 0;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--gut);
    margin: 0 calc(-1 * var(--gut)); padding: 4px max(0px, calc(var(--gut) - 16px)) 16px var(--gut); }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf::before { content: ""; grid-area: 2 / 1 / 3 / 2; }
  .shelf.is-drag { cursor: grabbing; }
  .shelf .shelf__row { display: contents; }
  .shelf .shot { grid-column: span 2; justify-self: start; }
  .shelf .shot img { width: auto; height: var(--rh); border-radius: 14px; }
  .shelf .shot figcaption { display: none; }
}
/* phones: the top two swipe sideways too (one big card plus a peek of the next) instead of stacking, so the wall is
   about half as tall; the swipe of smaller cards follows straight after */
@media (max-width: 599px) {
  .shelf__row--top { flex-direction: row; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none; scroll-padding-inline: var(--gut); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; }
  .shelf__row--top::-webkit-scrollbar { display: none; }
  .shelf__row--top .shot { flex: 0 0 86%; scroll-snap-align: start; }
  .shelf__row--top .shot figcaption { margin-top: 10px; font-size: 16px; }
  .sw-hint { margin: 22px 0 10px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .sec--work .sec__head { margin-bottom: 32px; }
  .shelf__row--top { gap: 36px; }
  .shelf__row--top .shot img { border-radius: 24px; }
  .shelf__row--top .shot figcaption { margin-top: 16px; font-size: 20px; }
  .shelf { --rh: 200px; }
}
@media (hover: hover) and (pointer: fine) and (max-width: 899px) { .shelf { cursor: grab; } }
@media (min-width: 900px) {
  .sec--work { padding-top: 16px; }
  .sec--work .sec__head { margin-bottom: 56px; }
  .sec--work .sec__head h2 { font-size: clamp(56px, calc(4vw + 20px), 80px); }
  .shelf { display: flex; flex-direction: column; gap: 40px; margin-top: 48px; }
  .shot img { border-radius: 20px; }
  .shot figcaption { margin-top: 14px; }
  .shelf__row--top .shot img { border-radius: 28px; }
  .shelf__row--top .shot figcaption { margin-top: 18px; font-size: 22px; }
  /* four or more across: the caption stacks, name over what it is */
  .shelf__row:has(> .shot:nth-child(4)) .shot figcaption small { display: block; }
  .sl-ctrl, .sw-hint { display: none; }
}

/* friends and partners: a paper card that closes the wall */
.tools { margin-top: 40px; padding: 24px; border-radius: var(--r); background: var(--paper); }
.tools__k { font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--ink); }
.tools__row { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 20px 12px; }
.tools__row li { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink-2); font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.tools__row svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
@media (max-width: 374px) { .tools__row li { font-size: 14px; gap: 4px; } .tools__row svg { width: 16px; height: 16px; } }
@media (min-width: 900px) {
  .tools { margin-top: 72px; padding: 32px 40px 36px; border-radius: 28px; }
  .tools__k { font-size: 17px; }
  .tools__row { margin-top: 24px; gap: 24px; }
  .tools__row li { font-size: 18px; gap: 8px; }
  .tools__row svg { width: 22px; height: 22px; }
}
@media (min-width: 1200px) {
  .tools__row { display: flex; justify-content: space-between; gap: 24px; }
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.step { background: var(--paper); border-radius: var(--r); padding: 24px 24px 32px; }
.step svg { width: 100%; max-width: 224px; height: auto; margin: 0 0 24px; }
.step h3 { font-size: 24px; line-height: 1.15; }
.step p { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 900px) { .step { padding: 32px 32px 40px; } .step h3 { font-size: 26px; } }

/* ---------- everybody wins: five paper cards, each with a small looping scene (design/mascots/wins.cjs).
   Phones stack them; tablets go two up with the big card across the top; desktop puts the big card down the left. ---------- */
.wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.win { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.win__art { position: relative; aspect-ratio: 16 / 11; }
.win__art--sun { background: #FFE7AE; } .win__art--cobalt { background: #DCE2FF; } .win__art--mint { background: #CDEFE2; }
.win__art--tomato { background: #FFDDD2; } .win__art--sand { background: #EFE6D5; }
.win__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.win__txt { padding: 20px 24px 28px; }
.win h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; }
.win p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 600px) {
  .wins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .win--big { grid-column: 1 / -1; }
  .win--big .win__art { aspect-ratio: auto; height: clamp(260px, 44vw, 360px); }
}
@media (min-width: 1024px) {
  .wins { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .win--big { flex-direction: row; }
  .win--big .win__art { height: auto; min-height: 340px; flex: 1.3 1 0%; }
  .win--big .win__txt { flex: 1 1 0%; align-self: center; padding: 40px 48px; }
  .win--big h3 { font-size: clamp(30px, calc(1.4vw + 16px), 40px); }
  .win--big p { margin-top: 12px; font-size: 18px; max-width: 32ch; }
}
/* the loops: transform and opacity only; parked while the card is off screen; off for reduced motion (.mascot * rule) */
.win__svg .w-bob { animation: wbob 2.6s ease-in-out infinite alternate; }
.win__svg .w-late { animation-delay: -1.3s; }
@keyframes wbob { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.win__svg .w-twinkle { animation: wtw 2.8s ease-in-out infinite; }
@keyframes wtw { 0%, 100% { transform: scale(.72) rotate(0); opacity: .75; } 50% { transform: scale(1.08) rotate(24deg); opacity: 1; } }
.win__svg .w-steam { animation: wsteam 2.4s ease-out infinite; }
.win__svg .w-s2 { animation-delay: -.8s; } .win__svg .w-s3 { animation-delay: -1.6s; }
@keyframes wsteam { 0% { transform: translateY(10px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-12px); opacity: 0; } }
/* 1. hammock: the sling swings from its knots, the palm moves in the breeze, and Joe acts.
   Joe runs one 9 second performance, pose by pose like drawn frames (opacity steps), with eased moves only where a real
   thing travels. Everything below reads off the same clock:
     0.0  chilling: arm over the side swings behind the hammock, two foot taps and a nod, a lazy finger drum
     1.2  dips, arm comes up (one in-between), one finger on the frame, tips the shades down on that side (press,
          overshoot, settle) and both eyes come over the top
     1.9  held look, dead still; 2.9 wink + ting + teeth; 3.7 shades pushed back up, glint across the lenses
     4.1  arm lets go, one in-between, drops and flops to rest; 4.9 rest
     6.0  reaches behind the lip, tiny espresso to the chest, to the mouth, tips it (head back, two gulps)
     7.2  cup comes off; 7.4 ahh: grin, brows, a puff, toes splay; 7.9 stashes the cup, arm drops and flops; rest
   The 0% frame of every track is the default drawing, which is also what reduced motion shows. */
.win__svg .w-sway { transform-origin: 170px 108px; animation: wsway 2.6s ease-in-out infinite alternate; }
@keyframes wsway { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
/* every pose is off until its steps switch it on; the default drawing is what is left */
.win__svg .j-eyes, .win__svg .j-wink, .win__svg .j-ting, .win__svg .j-grin, .win__svg .jo-s1, .win__svg .jo-s2, .win__svg .jo-sh, .win__svg .jo-glint, .win__svg .jo-brow, .win__svg .jo-teeth, .win__svg .jo-sip, .win__svg .jo-puff,
.win__svg .jo-reach, .win__svg .jo-c1, .win__svg .jo-c2, .win__svg .jo-c3, .win__svg .jo-lift, .win__svg .jo-drop, .win__svg .jo-f1 { opacity: 0; }
.win__svg .j-a, .win__svg .jo-lift, .win__svg .jo-drop, .win__svg .jo-sh, .win__svg .jo-s1, .win__svg .jo-s2, .win__svg .j-eyes, .win__svg .jo-eye, .win__svg .j-wink, .win__svg .j-smirk, .win__svg .jo-teeth, .win__svg .jo-sip, .win__svg .j-grin, .win__svg .jo-reach, .win__svg .jo-c1, .win__svg .jo-c2, .win__svg .jo-c3, .win__svg .jo-f0, .win__svg .jo-f1 { animation: 9s steps(1, end) infinite; }
.win__svg .j-a { animation-name: ja; } .win__svg .jo-lift { animation-name: jolift; } .win__svg .jo-drop { animation-name: jodrop; } .win__svg .jo-sh { animation-name: josh; } .win__svg .jo-s1 { animation-name: jos1; } .win__svg .jo-s2 { animation-name: jos2; } .win__svg .j-eyes { animation-name: jeyes; } .win__svg .jo-eye { animation-name: joeye; } .win__svg .j-wink { animation-name: jwink; } .win__svg .j-smirk { animation-name: jsmirk; } .win__svg .jo-teeth { animation-name: joteeth; } .win__svg .jo-sip { animation-name: josip; } .win__svg .j-grin { animation-name: jgrin; } .win__svg .jo-reach { animation-name: joreach; } .win__svg .jo-c1 { animation-name: joc1; } .win__svg .jo-c2 { animation-name: joc2; } .win__svg .jo-c3 { animation-name: joc3; } .win__svg .jo-f0 { animation-name: jof0; } .win__svg .jo-f1 { animation-name: jof1; }
@keyframes ja { 0% { opacity: 1; } 15% { opacity: 0; } 47.33% { opacity: 1; } 66.67% { opacity: 0; } 91.22%, 100% { opacity: 1; } }
@keyframes jolift { 0% { opacity: 0; } 15% { opacity: 1; } 16.11% { opacity: 0; } 45.78% { opacity: 1; } 46.44% { opacity: 0; } 66.67% { opacity: 1; } 67.56% { opacity: 0; } 89.56% { opacity: 1; } 90.33%, 100% { opacity: 0; } }
@keyframes jodrop { 0% { opacity: 0; } 46.44% { opacity: 1; } 47.33% { opacity: 0; } 90.33% { opacity: 1; } 91.22%, 100% { opacity: 0; } }
@keyframes josh { 0% { opacity: 0; } 16.11% { opacity: 1; } 45.78%, 100% { opacity: 0; } }
@keyframes jos1 { 0% { opacity: 0; } 16.11% { opacity: 1; } 19.56% { opacity: 0; } 42% { opacity: 1; } 45.78%, 100% { opacity: 0; } }
@keyframes jos2 { 0% { opacity: 0; } 19.56% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes jeyes { 0% { opacity: 0; } 19.56% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes joeye { 0% { opacity: 1; } 32.22% { opacity: 0; } 36.67%, 100% { opacity: 1; } }
@keyframes jwink { 0% { opacity: 0; } 32.22% { opacity: 1; } 36.67%, 100% { opacity: 0; } }
@keyframes jsmirk { 0% { opacity: 1; } 32.22% { opacity: 0; } 40.67% { opacity: 1; } 70.78% { opacity: 0; } 80.67% { opacity: 1; } 82.22% { opacity: 0; } 88%, 100% { opacity: 1; } }
@keyframes joteeth { 0% { opacity: 0; } 32.22% { opacity: 1; } 40.67%, 100% { opacity: 0; } }
@keyframes josip { 0% { opacity: 0; } 70.78% { opacity: 1; } 80.67%, 100% { opacity: 0; } }
@keyframes jgrin { 0% { opacity: 0; } 82.22% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes joreach { 0% { opacity: 0; } 67.56% { opacity: 1; } 69.44% { opacity: 0; } 88% { opacity: 1; } 89.56%, 100% { opacity: 0; } }
@keyframes joc1 { 0% { opacity: 0; } 69.44% { opacity: 1; } 70.78% { opacity: 0; } 80.67% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes joc2 { 0% { opacity: 0; } 70.78% { opacity: 1; } 71.67% { opacity: 0; } 80% { opacity: 1; } 80.67%, 100% { opacity: 0; } }
@keyframes joc3 { 0% { opacity: 0; } 71.67% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes jof0 { 0% { opacity: 1; } 6.89% { opacity: 0; } 8% { opacity: 1; } 9.11% { opacity: 0; } 10.22% { opacity: 1; } 61.33% { opacity: 0; } 62.44% { opacity: 1; } 63.56% { opacity: 0; } 64.67%, 100% { opacity: 1; } }
@keyframes jof1 { 0% { opacity: 0; } 6.89% { opacity: 1; } 8% { opacity: 0; } 9.11% { opacity: 1; } 10.22% { opacity: 0; } 61.33% { opacity: 1; } 62.44% { opacity: 0; } 63.56% { opacity: 1; } 64.67%, 100% { opacity: 0; } }
/* the body: only nods in the rests, holds still on the look, tips back on the sip */
.win__svg .j-bob { transform-origin: 156px 190px; animation: jbody 9s var(--ease) infinite; }
@keyframes jbody { 0% { transform: none; } 2.22% { transform: none; animation-timing-function: ease-out; } 3.11% { transform: rotate(1.8deg); } 4.44% { transform: rotate(0.6deg); animation-timing-function: ease-out; } 5.56% { transform: rotate(1.8deg); animation-timing-function: ease-in-out; } 11.11%, 13.33% { transform: none; } 14.67% { transform: rotate(3deg) scale(1.03, 0.96); } 16.11%, 18.89% { transform: none; } 20% { transform: rotate(-5deg) scale(0.98, 1.03); } 21.78%, 32.22% { transform: rotate(-3deg); } 33%, 36.67% { transform: rotate(1.5deg); } 38.22%, 41.11% { transform: rotate(-3deg); } 42.89% { transform: rotate(1.5deg); } 44.89%, 46.44% { transform: none; } 47.33% { transform: scale(1.02, 0.98); } 49.11% { transform: none; } 56.67% { transform: none; animation-timing-function: ease-out; } 57.56% { transform: rotate(1.8deg); } 58.89% { transform: rotate(0.6deg); animation-timing-function: ease-out; } 60% { transform: rotate(1.8deg); animation-timing-function: ease-in-out; } 65.56%, 66.67% { transform: none; } 68.44% { transform: rotate(-2.5deg); } 70.11% { transform: rotate(-1deg); } 71.22%, 71.67% { transform: none; } 74.44% { transform: rotate(6deg); } 75.33% { transform: rotate(6deg) scale(1, 1.03); } 76.33% { transform: rotate(6deg) scale(1, 1); } 77.89% { transform: rotate(6deg) scale(1, 1.03); } 78.89%, 80% { transform: rotate(6deg) scale(1, 1); } 80.67% { transform: scale(1.04, 0.95); } 82.22% { transform: rotate(-1.5deg) scale(0.98, 1.03); } 88% { transform: scale(1.01, 0.985); } 89.11% { transform: rotate(-2deg); } 90.22%, 91% { transform: none; } 91.89% { transform: scale(1.02, 0.98); } 93.44%, 100% { transform: none; } }
/* the umbrella in his coffee is the follow-through: it lags every body move and settles after it */
.win__svg .jo-brolly { transform-origin: 120px 81px; animation: jobrolly 9s ease-in-out infinite; }
@keyframes jobrolly { 0%, 2.44% { transform: none; } 3.78% { transform: rotate(-3deg); } 5.56% { transform: rotate(1.7deg); } 7.33%, 13.78% { transform: none; } 15.11% { transform: rotate(-3deg); } 16.89% { transform: rotate(1.7deg); } 18.67%, 19.33% { transform: none; } 20.67% { transform: rotate(9deg); } 22.44% { transform: rotate(-4.9deg); } 24.22% { transform: rotate(2.7deg); } 26% { transform: rotate(-1.5deg); } 27.78%, 32.44% { transform: none; } 33.78% { transform: rotate(-4deg); } 35.56% { transform: rotate(2.2deg); } 37.33%, 37.56% { transform: none; } 38.89% { transform: rotate(3deg); } 40.67%, 41.78% { transform: none; } 43.11% { transform: rotate(-4deg); } 44.89% { transform: rotate(2.2deg); } 46.67%, 47.33% { transform: none; } 48.67% { transform: rotate(2deg); } 50.44% { transform: rotate(-1.1deg); } 52.22%, 56.89% { transform: none; } 58.22% { transform: rotate(-3deg); } 60% { transform: rotate(1.7deg); } 61.78%, 67.78% { transform: none; } 69.11% { transform: rotate(3deg); } 70.89%, 72.22% { transform: none; } 73.56% { transform: rotate(-8deg); } 75.33% { transform: rotate(4.4deg); } 77.11% { transform: rotate(-2.4deg); } 78.89%, 80.22% { transform: none; } 81.56% { transform: rotate(8deg); } 83.33% { transform: rotate(-4.4deg); } 85.11% { transform: rotate(2.4deg); } 86.89%, 91.44% { transform: none; } 92.78% { transform: rotate(2deg); } 94.56% { transform: rotate(-1.1deg); } 96.33%, 100% { transform: none; } }
/* the shades and the finger on them are one group, so the prop never leaves the hand. Tipped, they also slide down
   his nose and flatten a little (leaning forward), so BOTH eyes clear the frame and the smirk still shows under it. */
.win__svg .j-shades { transform-origin: 202px 113.5px; animation: jshades 9s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes jshades { 0%, 17.78% { transform: none; } 18.56%, 18.89% { transform: translateY(0) rotate(2.5deg) scale(1, 1); } 20.33% { transform: translateY(15px) rotate(-9deg) scale(1, .86); } 21.78%, 40.67% { transform: translateY(13.5px) rotate(-6deg) scale(1, .86); } 41.33% { transform: translateY(14.5px) rotate(-8deg) scale(1, .86); } 42.89% { transform: translateY(0) rotate(2.5deg) scale(1, 1); } 43.67% { transform: translateY(0) rotate(-1deg) scale(1, 1); } 44.44%, 100% { transform: none; } }
.win__svg .jo-pup { animation: jopup 9s steps(1, end) infinite; }
@keyframes jopup { 0% { transform: none; } 19.56% { transform: translate(-3px, -3px); } 23.11%, 100% { transform: none; } }
.win__svg .jo-glint { animation: joglint 9s linear infinite; }
@keyframes joglint { 0%, 42.89% { opacity: 0; transform: none; } 43.11% { opacity: 1; transform: none; } 46.22% { opacity: 1; transform: translateX(120px); } 46.33%, 100% { opacity: 0; transform: translateX(120px); } }
.win__svg .j-ting { transform-box: fill-box; transform-origin: center; animation: jting 9s ease-out infinite; }
@keyframes jting { 0%, 32% { opacity: 0; transform: scale(.2); } 33.78% { opacity: 1; transform: scale(1.25) rotate(20deg); } 37.78%, 100% { opacity: 0; transform: scale(1.6) rotate(45deg); } }
/* the sip */
.win__svg .jo-gulp { animation: jogulp 9s ease-in-out infinite; }
@keyframes jogulp { 0%, 71.56% { transform: none; } 71.67% { transform: rotate(-9deg); } 73.44% { transform: rotate(4deg); } 75.22% { transform: none; } 77.22% { transform: rotate(4deg); } 79.44%, 100% { transform: none; } }
.win__svg .jo-brow { animation: jobrow 9s var(--ease) infinite; }
@keyframes jobrow { 0%, 82.11% { opacity: 0; transform: translateY(6px); } 82.22% { opacity: 1; transform: translateY(6px); } 83.33% { opacity: 1; transform: translateY(-2px); } 84.44%, 87.11% { opacity: 1; transform: none; } 88% { opacity: 1; transform: translateY(6px); } 88.11%, 100% { opacity: 0; transform: translateY(6px); } }
.win__svg .jo-puff { animation: jopuff 9s ease-out infinite; }
@keyframes jopuff { 0%, 82.56% { opacity: 0; transform: scale(.4); } 83.33% { opacity: 1; transform: translate(-3px, -3px) scale(.9); } 85.56% { opacity: 1; transform: translate(-7px, -8px) scale(1.25); } 87.78%, 100% { opacity: 0; transform: translate(-10px, -13px) scale(1.5); } }
/* the hanging arm: the forearm swings against the hammock (wsway) a beat late, the hand a beat later still, and every
   drop ends in a damped flop. All three pivot on their own 0,0 (the lip, the wrist), set by the groups in wins.cjs. */
.win__svg .jo-swing { animation: joswing 2.6s ease-in-out -4.85s infinite alternate; }
@keyframes joswing { from { transform: rotate(4deg); } to { transform: rotate(-4deg); } }
.win__svg .jo-wrist { animation: joswing 2.6s ease-in-out -4.65s infinite alternate; }
.win__svg .jo-flop { animation: joflop 9s linear infinite; }
@keyframes joflop { 0%, 46.22% { transform: none; } 46.44% { transform: rotate(16deg); } 47.33% { transform: rotate(16deg); animation-timing-function: ease-in-out; } 49.56% { transform: rotate(-9deg); animation-timing-function: ease-in-out; } 52.11% { transform: rotate(5deg); animation-timing-function: ease-in-out; } 54.22% { transform: rotate(-2deg); animation-timing-function: ease-in-out; } 55.78%, 90.11% { transform: none; } 90.33% { transform: rotate(16deg); } 91.22% { transform: rotate(16deg); animation-timing-function: ease-in-out; } 93.44% { transform: rotate(-9deg); animation-timing-function: ease-in-out; } 96% { transform: rotate(5deg); animation-timing-function: ease-in-out; } 98.11% { transform: rotate(-2deg); animation-timing-function: ease-in-out; } 99.67%, 100% { transform: none; } }
/* feet: the near one taps in bursts and both splay on the ahh */
.win__svg .jo-foot, .win__svg .jo-foot2 { transform-box: fill-box; transform-origin: 50% 92%; }
.win__svg .jo-foot { animation: jofoot 9s linear infinite; } .win__svg .jo-foot2 { animation: jofoot2 9s var(--ease) infinite; }
@keyframes jofoot { 0% { transform: none; } 2.22% { transform: none; animation-timing-function: ease-out; } 3% { transform: rotate(-11deg); animation-timing-function: ease-in; } 4.44% { transform: none; } 4.67% { transform: none; animation-timing-function: ease-out; } 5.44% { transform: rotate(-11deg); animation-timing-function: ease-in; } 7.11% { transform: none; } 56.67% { transform: none; animation-timing-function: ease-out; } 57.44% { transform: rotate(-11deg); animation-timing-function: ease-in; } 58.89% { transform: none; } 59.11% { transform: none; animation-timing-function: ease-out; } 59.89% { transform: rotate(-11deg); animation-timing-function: ease-in; } 61.56% { transform: none; } 71.67% { transform: none; animation-timing-function: ease-in-out; } 75%, 80% { transform: rotate(5deg); } 82.22% { transform: rotate(5deg); animation-timing-function: cubic-bezier(.22, 1, .36, 1); } 83.78% { transform: rotate(13deg); } 88% { transform: rotate(13deg); animation-timing-function: ease-in-out; } 90.44%, 100% { transform: none; } }
@keyframes jofoot2 { 0%, 82.22% { transform: none; } 83.78%, 88% { transform: rotate(-9deg); } 90.44%, 100% { transform: none; } }
.win__svg .w-frond { transform-origin: 282px 62px; animation: wfrond 4.2s ease-in-out infinite alternate; }
@keyframes wfrond { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
/* 2. steamroller: one 3s loop on a 12-a-second grid (36 frames, 2.78% each). The bill runs under the rig; spikes touch the
   drum on frames 0, 5 (the tall one), 13, 18, 24 and 29 (PR.HIT in wins.cjs) and everything reacts to those frames.
   Tab sees the tall spike and braces (0-5), is thrown off the seat (6-9), laughs (10-20), looks back at the flat line
   and points (21-30), then eyes on the road again (31-35). pr-live parts show only while the loop runs, pr-still parts
   only when it does not (the still drawing for reduced motion). */
.win__svg .pr-live { opacity: 0; animation: prshow 3s steps(1, end) infinite; } .win__svg .pr-still { animation: prhide 3s steps(1, end) infinite; }
@keyframes prshow { from, to { opacity: 1; } } @keyframes prhide { from, to { opacity: 0; } }
/* the ground: the bill feeds in at 48 units a second; each spike is pressed down along the drum's curve (--c1 to --c4, worked out in wins.cjs) and a flat piece takes its place */
.win__svg .pr-road { animation: prroad 3s linear infinite; } @keyframes prroad { to { transform: translateX(-144px); } }
.win__svg .pr-sp { transform-origin: 0 196px; animation: prcrush 3s linear var(--d) infinite; } .win__svg .pr-fl { opacity: 0; animation: prflat 3s steps(1, end) var(--d) infinite; }
@keyframes prcrush { 0% { transform: scaleY(1); } 2.78% { transform: scaleY(var(--c1)); } 5.56% { transform: scaleY(var(--c2)); } 8.33% { transform: scaleY(var(--c3)); } 11.11% { transform: scaleY(var(--c4)); } 13.89%, 36% { transform: scaleY(0); } 36.01%, 100% { transform: scaleY(1); } }
@keyframes prflat { 0% { opacity: 0; } 2.78% { opacity: 1; } 36% { opacity: 0; } }
/* the price tag springs up out of the flat line behind the rig and rides away with the ground; two of them, half a loop apart */
.win__svg .pr-tagx { animation: prtagx 3s linear -1.4167s infinite; } .win__svg .pr-tag { transform-origin: 34px 196px; animation: prtag 3s linear -1.4167s infinite; }
.win__svg .pr-tagx.pr-t2 { opacity: 0; } .win__svg .pr-t2 { animation-delay: -2.9167s; }
@keyframes prtagx { from { transform: translateX(63px); opacity: 1; } to { transform: translateX(-81px); opacity: 1; } }
@keyframes prtag { 0%, 32.4% { transform: scaleY(0); } 33.33% { transform: scale(.9, .5) rotate(-4deg); } 36.11% { transform: scale(.94, 1.2) rotate(-7deg); } 38.89% { transform: scale(1.05, .93) rotate(5deg); } 41.67% { transform: scale(.99, 1.04) rotate(-2.5deg); } 44.44%, 100% { transform: none; } }
/* the rig: nose up on every spike (the pivot is where the back wheel meets the ground), slam, settle. Frame 5 is the big kick. */
.win__svg .pr-kick { transform-origin: 97px 199px; animation: prkick 3s infinite; }
@keyframes prkick { 0% { transform: translateX(0px) rotate(0deg) scaleY(1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 2.78% { transform: translateX(0px) rotate(-0.9deg) scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 5.56% { transform: translateX(0px) rotate(0.3deg) scaleY(1); animation-timing-function: ease-out; } 8.33% { transform: translateX(0px) rotate(0deg) scaleY(1); } 13.89% { transform: translateX(2.5px) rotate(0deg) scaleY(1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 16.67% { transform: translateX(-2.5px) rotate(-3.6deg) scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 19.44% { transform: translateX(-1.5px) rotate(1deg) scaleY(0.97); animation-timing-function: ease-out; } 22.22% { transform: translateX(-0.75px) rotate(-0.4deg) scaleY(1); animation-timing-function: ease-in-out; } 25% { transform: translateX(0px) rotate(0deg) scaleY(1); } 36.11% { transform: translateX(0px) rotate(0deg) scaleY(1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 38.89% { transform: translateX(0px) rotate(-0.9deg) scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 41.67% { transform: translateX(0px) rotate(0.3deg) scaleY(1); animation-timing-function: ease-out; } 44.44% { transform: translateX(0px) rotate(0deg) scaleY(1); } 50% { transform: translateX(0px) rotate(0deg) scaleY(1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 52.78% { transform: translateX(0px) rotate(-1.7deg) scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 55.56% { transform: translateX(0px) rotate(0.5deg) scaleY(0.985); animation-timing-function: ease-out; } 58.33% { transform: translateX(0px) rotate(-0.2deg) scaleY(1); animation-timing-function: ease-in-out; } 61.11% { transform: translateX(0px) rotate(0deg) scaleY(1); } 66.67% { transform: translateX(0px) rotate(0deg) scaleY(1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 69.44% { transform: translateX(0px) rotate(-0.9deg) scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 72.22% { transform: translateX(0px) rotate(0.3deg) scaleY(1); animation-timing-function: ease-out; } 75% { transform: translateX(0px) rotate(0deg) scaleY(1); } 80.56% { transform: translateX(0px) rotate(0deg) scaleY(1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 83.33% { transform: translateX(0px) rotate(-2.4deg) scaleY(1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 86.11% { transform: translateX(0px) rotate(0.7deg) scaleY(0.98); animation-timing-function: ease-out; } 88.89% { transform: translateX(0px) rotate(-0.3deg) scaleY(1); animation-timing-function: ease-in-out; } 91.67% { transform: translateX(0px) rotate(0deg) scaleY(1); } 100% { transform: translateX(0px) rotate(0deg) scaleY(1); } }
/* the engine: a two-drawing boil, 12 a second; the loose parts and Tab shake a frame late, so they rattle against the body */
.win__svg .pr-rumble { transform-origin: 150px 170px; animation: prrumble .1667s steps(1, end) infinite; } @keyframes prrumble { 0% { transform: none; } 50% { transform: translate(.3px, -1.2px) rotate(.25deg); } }
.win__svg .pr-loose { animation: prloose .1667s steps(1, end) -.0833s infinite; } .win__svg .pr-stack { transform-origin: 66px 110px; } .win__svg .pr-lamp { transform-origin: 186px 136px; } @keyframes prloose { 0% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
.win__svg .pr-jig { animation: prjig .1667s steps(1, end) -.0833s infinite; } @keyframes prjig { 0% { transform: none; } 50% { transform: translateY(2.6px); } }
/* drum and back wheel turn at the speed the ground passes (circumference / 48) */
.win__svg .pr-drum { transform-origin: 215px 163px; animation: prspin 4.71s linear infinite; } .win__svg .pr-wheel { transform-origin: 97px 172px; animation: prspin 3.53s linear infinite; } @keyframes prspin { to { transform: rotate(360deg); } }
/* exhaust: puff-puff after the big crunch, again as he lands, and once more for the road; the rain cap flips for a frame on each puff */
.win__svg .pr-cap { transform-origin: 74px 88.5px; animation: prcap 3s steps(1, end) infinite; }
@keyframes prcap { 0% { transform: none; } 19.44% { transform: rotate(38deg); } 22.22% { transform: none; } 25% { transform: rotate(38deg); } 27.78% { transform: none; } 38.89% { transform: rotate(38deg); } 41.67% { transform: none; } 44.44% { transform: rotate(38deg); } 47.22% { transform: none; } 86.11% { transform: rotate(38deg); } 88.89% { transform: none; } 91.67% { transform: rotate(38deg); } 94.44% { transform: none; } }
.win__svg .pr-pf { animation: prpf 3s linear var(--d) infinite; } .win__svg .pr-pfs { opacity: 0; transform-origin: 66px 84px; animation: prpfs 3s linear var(--d) infinite; }
@keyframes prpf { 0% { transform: none; animation-timing-function: cubic-bezier(.3, .5, .6, 1); } 30.5%, 100% { transform: translate(-46px, -7px); } }
@keyframes prpfs { 0% { transform: scale(.3); opacity: 1; } 2.78% { transform: scale(1.2); opacity: 1; } 5.56% { transform: scale(1); opacity: 1; } 20% { transform: scale(1.35); opacity: .9; } 30.5%, 100% { transform: scale(1.6); opacity: 0; } }
/* Tab's body: brace, launch (a frame after the rig), hang, land with a squash, small hops on the small spikes, a lean while he looks back */
.win__svg .pr-pop { transform-origin: 150px 240px; animation: prpop 3s infinite; }
@keyframes prpop { 0% { transform: translateY(0px) rotate(0deg) scale(1, 1); } 2.78% { transform: translateY(0px) rotate(-2deg) scale(1.02, 0.975); } 5.56% { transform: translateY(0px) rotate(-4deg) scale(1.04, 0.955); } 13.89% { transform: translateY(0px) rotate(-5deg) scale(1.05, 0.945); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 16.67% { transform: translateY(-9px) rotate(2deg) scale(0.96, 1.06); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 19.44% { transform: translateY(-20px) rotate(3deg) scale(0.98, 1.03); } 22.22% { transform: translateY(-22px) rotate(1deg) scale(1, 1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 25% { transform: translateY(-9px) rotate(0deg) scale(0.99, 1.02); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 27.78% { transform: translateY(0px) rotate(0deg) scale(1.08, 0.9); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30.56% { transform: translateY(-3px) rotate(0deg) scale(0.97, 1.035); } 33.33% { transform: translateY(0px) rotate(0deg) scale(1, 1); } 36.11% { transform: translateY(0px) rotate(0deg) scale(1, 1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 38.89% { transform: translateY(-5px) rotate(0deg) scale(0.985, 1.02); } 41.67% { transform: translateY(0px) rotate(0deg) scale(1.03, 0.965); } 44.44% { transform: translateY(0px) rotate(0deg) scale(1, 1); } 50% { transform: translateY(0px) rotate(0deg) scale(1, 1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 52.78% { transform: translateY(-9px) rotate(0deg) scale(0.975, 1.035); } 55.56% { transform: translateY(-4px) rotate(0deg) scale(1, 1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 58.33% { transform: translateY(0px) rotate(-2deg) scale(1.045, 0.95); } 61.11% { transform: translateY(0px) rotate(-3deg) scale(1, 1); } 66.67% { transform: translateY(0px) rotate(-3deg) scale(1, 1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 69.44% { transform: translateY(-4px) rotate(-3deg) scale(1, 1); } 72.22% { transform: translateY(0px) rotate(-3deg) scale(1.02, 0.975); } 75% { transform: translateY(0px) rotate(-3deg) scale(1, 1); } 80.56% { transform: translateY(0px) rotate(-3deg) scale(1, 1); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 83.33% { transform: translateY(-12px) rotate(1deg) scale(0.97, 1.045); } 86.11% { transform: translateY(-6px) rotate(1deg) scale(1, 1); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 88.89% { transform: translateY(0px) rotate(0deg) scale(1.06, 0.93); } 91.67% { transform: translateY(0px) rotate(0deg) scale(0.99, 1.015); } 94.44% { transform: translateY(0px) rotate(0deg) scale(1, 1); } 100% { transform: translateY(0px) rotate(0deg) scale(1, 1); } }
/* his drawings, swapped like frames: four faces, four poses for the free arm, two for the lever hand */
.win__svg .pr-fa, .win__svg .pr-fc, .win__svg .pr-fn, .win__svg .pr-ah, .win__svg .pr-ap, .win__svg .pr-ar, .win__svg .pr-r1 { opacity: 0; }
.win__svg .pr-fa, .win__svg .pr-fb, .win__svg .pr-fc, .win__svg .pr-fn, .win__svg .pr-ah, .win__svg .pr-ar, .win__svg .pr-r0, .win__svg .pr-r1 { animation: 3s steps(1, end) infinite; }
.win__svg .pr-fa { animation-name: prfa; } .win__svg .pr-fb { animation-name: prfb; } .win__svg .pr-fc { animation-name: prfc; } .win__svg .pr-fn { animation-name: prfn; } .win__svg .pr-ah { animation-name: prah; } .win__svg .pr-ar { animation-name: prar; } .win__svg .pr-r0 { animation-name: prr0; } .win__svg .pr-r1 { animation-name: prr1; }
@keyframes prfa { 0% { opacity: 1; } 27.78% { opacity: 0; } } @keyframes prfb { 0% { opacity: 0; } 27.78% { opacity: 1; } 58.33% { opacity: 0; } } @keyframes prfc { 0% { opacity: 0; } 58.33% { opacity: 1; } 86.11% { opacity: 0; } } @keyframes prfn { 0% { opacity: 0; } 86.11% { opacity: 1; } }
@keyframes prah { 0% { opacity: 0; } 2.78% { opacity: 1; } 27.78% { opacity: 0; } } @keyframes prau { 0% { opacity: 0; } 27.78% { opacity: 1; } 58.33% { opacity: 0; } } @keyframes prap { 0% { opacity: 0; } 58.33% { opacity: 1; } 86.11% { opacity: 0; } } @keyframes prar { 0% { opacity: 1; } 2.78% { opacity: 0; } 86.11% { opacity: 1; } }
@keyframes prr1 { 0% { opacity: 0; } 5.56% { opacity: 1; } 25% { opacity: 0; } } @keyframes prr0 { 0% { opacity: 1; } 5.56% { opacity: 0; } 25% { opacity: 1; } }
/* the laughing arm is thrown up as he lands (overshoot, the glove a beat behind), then waves in two drawings; the pointing arm jabs at the flat line */
.win__svg .pr-au { transform-origin: 68px 178px; animation: prau 3s steps(1, end) infinite, prauw 3s infinite; } .win__svg .pr-aug { transform-origin: 30px 104px; animation: praug 3s infinite; }
@keyframes prauw { 0% { transform: rotate(0deg); animation-timing-function: steps(1, end); } 27.78% { transform: rotate(-52deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30.56% { transform: rotate(12deg); animation-timing-function: ease-in-out; } 33.33% { transform: rotate(-6deg); animation-timing-function: ease-in-out; } 36.11% { transform: rotate(0deg); animation-timing-function: steps(1, end); } 38.89% { transform: rotate(10deg); animation-timing-function: steps(1, end); } 44.44% { transform: rotate(-3deg); animation-timing-function: steps(1, end); } 50% { transform: rotate(10deg); animation-timing-function: steps(1, end); } 55.56% { transform: rotate(0deg); animation-timing-function: steps(1, end); } 100% { transform: rotate(0deg); } }
@keyframes praug { 0% { transform: rotate(0deg); animation-timing-function: steps(1, end); } 27.78% { transform: rotate(-32deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30.56% { transform: rotate(-20deg); animation-timing-function: ease-in-out; } 33.33% { transform: rotate(18deg); animation-timing-function: ease-in-out; } 36.11% { transform: rotate(-6deg); animation-timing-function: steps(1, end); } 38.89% { transform: rotate(-13deg); animation-timing-function: steps(1, end); } 44.44% { transform: rotate(11deg); animation-timing-function: steps(1, end); } 50% { transform: rotate(-13deg); animation-timing-function: steps(1, end); } 55.56% { transform: rotate(0deg); animation-timing-function: steps(1, end); } 100% { transform: rotate(0deg); } }
.win__svg .pr-ap { transform-origin: 68px 178px; animation: prap 3s steps(1, end) infinite, prapw 3s steps(1, end) infinite; }
@keyframes prapw { 0% { transform: rotate(0deg); } 58.33% { transform: rotate(9deg); } 61.11% { transform: rotate(0deg); } 66.67% { transform: rotate(7deg); } 69.44% { transform: rotate(0deg); } 75% { transform: rotate(7deg); } 77.78% { transform: rotate(0deg); } }
/* legs dangle over the side: tucked for the brace, flung out in the air, a happy kick while he laughs */
.win__svg .pr-ll { transform-origin: 126px 236px; animation: prll 3s infinite; } .win__svg .pr-lr { transform-origin: 176px 236px; animation: prlr 3s infinite; }
@keyframes prll { 0% { transform: rotate(0deg); } 5.56% { transform: rotate(-7deg); } 13.89% { transform: rotate(-7deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 16.67% { transform: rotate(6deg); } 19.44% { transform: rotate(20deg); } 22.22% { transform: rotate(22deg); } 25% { transform: rotate(12deg); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 27.78% { transform: rotate(-9deg); } 30.56% { transform: rotate(6deg); } 33.33% { transform: rotate(0deg); } 36.11% { transform: rotate(13deg); } 41.67% { transform: rotate(0deg); } 47.22% { transform: rotate(13deg); } 52.78% { transform: rotate(0deg); } 66.67% { transform: rotate(0deg); } 69.44% { transform: rotate(6deg); } 72.22% { transform: rotate(0deg); } 80.56% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 83.33% { transform: rotate(15deg); } 86.11% { transform: rotate(10deg); } 88.89% { transform: rotate(-6deg); } 91.67% { transform: rotate(0deg); } 100% { transform: rotate(0deg); } } @keyframes prlr { 0% { transform: rotate(0deg); } 5.56% { transform: rotate(7deg); } 13.89% { transform: rotate(7deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 16.67% { transform: rotate(-6deg); } 19.44% { transform: rotate(-20deg); } 22.22% { transform: rotate(-22deg); } 25% { transform: rotate(-12deg); animation-timing-function: cubic-bezier(.6, 0, .9, .6); } 27.78% { transform: rotate(9deg); } 30.56% { transform: rotate(-6deg); } 33.33% { transform: rotate(0deg); } 36.11% { transform: rotate(0deg); } 38.89% { transform: rotate(-13deg); } 44.44% { transform: rotate(0deg); } 50% { transform: rotate(-13deg); } 55.56% { transform: rotate(0deg); } 66.67% { transform: rotate(0deg); } 69.44% { transform: rotate(-6deg); } 72.22% { transform: rotate(0deg); } 80.56% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 83.33% { transform: rotate(-15deg); } 86.11% { transform: rotate(-10deg); } 88.89% { transform: rotate(6deg); } 91.67% { transform: rotate(0deg); } 100% { transform: rotate(0deg); } }
.win__svg.win--price .m-brows { animation: none; }
/* debris: thrown from the bite on the frame of the hit, 12 drawings a second. Across is steady, up-and-down is gravity, and each bit spins. */
.win__svg .pr-cx { animation: prcx 3s steps(6, start) var(--d) infinite; } .win__svg .pr-cy { animation: prcy 3s steps(1, end) var(--d) infinite; } .win__svg .pr-cr { opacity: 0; transform-box: fill-box; transform-origin: center; animation: prcr 3s steps(6, start) var(--d) infinite; }
.win__svg .pr-big { animation-name: prcxb; animation-timing-function: steps(8, start); } .win__svg .pr-big .pr-cy { animation-name: prcyb; } .win__svg .pr-big .pr-cr { animation-name: prcrb; animation-timing-function: steps(8, start); }
@keyframes prcx { 0% { transform: none; } 16.67%, 100% { transform: translateX(var(--x)); } } @keyframes prcy { 0% { transform: translateY(calc(var(--u) * 0.636 + var(--e) * 0)); } 2.78% { transform: translateY(calc(var(--u) * 0.957 + var(--e) * 0)); } 5.56% { transform: translateY(calc(var(--u) * 0.981 + var(--e) * 0.019)); } 8.33% { transform: translateY(calc(var(--u) * 0.819 + var(--e) * 0.181)); } 11.11% { transform: translateY(calc(var(--u) * 0.492 + var(--e) * 0.508)); } 13.89% { transform: translateY(calc(var(--u) * 0 + var(--e) * 1)); } 16.67%, 100% { transform: translateY(calc(var(--u) * 0 + var(--e) * 1)); } } @keyframes prcr { 0% { transform: rotate(0deg); opacity: 1; } 16.62% { transform: rotate(var(--r)); opacity: 1; } 16.67%, 100% { transform: rotate(var(--r)); opacity: 0; } }
@keyframes prcxb { 0% { transform: none; } 22.22%, 100% { transform: translateX(var(--x)); } } @keyframes prcyb { 0% { transform: translateY(calc(var(--u) * 0.507 + var(--e) * 0)); } 2.78% { transform: translateY(calc(var(--u) * 0.836 + var(--e) * 0)); } 5.56% { transform: translateY(calc(var(--u) * 0.989 + var(--e) * 0)); } 8.33% { transform: translateY(calc(var(--u) * 0.981 + var(--e) * 0.019)); } 11.11% { transform: translateY(calc(var(--u) * 0.875 + var(--e) * 0.125)); } 13.89% { transform: translateY(calc(var(--u) * 0.676 + var(--e) * 0.324)); } 16.67% { transform: translateY(calc(var(--u) * 0.385 + var(--e) * 0.615)); } 19.44% { transform: translateY(calc(var(--u) * 0 + var(--e) * 1)); } 22.22%, 100% { transform: translateY(calc(var(--u) * 0 + var(--e) * 1)); } } @keyframes prcrb { 0% { transform: rotate(0deg); opacity: 1; } 22.17% { transform: rotate(var(--r)); opacity: 1; } 22.22%, 100% { transform: rotate(var(--r)); opacity: 0; } }
.win__svg .pr-pow { opacity: 0; transform-box: fill-box; transform-origin: center; animation: prpow 3s steps(1, end) var(--d) infinite; }
@keyframes prpow { 0% { opacity: 1; transform: scale(.85) rotate(-12deg); } 2.78% { opacity: 1; transform: scale(1.15) rotate(8deg); } 5.56%, 100% { opacity: 0; transform: scale(1.15) rotate(8deg); } }
/* shared with the list card: its roll (.w-unroll) turns on this rule, so it stays exactly as it was */
.win__svg .w-roll, .win__svg .w-unroll { transform-box: fill-box; transform-origin: center; animation: wroll 3.2s linear infinite; }
.win__svg .w-unroll { animation-duration: 7s; }
@keyframes wroll { to { transform: rotate(360deg); } }
/* 3. saw: Clix works the blade, the cut piece dangles, dust puffs */
.win__svg .w-saw { animation: wsaw .62s ease-in-out infinite alternate; }
@keyframes wsaw { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.win__svg .w-fall { transform-origin: 212px 132px; animation: wfall 1.24s ease-in-out infinite alternate; }
@keyframes wfall { from { transform: rotate(-2deg); } to { transform: rotate(4deg); } }
.win__svg .w-dust { animation: wdust .62s ease-out infinite; }
@keyframes wdust { from { transform: translateY(-5px); opacity: 0; } 40% { opacity: 1; } to { transform: translateY(1px); opacity: .3; } }
/* 4. list: the first box gets its tick over and over (the roll turns with .w-unroll above) */
.win__svg .w-tick { transform-box: fill-box; transform-origin: center; animation: wtick 3.2s var(--ease) infinite; }
@keyframes wtick { 0%, 22% { transform: scale(0); opacity: 0; } 34%, 100% { transform: scale(1); opacity: 1; } }
/* 4 and 5: what Tab and Clix hold rides along with their bounce (they are drawn at half size, so half the travel) */
.win__svg .w-with { animation: wwith 1.4s ease-in-out infinite alternate; }
@keyframes wwith { from { transform: translateY(2.5px); } to { transform: translateY(-4px); } }
/* 5. stamp: the fresh mark settles in, over and over */
.win__svg .w-ink { transform-box: fill-box; transform-origin: center; animation: wink 2.8s var(--ease) infinite; }
@keyframes wink { 0%, 100% { transform: none; } 12% { transform: scale(1.07) rotate(-1deg); } 24% { transform: scale(.99); } }
html:not(.no-js) .win:not(.is-play) .win__svg * { animation-play-state: paused; }

/* ---------- pricing ----------
   The price is the moment: both cards centred, the number set huge, Tab cheering on the top edge. */
.prices { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (min-width: 1024px) { .prices { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; } }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: var(--r); padding: 40px 24px 32px; }
@media (min-width: 900px) { .plan { padding: 56px 48px 48px; } }
@media (max-width: 389px) { .plan { padding-left: 16px; padding-right: 16px; } .plan .seg button { padding: 0 12px; font-size: 14px; } }
.plan--main { background: var(--ink); color: var(--on-ink); }
.plan--side { background: var(--paper); justify-content: center; }
.plan .seg { align-self: center; margin-top: 24px; }
.plan__top { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; }
.plan__name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.plan__tag { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--on-ink-hair); color: var(--on-ink); font-weight: 500; font-size: 14px; }
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 24px; }
.plan__price b { font-size: clamp(64px, calc(8vw + 24px), 128px); font-weight: 600; letter-spacing: -0.04em; line-height: .92; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.plan--main .plan__price span { color: var(--on-ink-2); }
.plan__note { margin-top: 12px; font-size: 15px; color: var(--on-ink-2); min-height: 1.5em; max-width: 44ch; text-wrap: balance; }
.plan ul { list-style: none; padding: 0; margin: 32px 0; display: grid; justify-content: center; gap: 12px; text-align: left; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: var(--ink-2); -webkit-mask: var(--i-check) center / 18px no-repeat; mask: var(--i-check) center / 18px no-repeat; }
.plan--main li::before { background: var(--mint); }
.plan .btn { width: 100%; max-width: 400px; }
.plan__fine { margin-top: 16px; font-size: 14px; color: var(--on-ink-2); }
.plan--side .plan__fine { color: var(--muted); }
.plan__lead { margin-top: 16px; color: var(--ink-2); max-width: 30ch; }
.plan--side .plan__price b { font-size: clamp(52px, calc(3vw + 40px), 80px); }
.plan--side ul { margin-top: 24px; }
.prices__m { position: absolute; z-index: 2; right: 8px; bottom: calc(100% - 14px); width: 88px; pointer-events: none; }
.prices__m svg { width: 100%; height: auto; }
.prices__m .mascot--cheer .m-arm--l, .prices__m .mascot--cheer .m-arm--r { animation-duration: .8s; }
@media (max-width: 1023px) { .sec--price .sec__head p { max-width: 240px; } }
@media (min-width: 1024px) { .prices__m { right: 32px; width: 160px; } }

/* segmented toggle: dark by default (pricing, compare), light inside the quiz plan */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--on-ink-hair); margin-top: 20px; }
.seg button { position: relative; z-index: 1; min-height: 44px; padding: 0 16px; border: 0; background: none; border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; color: var(--on-ink-2); transition: color .2s var(--ease); white-space: nowrap; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg__knob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--on-ink); transition: transform .3s var(--ease); }
.seg--light { background: var(--raised); }
.seg--light button { color: var(--ink-2); }
.seg--light button[aria-pressed="true"] { color: var(--on-ink); }
.seg--light .seg__knob { background: var(--ink); }

/* ---------- what do we doo: big service rows in one paper panel, then the long list as pills.
   Mouse: a peek card of real work follows the pointer with a little lag and tilt (site.js, .peek).
   Touch: each row is a button that opens its example inline. ---------- */
.what { background: var(--paper); border-radius: var(--r); padding: 32px 24px 28px; }
.what__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.what__h { font-size: 22px; line-height: 1.2; }
.what__hint { font-size: 15px; color: var(--muted); }
.what__hint--mouse { display: none; }
.svc { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1.5px solid var(--hair-2); }
.svc__row { border-bottom: 1.5px solid var(--hair-2); }
.svc__hd { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 2px 16px; padding: 16px 0; }
.svc__name { grid-column: 1; font-size: clamp(32px, calc(3.4vw + 16px), 76px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; }
.svc__sub { grid-column: 1; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.svc__tog { grid-column: 2; grid-row: 1 / span 2; position: static; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--raised); cursor: pointer; display: grid; place-items: center; }
.svc__tog::after { content: ""; position: absolute; inset: 0; }
.svc__tog i { position: relative; width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc__tog i::before, .svc__tog i::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.svc__tog i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.svc__tog[aria-expanded="true"] i::after { transform: rotate(0deg); }
.svc__tog[aria-expanded="true"] { background: var(--sun); }
.svc__panel { padding: 0 0 20px; }
.svc__panel figure { margin: 0; animation: svcIn .42s var(--ease); }
.svc__panel img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-img); background: var(--raised); }
.svc__panel figcaption, .peek__it figcaption { font-size: 15px; font-weight: 600; }
.svc__panel figcaption { margin-top: 10px; }
.svc__panel small, .peek__it small { font-size: inherit; font-weight: 400; }
.svc__panel small { color: var(--ink-2); }
@keyframes svcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.svc__more { margin-top: 28px; }
.svc__k { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.pills { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 16px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--hair-2); font-size: 15px; font-weight: 500; line-height: 1.3; }
.what__ask { margin-top: 20px; font-size: 18px; color: var(--ink-2); }
.what__ask a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .what__ask a:hover { color: var(--tomato-ink); }
  .what__hint--mouse { display: inline; } .what__hint--touch { display: none; }
  .svc__tog, .svc__panel { display: none; }
  .svc__hd { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 0; }
  .svc__sub { grid-column: 2; grid-row: 1; max-width: 24ch; text-align: right; font-size: 16px; }
  .svc__row { transition: opacity .25s var(--ease); }
  .svc__name { transition: transform .4s var(--ease); }
  .svc.is-peek .svc__row { opacity: .3; }
  .svc.is-peek .svc__row.is-hot { opacity: 1; }
  .svc__row.is-hot .svc__name { transform: translateX(14px); }
}
.peek { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.peek__card { position: relative; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 3; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: opacity .2s var(--ease), transform .4s var(--ease); }
.peek.is-on .peek__card { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek__it { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .22s var(--ease); }
.peek__it.is-on { opacity: 1; }
.peek__it img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 3px var(--ink), 7px 8px 0 1.5px var(--ink); }
.peek__it figcaption { position: absolute; left: 14px; bottom: -14px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--cream); white-space: nowrap; }
.peek__it small { color: var(--on-ink-2); }
@media (prefers-reduced-motion: reduce) {
  .peek__card, .peek.is-on .peek__card { transform: translate(-50%, -50%); transition: opacity .2s linear; }
  .svc__name, .svc__panel figure { transition: none; animation: none; }
  .svc__row.is-hot .svc__name { transform: none; }
}
@media (min-width: 900px) {
  .what { padding: 56px 64px 48px; }
  .what__h { font-size: 28px; }
  .svc { margin-top: 28px; }
  .svc__more { margin-top: 36px; }
  .what__ask { margin-top: 28px; font-size: 20px; }
}

/* ---------- reviews: one big quote at a time, the person under it (renders only with real reviews) ---------- */
.revs { max-width: 980px; margin: 0 auto; text-align: center; }
.revs__mark { width: 64px; height: auto; margin: 0 auto 12px; transform: rotate(-6deg); }
.revs__k { font-size: 16px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.revs__stage { display: grid; margin-top: 20px; }
.rev { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.rev.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rev blockquote { margin: 0; font-size: clamp(28px, calc(2.6vw + 16px), 58px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.rev figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-align: left; }
.rev__ph { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--sun); box-shadow: 0 0 0 3px var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.rev__who { display: grid; line-height: 1.3; }
.rev__who b { font-weight: 600; }
.rev__who span { font-size: 15px; color: var(--ink-2); }
.revs__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.rev-btn { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--hair-2); display: grid; place-items: center; cursor: pointer; }
.rev-btn svg { width: 22px; height: 22px; }
.revs__count { min-width: 4ch; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .rev-btn:hover { background: var(--raised); } }
@media (prefers-reduced-motion: reduce) { .rev, .rev.is-on { transform: none; transition: opacity .2s linear, visibility 0s; } }

/* ---------- compare: the WeDoo column is a raised strip inside the ink panel ---------- */
.cmp { background: var(--ink); color: var(--on-ink); border-radius: var(--r); padding: 40px 12px 32px; }
@media (min-width: 900px) { .cmp { padding: 80px 64px 64px; } }
.cmp .sec__head { margin-bottom: 28px; }
.cmp__pick { display: flex; justify-content: center; margin-bottom: 28px; }
.cmp__pick .seg { margin: 0; }
.cmp__pick .seg button { padding: 0 12px; font-size: 15px; }
@media (min-width: 900px) { .cmp__pick { margin-bottom: 40px; } .cmp__pick .seg button { padding: 0 24px; font-size: 16px; } }
.cmp table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.cmp th, .cmp td { padding: 16px 8px; text-align: center; border-top: 1px solid var(--on-ink-hair); line-height: 1.3; }
.cmp thead th { border-top: 0; padding: 20px 8px 16px; font-size: 16px; font-weight: 600; }
.cmp th[scope="row"] { text-align: left; font-weight: 400; color: var(--on-ink-2); width: 34%; }
.cmp thead th:nth-child(2), .cmp td.us { background: var(--on-ink-hair); }
.cmp thead th:nth-child(2) { border-radius: 16px 16px 0 0; }
.cmp tbody tr:last-child td.us { border-radius: 0 0 16px 16px; padding-bottom: 20px; }
.cmp td.us { font-weight: 600; color: var(--on-ink); }
.cmp td.them { color: var(--on-ink-2); }
.cmp .logo { font-size: 22px; color: var(--on-ink); }
.ok, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
.ok { background: var(--mint); }
.no { background: var(--on-ink-hair); }
.ok svg, .no svg { width: 16px; height: 16px; }
.cmp__cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 0; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
  .faq-grid .sec__head h2 { font-size: clamp(36px, calc(3vw + 16px), 56px); }
  .faq-grid .sec__head { margin: 0; position: sticky; top: 112px; }
}
.faq { border-top: 1px solid var(--hair-2); }
.faq details { border-bottom: 1px solid var(--hair-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 500; font-size: 18px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 20px; height: 20px; background: var(--ink-2); -webkit-mask: var(--i-chev) center / 20px no-repeat; mask: var(--i-chev) center / 20px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq .ans { padding: 0 32px 24px 0; color: var(--ink-2); max-width: 62ch; }
.faq .ans p + p { margin-top: 12px; }
@media (min-width: 900px) { .faq summary { font-size: 20px; min-height: 76px; } }
@media (hover: hover) and (pointer: fine) { .faq summary:hover i { background: var(--ink); } }

/* ---------- closing band + footer (one ink band, Tab and Clix peek over its edge) ---------- */
.end-sec { margin-top: 152px; background: var(--ink); color: var(--on-ink); }
.end { position: relative; padding: 72px 0 64px; text-align: center; }
.end h2 { font-size: clamp(44px, calc(7vw + 16px), 112px); line-height: .98; letter-spacing: -0.025em; }
.end p { margin: 20px auto 32px; max-width: 36ch; font-size: 19px; color: var(--on-ink-2); text-wrap: balance; }
.end__peek { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: -12px; display: flex; justify-content: center; align-items: flex-end; gap: 24px; pointer-events: none; }
.end__peek svg { width: 124px; height: auto; }
.end__peek .mascot--clix { width: 108px; }
@media (min-width: 900px) {
  .end-sec { margin-top: 200px; }
  .end { padding: 120px 0 112px; }
  .end__peek { gap: 32px; }
  .end__peek svg { width: 152px; }
  .end__peek .mascot--clix { width: 132px; }
}
/* footer: logo and links on one line, the sign-off under a hairline. Same markup on the privacy page. */
.ftr { padding: 40px 0 120px; background: var(--ink); color: var(--on-ink-2); font-size: 15px; }
.ftr .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; }
.ftr .wrap::before { content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 24px; background: var(--on-ink-hair); }
.ftr .logo { justify-self: start; font-size: 32px; color: var(--on-ink); }
.ftr nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ftr nav a { display: flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-ink); text-decoration: none; transition: color .16s var(--ease); }
.ftr p { grid-column: 1 / -1; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--on-ink-hair); }
@media (min-width: 900px) {
  .ftr { padding: 40px 0 56px; }
  .ftr .wrap { grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; }
  .ftr nav { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 32px; }
  .ftr nav a { min-width: 0; color: var(--on-ink-2); }
  .ftr p { margin-top: 16px; }
}

/* ---------- sticky phone bar ---------- */
.bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--hair); transform: translateY(110%); transition: transform .4s var(--ease); }
.bar.is-on { transform: none; }
.bar .btn { width: 100%; min-height: 52px; }
@media (min-width: 900px) { .bar { display: none; } }

/* ---------- reveal on scroll (visible by default; hidden only once scripting is on) ---------- */
html:not(.no-js) .rv { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
html:not(.no-js) .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .rv { opacity: 1; transform: none; transition: none; } }

/* scale fix (Jesse: "looks zoomed in"): headings were ~25% too big at laptop widths */
.hero h1 { font-size: clamp(42px, calc(6.4vw + 8px), 100px); }
.sec__head h2 { font-size: clamp(32px, calc(3.6vw + 14px), 68px); }
.plan__price b { font-size: clamp(56px, calc(5vw + 24px), 96px); }
.plan--side .plan__price b { font-size: clamp(48px, calc(2.4vw + 36px), 68px); }
.end h2 { font-size: clamp(40px, calc(4.6vw + 14px), 84px); }

/* laptop scale fix: Tab and Clix were too big beside the headline */
@media (min-width: 900px) {
  .hero__m--tab { width: clamp(190px, 16vw, 270px); }
  .hero__m--clix { width: clamp(130px, 11vw, 185px); }
}

/* ---------- doodads (2026-11-23): our own little marks, drawn like the mascots (ink outline, flat brand color).
   Decoration only: aria-hidden, no pointer events, never over text. Sized in em where they hang off a headline. */
.hero h1, .sec__head, .ftr__brand { position: relative; }
.dd { position: absolute; display: block; pointer-events: none; z-index: 1; }
.dd svg { display: block; width: 100%; height: auto; overflow: visible; }
.dd-h1a { left: 1%; top: -.62em; width: .5em; }
.dd-h1b { display: none; }
.dd-h1c { left: calc(50% + 1.8em); top: 1.28em; width: .6em; }
.dd-howa { left: 0; top: -40px; width: 28px; }
.dd-howb { right: 0; top: -34px; width: 30px; }
/* the wall's pair sit either side of the small line under its headline, sized from that line's type */
.dd-worka, .dd-workb { font-size: clamp(18px, calc(.4vw + 16px), 21px); }
.dd-worka { left: calc(50% + 6.7em); bottom: 5px; width: 2.5em; }
.dd-workb { right: calc(50% + 6.6em); bottom: 3px; width: 1.25em; }
@media (max-width: 359px) { .dd-worka { display: none; } }
.dd-pricea { left: -2px; top: -46px; width: 26px; }
.dd-priceb { right: 6%; top: -38px; width: 28px; }
.dd-faqa { font-size: clamp(32px, calc(3.6vw + 14px), 68px); left: 5.4em; top: .08em; width: .62em; }
.dd-faqb { display: none; }
.dd-enda { left: 0; top: 28px; width: 28px; }
.dd-endd { right: 0; bottom: 28px; width: 26px; }
.dd-endb, .dd-endc { display: none; }
.dd-ftr { left: 128px; top: -14px; width: 24px; }
@media (min-width: 900px) {
  .dd-h1a { left: calc(50% + 4.3em); top: -.3em; width: .36em; }
  .dd-h1b { display: block; left: calc(50% + 4.7em); top: .12em; width: .3em; }
  .dd-h1c { width: .5em; }
  .dd-howa { left: calc(50% - 440px); top: -6px; width: 40px; }
  .dd-howb { right: auto; left: calc(50% + 400px); top: 26px; width: 40px; }
  .dd-worka, .dd-workb { font-size: clamp(56px, calc(4vw + 20px), 80px); } /* the headline size, so they keep their distance as it grows */
  .dd-worka { bottom: auto; left: calc(50% + 4.8em); top: .44em; width: 1.06em; }
  .dd-workb { right: auto; bottom: auto; left: calc(50% - 5.4em); top: -.12em; width: .58em; }
  .dd-pricea { top: -56px; width: 34px; }
  .dd-priceb { right: 12%; top: -44px; width: 40px; }
  .dd-faqb { display: block; right: 8%; top: 6px; width: 38px; }
  .dd-enda { left: calc(50% - 440px); top: 34%; width: 44px; }
  .dd-endb { display: block; right: calc(50% - 440px); top: 30%; width: 42px; }
  .dd-endc { display: block; left: calc(50% + 330px); top: 13%; width: 40px; }
  .dd-endd { right: auto; left: calc(50% - 330px); bottom: 20%; width: 34px; }
}

/* ending: a bigger promise, two ways in, both mascots cheering on wide screens */
.end h2 { font-size: clamp(48px, calc(6.4vw + 14px), 116px); }
.end__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.end .btn--line { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cream) 55%, transparent); }
@media (hover: hover) and (pointer: fine) { .end .btn--line:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); } }
.end .end__bye { margin: 28px auto 0; font-size: 15px; color: var(--on-ink-2); }
.end__cheer { display: none; }
@media (min-width: 1100px) {
  .end__cheer { display: block; position: absolute; bottom: 72px; width: 176px; pointer-events: none; }
  .end__cheer svg { width: 100%; height: auto; }
  .end__cheer--l { left: calc(50% - 610px); }
  .end__cheer--r { right: calc(50% - 600px); width: 150px; }
}

/* footer: who we are, three short columns, the small print */
.ftr .ftr__brand p { grid-column: auto; margin-top: 12px; padding-top: 0; border-top: 0; max-width: 34ch; line-height: 1.5; color: var(--on-ink-2); }
.ftr .ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; justify-content: stretch; }
.ftr__cols > div { display: flex; flex-direction: column; }
.ftr__cols h3 { font-size: 14px; font-weight: 600; color: var(--on-ink-2); margin-bottom: 4px; }
@media (min-width: 600px) { .ftr .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .ftr .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .ftr .ftr__cols { gap: 24px 32px; }
  .ftr .ftr__cols a { color: var(--on-ink); }
}
/* on the navy ending the ink outlines vanish: a cream sticker edge (like a die-cut sticker) keeps limbs and marks visible */
.end__cheer svg, .end__peek svg { filter: drop-shadow(2.5px 0 0 var(--cream)) drop-shadow(-2.5px 0 0 var(--cream)) drop-shadow(0 2.5px 0 var(--cream)) drop-shadow(0 -2.5px 0 var(--cream)); }
.end .dd svg { stroke: var(--cream); }
@media (min-width: 1100px) { .end__cheer--r { width: 168px; bottom: 60px; } }
