/* Generated by scripts/build-sample-bundles.py from assets/js/samples.js and assets/css/samples.css. Do not edit. */
/* =====================================================================
   Parsa Dev live samples (shown on the Features pages)
   Every colour comes from the site theme (--primary, --accent, --ink …), so samples follow the palette
   picker and Light / Night. Each sample is fenced under its own pds- class. ".is-playing" plays a
   sample once on phones, which can't hover.
   Licence note: PDS-01 to PDS-05 started from MIT-licensed Uiverse.io designs (credits beside each).
   ===================================================================== */

/* keyboard users get the same effect as a mouse hover, plus a clear focus ring */
.pds-ink:focus-visible, .pds-plane:focus-visible, .pds-glide:focus-visible,
.pds-bloom__tile:focus-visible, .pds-petal:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 4px;
}

/* ---------- people who turn motion off on their device get instant, still changes ---------- */
@media (prefers-reduced-motion: reduce) {
  [class*="pds-"], [class*="pds-"]::before { transition: none !important; animation: none !important; }
}

/* ---------- shared scroll window for header samples (PDS-11 onwards) ---------- */
.pds-win {
  position: relative; width: min(100%, 520px); height: 320px; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface); scrollbar-width: thin;
}
.pds-win:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.pds-win__page { margin-top: -3.6rem; }
.pds-win__hero { display: grid; place-items: end start; height: 210px; padding: 1.2rem; color: #fff; font-family: var(--font-display, Georgia, serif); font-size: 1.3rem;
  background: linear-gradient(135deg, var(--primary), var(--accent)); }
.pds-win__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding: 1rem; }
.pds-win__row i { height: 90px; border-radius: 12px; background: linear-gradient(160deg, var(--primary-tint), color-mix(in srgb, var(--accent) 55%, var(--surface))); }
.pds-win__row i:nth-child(2) { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 45%, var(--surface)), var(--primary-tint)); }
.pds-win__band { height: 140px; margin: 0 1rem 1rem; border-radius: 14px; background: linear-gradient(90deg, var(--gold), var(--primary)); }
.pds-win__band--alt { background: linear-gradient(90deg, var(--accent), var(--primary-deep)); }

/* ---------- PDS-73 Spotlight Grid ---------- */
.pds-spotgrid, .pds-spotgrid *, .pds-spotgrid *::before, .pds-spotgrid *::after { box-sizing: border-box; }
.pds-spotgrid { --pds-spotgrid-x: 50%; --pds-spotgrid-y: 40%; --pds-spotgrid-ease: cubic-bezier(.22, 1, .36, 1);
  --pds-spotgrid-btn: color-mix(in srgb, var(--primary) 58%, #0a0f1c);
  position: relative; container-type: inline-size; width: min(100%, 520px); margin: 0 auto; overflow: hidden;
  text-align: center; line-height: 1.45; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 55%, transparent); }
.pds-spotgrid .pds-spotgrid__stage { position: relative; isolation: isolate; display: grid; place-items: center; height: 284px;
  padding: 2.6rem 1.2rem 2.4rem; overflow: hidden; touch-action: pan-y; background: var(--surface); }
/* three layers: a soft glow, the quiet pattern, and a brighter copy that only shows around the pointer */
.pds-spotgrid .pds-spotgrid__glow, .pds-spotgrid .pds-spotgrid__base, .pds-spotgrid .pds-spotgrid__lit { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pds-spotgrid .pds-spotgrid__glow { z-index: -2;
  background: radial-gradient(240px circle at var(--pds-spotgrid-x) var(--pds-spotgrid-y), color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%); }
.pds-spotgrid .pds-spotgrid__base { --pds-spotgrid-c: color-mix(in srgb, var(--ink) 22%, transparent); transition: opacity .18s ease; }
.pds-spotgrid .pds-spotgrid__lit { --pds-spotgrid-c: var(--primary); transition: opacity .18s ease;
  -webkit-mask-image: radial-gradient(150px circle at var(--pds-spotgrid-x) var(--pds-spotgrid-y), var(--ink), transparent);
  mask-image: radial-gradient(150px circle at var(--pds-spotgrid-x) var(--pds-spotgrid-y), var(--ink), transparent); }
.pds-spotgrid[data-pattern="dots"] :is(.pds-spotgrid__base, .pds-spotgrid__lit) { background-position: center;
  background-image: radial-gradient(circle, var(--pds-spotgrid-c) 1.25px, transparent 1.85px); background-size: 20px 20px; }
.pds-spotgrid[data-pattern="dots"] .pds-spotgrid__lit { background-image: radial-gradient(circle, var(--pds-spotgrid-c) 1.6px, transparent 2.2px); }
.pds-spotgrid[data-pattern="grid"] :is(.pds-spotgrid__base, .pds-spotgrid__lit) { background-position: center; background-size: 28px 28px;
  background-image: linear-gradient(90deg, var(--pds-spotgrid-c) 1px, transparent 1px), linear-gradient(var(--pds-spotgrid-c) 1px, transparent 1px); }
.pds-spotgrid[data-pattern="lines"] :is(.pds-spotgrid__base, .pds-spotgrid__lit) {
  background-image: repeating-linear-gradient(135deg, var(--pds-spotgrid-c) 0 1px, transparent 1px 11px); }
.pds-spotgrid[data-pattern="grid"] .pds-spotgrid__base { opacity: .5; }
.pds-spotgrid[data-pattern="lines"] .pds-spotgrid__base { opacity: .62; }
.pds-spotgrid.is-swap :is(.pds-spotgrid__base, .pds-spotgrid__lit) { opacity: 0; }
/* the optional soft fade at the edges */
.pds-spotgrid.is-faded .pds-spotgrid__base {
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 46%, var(--ink) 18%, transparent 96%);
  mask-image: radial-gradient(ellipse 62% 66% at 50% 46%, var(--ink) 18%, transparent 96%); }
.pds-spotgrid .pds-spotgrid__hint { position: absolute; top: .8rem; left: .8rem; display: inline-flex; align-items: center; gap: .45rem;
  max-width: calc(100% - 1.6rem); padding: .28rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 600; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; color: var(--ink-muted); background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--border); }
.pds-spotgrid .pds-spotgrid__hint::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.pds-spotgrid .pds-spotgrid__tag { position: absolute; right: .8rem; bottom: .75rem; padding: .3rem .55rem; border-radius: 7px;
  font: 500 .62rem/1.2 var(--font-mono, ui-monospace, monospace); letter-spacing: .03em; white-space: nowrap; color: var(--ink-muted);
  background: color-mix(in srgb, var(--surface-sunk) 88%, transparent); border: 1px solid var(--border); }
/* the hero: a soft veil keeps the pattern quiet behind the words */
.pds-spotgrid .pds-spotgrid__hero { position: relative; display: flex; flex-direction: column; align-items: center; }
.pds-spotgrid .pds-spotgrid__hero::before { content: ""; position: absolute; inset: -12% -9%; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--surface) 90%, transparent), transparent); }
.pds-spotgrid .pds-spotgrid__eyebrow { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.pds-spotgrid .pds-spotgrid__title { margin: .35rem 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(2.3rem, 11cqi, 3.3rem);
  font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.pds-spotgrid .pds-spotgrid__sub { margin: .55rem 0 1.15rem; font-size: .86rem; color: var(--ink-muted); }
.pds-spotgrid .pds-spotgrid__cta { padding: .72rem 1.3rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700;
  color: #fff; background: var(--pds-spotgrid-btn);
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--primary) 70%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
  transition: transform .35s var(--pds-spotgrid-ease), box-shadow .35s ease; }
:is(.pds-spotgrid .pds-spotgrid__cta:hover, .pds-spotgrid .pds-spotgrid__cta:focus-visible, .is-playing .pds-spotgrid .pds-spotgrid__cta) { transform: translateY(-2px);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 18%, transparent), 0 18px 32px -14px color-mix(in srgb, var(--primary) 80%, transparent); }
/* controls: a sliding 3-way switch and an on/off fade */
.pds-spotgrid .pds-spotgrid__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .65rem .8rem; border-top: 1px solid var(--border); background: var(--surface-sunk); }
.pds-spotgrid .pds-spotgrid__seg { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); }
.pds-spotgrid .pds-spotgrid__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px;
  background: var(--primary-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--ink) 30%, transparent);
  transition: translate .45s var(--pds-spotgrid-ease); }
.pds-spotgrid .pds-spotgrid__seg[data-pick="grid"] .pds-spotgrid__thumb { translate: 100% 0; }
.pds-spotgrid .pds-spotgrid__seg[data-pick="lines"] .pds-spotgrid__thumb { translate: 200% 0; }
.pds-spotgrid .pds-spotgrid__opt { position: relative; padding: .42rem .95rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--ink-muted); transition: color .3s ease; }
.pds-spotgrid .pds-spotgrid__opt[aria-checked="true"] { color: var(--primary-deep); }
.pds-spotgrid .pds-spotgrid__fade { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .8rem .32rem .38rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 600; color: var(--ink); }
.pds-spotgrid .pds-spotgrid__knob { position: relative; flex: none; width: 30px; height: 18px; border-radius: 999px; background: var(--border-strong); transition: background-color .3s ease; }
.pds-spotgrid .pds-spotgrid__knob::before { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 35%, transparent); transition: translate .35s var(--pds-spotgrid-ease); }
.pds-spotgrid .pds-spotgrid__fade[aria-checked="true"] .pds-spotgrid__knob { background: var(--primary); }
.pds-spotgrid .pds-spotgrid__fade[aria-checked="true"] .pds-spotgrid__knob::before { translate: 12px 0; }
:is(.pds-spotgrid .pds-spotgrid__cta, .pds-spotgrid .pds-spotgrid__opt, .pds-spotgrid .pds-spotgrid__fade):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pds-spotgrid .pds-spotgrid__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@container (max-width: 400px) {
  .pds-spotgrid .pds-spotgrid__bar { justify-content: center; }
  .pds-spotgrid .pds-spotgrid__stage { height: 290px; }
}

/* ---------- PDS-74 Velvet Grain ---------- */
.pds-grain, .pds-grain *, .pds-grain *::before, .pds-grain *::after { box-sizing: border-box; }
.pds-grain { --pds-grain-a: .4; --pds-grain-p: 50%; --pds-grain-ease: cubic-bezier(.22, 1, .36, 1);
  --pds-grain-btn: color-mix(in srgb, var(--primary) 58%, #0a0f1c);
  position: relative; container-type: inline-size; width: min(100%, 520px); margin: 0 auto; overflow: hidden;
  text-align: center; line-height: 1.45; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 55%, transparent); }
.pds-grain .pds-grain__stage { position: relative; isolation: isolate; display: grid; place-items: center; height: 276px; padding: 1.6rem 1.2rem;
  overflow: hidden; background: color-mix(in srgb, var(--primary) 36%, var(--surface)); }
/* the gradient: four soft pools of your colours that drift very slowly */
.pds-grain .pds-grain__wash { position: absolute; inset: -30%; z-index: -3; pointer-events: none; will-change: transform;
  background:
    radial-gradient(38% 42% at 26% 30%, color-mix(in srgb, var(--primary) 62%, var(--surface)), transparent 72%),
    radial-gradient(36% 40% at 76% 28%, color-mix(in srgb, var(--accent) 52%, var(--surface)), transparent 72%),
    radial-gradient(40% 44% at 70% 76%, color-mix(in srgb, var(--gold) 50%, var(--surface)), transparent 72%),
    radial-gradient(42% 46% at 24% 78%, color-mix(in srgb, var(--primary-deep) 48%, var(--surface)), transparent 72%),
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 42%, var(--surface)), color-mix(in srgb, var(--accent) 34%, var(--surface)));
  animation: pds-grain-drift 28s ease-in-out infinite alternate; }
.pds-grain .pds-grain__veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 50% at 50% 50%, color-mix(in srgb, var(--surface) 66%, transparent), transparent 100%); }
/* the film grain: SVG noise drawn by the browser, so there is no image file and it stays sharp */
.pds-grain .pds-grain__noise { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: var(--pds-grain-a); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.8 .8 .8 0 -.7 .8 .8 .8 0 -.7 .8 .8 .8 0 -.7 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px; }
@keyframes pds-grain-drift {
  0% { transform: translate3d(-5%, -3%, 0) rotate(-4deg) scale(1.02); }
  50% { transform: translate3d(4%, 3%, 0) rotate(5deg) scale(1.08); }
  100% { transform: translate3d(-2%, 5%, 0) rotate(-2deg) scale(1); }
}
.pds-grain .pds-grain__hero { position: relative; display: flex; flex-direction: column; align-items: center; }
.pds-grain .pds-grain__eyebrow { padding: .26rem .7rem; border-radius: 999px; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: color-mix(in srgb, var(--surface) 62%, transparent); border: 1px solid color-mix(in srgb, var(--surface) 70%, transparent); }
.pds-grain .pds-grain__title { margin: .5rem 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(2.3rem, 11cqi, 3.3rem);
  font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.pds-grain .pds-grain__sub { margin: .55rem 0 1.15rem; font-size: .88rem; font-weight: 500; color: var(--ink); }
.pds-grain .pds-grain__cta { padding: .72rem 1.3rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700;
  color: #fff; background: var(--pds-grain-btn);
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--ink) 60%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
  transition: transform .35s var(--pds-grain-ease), box-shadow .35s ease; }
:is(.pds-grain .pds-grain__cta:hover, .pds-grain .pds-grain__cta:focus-visible, .is-playing .pds-grain .pds-grain__cta) { transform: translateY(-2px);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--surface) 40%, transparent), 0 18px 32px -14px color-mix(in srgb, var(--ink) 70%, transparent); }
.pds-grain .pds-grain__cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* the Grain slider */
.pds-grain .pds-grain__bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem .5rem; border-top: 1px solid var(--border); background: var(--surface-sunk); }
.pds-grain .pds-grain__ctl { display: flex; flex: 1; align-items: center; gap: .8rem; min-width: 0; cursor: pointer; }
.pds-grain .pds-grain__lbl { font-size: .78rem; font-weight: 700; color: var(--ink); }
.pds-grain .pds-grain__val { flex: none; min-width: 3.2em; text-align: end; font: 600 .76rem/1 var(--font-mono, ui-monospace, monospace); color: var(--primary-deep); }
.pds-grain .pds-grain__range { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 24px; margin: 0; background: none; cursor: pointer; }
.pds-grain .pds-grain__range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary) var(--pds-grain-p), var(--border-strong) var(--pds-grain-p)); }
.pds-grain .pds-grain__range::-moz-range-track { height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary) var(--pds-grain-p), var(--border-strong) var(--pds-grain-p)); }
.pds-grain .pds-grain__range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary); box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--ink) 45%, transparent);
  transition: transform .25s var(--pds-grain-ease); }
.pds-grain .pds-grain__range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary); box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--ink) 45%, transparent); }
.pds-grain .pds-grain__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.pds-grain .pds-grain__range:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 999px; }
/* what's included */
.pds-grain .pds-grain__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0; padding: .3rem .8rem .75rem; list-style: none; background: var(--surface-sunk); }
.pds-grain .pds-grain__facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 600;
  color: var(--ink-muted); background: var(--surface); border: 1px solid var(--border); }
.pds-grain .pds-grain__dots { display: inline-flex; }
.pds-grain .pds-grain__dots i { width: 9px; height: 9px; margin-left: -3px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1.5px var(--surface); }
.pds-grain .pds-grain__dots i:first-child { margin-left: 0; }
.pds-grain .pds-grain__dots i:nth-child(2) { background: var(--accent); }
.pds-grain .pds-grain__dots i:nth-child(3) { background: var(--gold); }
.pds-grain .pds-grain__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- PDS-75 Lava Glass ---------- */
.pds-lava, .pds-lava *, .pds-lava *::before, .pds-lava *::after { box-sizing: border-box; }
.pds-lava { --pds-lava-ease: cubic-bezier(.22, 1, .36, 1); --pds-lava-btn: color-mix(in srgb, var(--primary) 58%, #0a0f1c);
  position: relative; container-type: inline-size; width: min(100%, 520px); margin: 0 auto; overflow: hidden;
  text-align: center; line-height: 1.45; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 55%, transparent); }
.pds-lava .pds-lava__stage { position: relative; isolation: isolate; display: grid; place-items: center; height: 300px; padding: 1.4rem 1.2rem 2.6rem;
  overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, var(--surface), var(--surface-sunk)); }
/* blobs: blurred shapes that only move with transform, so the phone's graphics chip does the work */
.pds-lava .pds-lava__blob { position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1; opacity: .85; filter: blur(32px); will-change: transform;
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%; animation: pds-lava-a 22s ease-in-out infinite alternate; }
.pds-lava .pds-lava__blob--a { left: -6%; top: -16%; width: 56%; background: color-mix(in srgb, var(--primary) 72%, var(--surface)); }
.pds-lava .pds-lava__blob--b { right: -10%; top: 4%; width: 50%; border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  background: color-mix(in srgb, var(--accent) 66%, var(--surface)); animation-name: pds-lava-b; animation-duration: 26s; }
.pds-lava .pds-lava__blob--c { left: 18%; bottom: -30%; width: 54%; border-radius: 55% 45% 40% 60% / 40% 55% 45% 60%;
  background: color-mix(in srgb, var(--gold) 64%, var(--surface)); animation-name: pds-lava-c; animation-duration: 30s; }
.pds-lava .pds-lava__blob--d { right: 6%; bottom: -8%; width: 28%; opacity: .6;
  background: color-mix(in srgb, var(--primary-deep) 50%, var(--accent)); animation-name: pds-lava-d; animation-duration: 19s; }
@keyframes pds-lava-a { 0% { transform: translate(0, 0) rotate(0deg) scale(1, 1); } 35% { transform: translate(16%, 12%) rotate(50deg) scale(1.14, .9); }
  70% { transform: translate(4%, 26%) rotate(100deg) scale(.92, 1.1); } 100% { transform: translate(22%, 8%) rotate(150deg) scale(1.06, 1); } }
@keyframes pds-lava-b { 0% { transform: translate(0, 0) rotate(0deg) scale(1, 1); } 40% { transform: translate(-18%, 16%) rotate(-60deg) scale(.9, 1.12); }
  100% { transform: translate(-6%, 30%) rotate(-120deg) scale(1.1, .94); } }
@keyframes pds-lava-c { 0% { transform: translate(0, 0) rotate(0deg) scale(1, 1); } 50% { transform: translate(24%, -22%) rotate(70deg) scale(1.12, .92); }
  100% { transform: translate(-10%, -12%) rotate(140deg) scale(.95, 1.08); } }
@keyframes pds-lava-d { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60%, -40%) scale(1.3, 1.1); } 100% { transform: translate(-20%, -90%) scale(.9); } }
.pds-lava.is-paused .pds-lava__blob, .pds-lava.is-off .pds-lava__blob { animation-play-state: paused; }
/* the frosted glass card */
.pds-lava .pds-lava__card { position: relative; display: flex; flex-direction: column; align-items: center; width: min(100%, 320px); padding: 1.45rem 1.3rem 1.35rem;
  border-radius: 22px; background: color-mix(in srgb, var(--surface) 55%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--ink) 45%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 24%, transparent); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pds-lava .pds-lava__card { background: color-mix(in srgb, var(--surface) 90%, transparent); }
}
.pds-lava .pds-lava__eyebrow { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-deep); }
.pds-lava .pds-lava__title { margin: .4rem 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(2.1rem, 10cqi, 3rem);
  font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.pds-lava .pds-lava__sub { margin: .5rem 0 1.05rem; font-size: .84rem; color: var(--ink-muted); }
.pds-lava .pds-lava__cta { padding: .7rem 1.25rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700;
  color: #fff; background: var(--pds-lava-btn);
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--primary) 70%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent);
  transition: transform .35s var(--pds-lava-ease), box-shadow .35s ease; }
:is(.pds-lava .pds-lava__cta:hover, .pds-lava .pds-lava__cta:focus-visible, .is-playing .pds-lava .pds-lava__cta) { transform: translateY(-2px);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 18%, transparent), 0 18px 32px -14px color-mix(in srgb, var(--primary) 80%, transparent); }
/* pause: a small glass pill in the corner */
.pds-lava .pds-lava__pause { position: absolute; right: .75rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .45rem;
  padding: .36rem .8rem .36rem .62rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 700; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 72%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s ease; }
:is(.pds-lava .pds-lava__pause:hover, .pds-lava .pds-lava__pause:focus-visible, .is-playing .pds-lava .pds-lava__pause) { background: var(--surface); }
.pds-lava .pds-lava__icon { position: relative; flex: none; width: 10px; height: 11px; }
.pds-lava .pds-lava__icon::before, .pds-lava .pds-lava__icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3.5px; border-radius: 1px; background: currentColor; }
.pds-lava .pds-lava__icon::before { left: 0; }
.pds-lava .pds-lava__icon::after { right: 0; }
.pds-lava.is-paused .pds-lava__icon::before { left: 1px; width: 0; height: 0; border-radius: 0; background: none;
  border-style: solid; border-width: 5.5px 0 5.5px 9.5px; border-color: transparent transparent transparent currentColor; }
.pds-lava.is-paused .pds-lava__icon::after { display: none; }
:is(.pds-lava .pds-lava__cta, .pds-lava .pds-lava__pause):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
/* what's included */
.pds-lava .pds-lava__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0; padding: .65rem .8rem .75rem; list-style: none;
  border-top: 1px solid var(--border); background: var(--surface-sunk); }
.pds-lava .pds-lava__facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 600;
  color: var(--ink-muted); background: var(--surface); border: 1px solid var(--border); }
.pds-lava .pds-lava__dots { display: inline-flex; }
.pds-lava .pds-lava__dots i { width: 9px; height: 9px; margin-left: -3px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1.5px var(--surface); }
.pds-lava .pds-lava__dots i:first-child { margin-left: 0; }
.pds-lava .pds-lava__dots i:nth-child(2) { background: var(--accent); }
.pds-lava .pds-lava__dots i:nth-child(3) { background: var(--gold); }
.pds-lava .pds-lava__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pds-lava .pds-lava__pause { display: none; } }

/* ---------- PDS-76 Starlit Sky ---------- */
.pds-starlit, .pds-starlit *, .pds-starlit *::before, .pds-starlit *::after { box-sizing: border-box; }
.pds-starlit { --pds-starlit-night: color-mix(in srgb, var(--primary) 14%, #04060d); --pds-starlit-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative; container-type: inline-size; width: min(100%, 520px); margin: 0 auto; overflow: hidden;
  text-align: center; line-height: 1.45; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 60%, transparent); }
/* the night sky is always deep, tinted with your colours; the canvas draws the stars on top */
.pds-starlit .pds-starlit__stage { position: relative; isolation: isolate; display: grid; place-items: center; height: 292px; padding: 1.6rem 1.2rem;
  overflow: hidden; color: #fff;
  background: radial-gradient(120% 70% at 50% 118%, color-mix(in srgb, var(--primary) 40%, #04060d), transparent 70%),
    radial-gradient(70% 50% at 90% -10%, color-mix(in srgb, var(--accent) 22%, #04060d), transparent 70%), var(--pds-starlit-night); }
.pds-starlit .pds-starlit__sky { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; pointer-events: none; }
.pds-starlit .pds-starlit__hero { position: relative; display: flex; flex-direction: column; align-items: center; }
.pds-starlit .pds-starlit__hero::before { content: ""; position: absolute; inset: -22% -16%; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pds-starlit-night) 72%, transparent), transparent); }
.pds-starlit .pds-starlit__eyebrow { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 45%, #fff); }
.pds-starlit .pds-starlit__title { margin: .4rem 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(2.3rem, 11cqi, 3.3rem);
  font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #fff; text-shadow: 0 0 30px color-mix(in srgb, var(--primary) 45%, transparent); }
.pds-starlit .pds-starlit__sub { margin: .55rem 0 1.15rem; font-size: .86rem; color: color-mix(in srgb, #fff 80%, transparent); }
.pds-starlit .pds-starlit__cta { padding: .72rem 1.3rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .84rem; font-weight: 700;
  color: color-mix(in srgb, var(--primary) 45%, #060912); background: color-mix(in srgb, var(--primary) 8%, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, #fff 30%, transparent), 0 16px 34px -14px color-mix(in srgb, var(--primary) 70%, transparent);
  transition: transform .35s var(--pds-starlit-ease), box-shadow .35s ease; }
:is(.pds-starlit .pds-starlit__cta:hover, .pds-starlit .pds-starlit__cta:focus-visible, .is-playing .pds-starlit .pds-starlit__cta) { transform: translateY(-2px);
  box-shadow: 0 0 0 5px color-mix(in srgb, #fff 14%, transparent), 0 0 34px -4px color-mix(in srgb, var(--primary) 75%, transparent); }
.pds-starlit .pds-starlit__cta:focus-visible { outline: 2px solid color-mix(in srgb, var(--primary) 40%, #fff); outline-offset: 3px; }
/* controls */
.pds-starlit .pds-starlit__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; padding: .65rem .8rem; text-align: start;
  border-top: 1px solid var(--border); background: var(--surface-sunk); }
.pds-starlit .pds-starlit__seg { position: relative; display: inline-grid; flex: none; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); }
.pds-starlit .pds-starlit__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px;
  background: var(--primary-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--ink) 30%, transparent);
  transition: translate .45s var(--pds-starlit-ease); }
.pds-starlit .pds-starlit__seg[data-pick="fly"] .pds-starlit__thumb { translate: 100% 0; }
.pds-starlit .pds-starlit__seg[data-pick="still"] .pds-starlit__thumb { translate: 200% 0; }
.pds-starlit .pds-starlit__opt { position: relative; padding: .42rem .9rem; border: 0; border-radius: 999px; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--ink-muted); transition: color .3s ease; }
.pds-starlit .pds-starlit__opt[aria-checked="true"] { color: var(--primary-deep); }
.pds-starlit .pds-starlit__opt:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pds-starlit .pds-starlit__note { flex: 1 1 150px; min-width: 0; margin: 0; font-size: .74rem; line-height: 1.35; color: var(--ink-muted); }
@container (max-width: 400px) {
  .pds-starlit .pds-starlit__bar { justify-content: center; text-align: center; }
  .pds-starlit .pds-starlit__stage { height: 280px; }
}

/* ---------- PDS-77 City Reel ---------- */
.pds-cityreel, .pds-cityreel *, .pds-cityreel *::before, .pds-cityreel *::after { box-sizing: border-box; }
.pds-cityreel { --pds-cityreel-night: color-mix(in srgb, var(--primary) 12%, #03050b); --pds-cityreel-ease: cubic-bezier(.22, 1, .36, 1);
  --pds-cityreel-skyline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V69h9V57h2V69H20V55H32V17h7V11h2V17H48V75h11V68h2V75H72V42h4V35h2V42H82V43H92V21H106V72H120V72h9V66h2V72H140V47H156V49H176V63H194V73H210V32H230V71h5V63h2V71H242V47H256V30H268V57H288V74H316V34h13V23h2V34H344V37H362V60H390V77H400V100Z'/%3E%3C/svg%3E");
  position: relative; container-type: inline-size; width: min(100%, 520px); margin: 0 auto; overflow: hidden;
  text-align: center; line-height: 1.45; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--ink) 55%, transparent); }
.pds-cityreel .pds-cityreel__desk { padding: .85rem; background: radial-gradient(100% 80% at 50% 0%, var(--primary-tint), transparent 70%), var(--surface-sunk); }
/* the mini browser, which narrows into a phone */
.pds-cityreel .pds-cityreel__frame { width: 100%; margin: 0 auto; overflow: hidden; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface);
  box-shadow: 0 24px 44px -30px color-mix(in srgb, var(--ink) 60%, transparent); transition: width .6s var(--pds-cityreel-ease), border-radius .6s var(--pds-cityreel-ease); }
.pds-cityreel[data-view="phone"] .pds-cityreel__frame { width: 158px; border-radius: 26px; border: 5px solid color-mix(in srgb, var(--primary) 10%, #0b0d12); }
.pds-cityreel .pds-cityreel__chrome { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 28px; padding: 0 .7rem;
  background: var(--surface-sunk); border-bottom: 1px solid var(--border); }
.pds-cityreel .pds-cityreel__lights { display: flex; gap: .3rem; }
.pds-cityreel .pds-cityreel__lights i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.pds-cityreel .pds-cityreel__url { grid-column: 2; padding: .08rem .85rem; border-radius: 999px; font: 500 .64rem/1.5 var(--font-mono, ui-monospace, monospace);
  color: var(--ink-muted); background: var(--surface); }
.pds-cityreel[data-view="phone"] .pds-cityreel__lights { display: none; }
.pds-cityreel[data-view="phone"] .pds-cityreel__chrome { height: 22px; padding: 0 .4rem; }
.pds-cityreel[data-view="phone"] .pds-cityreel__url { padding: 0 .5rem; font-size: .54rem; }
/* the "footage": a slow camera push over a night city, drifting bokeh and passing light trails */
.pds-cityreel .pds-cityreel__screen { position: relative; isolation: isolate; container: pds-cityreel-screen / inline-size; display: grid; place-items: center;
  height: 238px; padding: 1rem .8rem; overflow: hidden; color: #fff; background: var(--pds-cityreel-night); }
.pds-cityreel .pds-cityreel__scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; transform-origin: 60% 75%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 26%, #03050b), color-mix(in srgb, var(--primary) 14%, #04060c) 52%, color-mix(in srgb, var(--gold) 28%, #05060b));
  animation: pds-cityreel-push 24s ease-in-out infinite alternate; }
.pds-cityreel .pds-cityreel__bokeh i { --pds-cityreel-c: color-mix(in srgb, var(--gold) 75%, #fff); position: absolute; width: 40px; aspect-ratio: 1; border-radius: 50%;
  opacity: .55; filter: blur(1.4px); mix-blend-mode: screen; box-shadow: 0 0 22px 2px color-mix(in srgb, var(--pds-cityreel-c) 30%, transparent); animation: pds-cityreel-bokeh 13s ease-in-out infinite alternate;
  background: radial-gradient(circle, color-mix(in srgb, var(--pds-cityreel-c) 58%, transparent) 0 50%, var(--pds-cityreel-c) 64%, transparent 69%); }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(1) { left: 6%; top: 12%; width: 46px; animation-delay: -2s; }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(2) { --pds-cityreel-c: color-mix(in srgb, var(--primary) 45%, #fff); left: 24%; top: 36%; width: 26px; animation-duration: 11s; animation-delay: -6s; }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(3) { --pds-cityreel-c: color-mix(in srgb, var(--accent) 45%, #fff); left: 70%; top: 8%; width: 58px; animation-duration: 15s; animation-delay: -4s; }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(4) { left: 86%; top: 38%; width: 30px; animation-duration: 12s; animation-delay: -9s; }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(5) { --pds-cityreel-c: color-mix(in srgb, var(--primary) 45%, #fff); left: 50%; top: 20%; width: 20px; animation-duration: 10s; animation-delay: -3s; }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(6) { left: 38%; top: 4%; width: 34px; animation-duration: 14s; animation-delay: -7s; }
.pds-cityreel .pds-cityreel__bokeh i:nth-child(7) { --pds-cityreel-c: color-mix(in srgb, var(--accent) 45%, #fff); left: 91%; top: 6%; width: 22px; animation-duration: 9s; animation-delay: -1s; }
.pds-cityreel .pds-cityreel__far, .pds-cityreel .pds-cityreel__city { position: absolute; left: -3%; right: -3%; bottom: 0;
  -webkit-mask: var(--pds-cityreel-skyline) 0 0 / 100% 100% no-repeat; mask: var(--pds-cityreel-skyline) 0 0 / 100% 100% no-repeat; }
.pds-cityreel .pds-cityreel__far { height: 66%; opacity: .7; transform: scaleX(-1); background-color: color-mix(in srgb, var(--primary) 30%, #070a14);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--gold) 50%, #fff) .6px, transparent 1px); background-size: 7px 9px; }
.pds-cityreel .pds-cityreel__city { height: 50%; background-color: color-mix(in srgb, var(--primary) 12%, #03050a);
  background-image: radial-gradient(circle, color-mix(in srgb, color-mix(in srgb, var(--gold) 70%, #fff) 45%, transparent) .8px, transparent 1.3px), radial-gradient(circle, color-mix(in srgb, var(--primary) 40%, #fff) .75px, transparent 1.25px);
  background-size: 11px 9px, 17px 13px; background-position: 0 0, 5px 4px; }
.pds-cityreel .pds-cityreel__city::after { content: ""; position: absolute; inset: 0; animation: pds-cityreel-blink 8s ease-in-out infinite alternate;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--gold) 80%, #fff) 1px, transparent 1.5px); background-size: 23px 19px; background-position: 7px 3px; }
.pds-cityreel .pds-cityreel__road { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--gold) 16%, #03050a)); }
.pds-cityreel .pds-cityreel__road i { position: absolute; left: 10%; top: 40%; width: 40%; height: 2px; border-radius: 2px; animation: pds-cityreel-car 7s linear infinite;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 70%, #fff) 80%, #fff); box-shadow: 0 0 8px 1px color-mix(in srgb, var(--gold) 55%, transparent); }
.pds-cityreel .pds-cityreel__road i:nth-child(2) { left: 46%; top: 66%; width: 32%; animation-duration: 9s; animation-delay: -4s; }
.pds-cityreel .pds-cityreel__road i:nth-child(n+3) { left: 30%; top: 20%; width: 36%; animation-direction: reverse; animation-duration: 8s; animation-delay: -2s;
  background: linear-gradient(270deg, transparent, color-mix(in srgb, var(--primary) 45%, #fff) 80%, #fff); box-shadow: 0 0 8px 1px color-mix(in srgb, var(--primary) 50%, transparent); }
.pds-cityreel .pds-cityreel__road i:nth-child(4) { left: 62%; top: 84%; width: 28%; animation-duration: 10s; animation-delay: -7s; }
@keyframes pds-cityreel-push { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-2%, 1%); } }
@keyframes pds-cityreel-bokeh { 0% { transform: translate(0, 0) scale(1); opacity: .32; } 50% { opacity: .66; } 100% { transform: translate(14px, -10px) scale(1.18); opacity: .44; } }
@keyframes pds-cityreel-blink { from { opacity: .2; } to { opacity: 1; } }
@keyframes pds-cityreel-car { 0% { transform: translateX(-160%); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(200%); opacity: 0; } }
@keyframes pds-cityreel-pulse { 50% { opacity: .35; } }
/* the readability scrim: darker where the words sit */
.pds-cityreel .pds-cityreel__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(72% 64% at 50% 50%, color-mix(in srgb, var(--pds-cityreel-night) 62%, transparent), transparent 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--pds-cityreel-night) 30%, transparent), transparent 40%, color-mix(in srgb, var(--pds-cityreel-night) 40%, transparent)); }
.pds-cityreel .pds-cityreel__chip { position: absolute; left: .55rem; top: .55rem; display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .5rem; border-radius: 6px;
  font: 600 .58rem/1.3 var(--font-mono, ui-monospace, monospace); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: #fff;
  background: color-mix(in srgb, var(--pds-cityreel-night) 70%, transparent); border: 1px solid color-mix(in srgb, #fff 22%, transparent); }
.pds-cityreel .pds-cityreel__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pds-cityreel-pulse 1.8s ease-in-out infinite; }
.pds-cityreel .pds-cityreel__chip b { display: none; font-weight: 600; }
.pds-cityreel[data-view="desktop"] .pds-cityreel__chip .is-desktop, .pds-cityreel[data-view="phone"] .pds-cityreel__chip .is-phone,
.pds-cityreel[data-view="still"] .pds-cityreel__chip .is-still { display: inline; }
.pds-cityreel .pds-cityreel__hero { display: flex; flex-direction: column; align-items: center; }
.pds-cityreel .pds-cityreel__eyebrow { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--gold) 45%, #fff); }
.pds-cityreel .pds-cityreel__title { margin: .35rem 0 0; font-family: var(--font-display, Georgia, serif); font-size: clamp(1.3rem, 11cqi, 2.9rem); font-weight: 600;
  line-height: 1; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 24px color-mix(in srgb, var(--pds-cityreel-night) 80%, transparent); }
.pds-cityreel .pds-cityreel__sub { margin: .45rem 0 .95rem; font-size: clamp(.58rem, 3.2cqi, .86rem); color: color-mix(in srgb, #fff 84%, transparent); }
.pds-cityreel .pds-cityreel__cta { padding: .75em 1.4em; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: clamp(.6rem, 3cqi, .82rem); font-weight: 700;
  color: color-mix(in srgb, var(--primary) 45%, #060912); background: color-mix(in srgb, var(--primary) 8%, #fff);
  box-shadow: 0 16px 34px -14px color-mix(in srgb, var(--pds-cityreel-night) 90%, transparent); transition: transform .35s var(--pds-cityreel-ease), box-shadow .35s ease; }
:is(.pds-cityreel .pds-cityreel__cta:hover, .pds-cityreel .pds-cityreel__cta:focus-visible, .is-playing .pds-cityreel .pds-cityreel__cta) { transform: translateY(-2px);
  box-shadow: 0 0 0 5px color-mix(in srgb, #fff 16%, transparent), 0 16px 34px -14px color-mix(in srgb, var(--pds-cityreel-night) 90%, transparent); }
@container pds-cityreel-screen (max-width: 240px) { .pds-cityreel .pds-cityreel__eyebrow { display: none; } }
/* Pause / Play: always visible on a moving background */
.pds-cityreel .pds-cityreel__play { position: absolute; right: .55rem; bottom: .55rem; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border-radius: 50%; cursor: pointer; color: #fff; background: color-mix(in srgb, var(--pds-cityreel-night) 58%, transparent);
  border: 1px solid color-mix(in srgb, #fff 32%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .3s ease, transform .3s var(--pds-cityreel-ease), opacity .3s ease; }
:is(.pds-cityreel .pds-cityreel__play:hover, .pds-cityreel .pds-cityreel__play:focus-visible, .is-playing .pds-cityreel .pds-cityreel__play) {
  background: color-mix(in srgb, var(--pds-cityreel-night) 85%, transparent); transform: scale(1.06); }
.pds-cityreel[data-view="phone"] .pds-cityreel__play { right: .4rem; bottom: .4rem; width: 30px; height: 30px; }
.pds-cityreel .pds-cityreel__icon { position: relative; width: 10px; height: 11px; }
.pds-cityreel .pds-cityreel__icon::before, .pds-cityreel .pds-cityreel__icon::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3.5px; border-radius: 1px; background: currentColor; }
.pds-cityreel .pds-cityreel__icon::before { left: 0; }
.pds-cityreel .pds-cityreel__icon::after { right: 0; }
.pds-cityreel.is-paused .pds-cityreel__icon::before { left: 1.5px; width: 0; height: 0; border-radius: 0; background: none;
  border-style: solid; border-width: 5.5px 0 5.5px 9.5px; border-color: transparent transparent transparent currentColor; }
.pds-cityreel.is-paused .pds-cityreel__icon::after { display: none; }
:is(.pds-cityreel .pds-cityreel__cta, .pds-cityreel .pds-cityreel__play):focus-visible { outline: 2px solid color-mix(in srgb, var(--primary) 40%, #fff); outline-offset: 3px; }
/* paused (or scrolled away) freezes the frame; Still shows the designed poster image */
.pds-cityreel.is-paused .pds-cityreel__scene, .pds-cityreel.is-paused .pds-cityreel__scene *, .pds-cityreel.is-paused .pds-cityreel__scene *::after,
.pds-cityreel.is-off .pds-cityreel__scene, .pds-cityreel.is-off .pds-cityreel__scene *, .pds-cityreel.is-off .pds-cityreel__scene *::after,
.pds-cityreel.is-paused .pds-cityreel__chip::before { animation-play-state: paused; }
.pds-cityreel[data-view="still"] .pds-cityreel__scene, .pds-cityreel[data-view="still"] .pds-cityreel__scene *,
.pds-cityreel[data-view="still"] .pds-cityreel__scene *::after, .pds-cityreel[data-view="still"] .pds-cityreel__chip::before { animation: none; }
.pds-cityreel[data-view="still"] .pds-cityreel__play { opacity: 0; visibility: hidden; }
.pds-cityreel[data-view="phone"] .pds-cityreel__bokeh i:nth-child(n+5), .pds-cityreel[data-view="phone"] .pds-cityreel__road i:nth-child(n+3) { display: none; }
/* controls */
.pds-cityreel .pds-cityreel__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; padding: .65rem .8rem; text-align: start;
  border-top: 1px solid var(--border); background: var(--surface); }
.pds-cityreel .pds-cityreel__seg { position: relative; display: inline-grid; flex: none; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 999px;
  background: var(--surface-sunk); border: 1px solid var(--border); }
.pds-cityreel .pds-cityreel__thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3); border-radius: 999px;
  background: var(--primary-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--ink) 30%, transparent);
  transition: translate .45s var(--pds-cityreel-ease); }
.pds-cityreel[data-view="phone"] .pds-cityreel__thumb { translate: 100% 0; }
.pds-cityreel[data-view="still"] .pds-cityreel__thumb { translate: 200% 0; }
.pds-cityreel .pds-cityreel__opt { position: relative; padding: .42rem .85rem; border: 0; border-radius: 999px; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: .78rem; font-weight: 600; color: var(--ink-muted); transition: color .3s ease; }
.pds-cityreel .pds-cityreel__opt[aria-checked="true"] { color: var(--primary-deep); }
.pds-cityreel .pds-cityreel__opt:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pds-cityreel .pds-cityreel__note { flex: 1 1 150px; min-width: 0; margin: 0; font-size: .74rem; line-height: 1.35; color: var(--ink-muted); }
@container (max-width: 400px) { .pds-cityreel .pds-cityreel__bar { justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .pds-cityreel .pds-cityreel__play { display: none; } }

