/* Motionjay — coming soon
   Palette: blue-jay blues, ink, white and one warm accent (coral).
   Structure: tokens -> base -> layout -> components -> responsive -> MOTION LAYER.
   Everything above the MOTION LAYER is the composed still state (no JS, reduced motion, OG poster). */

/* Local, metric-matched stand-in for Bricolage Grotesque if Google Fonts fails: Arial/Helvetica
   Bold scaled to the same word width, so the wordmark keeps its size and its gutters. */
@font-face {
  font-family: "Motionjay Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold");
  font-weight: 700 800;
  size-adjust: 94.5%;
}

:root {
  --bg: #06102a;
  --navy: #10275e;
  --cobalt: #1f56d6;
  --cerulean: #3b8ef0;
  --sky: #9fd0ff;
  --white: #ffffff;
  --ink: #0a0d14;
  --coral: #ff6a3d;
  --text: #ffffff;
  --muted: #c3d0ee;      /* 11.9:1 on --bg */
  --faint: #9fb1db;      /* 8.2:1 on --bg  */
  --line: rgba(159, 208, 255, 0.22);
  --display: "Bricolage Grotesque", "Motionjay Fallback", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --wm: clamp(3.4rem, 13.5vw, 8.5rem);       /* wordmark size (stacked layout) */
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background-color: var(--bg);   /* same as the body's bottom edge: a short body never exposes an off-colour strip */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  overflow-x: hidden;
  overflow-x: clip;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 55% at 50% 42%, rgba(31, 86, 214, 0.34), transparent 70%),
    radial-gradient(40% 40% at 88% 10%, rgba(59, 142, 240, 0.14), transparent 70%),
    radial-gradient(38% 32% at 2% 72%, rgba(255, 106, 61, 0.07), transparent 70%),
    linear-gradient(180deg, #06102a 0%, #081536 60%, #06102a 100%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -64px; z-index: 50;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
main:focus { outline: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 16px 8px 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 26, 66, 0.72);
  color: var(--text); font: 500 0.875rem/1 var(--sans); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.motion-toggle:hover { background: rgba(31, 86, 214, 0.35); border-color: rgba(159, 208, 255, .45); }
.motion-toggle__icon { position: relative; width: 14px; height: 14px; display: inline-flex; justify-content: space-between; }
.motion-toggle__icon i { width: 4px; height: 14px; border-radius: 2px; background: currentColor; }
.motion-toggle[data-state="paused"] .motion-toggle__icon i:last-child { display: none; }
.motion-toggle[data-state="paused"] .motion-toggle__icon i:first-child {
  width: 0; height: 0; border-radius: 0; background: none;
  border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  margin-left: 2px;
}

/* ---------------------------------------------------------------- stage */
.stage {
  position: relative;
  isolation: isolate;
  /* clipped sideways only: the jay may leave through the top of the window, but a side exit
     must never create horizontal scroll (clip is the one value that pairs with visible) */
  overflow-x: clip;
  overflow-y: visible;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* a wide wordmark (e.g. fallback font) never widens the copy column past the gutters */
  place-items: center;
  padding: clamp(28px, 6vh, 64px) var(--gutter) clamp(36px, 7vh, 72px);
}
.sky {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero { width: 100%; max-width: 1180px; text-align: center; display: flex; flex-direction: column; align-items: center; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  padding: 8px 16px 8px 14px;
  border: 1px solid rgba(159, 208, 255, .3);
  border-radius: 999px;
  background: rgba(8, 22, 58, .82);
  color: #e3ecff;
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
}
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--coral); opacity: 0;
}

/* Wordmark + perched jay */
.wordmark-wrap {
  position: relative;
  display: inline-block;
  font-size: var(--wm);
  margin: 0.4em 0 0;
}
.wordmark {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1em;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--white);
  font-variation-settings: "opsz" 96;
}
.wordmark .ltr { display: inline-block; transform-origin: 50% 100%; }

/* zero-width anchor between "a" and "y": its top edge is exactly the x-height line */
.perch {
  position: relative;
  display: inline-block;
  width: 0;
  height: 1ex;
  vertical-align: baseline;
}
.jay {
  --jw: 1.05em;
  position: absolute;
  left: calc(var(--jw) * -0.52);
  bottom: calc(100% - var(--jw) * 0.025);
  width: var(--jw);
  aspect-ratio: 240 / 200;
  transform-origin: 52% 75%;
  pointer-events: none;
  z-index: 3;
}
.jay-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.jay svg g { transform-box: view-box; }
.rig { transform-origin: 125px 196px; }
.wing { transform-origin: 130px 106px; }
.wing-far { transform-origin: 132px 102px; opacity: 0; }
.tail { transform-origin: 88px 156px; }
.head { transform-origin: 150px 104px; }
.crest { transform-origin: 150px 60px; }
.eye { transform-origin: 178px 76px; }
.legs { transform-origin: 126px 168px; }

.tagline {
  width: fit-content; max-width: 100%;
  margin: clamp(12px, 2.2vh, 22px) 0 0;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 2.7vw, 2.4rem);
  line-height: 1.12; letter-spacing: -0.02em;
}
.lede {
  margin: 12px auto 0; max-width: 40ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
}
.lede strong { color: var(--white); font-weight: 700; }
.lede a { color: var(--sky); text-underline-offset: 3px; }   /* 404.html */

/* ---------------------------------------------------------------- format cards */
.formats {
  list-style: none; margin: clamp(30px, 5vh, 52px) auto 0; padding: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.55fr 1.1fr;
  align-items: end;
  gap: clamp(12px, 3vw, 28px);
  width: 100%;
  max-width: 680px;
}
.format { position: relative; z-index: 4; } /* above the flying jay: it can pass behind a card */
.format__float { position: relative; }
.format__glow {
  position: absolute; left: -10%; right: -10%; top: -8%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 142, 240, .38), rgba(59, 142, 240, 0));
  opacity: 0; pointer-events: none; z-index: -1;
}
.screen {
  position: relative; overflow: hidden;
  container-type: inline-size;
  border-radius: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(159, 208, 255, .22);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0,0,0,.25);
}
.format__label {
  /* a solid caption plate: the jay may fly behind a card, never behind bare text */
  width: fit-content; max-width: 100%;
  margin: 10px 0 0;
  padding: 6px 10px 7px;
  border-radius: 9px;
  background: #0a1838;
  border: 1px solid rgba(159, 208, 255, .14);
  font: 700 0.8125rem/1.25 var(--sans);
  color: var(--white);
  text-align: left;
}
.format__label span {
  display: block; margin-top: 3px;
  font-weight: 500; font-size: .75rem; letter-spacing: .02em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.format__label i { font-style: normal; }

/* Social: 9:16 story with kinetic type. Rest pose = a finished story frame. */
.screen--social { aspect-ratio: 9 / 16; background: linear-gradient(165deg, #2059dc 0%, #12307f 62%, #0b1d4a 100%); }
.story-bars { position: absolute; top: 5cqw; left: 6cqw; right: 6cqw; display: flex; gap: 3cqw; }
.story-bars i { position: relative; flex: 1; height: 2.4cqw; min-height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.story-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; }
.story-bars i:nth-child(3)::after { transform: scaleX(.45); }
.story-words { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 9cqw; gap: 1cqw; }
.story-words b {
  display: inline-block; font-family: var(--display); font-weight: 800;
  font-size: 21cqw; line-height: .95; letter-spacing: -0.03em; text-transform: uppercase; color: #fff;
  transform-origin: 0 80%;
}
.story-words b:nth-child(3) { background: var(--coral); color: var(--ink); padding: 0 2.5cqw; margin-left: -2.5cqw; border-radius: 2cqw; }
.story-swipe {
  position: absolute; left: 50%; bottom: 7cqw; width: 9cqw; height: 9cqw; margin-left: -4.5cqw;
  border-left: 1.6cqw solid #fff; border-top: 1.6cqw solid #fff; transform: rotate(45deg); opacity: .85;
}

/* Marketing: 16:9 explainer. The coral bar is an abstract button shape, not a real control. */
.screen--marketing {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(159,208,255,.06) 1px, transparent 1px) 0 0 / 10cqw 10cqw,
    linear-gradient(90deg, rgba(159,208,255,.06) 1px, transparent 1px) 0 0 / 10cqw 10cqw,
    linear-gradient(135deg, #0f275f, #091636);
}
.mk-copy { position: absolute; left: 8cqw; top: 13cqw; width: 50cqw; display: grid; gap: 2.6cqw; }
.mk-copy i { display: block; height: 4.6cqw; border-radius: 1.4cqw; background: #fff; transform-origin: 0 50%; }
.mk-copy i:nth-child(1) { width: 92%; }
.mk-copy i:nth-child(2) { width: 70%; background: var(--sky); }
.mk-copy i:nth-child(3) { width: 48%; height: 2.6cqw; background: rgba(159,208,255,.5); }
.mk-play {
  position: absolute; right: 9cqw; top: 11cqw; width: 22cqw; height: 22cqw; border-radius: 50%;
  background: var(--cobalt); display: grid; place-items: center;
  box-shadow: 0 0 0 2cqw rgba(59,142,240,.2);
}
.mk-play span { width: 0; height: 0; margin-left: 1.6cqw; border-left: 6.4cqw solid #fff; border-top: 4cqw solid transparent; border-bottom: 4cqw solid transparent; }
.mk-cta {
  position: absolute; left: 8cqw; bottom: 14cqw;
  width: 24cqw; height: 7.4cqw; border-radius: 99px;
  background: var(--coral);
  transform-origin: 50% 100%;
}
.mk-scrub { position: absolute; left: 6cqw; right: 6cqw; bottom: 5cqw; height: 1cqw; min-height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.mk-scrub i { position: absolute; inset: 0; background: var(--sky); transform-origin: 0 50%; transform: scaleX(.62); }

/* Launch: 1:1 product reveal */
.screen--launch { aspect-ratio: 1 / 1; background: radial-gradient(80% 80% at 50% 45%, #1a3f96 0%, #0b1d4a 55%, #060f29 100%); }
.pl-glow { position: absolute; left: 20%; top: 18%; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(159,208,255,.5), rgba(59,142,240,0) 70%); opacity: .85; }
.pl-shadow { position: absolute; left: 28%; top: 84%; width: 44%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.pl-product { position: absolute; left: 22%; top: 14%; width: 56%; height: 72%; }
.pl-sweep {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 26%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.28), rgba(255,255,255,0));
  transform: translateX(-160%) skewX(-18deg);
}
.pl-spark { position: absolute; width: 7cqw; height: 7cqw; background: #fff; opacity: 0; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.pl-spark--1 { left: 16%; top: 20%; }
.pl-spark--2 { right: 14%; top: 34%; width: 5cqw; height: 5cqw; }
.pl-spark--3 { right: 24%; bottom: 14%; width: 4cqw; height: 4cqw; }
.pl-curtain { position: absolute; inset: 0; background: linear-gradient(180deg, #2059dc, #12307f); transform: translateY(-101%); }
.pl-tag {
  position: absolute; left: 7cqw; top: 7cqw;
  padding: 1.6cqw 3.4cqw; border-radius: 1.8cqw;
  background: var(--coral); color: var(--ink);
  font: 800 6cqw/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  transform: rotate(-8deg);
}

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; z-index: 2; padding: 0 var(--gutter) 20px; }
.footnote {
  margin: 0; padding-top: 16px;
  border-top: 1px solid rgba(159, 208, 255, .12);
  font-size: .8125rem; color: var(--faint); text-align: center;
}

/* ---------------------------------------------------------------- wide: cards orbit the hero
   Cards are anchored to the wordmark's half-width (not to the viewport edge), so they can
   never collide with the centre column; their width is capped by the space that is left. */
@media (min-width: 1180px) and (min-height: 600px) {
  :root { --wm: clamp(7rem, 10.2vw, 12rem); }
  .stage { padding-block: 32px 48px; }
  .hero { max-width: 760px; }
  .formats { margin: 0; display: block; max-width: none; }
  .format {
    --half: calc(var(--wm) * 2.2);
    --room: calc(50% - var(--half) - var(--gutter) - 3vw);
    position: absolute;
  }
  .format--launch    { right: calc(50% + var(--half) + 3vw); top: 9%;  width: min(clamp(160px, 13vw, 16.5rem), var(--room)); }
  .format--marketing { right: calc(50% + var(--half) + 1vw); bottom: 10%; width: min(clamp(230px, 19vw, 24rem), var(--room)); }
  .format--social    { left: calc(50% + var(--half) + 4vw);  top: 15%; width: min(clamp(150px, 11.5vw, 14.5rem), var(--room)); }
}
@media (min-width: 1900px) {
  html { font-size: clamp(16px, 0.86vw, 22px); }
}

/* ---------------------------------------------------------------- phones
   Editorial, left-aligned: the status pill moves out of the jay's airspace. */
@media (max-width: 640px) {
  :root { --wm: clamp(3.2rem, 19.5vw, 6.4rem); }
  .site-header { padding-block: 14px; }
  .brand span { font-size: .9375rem; }
  .motion-toggle { padding: 8px 14px 8px 11px; font-size: .8125rem; }
  .stage { place-items: stretch; align-content: center; padding-top: clamp(40px, 12vh, 112px); }
  .hero { text-align: left; align-items: flex-start; }
  .status { font-size: .6875rem; padding: 7px 13px 7px 12px; }
  .wordmark-wrap { margin-top: .42em; margin-left: -0.04em; }
  .jay { --jw: 1.1em; }
  .tagline { font-size: clamp(1.35rem, 6.6vw, 1.75rem); }
  .lede { margin-left: 0; }
  .formats { grid-template-columns: 0.95fr 1.5fr 1.12fr; gap: 10px; margin-top: 30px; }
  .format__label { font-size: .75rem; padding: 5px 8px 6px; }
  .format__label span { font-size: .6875rem; }
}
@media (max-width: 400px) {
  .format__label { font-size: .6875rem; padding: 4px 6px 5px; border-radius: 7px; }
  .format__label i { display: none; }
}
@media (max-width: 360px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* visually hidden; still the link's name */
}

/* ---------------------------------------------------------------- OG poster (?og=1) */
.og .site-header .motion-toggle, .og .site-footer { display: none !important; }

/* ======================================================================
   MOTION LAYER — only when JS has switched motion on (.motion-on).
   Every animation here is driven by the page's single motion clock (app.js):
   CSS defines the keyframes, JS pauses them and sets currentTime each frame.
   ====================================================================== */
.js:not(.booted) .status,
.js:not(.booted) .tagline,
.js:not(.booted) .lede,
.js:not(.booted) .wordmark,
.js:not(.booted) .format,
.js:not(.booted) .site-footer { opacity: 0; }

.motion-on .jay { pointer-events: auto; cursor: pointer; }
.motion-on .status__dot::after { animation: ping 2.4s cubic-bezier(.2,.7,.3,1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }

/* --- card loops: each starts and ends on its rest pose, so the spotlight can hand over seamlessly */

/* Social story (3.6s): words leave, the bars restart, the words punch back in */
.motion-on .format--social.is-live .story-bars i:nth-child(1)::after { animation: bar1 3.6s linear; }
.motion-on .format--social.is-live .story-bars i:nth-child(2)::after { animation: bar2 3.6s linear; }
.motion-on .format--social.is-live .story-bars i:nth-child(3)::after { animation: bar3 3.6s linear; }
@keyframes bar1 { 0% { transform: scaleX(1); } 10% { transform: scaleX(0); } 38%, 100% { transform: scaleX(1); } }
@keyframes bar2 { 0% { transform: scaleX(1); } 10%, 38% { transform: scaleX(0); } 66%, 100% { transform: scaleX(1); } }
@keyframes bar3 { 0% { transform: scaleX(.45); } 10%, 66% { transform: scaleX(0); } 100% { transform: scaleX(.45); } }
.motion-on .format--social.is-live .story-words b { animation: 3.6s linear; }
.motion-on .format--social.is-live .story-words b:nth-child(1) { animation-name: w1; }
.motion-on .format--social.is-live .story-words b:nth-child(2) { animation-name: w2; }
.motion-on .format--social.is-live .story-words b:nth-child(3) { animation-name: w3; }
@keyframes w1 {
  0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5,0,.9,.5); }
  6% { transform: translateY(-70%); opacity: 0; }
  12% { transform: translateY(45%) scale(.4); opacity: 0; animation-timing-function: cubic-bezier(.3,1.6,.5,1); }
  22%, 100% { transform: none; opacity: 1; }
}
@keyframes w2 {
  0%, 1% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5,0,.9,.5); }
  7% { transform: translateY(-70%); opacity: 0; }
  20% { transform: translateY(45%) scale(.4); opacity: 0; animation-timing-function: cubic-bezier(.3,1.6,.5,1); }
  30%, 100% { transform: none; opacity: 1; }
}
@keyframes w3 {
  0%, 2% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5,0,.9,.5); }
  8% { transform: translateY(-70%); opacity: 0; }
  30% { transform: translateX(-30%) scale(.3) rotate(-8deg); opacity: 0; animation-timing-function: cubic-bezier(.3,1.7,.5,1); }
  42%, 100% { transform: none; opacity: 1; }
}
.motion-on .format--social.is-live .story-swipe { animation: swipe 3.6s ease-in-out; }
@keyframes swipe {
  0%, 60%, 100% { transform: translateY(0) rotate(45deg); opacity: .85; }
  70%, 90% { transform: translateY(-45%) rotate(45deg); opacity: 1; }
  80% { transform: translateY(0) rotate(45deg); opacity: .6; }
}

/* Marketing (3.4s): copy wipes out and rebuilds, the button bounces, the scrub bar replays */
.motion-on .format--marketing.is-live .mk-copy i { animation: 3.4s cubic-bezier(.2,.9,.25,1.1); }
.motion-on .format--marketing.is-live .mk-copy i:nth-child(1) { animation-name: mk1; }
.motion-on .format--marketing.is-live .mk-copy i:nth-child(2) { animation-name: mk2; }
.motion-on .format--marketing.is-live .mk-copy i:nth-child(3) { animation-name: mk3; }
@keyframes mk1 { 0% { transform: scaleX(1); } 9% { transform: scaleX(0); } 24%, 100% { transform: scaleX(1); } }
@keyframes mk2 { 0% { transform: scaleX(1); } 10%, 16% { transform: scaleX(0); } 31%, 100% { transform: scaleX(1); } }
@keyframes mk3 { 0% { transform: scaleX(1); } 11%, 22% { transform: scaleX(0); } 37%, 100% { transform: scaleX(1); } }
.motion-on .format--marketing.is-live .mk-cta { animation: bounce 3.4s; }
@keyframes bounce {
  0%, 40% { transform: none; animation-timing-function: ease-in-out; }
  44% { transform: scale(1.14, .84); animation-timing-function: cubic-bezier(.2,.7,.4,1); }
  50% { transform: translateY(0) scale(.92, 1.1); animation-timing-function: cubic-bezier(.3,.6,.5,1); }
  60% { transform: translateY(-38%); animation-timing-function: cubic-bezier(.5,0,.8,.4); }
  70% { transform: scale(1.12, .87); animation-timing-function: cubic-bezier(.3,.6,.5,1); }
  76% { transform: translateY(-14%); animation-timing-function: cubic-bezier(.5,0,.8,.4); }
  82% { transform: scale(1.05, .95); animation-timing-function: ease-out; }
  90%, 100% { transform: none; }
}
.motion-on .format--marketing.is-live .mk-play { animation: playpulse 3.4s ease-in-out; }
@keyframes playpulse { 0%, 30%, 100% { transform: none; } 38% { transform: scale(.88); } 48% { transform: scale(1.12); } 60% { transform: scale(.98); } 70% { transform: none; } }
.motion-on .format--marketing.is-live .mk-scrub i { animation: scrub 3.4s; }
@keyframes scrub { 0% { transform: scaleX(.62); animation-timing-function: ease-in; } 8% { transform: scaleX(0); animation-timing-function: linear; } 100% { transform: scaleX(.62); } }

/* Launch (4.4s): a curtain drops, lifts, the product rises, light sweeps, the tag stamps */
.motion-on .format--launch.is-live .pl-curtain { animation: curtain 4.4s; }
@keyframes curtain {
  0% { transform: translateY(-101%); animation-timing-function: cubic-bezier(.7,0,.3,1); }
  16%, 24% { transform: translateY(0); animation-timing-function: cubic-bezier(.7,0,.2,1); }
  42%, 100% { transform: translateY(-101%); }
}
.motion-on .format--launch.is-live .pl-product,
.motion-on .format--launch.is-live .pl-shadow { animation: rise 4.4s; }
@keyframes rise {
  0%, 16% { transform: none; opacity: 1; }
  17%, 30% { transform: translateY(18%) scale(.8); opacity: 0; animation-timing-function: cubic-bezier(.2,.9,.3,1.25); }
  50%, 100% { transform: none; opacity: 1; }
}
.motion-on .format--launch.is-live .pl-glow { animation: glow 4.4s ease-in-out; }
@keyframes glow { 0%, 16% { transform: none; opacity: .85; } 17%, 32% { transform: scale(.4); opacity: 0; } 52% { transform: scale(1.15); opacity: 1; } 100% { transform: none; opacity: .85; } }
.motion-on .format--launch.is-live .pl-sweep { animation: sweep 4.4s cubic-bezier(.5,0,.3,1); }
@keyframes sweep { 0%, 46% { transform: translateX(-160%) skewX(-18deg); } 68%, 100% { transform: translateX(480%) skewX(-18deg); } }
.motion-on .format--launch.is-live .pl-spark { animation: spark 4.4s ease-out; }
.motion-on .format--launch.is-live .pl-spark--2 { animation-delay: .16s; }
.motion-on .format--launch.is-live .pl-spark--3 { animation-delay: .3s; }
@keyframes spark { 0%, 50% { transform: scale(0); opacity: 0; } 58% { transform: scale(1.3) rotate(45deg); opacity: 1; } 74%, 100% { transform: scale(0) rotate(90deg); opacity: 0; } }
.motion-on .format--launch.is-live .pl-tag { animation: stamp 4.4s; }
@keyframes stamp {
  0%, 14% { transform: rotate(-8deg); opacity: 1; }
  16%, 54% { transform: scale(2.4) rotate(-20deg); opacity: 0; animation-timing-function: cubic-bezier(.5,0,.9,.4); }
  62% { transform: scale(.9) rotate(-5deg); opacity: 1; animation-timing-function: cubic-bezier(.2,.8,.3,1.4); }
  70%, 100% { transform: rotate(-8deg); opacity: 1; }
}

/* Pause: freezes every CSS animation (the clock-driven ones stop with the clock anyway). */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* Reduced motion without an explicit opt-in: nothing loops, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-optin) *, html:not(.motion-optin) *::before, html:not(.motion-optin) *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
