/* ==========================================================================
   Arshan – Process / Steps sections (20 styles)
   Load after style.css, placeholders.css and about.css (uses the .ab
   section shell, .ab-kicker, .ab__title, .ab-checks, .ab-img, .ab-float).
   Steps are ordered lists (<ol>) so their sequence is announced.
   --------------------------------------------------------------------------
   1. Step rows & nodes   4. Paths (curved / dotted)   7. Media
   2. Cards & tiles       5. Circle process            8. Responsive
   3. Lists & timelines   6. Illustration icons
   ========================================================================== */

.pr-reset { list-style: none; margin: 0; padding: 0; }

/* 1. Step rows & nodes -------------------------------------------------- */
.pr-steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 18px; margin-top: 28px; list-style: none; padding: 0; }
.pr-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pr-steps--arrows .pr-step:not(:last-child)::after { content: ""; position: absolute; top: var(--arrow-top, 22px); right: -14px; width: 12px; height: 12px; transform: translateX(50%);
  background: currentColor; color: var(--muted-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pr-steps--line .pr-step:not(:last-child)::before { content: ""; position: absolute; top: var(--arrow-top, 22px); left: calc(50% + 32px); right: calc(-50% + 32px); border-top: 2px dashed var(--line-c, var(--primary-100)); }
.pr-step b { display: block; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--ab-head); }
.pr-step h3 { font-size: 14px; color: var(--ab-head); line-height: 1.3; }
.pr-step p { margin-top: 3px; font-size: 12px; line-height: 1.5; max-width: 20ch; }
.pr-node { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg, var(--primary-50)); color: var(--c, var(--primary)); }
.pr-node .icon { width: 20px; height: 20px; }
.pr-node--sq { border-radius: 14px; }
.pr-node--num { font-size: 17px; font-weight: 800; }
.pr-node--solid { background: var(--c, var(--primary)); color: #fff; box-shadow: 0 10px 22px -10px var(--c, var(--primary)); }
.pr-node--glow { width: 52px; height: 52px; background: rgba(255,255,255,.05); border: 1.5px solid var(--c, #a99bff); color: #fff; box-shadow: 0 0 26px -4px var(--c, #a99bff), inset 0 0 18px -6px var(--c, #a99bff); }
.pr-c1 { --bg: #efebff; --c: #6d4cf0; }
.pr-c2 { --bg: #e8f1ff; --c: #3d8ef5; }
.pr-c3 { --bg: #e3f6f2; --c: #16a58f; }
.pr-c4 { --bg: #fff1e6; --c: #e07a1f; }
.pr-c5 { --bg: #ffeef4; --c: #e0408a; }

/* 2. Cards & tiles ------------------------------------------------------ */
.pr-card { align-items: flex-start; padding: 18px 16px; border: 1px solid var(--ab-line); border-radius: 14px; background: #fff; text-align: left; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.pr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pr-card .pr-node { margin-bottom: 14px; }
.pr-card b { margin: 0; font-size: 20px; }
.pr-card p { max-width: none; }
.pr-tile { align-items: center; padding: 18px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.pr-tile .pr-node { margin-bottom: 12px; }
.pr-tile b { margin: 0 0 2px; }
.pr-media-card { align-items: flex-start; text-align: left; }
.pr-media-card .ab-img { width: 100%; aspect-ratio: 1.3; min-height: 0; border-radius: 10px; margin-bottom: 12px; }
.pr-media-card b { margin: 0; font-size: 13px; }

/* 3. Lists & timelines -------------------------------------------------- */
.pr-list { display: grid; gap: 14px; margin-top: 20px; list-style: none; padding: 0; counter-reset: pr; }
.pr-list li { display: flex; gap: 14px; align-items: flex-start; counter-increment: pr; }
.pr-list strong { display: block; font-size: 14px; color: var(--ab-head); }
.pr-list span { font-size: 12.5px; }
.pr-list--num li::before { content: counter(pr, decimal-leading-zero); display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 700; }
.pr-list--num li:nth-child(4n+2)::before { background: #e0408a; }
.pr-list--num li:nth-child(4n+3)::before { background: #8b5cf6; }
.pr-list--num li:nth-child(4n+4)::before { background: #e07a1f; }
.pr-list--soft li::before { background: var(--primary-50); color: var(--primary); }
.pr-list--soft li:nth-child(n)::before { background: var(--primary-50); color: var(--primary); }
.pr-list--text li::before { content: counter(pr, decimal-leading-zero); flex-shrink: 0; min-width: 26px; font-size: 14px; font-weight: 800; color: var(--primary); }
.pr-list .pr-node { width: 34px; height: 34px; }
.pr-list .pr-node .icon { width: 16px; height: 16px; }
.pr-vtl { position: relative; display: grid; gap: 18px; list-style: none; padding: 0 0 0 30px; counter-reset: pr; }
.pr-vtl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--primary-100); }
.pr-vtl li { position: relative; counter-increment: pr; }
.pr-vtl li::before { content: ""; position: absolute; left: -30px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-sizing: border-box; }
.pr-vtl strong { display: block; font-size: 14px; color: var(--ab-head); }
.pr-vtl--num strong::before { content: counter(pr, decimal-leading-zero) "  "; color: var(--primary); white-space: pre; }
.pr-vtl span { font-size: 12.5px; }

/* 4. Paths -------------------------------------------------------------- */
.pr-path { position: relative; min-height: 280px; list-style: none; margin: 0; padding: 0; }
.pr-path__list { list-style: none; margin: 0; padding: 0; }
.pr-path__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pr-path__line path { fill: none; stroke: var(--primary-100); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.pr-path li { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 12px; max-width: 46%; }
.pr-path li strong { display: block; font-size: 13.5px; color: var(--ab-head); }
.pr-path li span { font-size: 12px; }
.pr-path--center li { flex-direction: column; text-align: center; transform: translateX(-50%); gap: 6px; max-width: 26%; }

/* 5. Circle process ----------------------------------------------------- */
.pr-orbit { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr; align-items: center; gap: 12px; margin-top: 26px; list-style: none; padding: 0; }
.pr-orbit__center { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #f4f2ff 0 58%, transparent 60%); box-shadow: inset 0 0 0 2px var(--primary-100); }
.pr-orbit__center .ph-dashboard { left: 16%; right: 16%; top: 24%; bottom: 24%; }
.pr-orbit .pr-step:nth-child(2), .pr-orbit .pr-step:nth-child(4) { margin-top: 40px; }

/* 6. Illustration icons ------------------------------------------------- */
.pr-iso { position: relative; width: 74px; height: 74px; margin-bottom: 10px; }
.pr-iso::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(91,76,240,.25), transparent 70%); }
.pr-iso span { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; transform: translate(-50%, -50%) rotate(45deg) skew(-8deg, -8deg); background: linear-gradient(135deg, #8b7dff, #4f3ee0); box-shadow: 6px 6px 0 #3a2ac0, 0 16px 24px -10px rgba(79,62,224,.6); }
.pr-iso .icon { width: 22px; height: 22px; color: #fff; transform: rotate(-45deg); }

/* 7. Media -------------------------------------------------------------- */
.pr-video { position: relative; overflow: hidden; min-height: 220px; border-radius: 14px; background: #1b2140; }
.pr-video .ab-play { color: var(--ink); }
.pr-video time { position: absolute; z-index: 3; right: 12px; bottom: 10px; padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.pr-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 20px 0 16px; padding: 4px; border-radius: 12px; background: #f4f4fb; }
.pr-tabs button { flex: 1; min-width: 90px; height: 36px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.pr-tabs button[aria-selected="true"] { background: var(--primary); color: #fff; box-shadow: 0 8px 16px -10px var(--primary); }

/* 8. Responsive --------------------------------------------------------- */
@container ab (max-width: 480px) {
  .pr-steps { gap: 14px; }
  .pr-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-orbit__center { grid-column: 1 / -1; grid-row: 1; width: 44%; margin: 0 auto; }
  .pr-orbit .pr-step:nth-child(n) { margin-top: 0; }
}
@container ab (max-width: 540px) {
  .pr-steps:not(.pr-steps--keep) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .pr-steps--arrows .pr-step:nth-child(2n)::after, .pr-steps--line .pr-step:nth-child(2n)::before { display: none; }
  .pr-path { min-height: 0; }
  .pr-path__line { display: none; }
  .pr-path li { position: static; max-width: none; transform: none; margin-bottom: 14px; }
  .pr-path--center li { flex-direction: row; text-align: left; }
}

/* ==========================================================================
   9. Set 2 additions (elements-timeline.html)
   ========================================================================== */
/* solid connector through node centres */
.pr-steps--solid .pr-step:not(:last-child)::before { content: ""; position: absolute; top: var(--arrow-top, 22px); left: calc(50% + 28px); right: calc(-50% + 28px); height: 2px; background: linear-gradient(90deg, var(--primary), #a99bff); }
/* highlighted / current card */
.pr-card.is-current { background: linear-gradient(160deg, #6d5cff, var(--primary)); border-color: transparent; color: rgba(255,255,255,.8); box-shadow: 0 20px 36px -18px rgba(91,76,240,.8); }
.pr-card.is-current b, .pr-card.is-current h3 { color: #fff; }
.pr-card.is-current .pr-node { background: rgba(255,255,255,.18); color: #fff; }
.pr-card--soft { background: var(--bg, #f4f2ff); border-color: transparent; box-shadow: none; }
.pr-card--soft .pr-node { background: #fff; }
.pr-big { display: block; font-size: 26px; font-weight: 800; color: var(--c, var(--primary)); line-height: 1; margin-bottom: 8px; }
/* mini cards (image + cards) */
.pr-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; list-style: none; padding: 0; counter-reset: pr; }
.pr-mini { display: flex; gap: 10px; padding: 12px; border: 1px solid var(--ab-line); border-radius: 12px; background: #fff; }
.pr-mini .pr-node { width: 32px; height: 32px; flex-shrink: 0; }
.pr-mini .pr-node .icon { width: 15px; height: 15px; }
.pr-mini strong { display: block; font-size: 13px; color: var(--ink); }
.pr-mini span { font-size: 11.5px; line-height: 1.4; }
/* year timeline */
.pr-years { position: relative; display: grid; gap: 16px; list-style: none; padding: 0; }
.pr-years::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 2px; background: var(--primary-100); }
.pr-years li { display: grid; grid-template-columns: 70px 32px 1fr; align-items: start; }
.pr-years time { justify-self: start; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--bg, var(--primary-50)); color: var(--c, var(--primary)); }
.pr-years .dot { width: 14px; height: 14px; margin: 4px 0 0 9px; border-radius: 50%; background: #fff; border: 3.5px solid var(--c, var(--primary)); position: relative; z-index: 1; }
.pr-years strong { display: block; font-size: 13.5px; color: var(--ab-head); }
.pr-years span { font-size: 12px; }
/* continuous cycle */
.pr-cycle { display: grid; grid-template-columns: 1fr minmax(120px, 0.9fr) 1fr; grid-template-rows: auto auto; align-items: center; gap: 18px 12px; margin-top: 22px; list-style: none; padding: 0; }
.pr-cycle__ring { grid-column: 2; grid-row: 1 / 3; position: relative; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(#e0408a 0 22%, transparent 22% 25%, #6d4cf0 25% 47%, transparent 47% 50%, #22b8a3 50% 72%, transparent 72% 75%, #8b5cf6 75% 97%, transparent 97%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.pr-cycle > [role="listitem"] { display: flex; align-items: center; gap: 10px; }
.pr-cycle > [role="listitem"]:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.pr-cycle strong { display: block; font-size: 13.5px; color: var(--ab-head); }
.pr-cycle span { font-size: 12px; }
.pr-cycle > div:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.pr-cycle > div:nth-of-type(2) { grid-column: 3; grid-row: 1; }
.pr-cycle > div:nth-of-type(3) { grid-column: 1; grid-row: 2; }
.pr-cycle > div:nth-of-type(4) { grid-column: 3; grid-row: 2; }
.pr-cycle > div:nth-of-type(even) { flex-direction: row; text-align: left; }
/* progress tracker (interactive) */
.pr-progress__bar { display: grid; gap: 6px; margin-bottom: 20px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ab-line); background: #fff; font-size: 12px; color: var(--ab-head); }
.pr-progress__bar div { display: flex; justify-content: space-between; }
.pr-progress__track { display: block; height: 6px; border-radius: 99px; background: #eceafe; overflow: hidden; }
.pr-progress__fill { display: block; height: 100%; width: var(--pct, 50%); border-radius: inherit; background: linear-gradient(90deg, #7b6bff, var(--primary)); transition: width .4s; }
.pr-progress__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; }
.pr-progress__steps button { line-height: 1.25; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 12px 4px; border-radius: 12px; border: 1px solid var(--ab-line); background: #fff; font-size: 11.5px; font-weight: 600; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.pr-progress__steps button:hover { border-color: var(--primary-100); }
.pr-progress__steps .pr-node { flex-shrink: 0; width: 38px; height: 38px; background: #f1f2f7; color: var(--muted); }
.pr-progress__steps small { font-size: 11px; font-weight: 500; color: var(--muted-2); }
.pr-progress__steps [data-state="done"] .pr-node { background: #e3f6f2; color: #16a58f; }
.pr-progress__steps [data-state="done"] small { color: #16a58f; }
.pr-progress__steps [data-state="current"] { border-color: var(--primary); box-shadow: 0 12px 24px -16px var(--primary); }
.pr-progress__steps [data-state="current"] .pr-node { background: var(--primary); color: #fff; }
.pr-progress__steps [data-state="current"] small { color: var(--primary); }
/* small figure illustration */
.pr-figure { display: block; position: relative; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: var(--bg, var(--primary-50)); overflow: hidden; }
.pr-figure .ph-person { --h: 90%; --x: 12%; }
.pr-figure .pr-node { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border: 3px solid #fff; z-index: 2; }
.pr-figure .pr-node .icon { width: 13px; height: 13px; }
.pr-figure-wrap { position: relative; display: inline-block; }
.pr-figure-wrap .pr-node { position: absolute; right: -6px; bottom: 6px; width: 30px; height: 30px; border: 3px solid #fff; }
.pr-figure-wrap .pr-node .icon { width: 13px; height: 13px; }
@container ab (max-width: 540px) {
  .pr-steps--solid .pr-step:nth-child(2n)::before { display: none; }
  .pr-cycle { grid-template-columns: 1fr; }
  .pr-cycle__ring { grid-column: 1; grid-row: auto; width: 40%; margin: 0 auto; }
  .pr-cycle > div:nth-of-type(n) { grid-column: 1; grid-row: auto; flex-direction: row; text-align: left; }
  .pr-progress__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-minis { grid-template-columns: 1fr; }
}
.pr-card--soft:nth-child(4n+2) { --bg: #eef5ff; }
.pr-card--soft:nth-child(4n+3) { --bg: #ecf9f5; }
.pr-card--soft:nth-child(4n+4) { --bg: #fff4ec; }
@container ab (max-width: 760px) {
  .pr-progress__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   10. Set 3 additions (elements-process-3.html)
   ========================================================================== */
/* numbered badges on a vertical line */
.pr-badges { position: relative; display: grid; gap: 20px; list-style: none; padding: 0; counter-reset: pr; }
.pr-badges::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: var(--line-c, var(--primary-100)); }
.pr-badges li { position: relative; display: flex; gap: 16px; align-items: flex-start; counter-increment: pr; }
.pr-badges li::before { content: counter(pr, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--badge, var(--primary)); color: #fff; font-size: 11.5px; font-weight: 700; box-shadow: 0 0 0 5px var(--ring, #fff); }
.pr-badges li:nth-child(4n+2) { --badge: #e0408a; }
.pr-badges li:nth-child(4n+3) { --badge: #16a58f; }
.pr-badges li:nth-child(4n+4) { --badge: #8b5cf6; }
.pr-badges--mono li:nth-child(n) { --badge: var(--primary); }
.pr-badges strong { display: block; font-size: 14px; color: var(--ab-head); }
.pr-badges span { font-size: 12.5px; }
.ab--dark .pr-badges { --ring: #0d1130; --line-c: rgba(255,255,255,.12); }
/* image row timeline */
.pr-imgline { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; margin-top: 24px; list-style: none; padding: 0; }
.pr-imgline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pr-imgline .ab-img { width: 100%; aspect-ratio: 1.4; min-height: 0; border-radius: 10px; }
.pr-imgline .dot { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; margin: 12px 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; box-shadow: 0 0 0 5px var(--primary-50); }
.pr-imgline .track { position: relative; display: flex; justify-content: center; width: 100%; }
.pr-imgline li:not(:last-child) .track::before { content: ""; position: absolute; top: 50%; left: 50%; width: calc(100% + 14px); border-top: 2px solid var(--primary-100); }
.pr-imgline h3 { font-size: 13.5px; color: var(--ab-head); }
.pr-imgline p { font-size: 12px; margin-top: 2px; }
/* floating step cards over an image */
.pr-floatcards { position: absolute; z-index: 3; left: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; list-style: none; padding: 0; counter-reset: pr; }
.pr-floatcards li { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); counter-increment: pr; font-size: 11.5px; color: var(--muted); }
.pr-floatcards li::before { content: counter(pr, decimal-leading-zero); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--badge, var(--primary)); color: #fff; font-size: 11px; font-weight: 700; }
.pr-floatcards li:nth-child(2) { --badge: #e0408a; margin-left: 18px; }
.pr-floatcards li:nth-child(3) { --badge: #8b5cf6; }
.pr-floatcards strong { display: block; font-size: 12.5px; color: var(--ink); }
/* outlined large numbers */
.pr-bignum { display: block; font-size: clamp(34px, 7cqi, 52px); font-weight: 800; line-height: 1; letter-spacing: 0; color: transparent; -webkit-text-stroke: 1.5px var(--primary); background: linear-gradient(180deg, rgba(91,76,240,.25), rgba(91,76,240,0)); -webkit-background-clip: text; background-clip: text; margin-bottom: 8px; }
/* orbit with centre logo */
.pr-ring4 { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto auto; align-items: center; justify-items: center; gap: 22px 14px; max-width: 520px; margin: 22px auto 0; list-style: none; padding: 0; }
.pr-ring4__core { grid-column: 2; grid-row: 2; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #7b6bff, var(--primary)); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 12px var(--primary-50), 0 18px 30px -12px var(--primary); text-align: center; }
.pr-ring4__core svg { width: 26px; height: 26px; --logo-fill: #fff; --logo-ring: var(--primary); }
.pr-ring4 li { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.pr-ring4 .bubble { display: grid; place-items: center; flex-shrink: 0; width: 66px; height: 66px; border-radius: 50%; background: var(--bg); color: var(--c); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.2; box-shadow: var(--shadow-sm); }
.pr-ring4 .bubble b { display: block; font-size: 15px; }
.pr-ring4 li:nth-of-type(1) { grid-column: 2; grid-row: 1; flex-direction: column; }
.pr-ring4 li:nth-of-type(2) { grid-column: 3; grid-row: 2; justify-self: start; }
.pr-ring4 li:nth-of-type(3) { grid-column: 2; grid-row: 3; flex-direction: column-reverse; }
.pr-ring4 li:nth-of-type(4) { grid-column: 1; grid-row: 2; justify-self: end; flex-direction: row-reverse; text-align: right; }
.pr-ring4 small { max-width: 14ch; color: var(--muted); }
.pr-ring4::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(62%, 250px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed var(--primary-100); z-index: -1; }
/* image | node | card rows */
.pr-rows { position: relative; display: grid; gap: 14px; margin-top: 22px; list-style: none; padding: 0; text-align: left; }
.pr-rows::before { content: ""; position: absolute; left: calc(34% + 16px); top: 10px; bottom: 10px; width: 2px; background: var(--primary-100); }
.pr-rows li { display: grid; grid-template-columns: 34% 32px 1fr; align-items: center; gap: 0; }
.pr-rows .ab-img { aspect-ratio: 1.7; min-height: 0; border-radius: 10px; }
.pr-rows .dot { position: relative; z-index: 1; justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); }
.pr-rows .card { padding: 12px 14px; border: 1px solid var(--ab-line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.pr-rows strong { display: block; font-size: 13px; color: var(--ink); }
.pr-rows span { font-size: 12px; }
/* 2x2 loop with arrows */
.pr-loop { display: grid; grid-template-columns: 1fr 40px 1fr; grid-template-rows: auto 40px auto; max-width: 560px; margin: 24px auto 0; list-style: none; padding: 0; text-align: left; }
.pr-loop > li { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 14px; background: var(--bg, #f4f2ff); }
.pr-loop > li:nth-child(1) { grid-area: 1 / 1; --bg: #f4f2ff; }
.pr-loop > li:nth-child(2) { grid-area: 1 / 3; --bg: #fdf0f7; }
.pr-loop > li:nth-child(3) { grid-area: 3 / 3; --bg: #ecf9f5; }
.pr-loop > li:nth-child(4) { grid-area: 3 / 1; --bg: #eef5ff; }
.pr-loop strong { display: block; font-size: 13.5px; color: var(--ink); }
.pr-loop span { font-size: 12px; }
.pr-loop .pr-node { background: #fff; flex-shrink: 0; }
.pr-loop__arrow { display: grid; place-items: center; color: var(--muted-2); }
.pr-loop__arrow .icon { width: 18px; height: 18px; }
.pr-loop__arrow--r { grid-area: 1 / 2; }
.pr-loop__arrow--d { grid-area: 2 / 3; transform: rotate(90deg); }
.pr-loop__arrow--l { grid-area: 3 / 2; transform: rotate(180deg); }
.pr-loop__arrow--u { grid-area: 2 / 1; transform: rotate(-90deg); }
/* white step bar on photo */
.pr-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-lg); list-style: none; padding: 0; }
.pr-bar li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 8px; text-align: center; font-size: 11.5px; color: var(--muted); }
.pr-bar li + li { border-left: 1px solid var(--line); }
.pr-bar .icon { width: 20px; height: 20px; color: var(--primary); margin-bottom: 4px; }
.pr-bar strong { font-size: 13px; color: var(--ink); }
@container ab (max-width: 540px) {
  .pr-imgline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-imgline .track::before { display: none; }
  .pr-floatcards { position: static; transform: none; margin-top: 12px; }
  .pr-floatcards li:nth-child(2) { margin-left: 0; }
  .pr-ring4 { grid-template-columns: 1fr; grid-template-rows: none; }
  .pr-ring4::before { display: none; }
  .pr-ring4__core { display: none !important; }
  .pr-ring4 li:nth-of-type(n) { grid-column: 1; grid-row: auto; flex-direction: row; text-align: left; justify-self: stretch; }
  .pr-rows::before { left: 15px; }
  .pr-rows li { grid-template-columns: 32px 1fr; }
  .pr-rows .ab-img { display: none; }
  .pr-loop { grid-template-columns: 1fr; grid-template-rows: none; gap: 10px; }
  .pr-loop > li:nth-child(n) { grid-area: auto; }
  .pr-loop__arrow { display: none; }
  .pr-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-bar li:nth-child(3) { border-left: 0; }
  .pr-bar li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ==========================================================================
   11. Set 4 additions (elements-process-4.html)
   ========================================================================== */
/* numbered badge overlapping a media card image */
.pr-media-card .ab-img { overflow: visible; }
.pr-badge { position: absolute; z-index: 2; left: 10px; bottom: -12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 700; box-shadow: 0 0 0 4px #fff; }
.pr-media-card .ab-img + b { margin-top: 8px; }
/* interactive steps: whole step is a link that lights up */
.pr-ix { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 16px; text-align: center; transition: background-color .25s; }
.pr-ix .pr-node { width: 64px; height: 64px; background: #fff; border: 2px solid var(--primary-100); color: var(--c); transition: transform .25s, background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.pr-ix .pr-node .icon { width: 24px; height: 24px; }
.pr-ix:hover, .pr-ix:focus-visible { background: var(--primary-50); }
.pr-ix:hover .pr-node, .pr-ix:focus-visible .pr-node { transform: scale(1.06); background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 14px 26px -12px var(--c); }
.pr-ix b { margin-top: 12px; font-size: 18px; }
.pr-steps--chev .pr-step:not(:last-child)::after { content: "›"; position: absolute; right: -12px; top: 32px; font-size: 22px; line-height: 1; color: var(--muted-2); }
/* link rows with thumbnails */
.pr-linkrows { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; list-style: none; padding: 0; counter-reset: pr; }
.pr-linkrows .sv-row { padding: 8px 12px 8px 8px; }
.pr-linkrows .thumb-sq { position: relative; flex-shrink: 0; width: 52px; height: 52px; min-height: 0; border-radius: 10px; overflow: hidden; }
/* compact inline steps strip */
.pr-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--ab-line); box-shadow: var(--shadow-sm); list-style: none; }
.pr-strip li { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.pr-strip li strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.1; }
.pr-strip .pr-node { width: 34px; height: 34px; }
.pr-strip .pr-node .icon { width: 15px; height: 15px; }
.pr-strip__arrow { color: var(--muted-2); }
.pr-strip__arrow .icon { width: 16px; height: 16px; }
.ab--fade-photo { --ab-bg: #fff; }
.ab--fade-photo .ph-mountain { left: 45%; -webkit-mask: linear-gradient(90deg, transparent, #000 45%); mask: linear-gradient(90deg, transparent, #000 45%); height: 66%; bottom: auto; }
@container ab (max-width: 540px) {
  .pr-linkrows { grid-template-columns: 1fr; }
  .pr-steps--chev .pr-step:nth-child(2n)::after { display: none; }
  .pr-strip { justify-content: flex-start; }
  .pr-strip__arrow { display: none; }
}
.pr-media-card .ab-img:has(.pr-badge) + h3 { margin-top: 18px; }
.ab__grid--rows { grid-template-columns: 0.6fr 1.4fr; }
@container ab (max-width: 640px) { .ab__grid--rows { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. Set 5 additions (elements-process-5.html)
   ========================================================================== */
/* alternating timeline: centre line, items left/right */
.pr-alt { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 56px; margin-top: 24px; list-style: none; padding: 0; text-align: left; }
.pr-alt::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--primary-100); }
.pr-alt li { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.pr-alt li:nth-child(even) { margin-top: 36px; }
.pr-alt li::after { content: ""; position: absolute; top: 16px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-sizing: border-box; }
.pr-alt li:nth-child(odd)::after { right: -35px; }
.pr-alt li:nth-child(even)::after { left: -35px; }
.pr-alt .thumb { position: relative; flex-shrink: 0; width: 62px; height: 52px; min-height: 0; border-radius: 8px; overflow: hidden; }
.pr-alt strong { display: block; font-size: 13px; color: var(--ink); }
.pr-alt strong b { color: var(--primary); margin-right: 4px; }
.pr-alt span { font-size: 12px; }
/* isometric stair */
.pr-stair { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; min-height: 200px; margin-top: 18px; list-style: none; padding: 0; }
.pr-stair li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: calc(80px + var(--i) * 34px); padding-bottom: 10px; border-radius: 14px; background: linear-gradient(180deg, #ffffff, #ece9ff); box-shadow: inset 0 -10px 0 #ddd7ff, 0 18px 30px -18px rgba(91,76,240,.45); text-align: center; }
.pr-stair .pr-node { position: absolute; top: -18px; width: 40px; height: 40px; background: var(--primary); color: #fff; box-shadow: 0 10px 20px -8px var(--primary); }
.pr-stair b { font-size: 12px; color: var(--primary); }
.pr-stair h3 { font-size: 13px; color: var(--ink); }
/* horizontal years */
.pr-yearline { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 12px; margin-top: 24px; list-style: none; padding: 0; text-align: center; }
.pr-yearline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 7px; height: 2px; background: var(--primary-100); }
.pr-yearline li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; }
.pr-yearline .dot { position: relative; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); margin-bottom: 6px; }
.pr-yearline time { font-size: 13px; font-weight: 800; color: var(--ink); }
.pr-yearline .ab-img { width: 100%; aspect-ratio: 1.3; min-height: 0; border-radius: 8px; margin-top: 8px; }
/* horizontal progress with markers */
.pr-hprog { position: relative; margin: 26px 0 22px; padding-top: 22px; }
.pr-hprog__marks { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.pr-hprog__marks span { width: 25%; text-align: right; }
@container ab (max-width: 540px) {
  .pr-alt { grid-template-columns: 1fr; padding-left: 26px; }
  .pr-alt::before { left: 6px; transform: none; }
  .pr-alt li:nth-child(even) { margin-top: 0; }
  .pr-alt li::after, .pr-alt li:nth-child(odd)::after, .pr-alt li:nth-child(even)::after { left: -26px; right: auto; }
  .pr-stair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
  .pr-stair li { height: 110px; }
  .pr-yearline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-yearline::before { display: none; }
}

/* ==========================================================================
   13. Set 6 additions (elements-process-6.html)
   ========================================================================== */
/* node with a partial coloured ring around it */
.pr-node--ring { position: relative; width: 58px; height: 58px; background: #fff; box-shadow: var(--shadow-sm); }
.pr-node--ring::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(var(--c) 0 var(--arc, 70%), #eceefa var(--arc, 70%) 100%);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 64%); mask: radial-gradient(circle, transparent 62%, #000 64%); }
/* staggered (zig-zag) step row */
.pr-steps--zig .pr-step:nth-child(even) { margin-top: 28px; }
/* small dot nodes on a timeline row */
.pr-node--dot { width: 26px; height: 26px; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--c, var(--primary)); background: var(--c, var(--primary)); color: #fff; }
.pr-node--dot .icon { width: 11px; height: 11px; }
.pr-node--hollow { background: #fff; color: var(--c, var(--primary)); }
/* paths on dark backgrounds */
.ab--dark .pr-path__line path { stroke: rgba(169,155,255,.55); }
.ab--dark .pr-path li span { color: rgba(255,255,255,.7); }
/* floating app tiles around an illustration */
.pr-tiles i { position: absolute; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--c, var(--primary)); color: #fff; box-shadow: 0 10px 18px -8px var(--c, var(--primary)); transform: rotate(var(--r, -8deg)); }
.pr-tiles i .icon { width: 16px; height: 16px; }
@container ab (max-width: 540px) { .pr-steps--zig .pr-step:nth-child(even) { margin-top: 0; } }
