/* Prime Widgets — component styles. Colours and type come from each widget's controls
   (Elementor writes them as CSS variables or direct rules); the values below are only
   fallbacks so a fresh widget looks right before it is styled. */

:root { --pw-ease: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- Corner brackets (shared) ---------- */
.pw-c { position: absolute; z-index: 3; width: var(--pw-corner, 28px); aspect-ratio: 1; border: 2px solid currentColor; pointer-events: none; }
.pw-c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.pw-c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.pw-c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.pw-c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.pw-has-corners { position: relative; }
.pw-has-corners > .pw-c { color: var(--pw-corner-color, #efebe6); width: clamp(20px, 2.4vw, 32px); }
.pw-has-corners > .pw-c--tl { top: -10px; left: -10px; }
.pw-has-corners > .pw-c--tr { top: -10px; right: -10px; }
.pw-has-corners > .pw-c--bl { bottom: -10px; left: -10px; }
.pw-has-corners > .pw-c--br { bottom: -10px; right: -10px; }

/* ---------- Viewfinder frame extension ---------- */
@property --pw-vfo { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --pw-afs { syntax: "<number>"; inherits: false; initial-value: 1.5; }

.pw-vf--outside, .pw-vf--inside, .pw-vf--hover { position: relative; }
.pw-vf--outside::after, .pw-vf--inside::after, .pw-vf--hover::after,
.pw-vfi--outside .wpr-grid-media-wrap::after, .pw-vfi--inside .wpr-grid-media-wrap::after, .pw-vfi--hover .wpr-grid-media-wrap::after {
  --c: var(--pw-vf-color, #efebe6); --s: var(--pw-vf-size, 28px); --t: var(--pw-vf-thick, 2px); --o: var(--pw-vfo);
  content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--c) 0 0) var(--o) var(--o) / var(--s) var(--t),
    linear-gradient(var(--c) 0 0) var(--o) var(--o) / var(--t) var(--s),
    linear-gradient(var(--c) 0 0) calc(100% - var(--o)) var(--o) / var(--s) var(--t),
    linear-gradient(var(--c) 0 0) calc(100% - var(--o)) var(--o) / var(--t) var(--s),
    linear-gradient(var(--c) 0 0) var(--o) calc(100% - var(--o)) / var(--s) var(--t),
    linear-gradient(var(--c) 0 0) var(--o) calc(100% - var(--o)) / var(--t) var(--s),
    linear-gradient(var(--c) 0 0) calc(100% - var(--o)) calc(100% - var(--o)) / var(--s) var(--t),
    linear-gradient(var(--c) 0 0) calc(100% - var(--o)) calc(100% - var(--o)) / var(--t) var(--s);
  background-repeat: no-repeat;
}
/* always-on corners: the box itself is pushed out (negative distance) or in */
.pw-vf--outside::after, .pw-vfi--outside .wpr-grid-media-wrap::after { inset: var(--pw-vf-offset, -10px); }
.pw-vf--inside::after, .pw-vfi--inside .wpr-grid-media-wrap::after { inset: var(--pw-vf-offset, 14px); }
/* outside corners must not be clipped (Elementor clips the video widget: .elementor-widget-video:not(:has(…)) { overflow: hidden }) */
.elementor-element.pw-vf--outside.pw-vf--outside { overflow: visible; }

/* through the lens, on hover: zoom, vignette, corners snap in, AF point locks */
.pw-vf--hover, .pw-vfi--hover .wpr-grid-media-wrap { position: relative; overflow: hidden; }
.pw-vf--hover::after, .pw-vfi--hover .wpr-grid-media-wrap::after {
  --s: var(--pw-vf-size, 24px);
  background-color: transparent;
  background-image:
    linear-gradient(var(--c) 0 0), linear-gradient(var(--c) 0 0), linear-gradient(var(--c) 0 0), linear-gradient(var(--c) 0 0),
    linear-gradient(var(--c) 0 0), linear-gradient(var(--c) 0 0), linear-gradient(var(--c) 0 0), linear-gradient(var(--c) 0 0),
    radial-gradient(125% 100% at 50% 50%, transparent 55%, rgba(12, 11, 11, 0.55) 100%);
  background-size:
    var(--s) var(--t), var(--t) var(--s), var(--s) var(--t), var(--t) var(--s),
    var(--s) var(--t), var(--t) var(--s), var(--s) var(--t), var(--t) var(--s), 100% 100%;
  background-position:
    var(--o) var(--o), var(--o) var(--o), calc(100% - var(--o)) var(--o), calc(100% - var(--o)) var(--o),
    var(--o) calc(100% - var(--o)), var(--o) calc(100% - var(--o)), calc(100% - var(--o)) calc(100% - var(--o)), calc(100% - var(--o)) calc(100% - var(--o)), 0 0;
  opacity: 0; transition: --pw-vfo 0.5s var(--pw-ease), opacity 0.35s var(--pw-ease);
}
.pw-vf--hover::before, .pw-vfi--hover .wpr-grid-media-wrap::before {
  content: ""; position: absolute; z-index: 5; left: 50%; top: 50%; width: var(--pw-vf-afs, 46px); aspect-ratio: 4 / 3;
  border: 1.5px solid currentColor; color: #fff; pointer-events: none;
  background: linear-gradient(currentColor 0 0) 50% 50% / 8px 1.5px no-repeat, linear-gradient(currentColor 0 0) 50% 50% / 1.5px 8px no-repeat;
  transform: translate(-50%, -50%) scale(var(--pw-afs)); opacity: 0;
  transition: --pw-afs 0.4s var(--pw-ease) 0.08s, opacity 0.2s 0.08s, color 0.12s 0.5s;
  filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.65));
}
.pw-vf--hover img, .pw-vfi--hover .wpr-grid-media-wrap img { transition: transform 1.1s var(--pw-ease); }
.pw-vf--hover:hover::after, .pw-vf--hover:focus-within::after,
.pw-vfi--hover .wpr-grid-item:hover .wpr-grid-media-wrap::after { --pw-vfo: var(--pw-vf-offset, 14px); opacity: 1; }
.pw-vf--hover:hover::before, .pw-vf--hover:focus-within::before,
.pw-vfi--hover .wpr-grid-item:hover .wpr-grid-media-wrap::before { --pw-afs: 1; opacity: 1; color: var(--pw-vf-af, #ff2a3d); }
.pw-vf--hover:hover img, .pw-vf--hover:focus-within img,
.pw-vfi--hover .wpr-grid-item:hover .wpr-grid-media-wrap img { transform: scale(1.08); }
.pw-vf--hover::after, .pw-vfi--hover .wpr-grid-media-wrap::after { filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.45)); }

/* ---------- Reveal extension ---------- */
.pw-anim .pw-reveal--lines .elementor-heading-title { visibility: hidden; }
.pw-reveal--lines .pw-line-mask { display: block; overflow: clip; overflow-clip-margin: 0.12em; }
.pw-anim .pw-reveal--focus img { filter: blur(14px); transform: scale(1.06); }
.pw-reveal--focus img { transition: filter 1.3s var(--pw-ease), transform 1.3s var(--pw-ease); }
.pw-anim .pw-reveal--develop img, .pw-anim .pw-reveali--develop .wpr-grid-image-wrap img { filter: brightness(2.3) contrast(0.25) saturate(0); }
.pw-reveal--develop img, .pw-reveali--develop .wpr-grid-image-wrap img { transition: filter 1.6s cubic-bezier(0.33, 1, 0.68, 1); }
.pw-anim .pw-reveal--focus.is-revealed img, .pw-anim .pw-reveal--develop.is-revealed img,
.pw-anim .pw-reveali--develop .is-revealed img { filter: none; transform: none; }

/* ---------- Scroll state extension ---------- */
.pw-scroll-state-on { transition: background-color 0.35s, box-shadow 0.35s; }

/* ---------- Shared link ---------- */
.pw-link { display: inline-flex; align-items: center; gap: 0.5em; padding-bottom: 3px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.3s var(--pw-ease), color 0.2s; }
.pw-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.pw-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--pw-ease); }
.pw-link:hover svg { transform: translateX(3px); }

/* ---------- Video toggle (muted loops must be pausable, WCAG 2.2.2) ---------- */
/* doubled class: these are <button>s, and the Kit's theme button style (.elementor-kit-N button) must not reach them */
button.pw-vid-toggle.pw-vid-toggle {
  position: absolute; z-index: 2; left: calc(var(--l, 0px) + 14px); bottom: calc(var(--t, 0px) + 14px);
  display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: rgba(12, 11, 11, 0.55); color: #fff;
  font: inherit; line-height: 1; cursor: pointer; opacity: 0.8; transition: opacity 0.2s, border-color 0.2s;
}
button.pw-vid-toggle.pw-vid-toggle:hover, button.pw-vid-toggle.pw-vid-toggle:focus-visible { opacity: 1; border-color: var(--pw-accent, #ff2a3d); background: rgba(12, 11, 11, 0.55); color: #fff; }

/* ---------- Viewfinder (hero OSD) ---------- */
.e-con > .elementor-widget-pw-viewfinder, .elementor-widget-pw-viewfinder { position: absolute; inset: 0; z-index: 2; margin: 0; pointer-events: none; width: auto; max-width: none; }
.pw-viewfinder { position: absolute; top: 90px; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 3.5vh, 36px); color: rgba(255, 255, 255, 0.9); pointer-events: none; }
.pw-viewfinder .pw-c { width: var(--pw-corner, clamp(24px, 3vw, 40px)); }
.pw-vf-focus { position: absolute; left: 47%; top: 34%; width: clamp(56px, 6vw, 84px); aspect-ratio: 4 / 3; translate: -50% -50%; border: 1.5px solid currentColor; }
.pw-vf-focus::before, .pw-vf-focus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; translate: -50% -50%; }
.pw-vf-focus::before { width: 10px; height: 1.5px; }
.pw-vf-focus::after { width: 1.5px; height: 10px; }
.pw-vf-focus.is-locked { color: var(--pw-accent, #ff2a3d); }
.pw-vf-data { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.pw-vf-rec { position: absolute; top: 10px; left: clamp(40px, 4vw, 60px); display: flex; align-items: center; gap: 10px; }
.pw-rec-dot { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--pw-accent, #ff2a3d); }
.pw-vf-format { position: absolute; top: 10px; right: clamp(40px, 4vw, 60px); }
.pw-vf-exposure { position: absolute; right: clamp(40px, 4vw, 60px); bottom: 8px; display: flex; gap: 18px; font-weight: 400; }
.pw-viewfinder.is-recording .pw-rec-dot { animation: pw-tally 1s steps(1, end) infinite; }
.pw-viewfinder.is-standby .pw-rec-dot { background: #9d978f; }
.pw-viewfinder.is-standby .pw-vf-rec { opacity: 0.7; }
@keyframes pw-tally { 50% { opacity: 0.15; } }
.pw-iris { position: absolute; inset: 0; z-index: 4; display: none; width: 100%; height: 100%; pointer-events: none; }
.pw-anim .pw-iris { display: block; }
.pw-anim .pw-viewfinder { visibility: hidden; }
/* until the intro runs, the hero's own content waits behind the closed iris (no flash) */
.pw-anim .e-con:has(> .pw-intro-yes) .elementor-widget:not(.elementor-widget-pw-viewfinder),
.pw-anim .e-con:has(> .e-con-inner > .pw-intro-yes) .elementor-widget:not(.elementor-widget-pw-viewfinder) { visibility: hidden; }
@media (max-width: 700px) {
  .pw-vf-compact-yes .pw-vf-exposure, .pw-vf-compact-yes .pw-vf-format { display: none; }
}

/* ---------- Formats ---------- */
.pw-formats { --pw-header-h: 76px; --pw-line: rgba(239, 235, 230, 0.14); position: relative; }
.pw-formats__pin { position: relative; }
.pw-step { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.pw-step + .pw-step { border-top: 1px solid var(--pw-line); }
.pw-step__media { position: relative; margin: 0; background: #000; overflow: hidden; }
.pw-step__media img, .pw-step__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-step[data-ratio="3:2"] .pw-step__media { aspect-ratio: 3 / 2; }
.pw-step[data-ratio="16:9"] .pw-step__media { aspect-ratio: 16 / 9; }
.pw-step[data-ratio="9:16"] .pw-step__media { aspect-ratio: 9 / 16; width: min(100%, 44vh); justify-self: center; }
.pw-step[data-ratio="4:5"] .pw-step__media { aspect-ratio: 4 / 5; width: min(100%, 56vh); justify-self: center; }
.pw-step[data-ratio="1:1"] .pw-step__media { aspect-ratio: 1; width: min(100%, 64vh); justify-self: center; }
.pw-step[data-ratio="21:9"] .pw-step__media { aspect-ratio: 21 / 9; }
.pw-step__ratio { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; letter-spacing: 0.02em; color: #9d978f; }
.pw-step__ratio::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.pw-step__title { margin: 0 0 18px; }
.pw-step__desc { max-width: 40ch; margin: 0 0 1em; color: rgba(239, 235, 230, 0.82); }
.pw-step__text .pw-link { margin-top: 10px; }
.pw-formats__progress, .pw-formats__frame { display: none; }
.pw-formats.is-staged .pw-formats__pin { --t: 0px; --l: 0px; height: 100vh; height: 100svh; }
.pw-formats.is-staged .pw-step { display: block; padding: 0; border: 0; }
.pw-formats.is-staged .pw-step__media, .pw-formats.is-staged .pw-formats__frame {
  position: absolute; top: calc(50% + var(--pw-header-h) / 2); right: 0;
  width: var(--pw-media-w, min(56vw, 900px)); height: var(--pw-media-h, min(72vh, 720px)); translate: 0 -50%; justify-self: auto;
}
.pw-formats.is-staged .pw-step__media { aspect-ratio: auto; clip-path: inset(var(--t) var(--l) var(--t) var(--l)); will-change: clip-path; }
.pw-formats.is-staged .pw-step:not(:first-child) .pw-step__media { opacity: 0; visibility: hidden; }
.pw-formats.is-staged .pw-step__text { position: absolute; left: 0; top: calc(50% + var(--pw-header-h) / 2); translate: 0 -50%; width: var(--pw-text-w, min(30vw, 440px)); }
.pw-formats.is-staged .pw-step:not(:first-child) .pw-step__text { opacity: 0; visibility: hidden; }
.pw-formats.is-staged .pw-formats__frame { display: block; pointer-events: none; }
.pw-formats__frame .pw-c { width: 28px; color: var(--pw-corner-color, #efebe6); }
.pw-formats__frame .pw-c--tl { top: calc(var(--t) - 12px); left: calc(var(--l) - 12px); }
.pw-formats__frame .pw-c--tr { top: calc(var(--t) - 12px); right: calc(var(--l) - 12px); }
.pw-formats__frame .pw-c--bl { bottom: calc(var(--t) - 12px); left: calc(var(--l) - 12px); }
.pw-formats__frame .pw-c--br { bottom: calc(var(--t) - 12px); right: calc(var(--l) - 12px); }
.pw-formats.is-staged .pw-formats__progress {
  --p: 0; position: absolute; left: 0; bottom: clamp(28px, 5vh, 56px);
  display: grid; grid-template-columns: repeat(var(--pw-n, 3), auto); gap: 22px; width: var(--pw-text-w, min(30vw, 440px)); margin: 0; padding: 18px 0 0; list-style: none;
}
.pw-formats__progress::before, .pw-formats__progress::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.pw-formats__progress::before { background: var(--pw-line); }
.pw-formats__progress::after { background: var(--pw-accent, #ff2a3d); transform: scaleX(var(--p)); transform-origin: 0 50%; }
.pw-formats__progress li { transition: color 0.3s; opacity: 0.75; }
.pw-formats__progress li.is-active { opacity: 1; color: var(--pw-corner-color, #efebe6); }
@media (max-width: 899px) {
  .pw-step { grid-template-columns: 1fr; }
  .pw-step[data-ratio="9:16"] .pw-step__media { width: min(100%, 62vh); }
}

/* ---------- Edit timeline ---------- */
.pw-edit { display: grid; gap: 16px; }
.pw-edit__monitor { position: relative; margin: 0; aspect-ratio: 16 / 9; background: #000; }
.pw-edit__frame { position: absolute; inset: 0; opacity: 0; transition: opacity 0.12s; }
.pw-edit__frame.is-active { opacity: 1; }
.pw-edit__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-edit__tc { position: absolute; left: 14px; bottom: 12px; z-index: 3; margin: 0; padding: 4px 8px; background: rgba(12, 11, 11, 0.72); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.pw-edit__timeline { --p: 0; position: relative; padding: 24px 0 0; }
.pw-edit__ruler { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; font-size: 11px; font-variant-numeric: tabular-nums; color: var(--pw-muted, #9d978f); }
.pw-edit__track { display: flex; gap: 3px; height: 56px; }
button.pw-edit__clip.pw-edit__clip { flex: var(--len) 1 0; min-width: 0; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(239, 235, 230, 0.16); border-radius: 3px; background: #000; color: inherit; font: inherit; cursor: pointer; opacity: 0.5; transition: opacity 0.2s, border-color 0.2s; }
.pw-edit__clip img { display: block; width: 100%; height: 100%; object-fit: cover; }
button.pw-edit__clip.pw-edit__clip:hover, button.pw-edit__clip.pw-edit__clip.is-active { opacity: 1; border-color: var(--pw-accent, #ff2a3d); background: #000; }
.pw-edit__audio { position: relative; height: 34px; margin-top: 6px; }
.pw-edit__wave { position: absolute; inset: 0; width: 100%; height: 100%; color: color-mix(in srgb, var(--pw-muted, #9d978f) 45%, transparent); }
.pw-edit__wave--played { color: var(--pw-accent, #ff2a3d); clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.pw-edit__playhead { position: absolute; top: 18px; bottom: -4px; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; background: var(--pw-accent, #ff2a3d); pointer-events: none; }
.pw-edit__playhead::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 10px; background: inherit; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- Chapters ---------- */
.pw-chapters__label { margin: 0 0 18px; font-size: 13px; letter-spacing: 0.02em; }
.pw-chapters ol { --p: 0; position: relative; margin: 0; padding: 0 0 0 24px; list-style: none; }
.pw-chapters ol::before, .pw-chapters ol::after { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1.5px; }
.pw-chapters ol::before { background: var(--pw-line, rgba(28, 26, 25, 0.16)); }
.pw-chapters ol::after { background: var(--pw-accent, #cf1029); transform: scaleY(var(--p)); transform-origin: 50% 0; }
.pw-chapters li { position: relative; margin: 0 0 16px; }
.pw-chapters li::before { content: ""; position: absolute; left: -24px; top: 0.45em; width: 9px; height: 9px; border-radius: 50%; background: var(--pw-dot-bg, #f2f1ee); border: 1.5px solid var(--pw-dot-line, #57524e); box-sizing: border-box; transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--pw-ease); }
.pw-chapters li.is-done::before, .pw-chapters li.is-active::before { background: var(--pw-accent, #cf1029); border-color: var(--pw-accent, #cf1029); }
.pw-chapters li.is-active::before { transform: scale(1.35); }
.pw-chapters a { display: inline-block; font-size: 15px; line-height: 1.35; text-decoration: none; transition: color 0.2s; }
.pw-chapters li.is-active a { font-weight: 600; }

/* ---------- Stat ---------- */
.pw-stat { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid rgba(239, 235, 230, 0.14); }
.pw-stat__pre { font-size: 14px; }
.pw-stat__n { font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 0.95; }
.pw-stat__num { display: inline-block; text-align: right; }
.pw-stat__u { font-size: 0.4em; }
.pw-stat__split { margin-top: 2px; font-size: 14px; }

/* ---------- Photo switcher ---------- */
.pw-switcher { position: relative; margin: 0; aspect-ratio: var(--pw-ratio, 3 / 2); background: var(--pw-stage-bg, #e5e3de); }
.pw-switcher > .pw-c { color: var(--pw-corner-color, #1c1a19); }
.pw-switcher__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s var(--pw-ease); overflow: hidden; }
.pw-switcher__slide img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(8px); transform: scale(1.04); transition: filter 0.7s var(--pw-ease), transform 0.9s var(--pw-ease); }
.pw-switcher__slide.is-active { opacity: 1; }
.pw-switcher__slide.is-active img { filter: none; transform: none; }
.pw-switcher.is-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: auto; background: none; }
.pw-switcher.is-grid .pw-switcher__slide { position: static; opacity: 1; }
.pw-switcher.is-grid .pw-switcher__slide img { aspect-ratio: 3 / 2; height: auto; filter: none; transform: none; }
.pw-switcher.is-grid > .pw-c { display: none; }
.pw-switch-list .elementor-icon-list-item { cursor: pointer; }
.pw-switch-list .elementor-icon-list-item .elementor-icon-list-icon svg, .pw-switch-list .elementor-icon-list-item .elementor-icon-list-icon i { transition: transform 0.3s var(--pw-ease), fill 0.2s, color 0.2s; transform-origin: 0 50%; }
.pw-switch-list .elementor-icon-list-item.is-active .elementor-icon-list-text { color: var(--pw-switch-text, #1c1a19); }
.pw-switch-list .elementor-icon-list-item.is-active .elementor-icon-list-icon svg { fill: var(--pw-switch-marker, #cf1029); transform: scaleX(1.5); }
.pw-switch-list .elementor-icon-list-item.is-active .elementor-icon-list-icon i { color: var(--pw-switch-marker, #cf1029); transform: scaleX(1.5); }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .pw-vf--hover img, .pw-vfi--hover .wpr-grid-media-wrap img { transition: none; }
  .pw-vf--hover:hover img, .pw-vfi--hover .wpr-grid-item:hover .wpr-grid-media-wrap img { transform: none; }
  .pw-viewfinder .pw-rec-dot { animation: none !important; }
}

/* Royal's mobile menu, opened (widgets-prime.js marks <body>): the page behind it stays put */
body.pw-menu-open { overflow: hidden; }

/* Filter counts on Royal's Image Grid (widgets-prime.js); colour and size come from the widget's controls */
.pw-filter-n { margin-left: 4px; font-size: 0.8em; font-variant-numeric: tabular-nums; }

/* Timeline: milestones on a line that fills as you read; the entries you passed light up */
.pw-timeline { --p: 0; position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.pw-timeline::before, .pw-timeline::after { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1.5px; }
.pw-timeline::before { background: var(--pw-line, rgba(239, 235, 230, 0.14)); }
.pw-timeline::after { background: var(--pw-accent, #ff2a3d); transform: scaleY(var(--p)); transform-origin: 50% 0; }
.pw-timeline li { position: relative; padding-bottom: var(--pw-gap, 36px); }
.pw-timeline li:last-child { padding-bottom: 0; }
.pw-timeline li::before { content: ""; position: absolute; left: -30px; top: 0.3em; width: 10px; height: 10px; box-sizing: border-box; border-radius: 50%; background: var(--pw-dot-bg, #161413); border: 1.5px solid var(--pw-dot-line, #9d978f); transition: background-color 0.25s, border-color 0.25s; }
.pw-timeline li.is-done::before { background: var(--pw-accent, #ff2a3d); border-color: var(--pw-accent, #ff2a3d); }
.pw-timeline__when { margin: 0 0 6px; }
.pw-timeline__title { margin: 0 0 8px; }
.pw-timeline__text { margin: 0; }

/* the pause button of a looping Elementor Video widget (widgets-prime.js) sits on its player */
.elementor-widget-video .elementor-wrapper:has(> .pw-vid-toggle) { position: relative; }
