/* v5 · C · Proof · round 5 · front P.
   1. The primary CTA, everywhere it appears (hero, end of the roll, price, the form, the docked button and the phone's bottom bar).
   2. 04 · How it works: a clock runs 0h → 48h → 72h → then; each stop develops the thing the agency actually gets,
      and the stamp that certifies it lands on it.
   3. The blue light (tokens in r5-glow.css) used with one meaning only: "it is live, you can see it".
      #how 72h (the page live on a phone), #send the job tag's 72h line (round 6, r6-e.css), #price "You see the page live."
   Loads after r5-glow.css and before r4-mobile.css. Mobile first: 390 / 375, then 768, 1200.
   Modes: html.p5 is set by js/r5-p.js when it animates; without it (no JS, ?static, reduced motion) everything is final. */

:root {
  /* springs (stiffness / damping, mass 1), from the real equation: each part of the button has its own */
  --p5-press: linear(0, 0.086, 0.256, 0.442, 0.645, 0.822, 0.96, 1.047, 1.106, 1.13, 1.129, 1.115, 1.09, 1.063, 1.037, 1.017, 1.001, 0.99, 0.984, 0.983, 0.983, 0.986, 0.99, 0.993, 0.996, 0.999, 1.001, 1.002, 1.002, 1.002, 1.002, 1.002, 1.001, 1.001, 1, 1, 1); /* 460/23 · .65s */
  --p5-lift: linear(0, 0.053, 0.165, 0.308, 0.46, 0.608, 0.739, 0.849, 0.936, 1.005, 1.047, 1.072, 1.083, 1.084, 1.078, 1.067, 1.055, 1.042, 1.03, 1.019, 1.01, 1.004, 0.999, 0.995, 0.994, 0.993, 0.993, 0.994, 0.995, 0.996, 0.997, 0.998, 0.999, 0.999, 1, 1, 1); /* 240/19 · .72s */
  --p5-arr: linear(0, 0.074, 0.225, 0.409, 0.596, 0.762, 0.897, 0.997, 1.062, 1.099, 1.11, 1.105, 1.09, 1.07, 1.049, 1.03, 1.014, 1.003, 0.995, 0.99, 0.988, 0.988, 0.989, 0.992, 0.994, 0.996, 0.998, 0.999, 1, 1.001, 1.001, 1.001, 1.001, 1.001, 1.001, 1, 1); /* 340/21 · .72s */
  --p5-chip: linear(0, 0.064, 0.199, 0.356, 0.532, 0.696, 0.836, 0.939, 1.02, 1.072, 1.1, 1.108, 1.104, 1.091, 1.073, 1.056, 1.037, 1.021, 1.009, 1, 0.993, 0.99, 0.988, 0.988, 0.99, 0.992, 0.994, 0.995, 0.997, 0.999, 1, 1.001, 1.001, 1.001, 1.001, 1.001, 1); /* 220/17 · .83s */
  --p5-mk-hi: color-mix(in oklab, var(--marker) 82%, #FFFFFF);   /* top of the pill */
  --p5-mk-lo: color-mix(in oklab, var(--marker) 91%, var(--film)); /* foot of the pill · film text on it 4.7:1 */
  --p5-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'><path d='M1.2 6h13M9.4 1.4L14.2 6l-4.8 4.6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ═════════════════════ 1 · the primary CTA ═════════════════════
   A pill of marker with depth (light on top, a lip at the foot, pressed into the paper), the arrow in its own film chip
   that loops on hover and on tap, a slow glint every few seconds, and a press that springs back. */
.btn--marker {
  position: relative; isolation: isolate;
  gap: 14px; min-height: 50px; padding: 6px 6px 6px 24px;
  font-size: 16px; letter-spacing: -.015em;
  background: linear-gradient(180deg, var(--p5-mk-hi) 0%, var(--marker) 48%, var(--p5-mk-lo) 100%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #FFFFFF 58%, transparent),
    inset 0 -1.5px 0 color-mix(in srgb, var(--film) 16%, transparent),
    0 0 0 1px color-mix(in srgb, var(--p5-mk-lo) 70%, var(--film)),
    0 1.5px 0 color-mix(in srgb, var(--p5-mk-lo) 45%, var(--film));
  transition: scale .65s var(--p5-press), translate .72s var(--p5-lift);
  -webkit-tap-highlight-color: transparent;
}
.btn--marker:hover { box-shadow:
    inset 0 1px 0 color-mix(in srgb, #FFFFFF 58%, transparent),
    inset 0 -1.5px 0 color-mix(in srgb, var(--film) 16%, transparent),
    0 0 0 1px color-mix(in srgb, var(--p5-mk-lo) 70%, var(--film)),
    0 1.5px 0 color-mix(in srgb, var(--p5-mk-lo) 45%, var(--film)); }
/* the soft shadow on the paper: its own layer, so the press only moves it */
.btn--marker::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: 0 16px 26px -14px color-mix(in srgb, var(--p5-mk-lo) 80%, var(--film)), 0 5px 10px -6px color-mix(in srgb, var(--film) 40%, transparent);
  transition: opacity .5s var(--ease-out), transform .65s var(--p5-press);
}
.btn--marker:hover, .btn--marker:hover .arr { transform: none; } /* components-c.css nudged both; the magnet (page.js) and the chip loop do it now */
.btn--marker:focus-visible { outline: 2.5px solid var(--film); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .btn--marker:hover { transform: none; translate: 0 -2px !important; }
  .btn--marker:hover::after { transform: translateY(3px); }
}
/* !important: GSAP writes scale/translate: none inline on the buttons it brings in (hero, price), the press must still win */
.btn--marker:active { scale: .962 !important; translate: 0 1px !important; transition: scale .09s cubic-bezier(.3, 0, .6, 1), translate .09s cubic-bezier(.3, 0, .6, 1); }
.btn--marker:active::after { opacity: .35; transform: translateY(-5px) scaleX(.94); transition: opacity .09s, transform .09s; }

/* the arrow chip: two arrows, one rests in the middle, the other waits outside on the left. The loop sends the first
   out on a fast curve and brings the second in on a spring; at rest both positions look the same, so nothing jumps back */
.btn--marker .arr {
  position: relative; flex: none; display: block; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  font-size: 0; color: var(--print);
  background: radial-gradient(120% 100% at 30% 18%, #2B2F3A 0%, var(--film) 62%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #FFFFFF 16%, transparent), 0 1px 2px color-mix(in srgb, var(--film) 45%, transparent);
  transition: scale .83s var(--p5-chip);
}
.btn--marker .arr::before, .btn--marker .arr::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 12px; margin: -6px 0 0 -8px; background: currentColor;
  -webkit-mask: var(--p5-arrow) center / contain no-repeat; mask: var(--p5-arrow) center / contain no-repeat;
}
.btn--marker .arr::after { transform: translateX(-30px); }
.btn--marker.is-loop .arr { scale: 1.08; }
.btn--marker.is-loop .arr::before { animation: p5-arr-out .24s cubic-bezier(.55, 0, .8, .25) forwards; }
.btn--marker.is-loop .arr::after { animation: p5-arr-in .72s var(--p5-arr) .1s both; }
@keyframes p5-arr-out { to { transform: translateX(30px); } }
@keyframes p5-arr-in { from { transform: translateX(-30px); } to { transform: translateX(0); } }

/* the glint: a band of light crosses the pill now and then (period and phase per button), under the text */
.p5-sheen { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.p5-sheen i { position: absolute; top: -30%; bottom: -30%; left: 0; width: 34%; transform: translateX(-140%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, #FFFFFF 46%, transparent) 50%, transparent); }
.motion-ready .btn--marker.is-vis:not(.dock) .p5-sheen i, .motion-ready .dock.is-on.is-vis .p5-sheen i { animation: p5-sheen var(--sw-d, 7s) var(--sw-l, 2s) infinite; }
@keyframes p5-sheen {
  0% { transform: translateX(-140%) skewX(-20deg); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  15% { transform: translateX(400%) skewX(-20deg); }
  100% { transform: translateX(400%) skewX(-20deg); }
}

/* sizes: the small one (docked button, phone bar), the full-width ones (price, form) keep the label centred */
.btn--marker.btn--sm { min-height: 44px; gap: 10px; padding: 5px 5px 5px 16px; font-size: 14px; }
.btn--marker.btn--sm .arr { width: 34px; height: 34px; }
.r4p__btn.btn--marker, .r4s__btn.btn--marker { min-height: 60px; padding: 8px 64px; font-size: 17px; justify-content: center; }
.r4p__btn.btn--marker .arr, .r4s__btn.btn--marker .arr { position: absolute; right: 8px; top: 50%; width: 44px; height: 44px; margin-top: -22px; }
.r4s__btn.btn--marker[disabled] .arr { scale: .9; }
/* the docked button keeps its own show / hide (page.css on desktop, r4-mobile.css in the phone's bar) */
.dock.btn--marker { position: fixed; transition: opacity .5s var(--ease-out), translate .6s var(--ease-out), scale .65s var(--p5-press); }
.mbar .dock.btn--marker { transition: scale .65s var(--p5-press);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #FFFFFF 58%, transparent), inset 0 -1.5px 0 color-mix(in srgb, var(--film) 16%, transparent), 0 0 0 1px color-mix(in srgb, var(--p5-mk-lo) 70%, var(--film)); }
.mbar .dock.btn--marker::after { box-shadow: 0 8px 16px -10px color-mix(in srgb, var(--p5-mk-lo) 80%, var(--film)); }

/* ═════════════════════ 2 · 04 how it works · the clock ═════════════════════ */
.hw .how__head .h-sec { margin-top: 18px; }
.hw__run { position: relative; margin-top: 46px; padding-left: 36px; }
.hw__track { position: absolute; left: 7px; top: 8px; bottom: 6px; width: 2px; pointer-events: none; }
.hw__rail { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, var(--line-2) 0 7px, transparent 7px 12px); }
.hw__fill { position: absolute; inset: 0; background: var(--film); transform-origin: 50% 0; }
.hw__head {
  position: absolute; left: 50%; bottom: 0; z-index: 3; translate: -50% 50%;
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px 0 7px; border-radius: 99px;
  background: var(--film); color: var(--paper); font: 400 11px/1 var(--f-mono); letter-spacing: .06em; white-space: nowrap;
  box-shadow: 0 0 0 3px var(--paper), 0 8px 16px -8px color-mix(in srgb, var(--film) 70%, transparent);
}
.hw__head::before { content: ""; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--marker); }
.hw__head b { font-weight: 400; min-width: 2ch; text-align: right; }
.hw--js .hw__head { left: 0; top: 0; bottom: auto; translate: none; will-change: transform; }

.hw__s { position: relative; padding-bottom: 50px; }
.hw__s:last-child { padding-bottom: 6px; }
.hw__s::before { /* the stop on the rail */
  content: ""; position: absolute; left: -35px; top: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--film);
}
.hw__s.is-on::before, html:not(.p5) .hw__s::before { background: var(--film); box-shadow: inset 0 0 0 2px var(--film), 0 0 0 3px var(--paper); }
.hw__when { font: 400 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.hw__when b { font-weight: 400; color: var(--film); }
.hw__t { margin-top: 10px; max-width: 15em; font-size: clamp(22px, 6.1vw, 30px); line-height: 1.14; letter-spacing: -.03em; font-weight: 500; color: var(--film); }

/* the strategic words: a stroke of marker behind them; "live at a private link" gets the blue live light */
.hw-k { position: relative; isolation: isolate; white-space: nowrap; font-style: normal; }
.hw-k::after {
  content: ""; position: absolute; left: -.12em; right: -.12em; bottom: .02em; height: .42em; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--marker) 86%, var(--ember)); border-radius: .5em .2em .45em .15em / .3em .5em .2em .5em;
  transform-origin: 0 50%; transform: rotate(-.8deg);
}
.hw-k--live::after { background: linear-gradient(90deg, color-mix(in oklab, var(--g-glow) 70%, var(--paper)), color-mix(in oklab, var(--g-lav) 85%, var(--paper))); box-shadow: 0 0 18px -2px color-mix(in srgb, var(--g-glow) 55%, transparent); }

/* the frame each stop develops in (latent while the clock has not reached it) */
.hw__fig { position: relative; height: 212px; margin-top: 18px; max-width: 420px; contain: layout style; } /* the typing and the scenes never relayout the page */
.hw__s[data-hw-step="0"] .hw__fig { height: 184px; }
.hw__fig::before { /* the latent frame: undeveloped stock */
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--film) 5%, transparent) 0 1px, transparent 1px 9px);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--film) 14%, transparent);
}
.hw__fig::after { /* what the latent frame is waiting for */
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; opacity: 0; white-space: nowrap;
  font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite);
}
.hw__s[data-hw-step="0"] .hw__fig::after { content: "Develops at 0h"; }
.hw__s[data-hw-step="1"] .hw__fig::after { content: "Develops at 48h"; }
.hw__s[data-hw-step="2"] .hw__fig::after { content: "Develops at 72h"; }
.hw__s[data-hw-step="3"] .hw__fig::after { content: "Then you decide"; }
.hw__art { position: absolute; inset: 0; }
.hw-cap { display: flex; justify-content: space-between; gap: 10px; font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); white-space: nowrap; }
.hw-paper { background: var(--print); border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 1px 0 var(--line-2), 0 20px 30px -24px color-mix(in srgb, var(--film) 60%, transparent); }

/* stop 0 · the URL you send */
.hw-url { inset: 10px 8% 14px 0; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 14px; rotate: -1.2deg; }
.hw-url__field { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; border-radius: 99px; background: var(--film); color: var(--paper); font: 400 13px/1 var(--f-mono); letter-spacing: .02em; white-space: nowrap; overflow: hidden; }
.hw-url__lock { flex: none; width: 9px; height: 11px; border-radius: 2px; background: color-mix(in srgb, var(--paper) 55%, transparent); position: relative; margin-top: 3px; }
.hw-url__lock::before { content: ""; position: absolute; left: 1.5px; right: 1.5px; top: -5px; height: 7px; border: 1.5px solid color-mix(in srgb, var(--paper) 55%, transparent); border-bottom: 0; border-radius: 4px 4px 0 0; }
.hw-url__caret { flex: none; width: 1.5px; height: 17px; margin-left: -6px; background: var(--marker); }
.p5 .hw__s.is-on .hw-url__caret { animation: p5-blink 1.05s steps(1, end) infinite; }
@keyframes p5-blink { 50% { opacity: 0; } }
.hw-url__field { margin-top: auto; }
.hw-url__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.hw-url__call { position: relative; display: inline-flex; align-items: center; gap: 8px; font: 400 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--film); }
.hw-url__call svg { width: 26px; height: 26px; overflow: visible; }
.hw-url__ph { fill: none; stroke: var(--film); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hw-url__x { position: absolute; left: -6px; top: -5px; width: 38px !important; height: 36px !important; }
.hw-mk path, .hw-url__x path { fill: none; stroke: var(--marker); stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; filter: url(#wax); }
.hw-url__sent { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 11px; border-radius: 99px; background: color-mix(in srgb, var(--marker) 16%, var(--print)); color: var(--film); font: 400 11px/1 var(--f-mono); letter-spacing: .12em; }
.hw-url__sent svg { width: 13px; height: 10px; }
.hw-url__sent path { fill: none; stroke: var(--film); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* stop 1 · the note, the 3 leaks circled */
.hw-note { inset: 0 10% 18px 3%; padding: 16px 18px 12px; rotate: 1.3deg; overflow: hidden;
  background: repeating-linear-gradient(180deg, transparent 0 39px, color-mix(in srgb, var(--frost) 55%, transparent) 39px 40px) 0 22px / 100% 100% no-repeat, var(--print); }
.hw-note__l { margin-top: 12px; }
.hw-note__l li { display: flex; align-items: center; gap: 12px; height: 40px; }
.hw-note__n { position: relative; flex: none; display: grid; place-items: center; width: 26px; height: 26px; font: 400 26px/1 var(--f-hand); color: var(--film); }
.hw-note__n svg { position: absolute; left: -9px; top: -8px; width: 44px; height: 42px; overflow: visible; }
.hw-note__n path { fill: none; stroke: var(--marker); stroke-width: 2.4px; stroke-linecap: round; filter: url(#wax); }
.hw-note__w { font: 400 25px/1 var(--f-hand); color: var(--film); white-space: nowrap; }

/* stop 2 · live at a private link: the page on a phone, lit from below by the blue live light */
.hw-live { border-radius: 16px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--film) 0%, var(--night) 100%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--film) 80%, transparent), 0 24px 36px -26px color-mix(in srgb, var(--night) 90%, transparent); }
.hw-live__sky { position: absolute; inset: 0; z-index: -1; background: var(--g-arc); transform-origin: 50% 100%; }
.hw-live__grid { position: absolute; inset: 0; z-index: -1; background: var(--g-grid); -webkit-mask: linear-gradient(180deg, transparent 0%, #000 55%); mask: linear-gradient(180deg, transparent 0%, #000 55%); transform-origin: 50% 100%; }
.hw-live__phone { position: absolute; right: 7%; bottom: -70px; width: 112px; height: 240px; padding: 5px; border-radius: 24px;
  background: linear-gradient(160deg, #3A3E48, #14161C 30%, #0D0E12);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #FFFFFF 20%, transparent), 0 0 0 1px #050608, 0 -12px 44px -8px color-mix(in srgb, var(--g-glow) 70%, transparent); }
.hw-live__scr { position: relative; height: 100%; overflow: hidden; border-radius: 19px; background: var(--print); }
.hw-live__isl { position: absolute; z-index: 2; left: 50%; top: 6px; width: 30px; height: 9px; margin-left: -15px; border-radius: 9px; background: #07080A; }
.hw-live__pg { position: absolute; left: 0; right: 0; top: 0; padding: 22px 8px 0; display: grid; gap: 6px; }
.hw-live__pg i { display: block; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--film) 14%, transparent); transform-origin: 0 50%; }
.hw-live__pg .pg-face { height: 70px; border-radius: 6px; background: radial-gradient(14px 14px at 50% 40%, color-mix(in srgb, var(--night) 70%, var(--frost)) 98%, transparent 100%), radial-gradient(34px 26px at 50% 100%, color-mix(in srgb, var(--night) 70%, var(--frost)) 98%, transparent 100%), color-mix(in srgb, var(--frost) 55%, var(--print)); }
.hw-live__pg .pg-h { height: 8px; width: 92%; background: var(--film); }
.hw-live__pg .pg-h2 { height: 8px; width: 64%; background: var(--film); }
.hw-live__pg .pg-l { width: 86%; } .hw-live__pg .pg-l2 { width: 70%; }
.hw-live__pg .pg-cta { height: 14px; width: 66%; border-radius: 9px; background: var(--marker); }
.hw-live__pg .pg-l3 { width: 80%; margin-top: 4px; } .hw-live__pg .pg-l4 { width: 58%; }
.hw-live__chips { position: absolute; left: 16px; top: 16px; display: grid; justify-items: start; gap: 8px; }
.hw-chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 99px; font: 400 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.hw-chip--live { background: var(--paper); color: var(--film); }
.hw-chip--live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--g-glow); }
.hw-chip--live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--g-glow); opacity: 0; }
.p5 .hw__s.is-on .hw-chip--live i::after { animation: p5-ping 2.2s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes p5-ping { 0% { opacity: .9; transform: scale(.5); } 80%, 100% { opacity: 0; transform: scale(1.9); } }
.hw-chip--link { color: var(--paper); background: color-mix(in srgb, var(--paper) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--paper) 26%, transparent); }
.hw-chip--link .hw-url__lock { margin: 2px 0 0; }

/* stop 3 · then: an invoice if you like it, a "no" if you don't */
.hw-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 0 2px; }
.hw-pick__inv { position: relative; padding: 22px 13px 14px; rotate: -2.6deg; transform-origin: 50% 0; }
.hw-pick__pin { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--film); box-shadow: inset 0 -2px 0 color-mix(in srgb, #FFFFFF 18%, transparent), 0 2px 3px color-mix(in srgb, var(--film) 30%, transparent); }
.hw-pick__inv .hw-cap { color: var(--film); }
.hw-pick__what { margin-top: 12px; font: 500 15px/1.15 var(--f-sans); letter-spacing: -.02em; color: var(--film); }
.hw-pick__lines { display: grid; gap: 8px; margin: 12px 0 14px; }
.hw-pick__lines i { display: block; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--film) 13%, transparent); }
.hw-pick__lines i:nth-child(2) { width: 74%; } .hw-pick__lines i:nth-child(3) { width: 52%; }
.hw-pick__if { font: 400 11px/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); white-space: normal; }
.hw-pick__or { font: 400 28px/1 var(--f-hand); color: var(--marker); rotate: -6deg; }
.hw-pick__no { display: grid; justify-items: end; gap: 12px; padding-right: 4px; }
.hw-pick__bub { position: relative; padding: 12px 20px 13px; border-radius: 22px 22px 6px 22px; background: var(--film); color: var(--paper); font: 500 22px/1 var(--f-sans); letter-spacing: -.02em; transform-origin: 100% 100%; }
.hw-pick__bub::after { content: ""; position: absolute; right: -5px; bottom: 0; width: 12px; height: 12px; background: var(--film); clip-path: polygon(0 0, 0 100%, 100% 100%); border-bottom-left-radius: 2px; }
.hw-pick__done { display: inline-flex; align-items: center; gap: 7px; font: 500 16px/1 var(--f-sans); color: var(--film); letter-spacing: -.01em; }
.hw-pick__done svg { width: 20px; height: 16px; overflow: visible; }

/* the stamps: they certify the thing they land on */
.hw-st { position: absolute; z-index: 4; display: block; width: min(172px, 46vw); rotate: var(--r, -6deg); color: var(--film); mix-blend-mode: multiply; pointer-events: none; }
.hw-st svg { display: block; width: 100%; height: auto; overflow: visible; }
.hw-st__o { fill: none; stroke: currentColor; stroke-width: 3; }
.hw-st__i { fill: none; stroke: currentColor; stroke-width: 1.3; }
.hw-st__s { fill: currentColor; font: 400 12.6px var(--f-mono); letter-spacing: .1em; }
.hw-st__b { fill: currentColor; font: 600 21px var(--f-sans); letter-spacing: -.02em; }
.hw-st--1 { right: -2%; top: -14px; --r: 7deg; }
.hw-st--2 { right: 0; bottom: -16px; --r: -5deg; }
.hw-st--3 { left: 10px; bottom: 12px; --r: -4deg; color: var(--print); mix-blend-mode: normal; }

/* motion pre-states (only while the script runs the clock) */
.p5 .hw__s:not(.is-on) .hw__fig::before, .p5 .hw__s:not(.is-on) .hw__fig::after { opacity: 1; }
.p5 .hw__s.is-on .hw__fig::after { scale: .9; }
.p5 .hw__s .hw__fig::after { transition: opacity .35s var(--ease-out), scale .5s var(--ease-out); }
.p5 .hw__s .hw__fig::before { transition: opacity .5s var(--ease-out); }
.p5 .hw__s:not(.is-on) .hw__t { color: color-mix(in srgb, var(--film) 24%, var(--paper)); }
.p5 .hw__s .hw__t { transition: color .7s var(--ease-out); }
.p5 .hw__s:not(.is-on) .hw-k::after { transform: rotate(-.8deg) scaleX(0); }
.p5 .hw__art, .p5 .hw-st { visibility: hidden; }
.p5 .hw-url__x path, .p5 .hw-note__n path, .p5 .hw-mk path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.p5 .hw__s .hw-k::after { transition: transform .95s var(--p5-arr) var(--kd, .35s); }
.p5 .hw__s.is-on::before { animation: p5-node .83s var(--p5-chip); }
@keyframes p5-node { from { transform: scale(.3); } to { transform: scale(1); } }

/* idle: nothing stands still once it is in (runs only while the section is on screen) */
@keyframes p5-bob { 0%, 100% { translate: 0 0; } 50% { translate: var(--bx, 1px) var(--by, -2px); } }
@keyframes p5-sway { 0%, 100% { rotate: calc(var(--r0, -2.6deg) - .7deg); } 50% { rotate: calc(var(--r0, -2.6deg) + .7deg); } }
@keyframes p5-read { 0%, 18% { transform: translateY(0); } 55%, 70% { transform: translateY(-46px); } 100% { transform: translateY(0); } }
@keyframes p5-breathe { 0%, 100% { transform: scale(1); opacity: .86; } 50% { transform: scale(1.06); opacity: 1; } }
.p5 .hw__s.is-idle .hw-url, .p5 .hw__s.is-idle .hw-note, .p5 .hw__s.is-idle .hw-pick__no { animation: p5-bob var(--bd, 6.4s) ease-in-out var(--bl, 0s) infinite; }
.p5 .hw__s.is-idle .hw-pick__inv { animation: p5-sway 5.2s ease-in-out infinite; }
.p5 .hw__s.is-idle .hw-live__pg { animation: p5-read 7.5s cubic-bezier(.6, 0, .3, 1) 1s infinite; }
.p5 .hw__s.is-idle .hw-live__sky { animation: p5-breathe 5.6s ease-in-out infinite; }
@keyframes p5-tick { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.55); } 30% { transform: scale(.9); } 44% { transform: scale(1); } }
.p5 .hw__head::before { animation: p5-tick 1.6s cubic-bezier(.3, 0, .2, 1) infinite; } /* the clock never stops ticking */
.hw:not(.is-live) .hw__s *, .hw:not(.is-live) .hw__head::before { animation-play-state: paused !important; }

/* tablet: the text and its frame side by side, the rail still on the left */
@media (min-width: 768px) {
  .hw__run { margin-top: 64px; padding-left: 44px; }
  .hw__track { left: 9px; }
  .hw__s { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; column-gap: 36px; align-items: start; padding-bottom: 64px; }
  .hw__s::before { left: -41px; }
  .hw__when { grid-column: 1; }
  .hw__t { grid-column: 1; font-size: clamp(26px, 3.4vw, 34px); }
  .hw__fig { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; height: 232px; max-width: none; }
}

/* desktop: one row. The clock runs along the top, each stop develops its frame, the line under it */
@media (min-width: 1200px) {
  .hw__run { margin-top: 84px; padding: 0; }
  .hw__track { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .hw__rail { background: repeating-linear-gradient(90deg, var(--line-2) 0 7px, transparent 7px 12px); }
  .hw__fill { transform-origin: 0 50%; }
  .hw__head { left: auto; right: 0; top: 1px; bottom: auto; translate: 0 -50%; }
  .hw--js .hw__head { right: auto; translate: none; }
  .hw__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(28px, 2.8vw, 48px); }
  .hw__s { display: flex; flex-direction: column; align-items: stretch; padding: 34px 0 0; }
  .hw__s::before { left: -1px; top: -5px; }
  .hw__when { order: 1; }
  .hw__fig, .hw__s[data-hw-step] .hw__fig { order: 2; height: clamp(236px, 18.5vw, 280px); margin-top: 20px; }
  .hw__t { order: 3; margin-top: 26px; font-size: clamp(23px, 1.9vw, 29px); }
  .hw-live__phone { right: 8%; width: 118px; height: 252px; bottom: -64px; }
  .hw-st { width: 168px; }
  .hw-st--3 { width: 150px; }
  .hw-live__phone { right: 5%; width: 112px; }
  .hw-pick__bub { font-size: 24px; padding: 13px 22px 14px; }
}

/* ═════════════════════ 3 · the blue live light, at two more points ═════════════════════ */
/* #send · round 6: the strip's frame 03 retired; the job tag's stub carries the live light now (css/r6-e.css) */
/* #price · the Show-First Rule: "You see the page live." carries the same live light as #how and #send */
.r4p__r--0 { position: relative; isolation: isolate; }
.r4p__r--0 .p5-lit { position: relative; white-space: nowrap; }
.r4p__r--0 .p5-lit::after {
  content: ""; position: absolute; left: -.08em; right: -.1em; bottom: .06em; height: .42em; z-index: -1; pointer-events: none; border-radius: .4em .2em .4em .2em;
  background: linear-gradient(90deg, color-mix(in oklab, var(--g-glow) 70%, var(--paper)), color-mix(in oklab, var(--g-lav) 80%, var(--paper)));
  box-shadow: 0 0 22px -2px color-mix(in srgb, var(--g-glow) 60%, transparent);
}

/* ─────── reduced motion / static: nothing moves, everything is in its final place ─────── */
@media (prefers-reduced-motion: reduce) {
  .btn--marker, .btn--marker::after, .btn--marker .arr { transition: none !important; }
  .btn--marker:hover, .btn--marker:active { translate: none !important; scale: none !important; }
  .p5-sheen, .btn--marker .arr::after { display: none; }
  .btn--marker.is-loop .arr::before { animation: none; }
  .hw__s *, .hw__s, .hw__head::before { animation: none !important; }
}
.is-static .p5-sheen, .is-reduced .p5-sheen { display: none; }
