/* The AI office (office.js; the `office` and `control` sections of site-src/build.mjs).
   Loaded only on pages that use them.

   These two sections borrow the design language of Astryx, Meta's open source design system
   (github.com/meta/astryx, MIT): white cards with soft shadows, black pill buttons, badges, switches
   and progress bars. The colour is Lumen's own: the gradient from its Instagram for the ground, and
   black, white and grey for everything else, with the gradient's teal and coral for live and flagged.

   1 · A day in the office: a board of eight cards, one for each job. A slider steps through the
       day; each card is a grey placeholder until its time, then fills in and plays.
   2 · You stay in control: drafts to approve or hold, a switch for each job, and a log.

   The finished state is the default. Everything that plays is gated behind `.is-moving`, which
   office.js adds only where motion is welcome, so with reduced motion, without JavaScript or in
   print the board is simply finished. Motion is transform, opacity and colour only. */
.ax,
.lp-control .ct {
  --ax-ink: #111111;
  --ax-ink-2: #474747;
  --ax-ink-3: #919191;
  --ax-line: rgba(0, 0, 0, 0.08);
  --ax-muted: #ecece8;
  --ax-blue: #111110;
  --ax-teal: #2a7c99;
  --ax-coral: #f48866;
  /* the gradient from Lumen's Instagram: teal sky down to a coral horizon */
  --ax-ground: linear-gradient(180deg, #2a7c99 0%, #4d8096 22%, #839aa7 42%, #b5adb4 58%, #e0b5af 74%, #f1a898 88%, #f3805e 100%);
  --ax-shadow-low: 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.08);
  --ax-shadow-high: 0 4px 6px rgba(0, 0, 0, 0.08), 0 14px 30px rgba(0, 0, 0, 0.16);
  --ax-fast: 125ms;
  --ax-med: 300ms;
  font-family: var(--font);
  color: var(--ax-ink);
}

/* ---- 1 · A day in the office ---- */
.of-stage.ax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 80px clamp(16px, 2.4vw, 36px) clamp(20px, 2.2vw, 30px);
  border-radius: 28px;
  background: var(--ax-ground);
  cursor: pointer;
}
/* a soft light that drifts across the gradient */
.ax-glow {
  position: absolute;
  z-index: -1;
  inset: -25%;
  background:
    radial-gradient(30% 36% at 22% 30%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(34% 40% at 80% 74%, rgba(255, 236, 214, 0.3), transparent 70%);
  pointer-events: none;
}
:is(.of, .hx).is-moving .ax-glow {
  animation: ax-drift 16s ease-in-out infinite alternate;
}
@keyframes ax-drift {
  to {
    transform: translate(5%, -4%) rotate(8deg) scale(1.08);
  }
}
.ax-top {
  position: absolute;
  top: 22px;
  left: clamp(16px, 2.4vw, 36px);
  right: clamp(16px, 2.4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.ax-top .ax-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.ax-tally b {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ax-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}
.ax-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 262px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ax-shadow-low);
  font-size: 13.5px;
  line-height: 1.35;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15),
    box-shadow var(--ax-med),
    opacity var(--ax-med);
}
/* the job in hand: lifted, with the selected ring */
.of.is-live .ax-card.is-on {
  z-index: 2;
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 0 0 2.5px var(--ax-blue),
    var(--ax-shadow-high);
}
/* whose job it is: the agent, with the studio's asterisk for a face, and the time */
.ax-when {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--ax-ink-2);
}
.ax-when b {
  font-weight: 500;
  color: var(--ax-ink);
}
.ax-when span {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.ax-agent {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #111110;
  color: #fff;
}
.ax-agent svg {
  width: 12px;
  height: 12px;
}
.ax-card.is-wait .ax-agent {
  background: rgba(17, 17, 16, 0.35);
}
/* one agent hands the job to the next, or to the owner */
.ax-feed {
  display: grid;
  justify-items: center;
  margin-top: 22px;
  min-height: 36px;
}
.ax-feed span {
  grid-area: 1 / 1;
  display: none;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: #111110;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.3;
  box-shadow: var(--ax-shadow-high);
}
.ax-feed span.is-on {
  display: inline-flex;
}
.ax-feed .ax-agent {
  background: #fff;
  color: #111110;
}
.ax-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* not yet: a placeholder in the card's place */
.ax-skel {
  position: absolute;
  inset: 46px 16px 16px;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.ax-skel i {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, #efefef 0%, #f8f8f8 40%, #efefef 80%);
  background-size: 200% 100%;
}
.ax-skel i:nth-child(1) {
  width: 62%;
}
.ax-skel i:nth-child(2) {
  flex: 1;
  max-height: 96px;
  border-radius: 12px;
}
.ax-skel i:nth-child(3) {
  width: 44%;
  height: 34px;
  border-radius: 99px;
}
:is(.of, .hx).is-moving .ax-skel i {
  animation: ax-shimmer 1.6s linear infinite;
}
@keyframes ax-shimmer {
  to {
    background-position: -200% 0;
  }
}
.ax-card.is-wait {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.5);
}
.ax-card.is-wait .ax-skel i {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.45) 80%);
  background-size: 200% 100%;
}
.ax-card.is-wait .ax-body {
  visibility: hidden;
}
.ax-card.is-wait .ax-skel {
  display: flex;
}
.ax-card.is-wait .ax-when {
  color: var(--ax-ink-3);
}
.ax-card.is-wait .ax-when b {
  color: var(--ax-ink-2);
}
/* what the assistant is doing, on a tooltip pinned to the card in hand */
.ax-tip {
  position: absolute;
  top: -13px;
  right: 12px;
  z-index: 3;
  display: none;
  padding: 6px 11px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--ax-shadow-low);
}
.of.is-live .ax-card.is-on .ax-tip,
.hx .ax-card.is-on .ax-tip {
  display: grid;
}
.ax-tip > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: end;
}
.ax-tip-a {
  opacity: 0;
}
.ax-tip-a i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}
.ax-tip-b svg {
  width: 13px;
  height: 13px;
  color: #fff;
}

/* the parts (after Astryx's Badge, Item, Button, Switch, Banner, Table and ProgressBar) */
.ax-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.ax-badge--gray { background: #ecece8; color: #111110; }
.ax-badge--green { background: #111110; color: #fff; }
.ax-badge--red { background: var(--ax-coral); color: #111110; }
.ax-badge--yellow { background: #f9cbbb; color: #111110; }
.ax-badge--blue { background: var(--ax-teal); color: #fff; }
.ax-badge--purple,
.ax-badge--teal,
.ax-badge--pink { background: #ecece8; color: #111110; }
.ax-badge--orange { background: #f9cbbb; color: #111110; }
.ax-swap {
  display: grid;
  justify-items: end;
}
.ax-swap > * {
  grid-area: 1 / 1;
}
.ax-swap-a {
  opacity: 0;
}
.ax-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ax-head strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ax-list,
.ax-rows,
.ax-table,
.ax-days,
.ax-chips {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ax-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}
.ax-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.ax-tile svg {
  width: 18px;
  height: 18px;
}
.ax-tile--blue,
.ax-tile--orange,
.ax-tile--purple,
.ax-tile--teal { background: #ecece8; color: #111110; }
.ax-item b,
.ax-table b {
  display: block;
  font-weight: 500;
}
.ax-item em,
.ax-table em {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: var(--ax-ink-2);
}
/* a message, as it's typed into the assistant */
.ax-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 14px;
  border: 1px solid var(--ax-line);
  border-radius: 99px;
  background: #fff;
  box-shadow: var(--ax-shadow-low);
  font-size: 13px;
  min-width: 0;
}
.ax-type {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ax-ask i {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000;
  color: #fff;
}
.ax-ask svg {
  width: 15px;
  height: 15px;
}
.ax-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: 99px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.ax-btn--done {
  background: #ecece8;
  color: #111110;
}
.ax-btn svg {
  width: 15px;
  height: 15px;
}
.ax-press {
  position: relative;
  display: grid;
  margin-top: auto;
}
.ax-press > span {
  grid-area: 1 / 1;
}
.ax-press-a {
  opacity: 0;
}
.ax-hand {
  position: absolute;
  left: 58%;
  top: 46%;
  z-index: 4;
  width: 30px;
  height: 30px;
  opacity: 0;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}
/* a call: the voice as a row of bars */
.ax-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}
.ax-wave i {
  flex: 1;
  max-width: 5px;
  height: calc(var(--h) * 100%);
  border-radius: 5px;
  background: var(--ax-blue);
}
.ax-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--ax-line);
}
.ax-rows span {
  color: var(--ax-ink-2);
}
.ax-rows b {
  font-weight: 500;
}
.ax-rows--switch li {
  padding: 7px 0;
}
.ax-rows--switch li:first-child,
.ax-plan + .ax-rows li:first-child {
  border-top: 0;
}
/* a switch (on once the person has confirmed) */
.ax-switch {
  flex: none;
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 99px;
  background: #111;
}
.ax-switch i {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(16px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.ax-faces {
  display: flex;
}
.ax-faces i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}
.ax-face--a { background: #111110; color: #fff; }
.ax-face--b { background: var(--ax-teal); color: #fff; }
.ax-face--c { background: var(--ax-coral); color: #111110; }
.ax-foot {
  margin-top: auto;
}
.ax-foot .ax-badge {
  white-space: normal;
  height: auto;
  min-height: 22px;
  padding-block: 3px;
}
.ax-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f9cbbb;
  color: #111110;
  font-weight: 500;
}
.ax-banner svg {
  flex: none;
  width: 17px;
  height: 17px;
}
/* a notice window, counted in business days */
.ax-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.ax-days li {
  padding: 5px 0 4px;
  border-radius: 8px;
  background: var(--ax-muted);
  text-align: center;
}
.ax-days small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ax-ink-2);
}
.ax-days b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.ax-days .is-off {
  background: none;
  color: var(--ax-ink-3);
}
.ax-days .is-off small {
  color: var(--ax-ink-3);
}
.ax-days .is-due {
  background: var(--ax-blue);
  color: #fff;
}
.ax-days .is-due small {
  color: #b9b9b4;
}
.ax-table li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-top: 1px solid var(--ax-line);
}
.ax-table li > span:not(.ax-badge) {
  flex: 1;
  min-width: 0;
}
.ax-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}
.ax-check svg {
  width: 12px;
  height: 12px;
}
.ax-check--no {
  background: var(--ax-coral);
  color: #111110;
}
.ax-table .is-flag {
  margin: 2px -8px 0;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: #fdeee8;
}
.ax-plan {
  display: block;
  width: 100%;
  max-height: 72px;
}
.ax-plan-wall {
  stroke: #d4d4d4;
  stroke-width: 1.4;
}
.ax-plan-a,
.ax-plan-b {
  fill: #dcdcd6;
  stroke: var(--ax-blue);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
}
.ax-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--ax-line);
  color: var(--ax-ink-2);
}
.ax-total b {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ax-ink);
  font-variant-numeric: tabular-nums;
}
.ax-frac {
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ax-bar {
  overflow: hidden;
  height: 10px;
  border-radius: 99px;
  background: #e2e2e2;
}
.ax-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #111;
  transform-origin: 0 50%;
}
.ax-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ax-chips li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 8px 0 6px;
  border-radius: 6px;
  background: #111110;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.ax-chips svg {
  width: 12px;
  height: 12px;
}

/* The play. A card runs for about four seconds: its parts arrive in turn, then whatever it is
   about happens (the message is typed, the days are counted, the switches go on) and, where the
   job needs an OK, a pointer comes in and presses the button. */
:is(.of, .hx).is-moving .ax-card.is-on .ax-a {
  animation: ax-rise 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
  animation-delay: calc(0.3s + var(--i, 0) * 0.22s);
}
/* the agent's asterisk turns while it works; then the hand-off goes out */
:is(.of, .hx).is-moving .ax-card.is-on .ax-agent svg {
  animation: ax-spin 3.3s 0.1s cubic-bezier(0.5, 0, 0.3, 1) both;
}
:is(.of, .hx).is-moving .ax-feed span.is-on {
  animation: ax-rise 0.6s 3.7s cubic-bezier(0.2, 0.9, 0.25, 1.3) both;
}
@keyframes ax-spin {
  to {
    transform: rotate(540deg);
  }
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-tip {
  animation: ax-pop 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-tip-a {
  animation: ax-while 3.3s 0.1s both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-tip-a i {
  animation: ax-dot 0.9s infinite;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-tip-a i:nth-child(2) {
  animation-delay: 0.15s;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-tip-a i:nth-child(3) {
  animation-delay: 0.3s;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-tip-b {
  animation: ax-pop 0.4s 3.4s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-swap-a {
  animation: ax-while 3s 0.3s both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-swap-b {
  animation: ax-pop 0.4s 3.3s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
/* the message is typed */
:is(.of, .hx).is-moving .ax-card.is-on .ax-type {
  animation: ax-type 1s 0.55s steps(26) both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-ask i {
  animation: ax-send 0.5s 1.6s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
:is(.of, .hx).is-moving .ax-card--order.is-on .ax-item {
  animation-delay: 1.9s;
}
:is(.of, .hx).is-moving .ax-card--order.is-on .ax-press {
  animation-delay: 2.15s;
}
/* the pointer comes in, presses, and the button turns */
:is(.of, .hx).is-moving .ax-card.is-on .ax-hand {
  animation: ax-hand 1.5s 2.5s ease-out both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-press-a {
  animation: ax-before 3.5s both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-press-b {
  animation: ax-pop 0.4s 3.45s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-wave i {
  animation: ax-wave 0.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.17s);
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-days li {
  animation: ax-pop 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
  animation-delay: calc(0.75s + var(--i) * 0.16s);
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-check {
  animation: ax-pop 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.5) both;
  animation-delay: calc(1.1s + var(--i, 0) * 0.5s);
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-table .ax-badge {
  animation: ax-pop 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.5) both;
  animation-delay: calc(1.3s + var(--i, 0) * 0.5s);
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-table .is-flag {
  animation:
    ax-rise 0.55s 0.74s cubic-bezier(0.2, 0.9, 0.25, 1.2) both,
    ax-shake 0.5s 2.75s;
}
/* the switches go on, one by one, as each person confirms */
:is(.of, .hx).is-moving .ax-card.is-on .ax-switch {
  animation: ax-track 0.3s both;
  animation-delay: calc(1.5s + var(--i) * 0.45s);
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-switch i {
  animation: ax-knob 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.5) both;
  animation-delay: calc(1.5s + var(--i) * 0.45s);
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-plan-a {
  animation: ax-pop 0.5s 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-plan-b {
  animation: ax-pop 0.5s 1.2s cubic-bezier(0.2, 0.9, 0.25, 1.4) both;
}
/* the bar fills a quarter for each paper, and each chip turns green */
:is(.of, .hx).is-moving .ax-card.is-on .ax-bar i {
  animation: ax-fill 1.7s 0.9s both;
}
:is(.of, .hx).is-moving .ax-card.is-on .ax-chips li {
  animation:
    ax-rise 0.5s 0.5s both,
    ax-chip 0.3s both;
  animation-delay: 0.5s, calc(1s + var(--i) * 0.42s);
}
@keyframes ax-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}
@keyframes ax-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes ax-while {
  0%,
  100% {
    opacity: 0;
  }
  6%,
  94% {
    opacity: 1;
  }
}
@keyframes ax-dot {
  0%,
  100% {
    opacity: 0.3;
  }
  40% {
    opacity: 1;
  }
}
@keyframes ax-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes ax-send {
  40% {
    transform: scale(0.8);
  }
  70% {
    transform: scale(1.15);
  }
}
@keyframes ax-hand {
  0% {
    opacity: 0;
    transform: translate(46px, 44px);
  }
  30% {
    opacity: 1;
  }
  55% {
    transform: translate(0, 0);
  }
  63% {
    transform: translate(0, 0) scale(0.84);
  }
  72% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(10px, 14px);
  }
}
@keyframes ax-before {
  0%,
  97% {
    opacity: 1;
  }
  94% {
    transform: none;
  }
  97% {
    transform: scale(0.96);
  }
  100% {
    opacity: 0;
  }
}
@keyframes ax-wave {
  from {
    transform: scaleY(0.25);
  }
}
@keyframes ax-shake {
  25% {
    transform: translateX(-4px);
  }
  60% {
    transform: translateX(3px);
  }
}
@keyframes ax-track {
  from {
    background: #d4d4d4;
  }
}
@keyframes ax-knob {
  from {
    transform: translateX(0);
  }
}
@keyframes ax-fill {
  0% {
    transform: scaleX(0);
  }
  12%,
  25% {
    transform: scaleX(0.25);
  }
  37%,
  50% {
    transform: scaleX(0.5);
  }
  62%,
  75% {
    transform: scaleX(0.75);
  }
  88%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes ax-chip {
  from {
    background: #ecece8;
    color: #8a8a85;
  }
}

@media (max-width: 1280px) {
  .ax-card {
    padding: 14px;
    font-size: 13px;
  }
  .ax-head strong {
    font-size: 16px;
  }
  .ax-skel {
    inset: 44px 14px 14px;
  }
}
@media (max-width: 1050px) {
  .ax-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ax-card {
    min-height: 240px;
  }
}
/* Phones: the cards in one row, the one in hand in the middle; the row slides as the day goes */
@media (max-width: 760px) {
  .of-stage.ax {
    padding: 72px 0 26px;
    border-radius: 22px;
  }
  .ax-top {
    top: 18px;
    left: 16px;
    right: 16px;
  }
  .ax-grid {
    --w: 78%;
    display: flex;
    gap: 12px;
    transform: translateX(calc((100% - var(--w)) / 2 - var(--at) * (var(--w) + 12px)));
    transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.25, 1.08);
  }
  .ax-card {
    flex: 0 0 var(--w);
    min-height: 268px;
    padding: 16px;
    font-size: 14px;
  }
  .ax-feed {
    margin: 18px 14px 0;
    min-height: 54px;
    align-items: start;
  }
  .ax-feed span {
    border-radius: 18px;
    font-size: 13px;
  }
  .of.is-live .ax-card {
    transform: scale(0.94);
    opacity: 0.75;
  }
  .of.is-live .ax-card.is-on {
    transform: none;
    opacity: 1;
  }
}

/* the readout and the slider, under the stage */
.of-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
  margin-top: 36px;
}
.of-readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.of-time {
  min-width: 2.9em;
  font-size: clamp(60px, 6.2vw, 92px);
  line-height: 0.84;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.of-half {
  margin-left: 0.08em;
  font-size: 0.3em;
  letter-spacing: 0;
  color: var(--muted);
}
.of-name {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.of-line {
  min-height: 4.5em;
  margin-top: 8px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.5;
  color: #9a9a95;
  text-wrap: pretty;
}
.of-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}
.of-step b {
  font-weight: 400;
  color: #f4f4f1;
}
.of-range {
  --f: 0;
  position: relative;
  height: 48px;
  margin-top: 6px;
}
.of-track {
  position: absolute;
  left: 15px;
  right: 15px;
  top: 50%;
  height: 2px;
  translate: 0 -50%;
  border-radius: 2px;
  background: #3a3a37;
  pointer-events: none;
}
.of-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #eeedea;
  transform-origin: 0 50%;
  scale: var(--f) 1;
  transition: scale 0.45s var(--ease);
}
.of-track i {
  position: absolute;
  top: 50%;
  left: calc(var(--i) / var(--n) * 100%);
  width: 6px;
  height: 6px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #3a3a37;
  transition: background 0.3s;
}
.of-track i.is-in {
  background: #eeedea;
}
.of-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.of-input:active {
  cursor: grabbing;
}
.of-input::-webkit-slider-runnable-track {
  height: 48px;
  background: transparent;
}
.of-input::-moz-range-track {
  height: 48px;
  background: transparent;
}
.of-input::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: 9px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f1;
  box-shadow:
    0 0 0 6px rgba(244, 244, 241, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.45);
  -webkit-appearance: none;
  appearance: none;
  transition:
    box-shadow 0.25s var(--ease),
    scale 0.25s var(--ease);
}
.of-input::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f1;
  box-shadow:
    0 0 0 6px rgba(244, 244, 241, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.45);
}
.of-input:active::-webkit-slider-thumb {
  scale: 1.08;
}
.of-input:focus-visible {
  outline: none;
}
.of-input:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 3px #111110,
    0 0 0 5px #8fd6cc;
}
.of-input:focus-visible::-moz-range-thumb {
  box-shadow:
    0 0 0 3px #111110,
    0 0 0 5px #8fd6cc;
}
/* while the day plays by itself, the thumb asks to be moved */
.of-range.is-inviting .of-input::-webkit-slider-thumb {
  animation: of-invite 1.8s var(--ease) infinite;
}
@keyframes of-invite {
  50% {
    box-shadow:
      0 0 0 13px rgba(244, 244, 241, 0.16),
      0 6px 16px rgba(0, 0, 0, 0.45);
  }
}
.of-scale {
  position: relative;
  height: 14px;
  margin: 2px 15px 0;
}
.of-scale span {
  position: absolute;
  left: calc(var(--i) / var(--n) * 100%);
  translate: -50% 0;
  font-size: 11px;
  line-height: 14px;
  color: #6a6a66;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s;
}
.of-scale span:first-child {
  translate: -20% 0;
}
.of-scale span:last-child {
  translate: -80% 0;
}
.of-scale .is-in {
  color: #a9a9a4;
}
.of-scale .is-now {
  color: #f4f4f1;
}
.of-cta {
  margin-top: 30px;
}
.of-note,
.ct-note {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: none;
  font-size: 12px;
  line-height: 1.55;
  color: #7c7c78;
}
/* every stop, in words: shown where the slider can't run */
.of-all {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.of-all span {
  font-size: 11px;
  color: #7c7c78;
}
.of-all strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.of-all p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #9a9a95;
}
.of.is-live .of-all {
  display: none;
}
.of:not(.is-live) .of-side {
  display: none;
}
.of:not(.is-live) .of-panel {
  grid-template-columns: 1fr;
}

@media (max-width: 1050px) {
  .of-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .of-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .of {
    display: flex;
    flex-direction: column;
  }
  .of-panel {
    display: contents;
  }
  .of-readout {
    order: -1;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }
  .of-time {
    font-size: 56px;
  }
  .of-name {
    font-size: 20px;
  }
  .of-line {
    min-height: 4.5em;
    font-size: 14px;
  }
  .of-side {
    margin-top: 14px;
  }
  .of-scale {
    display: none;
  }
  .of-cta {
    margin-top: 16px;
  }
  .of-all {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ---- 2 · You stay in control ---- */
.ct {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.ct-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--hero-radius);
  background: #181816;
}
.ct-k {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #7c7c78;
}
.ct-card h3 {
  margin-top: 40px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.ct-body {
  min-height: 4.5em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #9a9a95;
  text-wrap: pretty;
}
.ct-queue {
  margin-top: 24px;
}
.ct-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  color: #9a9a95;
}
.ct-count b {
  font-size: 15px;
  font-weight: 500;
  color: #f4f4f1;
  font-variant-numeric: tabular-nums;
}
.ct-count em {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid #3a3a37;
  border-radius: 99px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* the drafts: one on top, the others waiting behind it */
.ct-stack {
  position: relative;
  height: 196px;
  margin-top: 14px;
}
.ct-draft {
  position: absolute;
  inset: 0 0 22px;
  padding: 16px;
  border-radius: 16px;
  background: #f4f4f1;
  color: #111110;
  font-size: 13px;
  line-height: 1.4;
  transform-origin: 50% 100%;
  transition:
    transform 0.6s var(--ease),
    opacity 0.45s,
    filter 0.45s;
}
.ct-draft[data-pos="0"] {
  z-index: 3;
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.8);
}
.ct-draft[data-pos="1"] {
  z-index: 2;
  transform: translateY(11px) scale(0.955);
  filter: brightness(0.8);
}
.ct-draft[data-pos="2"] {
  z-index: 1;
  transform: translateY(22px) scale(0.91);
  filter: brightness(0.62);
}
.ct-draft[data-pos="gone"] {
  z-index: 4;
  opacity: 0;
  transform: translate(46%, -60%) rotate(9deg) scale(0.9);
  pointer-events: none;
  transition:
    transform 0.6s var(--ease-in),
    opacity 0.45s 0.15s;
}
.ct-draft:not([data-pos="0"]) > :not(.ct-draft-head) {
  opacity: 0;
}
.ct-draft > * {
  transition: opacity 0.3s;
}
.ct-draft-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct-draft-head .lp-glyph {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111110;
  color: #f4f4f1;
}
.ct-draft-head .lp-glyph svg {
  width: 17px;
  height: 17px;
}
.ct-draft-head strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.ct-draft-head em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #6a6a66;
}
.ct-draft ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.ct-draft li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid #dcdcd6;
}
.ct-draft li span {
  color: #4e4e4a;
}
.ct-draft li b {
  font-weight: 500;
  text-align: right;
}
.ct-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 8px;
  border: 1.5px solid #111110;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  rotate: -6deg;
  opacity: 0;
}
.ct-stamp svg {
  width: 13px;
  height: 13px;
}
.ct-draft.is-sent .ct-stamp {
  opacity: 1;
  animation: ct-stamp 0.4s var(--ease);
}
.ct-draft.is-held {
  animation: ct-held 0.45s var(--ease);
}
@keyframes ct-stamp {
  from {
    opacity: 0;
    transform: scale(1.9);
  }
}
@keyframes ct-held {
  30% {
    transform: translateX(-7px);
  }
  65% {
    transform: translateX(5px);
  }
}
.ct-empty {
  position: absolute;
  inset: 0 0 22px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  border: 1px dashed #45453f;
  border-radius: 16px;
  font-size: 14px;
  text-align: center;
  animation: of-row 0.5s var(--ease);
}
.ct-empty[hidden] {
  display: none;
}
.ct-empty p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-empty svg {
  width: 15px;
  height: 15px;
}
.ct-empty button {
  padding: 8px 16px;
  border: 1px solid #45453f;
  border-radius: 99px;
  background: none;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}
.ct-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.ct-actions button {
  height: 46px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    scale 0.2s var(--ease),
    background 0.2s,
    opacity 0.2s;
}
.ct-actions button:active {
  scale: 0.97;
}
.ct-actions button:disabled {
  opacity: 0.35;
  cursor: default;
}
.ct-approve {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: #f4f4f1;
  color: #111110;
}
.ct-approve svg {
  width: 15px;
  height: 15px;
}
.ct-hold {
  padding: 0 20px;
  border: 1px solid #45453f;
  background: none;
  color: #eeedea;
}
.ct-actions button:focus-visible,
.ct-empty button:focus-visible,
.ct-jobs button:focus-visible {
  outline: 2px solid #8fd6cc;
  outline-offset: 3px;
}
.ct:not(.is-live) .ct-actions {
  display: none;
}
/* a switch for each job */
.ct-jobs {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ct-jobs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.ct-jobs li > span {
  transition: color 0.3s;
}
.ct-jobs li:has([aria-checked="false"]) > span {
  color: #7c7c78;
}
.ct-jobs button {
  flex: none;
  position: relative;
  width: 46px;
  height: 28px;
  padding: 0;
  border: 1px solid #45453f;
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.ct-jobs button i {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7c7c78;
  transition:
    transform 0.4s var(--ease),
    background 0.3s;
}
.ct-jobs button[aria-checked="true"] {
  border-color: #f4f4f1;
  background: #f4f4f1;
}
.ct-jobs button[aria-checked="true"] i {
  background: #111110;
  transform: translateX(18px);
}
.ct-sum {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #9a9a95;
}
.ct-sum b {
  font-weight: 500;
  color: #f4f4f1;
}
.ct-meter {
  flex: none;
  display: flex;
  gap: 3px;
}
.ct-meter i {
  width: 5px;
  height: 16px;
  border-radius: 3px;
  background: #3a3a37;
  transition: background 0.3s;
}
.ct-meter .is-on {
  background: #f4f4f1;
}
/* the log: the newest line on top */
.ct-log {
  flex: 1;
  min-height: 250px;
  max-height: 290px;
  margin: 24px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}
.ct-log li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.4;
}
.ct-log time {
  color: #7c7c78;
  font-variant-numeric: tabular-nums;
}
.ct-log li.is-new {
  animation: ct-line 0.6s var(--ease);
}
.ct-log li.is-new span {
  animation: ct-flash 1.6s;
}
@keyframes ct-line {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes ct-flash {
  from {
    color: #111110;
    background: #f4f4f1;
    box-shadow: 0 0 0 4px #f4f4f1;
  }
}
.ct-log li span {
  border-radius: 3px;
  justify-self: start;
}
@media (max-width: 1050px) {
  .ct {
    grid-template-columns: 1fr 1fr;
  }
  .ct-card--queue {
    grid-column: 1 / -1;
  }
  .ct-stack {
    max-width: 440px;
  }
  .ct-actions {
    max-width: 440px;
  }
}
@media (max-width: 760px) {
  .ct {
    grid-template-columns: 1fr;
  }
  .ct-card {
    padding: 22px;
    border-radius: 20px;
  }
  .ct-card h3 {
    margin-top: 26px;
  }
  .ct-body {
    min-height: 0;
  }
  .ct-log {
    min-height: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-draft,
  .ct-jobs button i,
  .of-fill {
    transition: none;
  }
  .ct-draft.is-sent .ct-stamp,
  .ct-draft.is-held,
  .ct-log li.is-new,
  .ct-log li.is-new span,
  .ct-empty {
    animation: none;
  }
}
@media print {
  .of-side,
  .ct-actions {
    display: none;
  }
}

/* With Motion loaded, office.js moves the pile and the switches on springs instead */
.ct.is-sprung .ct-draft {
  transition:
    box-shadow 0.4s;
}
.ct.is-sprung .ct-jobs button i {
  transition: background 0.3s;
}

/* a sent draft leaves to the right; keep it from widening the page */
.ct {
  overflow-x: clip;
}
.ct-cta {
  margin-top: 30px;
}

/* The control section in the Astryx look: one lit panel, white cards, black pills */
.lp-control .ct {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(16px, 2.4vw, 36px);
  border-radius: 28px;
  background: var(--ax-ground);
}
.lp-control .ax-glow {
  animation: ax-drift 18s ease-in-out infinite alternate-reverse;
}
.lp-control .ct-card {
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ax-shadow-low);
  padding: 24px;
}
.lp-control .ct-k {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #111110;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}
.lp-control .ct-card h3 {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ax-ink);
}
.lp-control .ct-body {
  font-size: 15px;
  color: var(--ax-ink-2);
}
.lp-control .ct-count {
  font-size: 14px;
  color: var(--ax-ink-2);
}
.lp-control .ct-count b {
  font-size: 18px;
  font-weight: 500;
  color: var(--ax-ink);
}
.lp-control .ct-count em {
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.lp-control .ct-draft {
  border: 1px solid var(--ax-line);
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  box-shadow: var(--ax-shadow-low);
}
.lp-control .ct-draft[data-pos="0"] {
  box-shadow: var(--ax-shadow-high);
}
.lp-control .ct-draft-head .lp-glyph {
  border-radius: 10px;
  background: #ecece8;
  color: #111110;
}
.lp-control .ct-draft-head strong {
  font-size: 16px;
  font-weight: 500;
}
.lp-control .ct-draft-head em {
  font-size: 12.5px;
  color: var(--ax-ink-2);
}
.lp-control .ct-draft li {
  border-top-color: var(--ax-line);
}
.lp-control .ct-draft li span {
  color: var(--ax-ink-2);
}
.lp-control .ct-draft li b {
  font-weight: 500;
}
.lp-control .ct-stamp {
  border: 0;
  border-radius: 6px;
  background: #111110;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.lp-control .ct-empty {
  border-color: rgba(255, 255, 255, 0.7);
  color: #111110;
  color: var(--ax-ink);
  font-size: 15px;
  font-weight: 500;
}
.lp-control .ct-empty svg {
  color: #111110;
}
.lp-control .ct-empty button {
  border: 0;
  background: #000;
  color: #fff;
  font-weight: 500;
}
.lp-control .ct-approve {
  background: #000;
  color: #fff;
  font-weight: 500;
}
.lp-control .ct-hold {
  border: 1px solid #d4d4d4;
  background: #fff;
  color: var(--ax-ink);
  font-weight: 500;
}
.lp-control .ct-actions button:hover:not(:disabled) {
  scale: 1.02;
}
.lp-control .ct-actions button:focus-visible,
.lp-control .ct-empty button:focus-visible,
.lp-control .ct-jobs button:focus-visible {
  outline-color: var(--ax-blue);
}
.lp-control .ct-jobs li {
  border-top-color: var(--ax-line);
  font-size: 15px;
  font-weight: 500;
}
.lp-control .ct-jobs li:has([aria-checked="false"]) > span {
  color: var(--ax-ink-3);
}
.lp-control .ct-jobs button {
  width: 40px;
  height: 24px;
  border: 0;
  background: #d4d4d4;
}
.lp-control .ct-jobs button i {
  width: 18px;
  height: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.lp-control .ct-jobs button[aria-checked="true"] {
  background: #111;
}
.lp-control .ct-jobs button[aria-checked="true"] i {
  background: #fff;
  transform: translateX(16px);
}
.lp-control .ct-sum {
  border-top-color: var(--ax-line);
  font-size: 14px;
  color: var(--ax-ink-2);
}
.lp-control .ct-sum b {
  font-weight: 500;
  color: var(--ax-ink);
}
.lp-control .ct-meter i {
  background: #e2e2e2;
}
.lp-control .ct-meter .is-on {
  background: #111;
}
.lp-control .ct-log li {
  grid-template-columns: 56px minmax(0, 1fr);
  border-top-color: var(--ax-line);
  font-size: 14px;
}
.lp-control .ct-log time {
  color: var(--ax-ink-3);
  line-height: 22px;
}
.lp-control .ct-log .ax-badge {
  margin-right: 4px;
}
.lp-control .ct-log li.is-new span {
  animation: none;
}
.lp-control .ct-log li.is-new .ax-badge {
  animation: ax-pop 0.45s 0.1s cubic-bezier(0.2, 0.9, 0.25, 1.6) both;
}
@media (max-width: 760px) {
  .lp-control .ct {
    padding: 12px;
    border-radius: 22px;
  }
  .lp-control .ct-card {
    padding: 20px;
  }
}

/* ---- 3 · The hero's agent cards (the gradient hero itself is in ax.css) ----
   Ink on the gradient, as on Lumen's Instagram, with a few of the office's cards afloat beside the
   headline. They loop quietly; with reduced motion they are still. */
.hx {
  --ax-ground: none;
}
.hx-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.hx-stage {
  position: absolute;
  inset: 0 0 0 52%;
}
.hx-card,
.hx-pill {
  position: absolute;
  animation: hx-in 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
  animation-delay: calc(0.5s + var(--i) * 0.16s);
}
.hx-card {
  width: 300px;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 6px 10px rgba(0, 0, 0, 0.1),
    0 30px 60px rgba(20, 40, 60, 0.28);
  font-size: 13.5px;
  line-height: 1.35;
}
.hx-card > * + * {
  margin-top: 10px;
}
.hx-card .ax-when {
  margin-bottom: 0;
}
.hx-card--order {
  right: 7%;
  top: 34%;
  z-index: 2;
  rotate: 2.5deg;
}
.hx-card--tally {
  left: 9%;
  bottom: 9%;
  width: 230px;
  rotate: 3deg;
}
.hx-pill {
  right: 5%;
  bottom: 11%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 290px;
  padding: 7px 14px 7px 7px;
  border-radius: 18px;
  background: #111110;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  rotate: -2deg;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.hx-pill .ax-agent {
  background: #fff;
  color: #111110;
}
.hx-line b {
  display: block;
  font-weight: 500;
}
.hx-line em {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: var(--ax-ink-2);
}
.hx-faces {
  display: flex;
  align-items: center;
}
.hx-faces .ax-agent {
  width: 30px;
  height: 30px;
  margin-right: -8px;
  border: 2px solid #fff;
}
.hx-faces .ax-agent svg {
  width: 13px;
  height: 13px;
}
.hx-faces span {
  margin-left: 16px;
  font-size: 12.5px;
  color: var(--ax-ink-2);
}
.hx-num b {
  margin-right: 4px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
@keyframes hx-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* each card bobs at its own pace */
  .hx-card,
  .hx-pill {
    animation:
      hx-in 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.1) both,
      hx-bob 7s ease-in-out infinite alternate;
    animation-delay: calc(0.5s + var(--i) * 0.16s), calc(1.5s + var(--i) * -1.7s);
  }
  @keyframes hx-bob {
    from {
      translate: 0 -7px;
    }
    to {
      translate: 0 8px;
    }
  }
  .hx .ax-bar i {
    animation: hx-bar 9s ease-in-out infinite;
  }
  @keyframes hx-bar {
    0% {
      transform: scaleX(0.55);
    }
    60%,
    100% {
      transform: scaleX(0.82);
    }
  }
}
@media (max-width: 1280px) {
  .hx-stage {
    inset: 0 0 0 50%;
  }
  .hx-card {
    width: 270px;
  }
  .hx-card--tally {
    width: 210px;
  }
}
@media (max-width: 1050px) {
  .hx-stage {
    inset: 0 0 0 auto;
    width: 320px;
  }
  .hx-card--call,
  .hx-pill {
    display: none;
  }
  .hx-card--order {
    right: 20px;
    top: 16%;
    width: 280px;
  }
  .hx-card--tally {
    left: auto;
    right: 60px;
    bottom: 12%;
  }
}
@media (max-width: 760px) {
  .lp-hero--sunset.lp-hero--visual .lp-hero-art {
    height: 420px;
    overflow: visible;
  }
  .hx-tag {
    display: none;
  }
  .hx-stage {
    inset: 0;
    width: auto;
  }
  .hx-card {
    width: min(74%, 290px);
  }
  .hx-card--call {
    display: block;
    left: 16px;
    top: 14px;
  }
  .hx-card--order {
    right: 16px;
    top: 118px;
  }
  .hx-card--tally {
    display: none;
  }
  .hx-pill {
    display: flex;
    left: 16px;
    right: auto;
    bottom: 12px;
    max-width: 78%;
  }
}

/* The hero, to try: every agent's card in one pile, leaning with the pointer. The chips under the
   headline put an agent's card on top, where it plays. */
.hx-stage {
  perspective: 1400px;
  pointer-events: auto;
}
.hx-deck {
  position: absolute;
  right: 12%;
  top: 14%;
  z-index: 2;
  width: 340px;
  height: 300px;
  transform: rotateY(calc(var(--px, 0) * 7deg)) rotateX(calc(var(--py, 0) * -6deg)) rotate(2deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
  animation: hx-in 0.9s 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.1) both;
  cursor: pointer;
}
/* two sheets under the top card, so it reads as a pile */
.hx-deck::before,
.hx-deck::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(14px, 14px) rotate(3deg);
}
.hx-deck::after {
  background: rgba(255, 255, 255, 0.3);
  transform: translate(28px, 26px) rotate(6deg);
}
.hx-deck .ax-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  box-shadow:
    0 6px 10px rgba(0, 0, 0, 0.1),
    0 30px 60px rgba(20, 40, 60, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 0.3s,
    transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.15),
    visibility 0s 0.3s;
}
.hx-deck .ax-card.is-on {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.3s,
    transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}
.hx-card--tally {
  translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px);
  transition: translate 0.5s ease-out;
}
.hx-pill {
  translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 12px);
  transition: translate 0.5s ease-out;
}
.hx-pill.is-new {
  animation: ax-rise 0.5s cubic-bezier(0.2, 0.9, 0.25, 1.3);
}
.hx-num.is-new b {
  display: inline-block;
  animation: ax-pop 0.45s cubic-bezier(0.2, 0.9, 0.25, 1.6);
}
/* the chips are the controls: the agent on top is the black one */
.lp-hero--sunset .hx-chip {
  font: inherit;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    scale 0.2s;
}
.lp-hero--sunset .hx-chip:hover {
  background: rgba(255, 255, 255, 0.7);
}
.lp-hero--sunset .hx-chip:active {
  scale: 0.96;
}
.lp-hero--sunset .hx-chip[aria-pressed="true"] {
  border-color: #111110;
  background: #111110;
  color: #fff;
}
.lp-hero--sunset .hx-chip:focus-visible {
  outline: 2px solid #111110;
  outline-offset: 3px;
}
.lp-hero--sunset .lp-hero-chips {
  position: relative;
  z-index: 3;
}
@media (max-width: 1280px) {
  .hx-deck {
    right: 9%;
    width: 310px;
  }
}
@media (max-width: 1050px) {
  .hx-deck {
    right: 24px;
    top: 14%;
    width: 280px;
    height: 310px;
  }
  .hx-pill {
    display: none;
  }
}
@media (max-width: 760px) {
  .lp-hero--sunset.lp-hero--visual .lp-hero-art {
    height: 440px;
  }
  .hx-deck {
    left: 50%;
    right: auto;
    top: 26px;
    width: min(84%, 330px);
    height: 300px;
    margin-left: calc(min(84%, 330px) / -2);
  }
  .hx-pill {
    display: flex;
    left: 16px;
    bottom: 14px;
  }
}
