/* Positioning blocks (12 Nov 2026): the homepage and menu pages tell one story,
 * training first, AI-native employees, one operating system. Markup comes from
 * scripts/positioning-blocks.py; motion uses assets/js/stage.js (data-st, then
 * .st-arm, then .st-on). Nothing is hidden unless stage.js armed it, so no-JS,
 * crawlers and reduced motion see the finished state. Existing tokens only.
 * Logical properties throughout so the Arabic twin mirrors. */

/* Hero: one h1, two sizes */
.pos-h1 { margin: 0 auto 22px; max-width: 24ch; }
.pos-h1 .h1-main { display: block; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.pos-h1 .h1-sub { display: block; margin-block-start: 16px; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.25;
  font-weight: 700; letter-spacing: -.015em; color: var(--orange); }
.pos-proof { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 26px auto 0; }
.pos-proof .claude-badge { margin: 0; min-height: 44px; flex-wrap: wrap; justify-content: center; text-align: center; }
.pos-proof-n { font-size: 14px; color: var(--text-muted); max-width: 60ch; text-align: center; }
.pos-proof-n strong { color: var(--text); }

/* The hero-alt line pulls itself up under the old badge; the proof strip sits there now. */
.hero .pos-proof + .hero-alt { margin-block-start: 14px; }
.pos-red-t { color: var(--orange); }
.pos-blue-t { color: var(--cyan); }
.pos-gap-fig .pos-red-t, .pos-gap-fig .pos-blue-t { color: inherit; }
.pos-gap .st-src { text-align: start; }

/* Shared */
.pos-tag { margin: 26px 0 0; font-size: clamp(17px, 1.8vw, 21px); font-weight: 800; color: var(--text); text-align: center; }
.pos-tag span { color: var(--orange); }
.pos-micro { margin: 10px 0 0; font-size: 14px; color: var(--text-muted); text-align: center; }
.pos-payoff { margin: 22px auto 0; max-width: 62ch; font-size: 16px; color: var(--text-muted); text-align: center; }
.pos-thesis { margin: 34px auto 0; max-width: 40ch; font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; line-height: 1.2;
  letter-spacing: -.02em; color: var(--text); text-align: center; }
.pos-thesis > span:last-child { color: var(--orange); }
.pos-ask { margin: 22px 0 0; font-size: 15px; color: var(--text-muted); }
.pos-ask b { color: var(--text); }

/* Gap: the Anthropic capture beside two scoped numbers */
.pos-gap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.pos-gap-fig { margin: 0; padding: 14px; border-radius: 18px; background: #f7f5f0; }
.pos-gap-fig img { display: block; inline-size: 100%; block-size: auto; border-radius: 8px; }
.pos-gap-fig figcaption { margin: 10px 4px 2px; font-size: 13.5px; line-height: 1.5; color: #3d3d3a; }
.pos-gap-stats { display: grid; gap: 16px; }
.pos-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px;
  border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-panel); }
.pos-stat b { font-size: clamp(44px, 5.4vw, 64px); font-weight: 900; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pos-stat.pos-blue b { color: var(--cyan); }
.pos-stat.pos-red b { color: var(--orange); }
.pos-stat p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.pos-take { margin: 6px 0 0; font-size: 19px; font-weight: 800; color: var(--text); }
.pos-take span { color: var(--orange); }
.pos-gap .st-src { margin: 0; font-size: 12.5px; }
.pos-gap .st-src a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.pos-gap.st-arm .pos-stat { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s var(--st-ease); }
.pos-gap.st-arm.st-on .pos-stat { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .35s); }
.pos-gap-solo { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }

/* What an operating system is */
.pos-flow-row { display: grid; grid-template-columns: minmax(0, .8fr) 28px minmax(0, 3fr) 28px minmax(0, .8fr); gap: 10px; align-items: center; }
.pos-io { padding: 16px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-panel); }
.pos-io small, .pos-sys > small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.pos-io b { display: block; margin-block-start: 6px; font-size: 15px; line-height: 1.35; color: var(--text); }
.pos-out { border-color: rgba(190, 242, 100, .35); }
.pos-out small { color: var(--lime); }
.pos-arrow { block-size: 2px; background: linear-gradient(90deg, transparent, var(--orange)); position: relative; }
.pos-arrow::after { content: ""; position: absolute; inset-inline-end: -1px; inset-block-start: -4px; border: 5px solid transparent; border-inline-start-color: var(--orange); }
[dir="rtl"] .pos-arrow { background: linear-gradient(270deg, transparent, var(--orange)); }
.pos-sys { padding: 16px; border: 1px dashed rgba(255, 107, 53, .45); border-radius: 18px; }
.pos-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.pos-part { position: relative; padding: 12px; border: 1px solid var(--st-line); border-radius: 12px; background: #070707; }
.pos-part b { display: block; font-size: 14.5px; color: var(--text); }
.pos-part span { display: block; margin-block-start: 3px; font-size: 13px; line-height: 1.4; color: var(--text-dim); }
.pos-part .pos-plus { display: none; }
.pos-part.pos-au { border-color: rgba(255, 107, 53, .5); }
.pos-part.pos-ag { border-color: rgba(56, 189, 248, .5); }
.pos-part.pos-pp { border-color: rgba(190, 242, 100, .5); }
.pos-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block-start: 20px; }
.pos-mode { padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 14px; }
.pos-mode b { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.pos-mode + .pos-mode b { color: var(--cyan); }
.pos-mode p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-muted); }
.pos-flow.st-arm .pos-part, .pos-flow.st-arm .pos-mode { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--st-ease); }
.pos-flow.st-arm.st-on .pos-part { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .12s); }
.pos-flow.st-arm.st-on .pos-mode { opacity: 1; transform: none; transition-delay: calc(1s + var(--i) * .2s); }

/* Mind maps: a centre card and branch cards with connector lines.
 * pm-n4: two branches each side of the centre. pm-n3 / pm-n2: centre on top,
 * branches in a row below. Phones: one column, a rail on the inline start. */
.pm-map { position: relative; display: grid; gap: 18px 28px; margin-block-start: 8px; }
.pm-branches { display: contents; }
.pm-centre { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  padding: 20px; border: 1px solid rgba(255, 107, 53, .6); border-radius: 20px; background: rgba(255, 107, 53, .08); text-align: center; }
.pm-centre b { font-size: 20px; font-weight: 900; color: var(--text); }
.pm-centre span { font-size: 13.5px; color: var(--text-muted); }
.pm-branch { position: relative; list-style: none; }
.pm-card { block-size: 100%; padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 16px; background: var(--st-panel); }
.pm-card h3 { margin: 0; font-size: 17px; color: var(--text); }
.pm-role { margin: 3px 0 0; font-size: 13.5px; font-weight: 700; color: var(--orange); }
.pm-leaves { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-leaves li { padding: 5px 10px; border: 1px solid var(--st-line); border-radius: 999px; font-size: 13px; color: var(--text-muted); }
.pm-link { display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; margin-block-start: 6px; font-size: 14px; font-weight: 700;
  color: var(--cyan-soft); text-decoration: underline; text-underline-offset: 3px; }
.pm-sm .pm-role, .pm-op .pm-role, .pm-co .pm-role { color: var(--cyan); }
.pm-da .pm-role, .pm-dv .pm-role { color: var(--lime); }

.pm-n4 { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.pm-n4 .pm-centre { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-block-size: 160px; }
.pm-n4 .pm-branch:nth-child(1) { grid-column: 1; grid-row: 1; }
.pm-n4 .pm-branch:nth-child(2) { grid-column: 3; grid-row: 1; }
.pm-n4 .pm-branch:nth-child(3) { grid-column: 1; grid-row: 2; }
.pm-n4 .pm-branch:nth-child(4) { grid-column: 3; grid-row: 2; }
.pm-n4 .pm-branch::before { content: ""; position: absolute; inset-block-start: 50%; block-size: 1px; inline-size: 28px; background: rgba(255, 107, 53, .55); }
.pm-n4 .pm-branch:nth-child(odd)::before { inset-inline-end: -28px; }
.pm-n4 .pm-branch:nth-child(even)::before { inset-inline-start: -28px; }

.pm-n3, .pm-n2 { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.pm-n3 { --cols: 3; }
.pm-n2 { --cols: 2; }
.pm-n3 .pm-centre, .pm-n2 .pm-centre { grid-column: 1 / -1; justify-self: center; min-inline-size: min(100%, 340px); margin-block-end: 18px; }
.pm-n3 .pm-centre::after, .pm-n2 .pm-centre::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline-start: 50%;
  block-size: 18px; inline-size: 1px; background: rgba(255, 107, 53, .55); }
.pm-n3 .pm-branch::before, .pm-n2 .pm-branch::before { content: ""; position: absolute; inset-block-start: -19px; inset-inline-start: 50%;
  block-size: 19px; inline-size: 1px; background: rgba(255, 107, 53, .55); }
.pm-n3 .pm-branch::after, .pm-n2 .pm-branch::after { content: ""; position: absolute; inset-block-start: -19px; block-size: 1px;
  inset-inline: -14px; background: rgba(255, 107, 53, .55); }
.pm-n3 .pm-branch:first-child::after, .pm-n2 .pm-branch:first-child::after { inset-inline-start: 50%; }
.pm-n3 .pm-branch:last-child::after, .pm-n2 .pm-branch:last-child::after { inset-inline-end: 50%; }

.pm-map.st-arm .pm-centre { opacity: 0; transform: scale(.94); transition: opacity .5s, transform .5s var(--st-ease); }
.pm-map.st-arm.st-on .pm-centre { opacity: 1; transform: none; }
.pm-map.st-arm .pm-branch { opacity: 0; transform: translateY(12px); transition: opacity .55s, transform .55s var(--st-ease); }
.pm-map.st-arm.st-on .pm-branch { opacity: 1; transform: none; transition-delay: calc(.35s + var(--i) * .3s); }

/* Training branches: program lists with prices */
.pm-quote { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--text); }
.pm-progs { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pm-progs a { display: block; padding: 10px 12px; border: 1px solid var(--st-line); border-radius: 12px; color: inherit; text-decoration: none; }
.pm-progs a:hover, .pm-progs a:focus-visible { border-color: rgba(255, 107, 53, .6); }
.pm-progs b { display: block; font-size: 14.5px; color: var(--text); }
.pm-progs a > span { display: block; margin-block-start: 2px; font-size: 13px; color: var(--text-muted); }
.pm-progs b span { display: inline; }
.pm-card .pm-cta { font-size: 13px; padding: 14px 20px; box-shadow: none; }
.pm-cta { margin-block-start: 14px; }

/* Industries row under the squad */
.pos-inds { margin-block-start: 22px; }
.pos-inds-h { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); text-align: center; }
.pos-ind-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pos-ind { padding: 12px 14px; border: 1px solid var(--st-line); border-radius: 12px; }
.pos-ind h3 { margin: 0; font-size: 14.5px; color: var(--text); }
.pos-ind p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.pos-inds.st-arm .pos-ind { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--st-ease); }
.pos-inds.st-arm.st-on .pos-ind { opacity: 1; transform: none; transition-delay: calc(var(--i) * .12s); }

/* The nine questions */
.pos-nine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pos-q { display: flex; gap: 10px; align-items: baseline; padding: 14px; border: 1px solid var(--st-line); border-radius: 12px; background: var(--st-panel); }
.pos-q b { font-size: 13px; font-weight: 900; color: var(--orange); font-variant-numeric: tabular-nums; }
.pos-q p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--text); text-align: start; }
.pos-foot { margin: 20px 0 0; font-size: 17px; font-weight: 800; color: var(--text); }
.pos-last .hero-cta { justify-content: center; margin-block-start: 14px; }
.pos-last.st-arm .pos-q { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s var(--st-ease); }
.pos-last.st-arm.st-on .pos-q { opacity: 1; transform: none; transition-delay: calc(1.5s + var(--i) * .07s); }

/* Ways in */
.pos-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pos-way { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--st-line, rgba(255, 255, 255, .09)); border-radius: 18px;
  color: inherit; text-decoration: none; background: #0a0a0a; }
.pos-way:hover, .pos-way:focus-visible { border-color: rgba(255, 107, 53, .6); }
.pos-way-t { border-color: rgba(255, 107, 53, .55); }
.pos-way-k { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.pos-way b { font-size: 18px; line-height: 1.3; color: var(--text); }
.pos-way-p { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.pos-way-go { margin-block-start: auto; display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; font-size: 14.5px; font-weight: 700; color: var(--cyan-soft); }

/* Close */
.pos-close-cta { justify-content: flex-start; margin-block-start: 26px; }
.pos-close-alt { margin: 14px 0 0; text-align: start; }

@media (max-width: 900px) {
  .pos-gap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pos-flow-row { grid-template-columns: minmax(0, 1fr); }
  .pos-arrow { justify-self: center; inline-size: 2px; block-size: 22px; background: linear-gradient(180deg, transparent, var(--orange)); }
  .pos-arrow::after { inset-inline-end: auto; inset-inline-start: -4px; inset-block-start: auto; inset-block-end: -6px;
    border-inline-start-color: transparent; border-block-start-color: var(--orange); }
  .pos-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-ind-row, .pos-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-nine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .pm-map, .pm-n4, .pm-n3, .pm-n2 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; padding-inline-start: 18px; }
  .pm-map::before { content: ""; position: absolute; inset-block: 30px 30px; inset-inline-start: 6px; inline-size: 1px; background: rgba(255, 107, 53, .45); }
  .pm-n4 .pm-centre, .pm-n4 .pm-branch:nth-child(n), .pm-n3 .pm-centre, .pm-n2 .pm-centre { grid-column: 1; grid-row: auto; min-block-size: 0; margin-block-end: 0; justify-self: stretch; }
  .pm-centre::after { display: none; }
  .pm-branch::before { content: ""; position: absolute; inset-block-start: 26px; inset-inline-start: -12px !important; inset-inline-end: auto !important;
    inline-size: 12px !important; block-size: 1px !important; background: rgba(255, 107, 53, .55); }
  .pm-branch::after { display: none; }
  .pos-modes, .pos-ind-row, .pos-ways, .pos-nine { grid-template-columns: minmax(0, 1fr); }
  .pos-parts { grid-template-columns: minmax(0, 1fr); }
  .pos-stat { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ===== v2 (13 Nov 2026 UX revamp): split hero with a live OS, brand-gradient
 * h1 line, wired mind maps. Existing tokens plus the brand gradient, which the
 * brand rules reserve for the logo and the hero. */
.pos-h1 .h1-sub { background: linear-gradient(90deg, #F5C132, #E65A24); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .pos-h1 .h1-sub { background-image: linear-gradient(270deg, #F5C132, #E65A24); }
.pos-hero::after { content: ""; position: absolute; inset-block-start: 10%; inset-inline-start: -180px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, .07), transparent 70%); pointer-events: none; }
@media (min-width: 1024px) {
  .pos-hero .pos-hero-grid { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; text-align: start; }
  .pos-hero .pos-h1, .pos-hero .sub, .pos-hero .hero-alt { margin-inline: 0; }
  .pos-hero .pos-h1 { max-width: 15ch; }
  .pos-hero .hero-cta { justify-content: flex-start; margin-bottom: 36px; }
  .pos-hero .pos-proof { align-items: flex-start; margin-inline: 0; }
  .pos-hero .pos-proof-n { text-align: start; }
  .pos-hero .pos-hero-vis { margin: 0; }
}

/* The live OS */
.pos-hero-vis { position: relative; inline-size: 100%; max-inline-size: 520px; margin: 36px auto 0; }
.hv-stage { position: relative; aspect-ratio: 1; container-type: inline-size; }
.hv-glow { position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 193, 50, .24), rgba(230, 90, 36, .12) 45%, transparent 70%);
  filter: blur(8px); animation: hvBreath 6s ease-in-out infinite; }
.hv-ring { position: absolute; inset: 12.3%; border: 1px dashed rgba(255, 107, 53, .38); border-radius: 50%; animation: hvSpin 48s linear infinite; }
.hv-ring2 { inset: 31%; border-style: solid; border-color: rgba(56, 189, 248, .2); animation-duration: 30s; animation-direction: reverse; }
.hv-wires { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.hv-wire { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hv-dot { fill: currentColor; filter: drop-shadow(0 0 6px currentColor); }
.hv-pa { color: var(--orange); } .hv-sm { color: var(--cyan); } .hv-rv { color: var(--lime); }
.hv-da { color: var(--purple, #a78bfa); } .hv-ve { color: var(--cyan-soft); } .hv-op { color: #F5C132; }
.hv-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 7px; inline-size: max-content; max-inline-size: 118px; text-align: center; }
.hv-ico { inline-size: 22px; block-size: 22px; padding: 12px; box-sizing: content-box; border-radius: 16px; background: #0a0a0a; border: 1px solid currentColor;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, .65), 0 0 26px -6px currentColor; }
.hv-node b { font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--text); }
.hv-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); inline-size: 38%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  background: radial-gradient(circle at 50% 35%, #1a0d04, #050505 72%); border: 1px solid rgba(245, 193, 50, .6);
  box-shadow: 0 0 0 9px rgba(255, 107, 53, .06), 0 0 70px -12px rgba(230, 90, 36, .8); }
.hv-core::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(245, 193, 50, .45); animation: hvPulse 2.6s ease-out infinite; }
.hv-core-ico { inline-size: 26px; block-size: 26px; color: #F5C132; }
.hv-core b { font-size: clamp(12px, 3.3cqw, 17px); font-weight: 900; line-height: 1.15; color: #fff; padding-inline: 12px; }
.hv-core small { font-size: clamp(10px, 2.2cqw, 12px); color: var(--text-muted); padding-inline: 10px; }
.hv-ticker { display: flex; align-items: center; gap: 12px; inline-size: max-content; max-inline-size: 100%; margin: 6px auto 0; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(8, 8, 8, .9); }
.hv-ticker small { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.hv-ticker small i { inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); animation: hvBlink 1.6s ease-in-out infinite; }
.hv-line { font-size: 13.5px; color: var(--text); transition: opacity .38s, transform .38s; }
.hv-line.hv-out { opacity: 0; transform: translateY(6px); }
.pos-hero-vis.st-arm .hv-node, .pos-hero-vis.st-arm .hv-core, .pos-hero-vis.st-arm .hv-ticker { opacity: 0; }
.pos-hero-vis.st-arm .hv-node { transform: translate(-50%, -50%) scale(.7); }
.pos-hero-vis.st-arm .hv-core { transform: translate(-50%, -50%) scale(.85); }
.pos-hero-vis.st-arm .hv-wire { stroke-dashoffset: 1; }
.pos-hero-vis.st-arm.st-on .hv-core { opacity: 1; transform: translate(-50%, -50%); transition: opacity .7s, transform .9s var(--st-ease, ease); }
.pos-hero-vis.st-arm.st-on .hv-wire { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--st-ease, ease) calc(.4s + var(--i) * .12s); }
.pos-hero-vis.st-arm.st-on .hv-node { opacity: 1; transform: translate(-50%, -50%); transition: opacity .5s, transform .6s var(--st-ease, ease); transition-delay: calc(.5s + var(--i) * .12s); }
.pos-hero-vis.st-arm.st-on .hv-ticker { opacity: 1; transition: opacity .6s 1.4s; }
@keyframes hvSpin { to { transform: rotate(360deg); } }
@keyframes hvBreath { 50% { transform: scale(1.06); opacity: .8; } }
@keyframes hvPulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes hvBlink { 50% { opacity: .35; } }

/* Mind maps: tones, badges, a living centre, measured wires */
.pm-pa, .pm-rv, .pm-ind { --tone: #ff6b35; } .pm-sm, .pm-op, .pm-co { --tone: #38bdf8; }
.pm-da, .pm-dv { --tone: #bef264; } .pm-ve { --tone: #a78bfa; }
.pm-card { position: relative; border-top: 2px solid var(--tone, rgba(255, 255, 255, .2)); transition: transform .35s var(--st-ease, ease), border-color .35s, box-shadow .35s, opacity .35s; }
.pm-branch.pm-on .pm-card, .pm-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px var(--tone), 0 0 0 1px var(--tone); }
.pm-focus .pm-branch:not(.pm-on) .pm-card { opacity: .5; }
.pm-badge { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; display: grid; place-items: center; inline-size: 34px; block-size: 34px;
  border-radius: 10px; border: 1px solid var(--tone, var(--orange)); color: var(--tone, var(--orange)); background: #070707; }
.pm-ico { inline-size: 17px; block-size: 17px; }
.pm-card h3 { padding-inline-end: 46px; }
.pm-centre { box-shadow: 0 0 0 8px rgba(255, 107, 53, .05), 0 0 60px -18px rgba(230, 90, 36, .9); background: radial-gradient(circle at 50% 30%, rgba(255, 107, 53, .16), rgba(255, 107, 53, .04) 70%); }
.pm-centre::before { content: ""; position: absolute; inset: -9px; border-radius: 26px; border: 1px solid rgba(245, 193, 50, .35); animation: pmPulse 2.8s ease-out infinite; pointer-events: none; }
.pm-core-ico { display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 50%; border: 1px solid rgba(245, 193, 50, .6); color: #F5C132; margin-block-end: 2px; }
.pm-core-ico .pm-ico { inline-size: 20px; block-size: 20px; }
.pm-wires { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.pm-wire { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: .5; stroke-dasharray: 1; stroke-dashoffset: 0; transition: opacity .3s, stroke-width .3s; }
.pm-wire.pm-hot { opacity: 1; stroke-width: 2.5; }
.pm-dot { fill: var(--orange); filter: drop-shadow(0 0 5px currentColor); }
.pm-map.st-arm .pm-wire { stroke-dashoffset: 1; }
.pm-map.st-arm.st-on .pm-wire { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--st-ease, ease) calc(.4s + var(--i) * .25s), opacity .3s, stroke-width .3s; }
.pm-wired .pm-branch::before, .pm-wired .pm-branch::after, .pm-wired .pm-centre::after { display: none; }
.pm-branches, .pm-branch, .pm-centre { position: relative; z-index: 1; }
.pm-branches { display: contents; }
@keyframes pmPulse { 0% { transform: scale(.97); opacity: .9; } 100% { transform: scale(1.08); opacity: 0; } }

@media (max-width: 768px) {
  .pos-hero-vis { max-inline-size: 360px; }
  .hv-node { max-inline-size: 84px; }
  .hv-node b { font-size: 10.5px; }
  .hv-ico { inline-size: 18px; block-size: 18px; padding: 9px; border-radius: 12px; }
  .hv-ticker { border-radius: 14px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .pm-card h3 { padding-inline-end: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-glow, .hv-ring, .hv-core::before, .hv-ticker small i, .pm-centre::before { animation: none; }
  .hv-dot, .pm-dot { display: none; }
}

/* v2 geometry: give the wires room to read as flow */
.pos-hero-vis .sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 769px) {
  .pm-n4 { column-gap: 84px; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr) minmax(0, 1fr); }
  .pm-n4 .pm-centre { justify-self: center; inline-size: min(100%, 230px); aspect-ratio: 1; border-radius: 50%; padding: 18px; }
  .pm-n4 .pm-centre::before { border-radius: 50%; }
  .pm-n3 .pm-centre, .pm-n2 .pm-centre { margin-block-end: 58px; }
}
[dir="rtl"] .pos-h1 .h1-main { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.25; letter-spacing: 0; }
@media (min-width: 1024px) { [dir="rtl"] .pos-hero .pos-h1 { max-width: 20ch; } }
