/* Homepage agentic workflow section (#mcp in src/pages/index-test-temp.astro) and the
   "Draw your stack" picker inside it (#your-workflow). Behaviour: js/workflow-stack.js.

   Rurik, 2026-10-12: the copy sits beside the video from 1280 (the video no longer runs
   the full width); the trace and the two buttons are gone; the picker's own intro became
   a teaser card under the copy, with a thumbnail of the picker; the card opens the
   picker below and focuses Brief. The picker is a panel, not a diagram, so it doesn't
   echo the hero's staggered tool cards: a row per step (Brief, Design, Write, Segment,
   ESP), the tools as toggle pills, and the film "ticket" (credits + work email) beside
   the panel from 1280, below it under that. Phones get one step at a time with a
   sticky "Now casting" strip and the ticket on Finish.

   Built on the homepage's pieces (.mcp-* from homepage.css / sonia-sandbox.css,
   .section-intro, .highlight, .btn-citron); type from the --type-* tokens. Scoped to
   .mcp-section--stack so other copies of the MCP section don't change. Every picker
   class is .ws-* (homepage.css already has .stack-section / .stack-inner). */

/* ---------- Section: copy | video from 1280 ---------- */
/* clip both axes (sonia-sandbox sets overflow: hidden, refresh overflow-x: clip, which
   computes to a scroll container) so the mobile strip can stay sticky. */
.modern .mcp-section.mcp-section--stack { overflow: clip; }
.mcp-section--stack .mcp-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.mcp-section--stack .mcp-aside { display: contents; }
.mcp-section--stack .mcp-aside > .section-intro { order: 1; margin-bottom: 0; }
.mcp-section--stack .mcp-figure { order: 2; margin: 0; }
.mcp-section--stack .ws-teaser { order: 3; }

@media (min-width: 1280px) {
  .mcp-section--stack .mcp-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: center; }
  .mcp-section--stack .mcp-aside { display: flex; flex-direction: column; gap: 32px; }
  /* The split header's lede column doesn't apply in the narrow copy column: stack it. */
  .mcp-section--stack .mcp-aside > .section-intro.section-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: none; }
}

/* ---------- Teaser: opens the picker ---------- */
.ws-teaser {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; width: 100%; padding: 16px; margin: 0;
  font: inherit; text-align: left; color: #fff; cursor: pointer;
  background: rgba(201, 254, 255, .05); border: 1px solid rgba(201, 254, 255, .22); border-radius: 12px;
  transition: background .2s ease, border-color .2s ease;
}
.ws-teaser[hidden] { display: none; }
.ws-teaser:hover { background: rgba(201, 254, 255, .09); border-color: rgba(255, 250, 102, .6); }
.ws-teaser:focus-visible { outline: 2px solid #FFFA66; outline-offset: 3px; }
.ws-teaser-thumb {
  flex: none; display: flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 8px; background: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transform: rotate(-2deg); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.ws-teaser:hover .ws-teaser-thumb { transform: rotate(0) scale(1.03); }
.ws-thumb-row { display: flex; align-items: center; gap: 4px; }
.ws-thumb-row + .ws-thumb-row { padding-top: 5px; border-top: 1px solid rgba(32, 31, 29, .08); }
.ws-thumb-step { flex: none; width: 18px; height: 18px; margin-right: 4px; border-radius: 50%; display: grid; place-items: center; color: #6B665E; border: 1px solid rgba(32, 31, 29, .22); }
.ws-thumb-step svg { width: 11px; height: 11px; }
.ws-thumb-pill { display: inline-flex; align-items: center; gap: 3px; height: 16px; padding: 0 5px 0 2px; border-radius: 999px; border: 1px solid rgba(32, 31, 29, .18); }
.ws-thumb-pill img { width: 10px; height: 10px; object-fit: contain; }
.ws-thumb-pill i { width: 18px; height: 3px; border-radius: 2px; background: rgba(32, 31, 29, .18); }
.ws-thumb-pill.ws-on { background: #FFFA66; border-color: #201F1D; }
.ws-thumb-pill.ws-on i { background: rgba(32, 31, 29, .5); }
.ws-teaser-copy { flex: 1 1 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ws-teaser-label { font-family: var(--font-mono); font-size: var(--type-label-s); font-weight: 500; letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: #C9FEFF; opacity: .8; }
.ws-teaser-title { font-size: var(--type-h4); font-weight: 500; line-height: var(--type-h4-lh); letter-spacing: var(--type-h4-ls); color: #fff; }
.ws-teaser-hl { padding: 0 .08em; color: #201F1D; background: #FFFA66; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ws-teaser-sub { font-size: var(--type-caption); line-height: 1.45; color: rgba(255, 255, 255, .72); }
.ws-teaser .ws-teaser-cta { margin-top: 8px; pointer-events: none; }
.ws-teaser:hover .ws-teaser-cta { background: var(--kit-citron-tint, #FFFDC7); }

/* ---------- Picker ---------- */
.ws-section {
  --ws-teal-dark: var(--kit-teal-dark, #0D2828);
  --ws-teal-shade: var(--kit-teal-shade, #0C505D);
  --ws-teal-medium: var(--kit-teal-medium, #0A7891);
  --ws-teal-hi: var(--kit-teal-highlight, #C9FEFF);
  --ws-citron: var(--kit-citron-highlight, #FFFA66);
  --ws-citron-tint: var(--kit-citron-tint, #FFFDC7);
  --ws-ivory-tint: var(--kit-ivory-tint, #F8F7F7);
  --ws-ivory-medium: var(--kit-ivory-medium, #E4E1DF);
  --ws-ivory-dark: var(--kit-ivory-dark, #6B665E);
  --ws-black: var(--kit-black, #201F1D);
  --ws-white: var(--kit-white, #FFFFFF);
  --ws-line: rgba(32, 31, 29, .12);     /* the refresh hairline */
  --ws-line-strong: rgba(32, 31, 29, .22);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
  margin-top: var(--l-section-gap);
  scroll-margin-top: 88px; /* clear the sticky header */
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  color: var(--ws-black);
}
.ws-section[hidden] { display: none; }
.ws-section.ws-is-opening { animation: wsReveal .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes wsReveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Opening the picker points at the first step. */
.ws-col.ws-cue { animation: wsCue 1.6s ease-out; }
@keyframes wsCue { 0%, 40% { background: var(--ws-citron-tint); } 100% { background: transparent; } }
.ws-section *, .ws-section *::before, .ws-section *::after { box-sizing: border-box; }
.ws-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ws-section :is(.ws-preset, .ws-chip, .ws-clear, .ws-other-input, .ws-email, .ws-step-tab, .ws-nav-back, .ws-nav-next):focus-visible { outline: 2px solid var(--ws-teal-medium); outline-offset: 2px; }
.ws-section :is(.ws-ticket .ws-email, .ws-ticket .ws-btn, .ws-nav-back, .ws-nav-next):focus-visible { outline-color: var(--ws-citron); }


/* ---------- Panel ---------- */
.ws-board { background: var(--ws-white); border: 1px solid var(--ws-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(32, 31, 29, .04), 0 12px 32px -16px rgba(32, 31, 29, .12); overflow: hidden; }
.ws-board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 12px 20px; border-bottom: 1px solid var(--ws-line); background: var(--ws-ivory-tint); }
.ws-section .ws-board-hint { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: var(--type-label-s); font-weight: 500; letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--ws-teal-medium); }
.ws-board-hint::before { /* a tap mark: this panel is the form */
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ws-teal-medium);
  box-shadow: 0 0 0 4px rgba(10, 120, 145, .16); animation: wsPulse 2.4s ease-in-out infinite;
}
@keyframes wsPulse { 50% { box-shadow: 0 0 0 7px rgba(10, 120, 145, 0); } }

.ws-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-presets-label { font-family: var(--font-mono); font-size: var(--type-label-s); letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--ws-ivory-dark); margin-right: 2px; }
.ws-preset {
  font: inherit; font-size: var(--type-caption); line-height: 1.3; color: var(--ws-teal-shade); background: var(--ws-white);
  border: 1px solid rgba(10, 120, 145, .35); border-radius: 999px; padding: 6px 12px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.ws-preset:hover { background: rgba(201, 254, 255, .45); border-color: var(--ws-teal-medium); }
.ws-clear { font: inherit; font-size: var(--type-caption); color: var(--ws-ivory-dark); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 4px; }
.ws-clear:hover { color: var(--ws-black); }

/* Rows: step label | tool pills, with a rail of step marks down the left. */
.ws-columns { position: relative; }
.ws-columns::before { /* the rail between the step marks */
  content: ""; position: absolute; left: 37px; top: 30px; bottom: 30px; border-left: 1px dashed var(--ws-line-strong);
}
.ws-col { position: relative; display: grid; grid-template-columns: 212px minmax(0, 1fr); align-items: center; }
.ws-col + .ws-col { border-top: 1px solid var(--ws-line); }
.ws-col-head { padding: 12px 12px 12px 20px; }
.ws-section .ws-col-title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: var(--type-h5); font-weight: 600; line-height: var(--type-h5-lh); color: var(--ws-black); }
.ws-step-icon { position: relative; z-index: 1; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ws-ivory-dark); background: var(--ws-white); border: 1px solid var(--ws-line-strong); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.ws-col.ws-has-pick .ws-step-icon { background: var(--ws-citron); border-color: var(--ws-black); color: var(--ws-black); }
.ws-section .ws-col-q { margin: 2px 0 0 48px; font-size: var(--type-caption); line-height: 1.4; color: var(--ws-ivory-dark); }
.ws-col-count { margin-left: 2px; font-family: var(--font-mono); font-size: var(--type-label-s); font-weight: 500; line-height: 1.5; color: var(--ws-black); background: var(--ws-citron); border-radius: 999px; padding: 0 7px; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .2s ease; }
.ws-col.ws-has-pick .ws-col-count { opacity: 1; transform: scale(1); }

.ws-chips { list-style: none; margin: 0; padding: 12px 20px 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ws-chips li { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; }
.ws-chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  font: inherit; font-size: var(--type-small); line-height: 1.2; color: var(--ws-black); text-align: left;
  background: var(--ws-white); border: 1px solid var(--ws-line-strong); border-radius: 999px; padding: 3px 12px 3px 4px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ws-chip:hover { border-color: var(--ws-teal-medium); box-shadow: 0 2px 8px -2px rgba(10, 120, 145, .25); transform: translateY(-1px); }
.ws-chip:active { transform: none; }
.ws-chip[aria-pressed="true"] { background: var(--ws-citron); border-color: var(--ws-black); box-shadow: inset 0 0 0 .5px var(--ws-black); }
/* Logo tile; a colored monogram when the logo is missing or fails to load. */
.ws-mono {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: var(--type-label-s); letter-spacing: -.02em; background: var(--ws-tile-bg, #ddd); color: var(--ws-tile-fg, #fff);
}
.ws-mono img { width: 18px; height: 18px; object-fit: contain; display: block; }
.ws-mono--logo { background: var(--ws-white); box-shadow: inset 0 0 0 1px var(--ws-ivory-medium); }
.ws-chip-name { min-width: 0; }
/* The tick takes no room until picked, then pops in at the end of the pill. */
.ws-tick { flex: none; width: 0; height: 18px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; margin-left: -8px; background: var(--ws-black); transform: scale(.4); opacity: 0; transition: width .2s ease, margin .2s ease, opacity .15s ease, transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.ws-chip[aria-pressed="true"] .ws-tick { width: 18px; margin-left: 0; opacity: 1; transform: scale(1); }
.ws-chip--other { border-style: dashed; }
.ws-chip--other { padding-left: 10px; color: var(--ws-ivory-dark); }
.ws-chip--other .ws-mono { width: auto; height: auto; background: transparent; color: inherit; font-weight: 500; font-size: var(--type-lede); line-height: 1; margin-right: -2px; }
.ws-chip--other[aria-pressed="true"] { color: var(--ws-black); }
.ws-other-wrap { display: flex; flex: 1 1 150px; }
.ws-other-wrap[hidden] { display: none; }
.ws-other-input { width: 100%; min-width: 150px; min-height: 36px; font: inherit; font-size: var(--type-small); color: var(--ws-black); background: var(--ws-white); border: 1px solid var(--ws-line-strong); border-radius: 999px; padding: 8px 14px; }

/* ---------- Ticket: credits and the email ---------- */
.ws-ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-self: start;
  border-radius: 12px; background: var(--ws-teal-shade); border: 1px solid rgba(201, 254, 255, .22); color: var(--ws-teal-hi); overflow: hidden; margin: 0;
}
/* The email is the point, so it comes first and loudest; the credits ("Now casting")
   sit underneath, quieter, as a receipt of the picks. */
.ws-claim { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 14px; border-top: 3px solid var(--ws-citron); }
.ws-section .ws-claim h3 { margin: 0; font-size: var(--type-h3); font-weight: 500; line-height: var(--type-h3-lh); letter-spacing: var(--type-h3-ls); color: var(--ws-white); text-wrap: balance; }
.ws-section .ws-claim p { margin: 0; font-size: var(--type-small); color: var(--ws-teal-hi); }
.ws-reel { position: relative; padding: 18px 28px 20px 48px; background: rgba(13, 40, 40, .45); border-left: 1px dashed rgba(201, 254, 255, .2); }
.ws-reel::before { /* film perforations */
  content: ""; position: absolute; left: 16px; top: 12px; bottom: 12px; width: 14px; opacity: .6;
  background: radial-gradient(circle at 7px 7px, var(--ws-teal-dark) 3.5px, transparent 4px) 0 0 / 14px 20px repeat-y;
}
.ws-reel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; margin-bottom: 10px; }
.ws-section .ws-reel-title { margin: 0; font-family: var(--font-mono); font-size: var(--type-label-s); font-weight: 500; letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--ws-teal-hi); opacity: .6; }
.ws-runtime { font-family: var(--font-mono); font-size: var(--type-label-s); letter-spacing: .06em; color: var(--ws-teal-hi); opacity: .5; font-variant-numeric: tabular-nums; }
.ws-credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ws-credits li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; margin: 0; font-size: var(--type-caption); }
.ws-credits .ws-role { font-family: var(--font-mono); font-size: var(--type-label-s); letter-spacing: .08em; text-transform: uppercase; color: var(--ws-teal-hi); opacity: .45; }
.ws-credits .ws-who { color: rgba(255, 255, 255, .78); overflow-wrap: anywhere; }
.ws-credits .ws-who.ws-empty { color: var(--ws-teal-hi); opacity: .35; font-style: italic; }
.ws-credits .ws-who .ws-pop { display: inline-block; animation: wsPop .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes wsPop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
.ws-meter { display: flex; gap: 4px; margin-top: 12px; }
.ws-meter span { flex: 1; height: 3px; border-radius: 2px; background: rgba(201, 254, 255, .14); transition: background .25s ease; }
.ws-meter span.ws-on { background: rgba(255, 250, 102, .7); }

.ws-claim-form { display: flex; flex-direction: column; gap: 12px; }
.ws-field { display: flex; gap: 8px; flex-wrap: wrap; }
.ws-email { flex: 1 1 200px; min-width: 0; font: inherit; font-size: var(--type-body); color: var(--ws-black); background: var(--ws-white); border: 0; border-radius: 8px; padding: 14px; min-height: 52px; }
.ws-btn { flex: none; cursor: pointer; }
.ws-section .ws-hint { font-size: var(--type-caption); color: var(--ws-teal-hi); opacity: .8; min-height: 1.5em; }
.ws-section .ws-hint.ws-err { color: var(--ws-citron); opacity: 1; }
.ws-ticket.ws-is-sending .ws-btn { opacity: .6; pointer-events: none; }

.ws-done { display: none; }
.ws-ticket.ws-is-done .ws-claim-form { display: none; }
.ws-ticket.ws-is-done .ws-done { display: flex; flex-direction: column; gap: 10px; }
.ws-stamp { align-self: flex-start; font-family: var(--font-mono); font-weight: 500; font-size: var(--type-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ws-citron); border: 2px solid var(--ws-citron); border-radius: 6px; padding: 6px 12px; transform: rotate(-4deg); animation: wsStamp .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes wsStamp { from { transform: rotate(-4deg) scale(1.8); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }

/* The hidden Marketo form that carries the submission. */
.ws-mkto { display: none !important; }

/* ---------- Panel | ticket from 1280 (as the split section headers); below
   that the panel needs the full width and the ticket goes underneath. ---------- */
@media (min-width: 1280px) {
  .ws-section { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 24px; }
  .ws-board { grid-column: 1; }
  .ws-ticket { grid-column: 2; grid-template-columns: minmax(0, 1fr); position: sticky; top: 96px; }
  .ws-reel { border-left: 0; border-top: 1px dashed rgba(201, 254, 255, .2); }
}
@media (min-width: 600px) and (max-width: 1279.98px) {
  .ws-col { grid-template-columns: 188px minmax(0, 1fr); }
}
@media (min-width: 1440px) {
  .ws-section { column-gap: 32px; }
}

/* ---------- Mobile: one step at a time ---------- */
.ws-steps, .ws-step-nav, .ws-strip { display: none; }
@media (max-width: 599.98px) {
  .ws-section { gap: 20px; margin-top: 40px; }
  .ws-ticket { grid-template-columns: minmax(0, 1fr); }
  .ws-reel { padding: 16px 20px 18px 44px; border-left: 0; border-top: 1px dashed rgba(201, 254, 255, .2); }
  .ws-reel::before { left: 12px; }
  .ws-claim { padding: 24px 20px; }
  .ws-credits li { grid-template-columns: 76px minmax(0, 1fr); }

  .ws-board-head { padding: 14px 16px 12px; }
  /* Shortcuts wrap (mobile-polish handoff, 2026-10-12: the sideways scroll cut
     "We're a Salesforce shop" off with no hint that it scrolled). */
  .ws-presets { flex-wrap: wrap; row-gap: 8px; }
  .ws-columns::before { display: none; }
  .ws-col { grid-template-columns: minmax(0, 1fr); }
  .ws-col-head { padding: 16px 16px 4px; }
  .ws-chips { padding: 8px 16px 16px; }

  .ws-steps { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; padding: 12px 8px 2px; scroll-margin-top: 80px; /* clear the sticky header */ }
  .ws-steps::-webkit-scrollbar { display: none; }
  .ws-step-tab {
    flex: 1 1 0; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    font-family: var(--font-mono); font-weight: 500; font-size: var(--type-label-s); letter-spacing: 0; text-transform: uppercase;
    color: var(--ws-ivory-dark); background: var(--ws-white); border: 1px solid var(--ws-line-strong); border-radius: 999px;
    padding: 7px 5px; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .ws-step-tab .ws-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ws-line-strong); transition: background .2s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
  .ws-step-tab.ws-filled .ws-dot { background: var(--ws-black); transform: scale(1.3); }
  .ws-step-tab[aria-selected="true"] { background: var(--ws-teal-dark); color: var(--ws-white); border-color: var(--ws-teal-dark); }
  .ws-step-tab[aria-selected="true"].ws-filled .ws-dot { background: var(--ws-citron); }

  .ws-board { touch-action: pan-y; }
  .ws-col:not(.ws-is-active) { display: none; }
  .ws-col + .ws-col { border-top: 0; }
  .ws-col.ws-slide-next { animation: wsSlideNext .32s cubic-bezier(.2, .8, .2, 1); }
  .ws-col.ws-slide-prev { animation: wsSlidePrev .32s cubic-bezier(.2, .8, .2, 1); }

  .ws-step-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: -8px; }
  .ws-nav-back { font: inherit; font-size: var(--type-small); color: var(--ws-teal-hi); background: none; border: 0; padding: 10px 4px; cursor: pointer; }
  .ws-nav-back:disabled { opacity: .35; cursor: default; }
  .ws-step-pos { font-family: var(--font-mono); font-size: var(--type-label-s); letter-spacing: .08em; color: var(--ws-teal-hi); opacity: .7; font-variant-numeric: tabular-nums; }
  .ws-nav-next { font: inherit; font-weight: 600; font-size: var(--type-small); min-height: 44px; padding: 10px 18px; border-radius: 8px; border: 1px solid rgba(201, 254, 255, .35); background: transparent; color: var(--ws-teal-hi); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
  .ws-nav-next.ws-ready { background: var(--ws-citron); border-color: var(--ws-citron); color: var(--ws-black); }

  /* Quiet, like the ticket's credits: muted label, small text, a hairline meter. */
  .ws-strip {
    display: flex; flex-direction: column; gap: 5px; position: sticky; bottom: 0; z-index: 5;
    margin-inline: calc(-1 * var(--l-gutter)); padding: 8px var(--l-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 40, 40, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(201, 254, 255, .12);
  }
  .ws-strip-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: var(--type-label-s); letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--ws-teal-hi); opacity: .5; }
  .ws-strip-head span:last-child { font-variant-numeric: tabular-nums; }
  .ws-section .ws-strip-text { margin: 0; font-size: var(--type-caption); line-height: 1.4; color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ws-section .ws-strip-text.ws-empty { color: var(--ws-teal-hi); opacity: .45; font-style: italic; }
  .ws-strip .ws-meter { margin-top: 2px; gap: 3px; }
  .ws-strip .ws-meter span { height: 2px; }

  .ws-section.ws-mobile-casting .ws-ticket { display: none; }
  .ws-section:not(.ws-mobile-casting) .ws-strip { display: none; }
  .ws-ticket { scroll-margin-top: 80px; } /* clear the sticky header */
  .ws-btn { flex: 1 1 100%; }
}
@keyframes wsSlideNext { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes wsSlidePrev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .ws-section *, .ws-section *::before, .ws-section *::after { animation: none !important; transition: none !important; }
}
