/* ── p-technicians.css — the Technicians page (technicians.html) ──────────────
   Built on inner-pages.css (hero, points, split, CTA) and theme.css tokens; every
   class here is prefixed .tp-. The digital lines (hero, pay ladder, app) are
   drawn by app/p-technicians.js from measured layout boxes.

   Motion: every hidden start state sits under html.fx-motion AND main.tp-js
   (the class p-technicians.js adds first), so reduced motion, ?static=1 and a
   script failure all show the finished page.                                */

/* ── shared bits ── */
/* theme.css pads every non-landing main by 96px for the floating nav; .p6-hero already starts 128px down */
body.s6-body:not(.has-hero) .s6-page > main.tp { padding-top: 0; }
.tp .i2 { display: block; }
.tp-glass {
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 22px 40px -18px rgba(0, 18, 40, .45), 0 2px 6px rgba(0, 18, 40, .08);
}
/* the socket a line plugs into (placed by the script; lit gold) */
.tp-port { position: absolute; z-index: 3; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 57, 108, .18), 0 3px 8px -2px rgba(0, 57, 108, .3); display: none; pointer-events: none; }
.tp-port.on { display: block; }
.tp-port::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--gold); }
.tp-port::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(247, 183, 68, .95); opacity: 0; }
.tp-port.hit::before { animation: tp-ring 1.1s var(--ease) both; }
@keyframes tp-ring { 0% { transform: scale(1); opacity: .95; } 100% { transform: scale(3.6); opacity: 0; } }

/* reveals */
html.fx-motion .tp-js .tr { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
html.fx-motion .tp-js .tr.in { opacity: 1; transform: none; }

/* ── hero ── */
.tp-hero .tp-htext { position: relative; z-index: 1; min-width: 0; }
.tp-hero .p6-icon { position: relative; }
.tp-hero .tp-hmedia { z-index: 1; margin: 0; }
.tp-hero .tp-hmedia img { object-position: 46% 42%; }
html.fx-motion .tp-js .tp-hmedia img { transform: scale(1.05); transition: transform 1.8s var(--ease); }
html.fx-motion .tp-js .tp-hmedia.in img { transform: none; }
.tp-hero .tp-hline .bs { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
html.fx-motion .tp-js .tp-hline .bs { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-std) .45s; }
html.fx-motion .tp-js .tp-hero.drawn .tp-hline .bs { stroke-dashoffset: 0; }
.tp-hero .tp-hline { left: 0; top: 0; }
/* the packet starts with the draw-in (.drawn), and the socket rings as each one lands (--hd set by the script) */
html.fx-motion .tp-hero:not(.drawn) .tp-hline .pk { animation: none; }
html.fx-motion .tp-hline .pk { animation-delay: 1.9s; }
html.fx-motion .tp-hero.drawn .tp-hport::before { animation: tp-hhit 3.2s linear var(--hd, 2.3s) infinite; }
@keyframes tp-hhit { 0% { transform: scale(1); opacity: .95; } 34% { transform: scale(3.6); opacity: 0; } 100% { transform: scale(3.6); opacity: 0; } }
.tp-hchip { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; }
.tp-hchip .ib, .tp-idchip .ib { width: 38px; height: 38px; border-radius: 11px; background: var(--navy); color: #fff; --acc: var(--gold); display: grid; place-items: center; flex: none; }
.tp-hchip .ib .i2 { width: 21px; height: 21px; }
.tp-hchip b { display: block; font: 700 15px/1.2 var(--font); color: var(--ink); }
.tp-hchip small { display: block; margin-top: 3px; font: 600 12.5px/1.2 var(--mono); color: var(--gold-ink); letter-spacing: .01em; }
html.fx-motion .tp-js .tp-hchip { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) .9s, transform .9s var(--ease) .9s; }
html.fx-motion .tp-js .tp-hmedia.in .tp-hchip { opacity: 1; transform: none; }

.p6-hero .s6-wrap.tp-statwrap { display: block; }
.tp-stats { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-navy); border-bottom: 1px solid var(--line-navy); }
.tp-stats li { padding: 18px 22px 17px; min-width: 0; }
.tp-stats li + li { border-left: 1px solid var(--line-navy); }
.tp-stats b { display: block; font: 700 clamp(22px, 2vw, 30px)/1.1 var(--font); letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.tp-stats span { display: block; margin-top: 6px; font: 500 14px/1.35 var(--font); color: var(--muted); }
.tp-stats span.nw { display: inline; margin: 0; font: inherit; white-space: nowrap; }   /* "in-house" never breaks at its hyphen */

/* ── 01 · the pay ladder ── */
.tp-acad .p6-head .s6-h2 { max-width: 17ch; }
.tp-lad { --ch: clamp(190px, 19vw, 250px); position: relative; margin-bottom: 14px; padding: 72px clamp(20px, 2.8vw, 40px) 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-card); }
.tp-lad-grid { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.1fr); column-gap: clamp(12px, 1.6vw, 24px); }
/* the shared baseline under the bars */
.tp-lad-grid::before { content: ""; position: absolute; left: 0; right: 0; top: var(--ch); height: 1px; background: var(--line); }
.tp-stage { min-width: 0; }
.tp-stage .area { position: relative; height: var(--ch); }
.tp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 100%); border-radius: 14px 14px 0 0; padding: 16px 16px 0;
  background: linear-gradient(180deg, rgb(0 57 108 / calc(.06 + var(--k) * .025)), rgb(0 57 108 / .015)); box-shadow: inset 0 1px 0 rgb(0 57 108 / .06); transform-origin: 50% 100%; }
.tp-bar b { display: block; font: 700 clamp(19px, 1.7vw, 24px)/1.1 var(--font); letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-bar small { display: block; margin-top: 4px; font: 500 13px/1.2 var(--font); color: var(--muted); }
.tp-stage .lab { padding: 16px 2px 0; }
.tp-stage .lab .m, .tp-badge .m { display: block; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 9px; }
.tp-stage .lab b { display: block; font: 700 16px/1.25 var(--font); color: var(--ink); }
.tp-stage .lab > span:not(.m) { display: block; margin-top: 2px; font: 500 14px/1.35 var(--font); color: var(--muted); }
/* the certified badge: it stands a little above the last bar, where the staircase line runs in */
.tp-badge { position: absolute; z-index: 2; left: 0; right: 0; top: -44px; padding: 18px 18px 20px; border-radius: 20px; color: #D5E1EE;
  background: radial-gradient(90% 90% at 85% 10%, rgba(26, 90, 150, .7), transparent 70%), var(--navy); box-shadow: var(--shadow-lift); }
.tp-badge .ib { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(247, 183, 68, .16); color: #fff; --acc: var(--gold); margin-bottom: 14px; }
.tp-badge .ib .i2 { width: 24px; height: 24px; }
.tp-badge .m { color: var(--gold); margin-bottom: 7px; }
.tp-badge b { display: block; font: 700 clamp(16px, 1.35vw, 19px)/1.25 var(--font); color: #fff; letter-spacing: -.01em; }
.tp-end-stage .lab { padding-top: 16px; }
/* the staircase line (drawn by the script over the bars, under the badge) */
.tp-lad-line { position: absolute; left: 0; top: 0; z-index: 1; overflow: visible; pointer-events: none; display: none; }
.tp-lad.has-line .tp-lad-line { display: block; }
.tp-lad-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tp-lad-line .bs { stroke: rgba(0, 57, 108, .32); stroke-width: 1.2; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.tp-lad-line .pk { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 44 1400; stroke-dashoffset: 44; }
.tp-lad-line .dots circle { fill: #fff; stroke: var(--gold); stroke-width: 1.6; }
html.fx-motion .tp-js .tp-lad-line .bs { stroke-dashoffset: 1; transition: stroke-dashoffset 1.7s var(--ease-std) .35s; }
html.fx-motion .tp-js .tp-lad.drawn .tp-lad-line .bs { stroke-dashoffset: 0; }
html.fx-motion .tp-js .tp-lad-line .dots circle { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); transition: opacity .4s ease, transform .6s var(--ease); transition-delay: calc(.5s + var(--i) * .36s); }
html.fx-motion .tp-js .tp-lad.drawn .tp-lad-line .dots circle { opacity: 1; transform: none; }
html.fx-motion .tp-lad.drawn .tp-lad-line .pk { animation: tp-lpk 4.2s linear 2.2s infinite; }
@keyframes tp-lpk { from { stroke-dashoffset: 44; } to { stroke-dashoffset: -1400; } }
html.fx-motion .tp-lad.drawn .tp-lport::before { animation: tp-lhit 4.2s var(--ease) 2.2s infinite; }
/* the packet head (44 of 1444 units per cycle) reaches the end (1000) at 69.3% */
@keyframes tp-lhit { 0%, 69.2% { transform: scale(1); opacity: 0; } 69.3% { transform: scale(1); opacity: .95; } 90%, 100% { transform: scale(3.6); opacity: 0; } }
/* the bars rise in (motion only) */
html.fx-motion .tp-js .tp-bar { transform: scaleY(.001); transition: transform 1.1s var(--ease); transition-delay: calc(.1s + var(--k) * .12s); }
html.fx-motion .tp-js .tp-bar > * { opacity: 0; transition: opacity .6s ease; transition-delay: calc(.6s + var(--k) * .12s); }
html.fx-motion .tp-js .tp-lad.in .tp-bar { transform: none; }
html.fx-motion .tp-js .tp-lad.in .tp-bar > * { opacity: 1; }

.tp-points { margin-top: 0; }
.tp-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-langs span { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--page); border: 1px solid var(--line); font: 600 13.5px/1.3 var(--font); color: var(--navy); }

/* ── 02 · verified identity ── */
.tp-idstage { container-type: inline-size; position: relative; border-radius: 26px; aspect-ratio: 5 / 4; display: grid; place-items: center; align-content: center; padding: 48px 24px;
  background: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.4px) 0 0 / 22px 22px,
              radial-gradient(70% 80% at 85% 15%, rgba(26, 90, 150, .65), transparent 70%), var(--navy); box-shadow: var(--shadow-card); }
.tp-sample { position: absolute; top: 16px; left: 16px; z-index: 3; }
.tp-idcard { --idx: -22%; position: relative; z-index: 1; width: min(300px, 100%); transform: translateX(var(--idx)); background: #fff; border-radius: 22px; padding: 20px 22px 18px;
  box-shadow: 0 30px 60px -24px rgba(0, 10, 25, .65), 0 2px 6px rgba(0, 10, 25, .15); color: var(--text); }
.tp-idcard .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tp-idcard .top img { width: 92px; height: auto; }
.tp-idcard .top .k { font: 600 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.tp-idcard .who { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.tp-idcard .av, .tp-phone .av { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 700 18px/1 var(--font); color: var(--gold);
  background: linear-gradient(135deg, var(--navy-2), var(--navy)); box-shadow: inset 0 0 0 3px var(--gold-30); }
.tp-idcard .who b { display: block; font: 700 19px/1.2 var(--font); color: var(--ink); letter-spacing: -.01em; }
.tp-idcard .who > div > span { display: block; margin-top: 3px; font: 600 13px/1.3 var(--font); color: var(--muted); }
.tp-idcard .chk { list-style: none; margin: 0; padding: 12px 0; display: grid; gap: 9px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tp-idcard .chk li { display: flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--font); color: var(--text); }
.tp-idcard .chk i, .tp-phone .ok i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #DDF3E6; }
.tp-idcard .chk svg, .tp-phone .ok svg { width: 13px; height: 13px; fill: none; stroke: #17803F; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tp-idcard .ft { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; font: 600 12.5px/1.3 var(--font); color: var(--navy); }
.tp-idcard .ft .m { font: 600 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.tp-idchip { position: absolute; z-index: 2; right: 3.5%; bottom: 13%; width: 236px; padding: 14px 16px 15px; border-radius: 18px; color: var(--navy); }
.tp-idchip .k { display: flex; align-items: center; gap: 9px; font: 600 12.5px/1.2 var(--font); color: var(--muted); white-space: nowrap; }
.tp-idchip .ib { width: 30px; height: 30px; border-radius: 9px; }
.tp-idchip .ib .i2 { width: 18px; height: 18px; }
.tp-idchip > b { display: block; margin: 10px 0 6px; font: 700 24px/1 var(--font); color: var(--ink); letter-spacing: -.02em; }
.tp-idchip .rt { display: block; width: 100%; height: 22px; }
.tp-idchip .rt .bs { stroke: var(--line); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 6; fill: none; }
.tp-idchip .rt .dn { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; fill: none; }
.tp-idchip .rt .a { fill: var(--navy); } .tp-idchip .rt .v { fill: var(--gold); stroke: #fff; stroke-width: 3; } .tp-idchip .rt .e { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.tp-idchip .v { display: flex; align-items: center; gap: 7px; margin-top: 8px; font: 600 12.5px/1.2 var(--font); color: #17663A; }
.tp-idchip .v .i2 { width: 16px; height: 16px; color: #17803F; --acc: #17803F; }
html.fx-motion .tp-js .tp-idcard { opacity: 0; transform: translateX(var(--idx)) translateY(26px); transition: opacity .9s var(--ease) .15s, transform 1s var(--ease) .15s; }
html.fx-motion .tp-js .tp-idchip { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) .6s, transform .9s var(--ease) .6s; }
html.fx-motion .tp-js .tp-idstage.in .tp-idcard { opacity: 1; transform: translateX(var(--idx)); }
/* a narrow stage (small laptops, tablets, phones): the chip sits under the card, overlapping only its bottom padding */
@container (max-width: 520px) {
  .tp-idcard { --idx: 0%; padding-bottom: 38px; }
  .tp-idchip { position: relative; right: auto; bottom: auto; justify-self: end; width: min(236px, 78%); margin: -22px 0 0; }
}
html.fx-motion .tp-js .tp-idstage.in .tp-idchip { opacity: 1; transform: none; }
.tp-idtext { min-width: 0; }
.tp-idtext .s6-lede { margin-top: 16px; max-width: 44ch; }

/* ── 03 · the app panel ── */
.tp-panel { position: relative; overflow: hidden; border-radius: var(--r-panel); padding: clamp(32px, 5vw, 72px);
  background: radial-gradient(60% 80% at 88% 18%, rgba(26, 90, 150, .6), transparent 70%), radial-gradient(50% 60% at 8% 100%, rgba(26, 90, 150, .35), transparent 70%), var(--navy);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 110px); align-items: center; }
.tp-panel .s6-h2 .mut { color: var(--mist); }
.tp-panel .s6-lede { margin-top: 14px; }
.tp-apptext { position: relative; z-index: 1; min-width: 0; }
.tp-tabs { display: grid; gap: 8px; margin: 28px 0 22px; max-width: 520px; }
.tp-tab { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 14px; width: 100%; padding: 11px 16px 11px 11px; text-align: left; cursor: pointer;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); color: #D5E1EE; font: inherit;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.tp-tab:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.tp-tab .ib { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; --acc: var(--gold); transition: background .25s ease, color .25s ease; }
.tp-tab .ib .i2 { width: 22px; height: 22px; }
.tp-tab .tx b { display: block; font: 700 16px/1.25 var(--font); color: #fff; }
.tp-tab .tx span { display: block; margin-top: 2px; font: 500 14px/1.4 var(--font); color: #A9BDD1; }
.tp-tab[aria-pressed="true"] { background: rgba(255, 255, 255, .1); border-color: rgba(247, 183, 68, .55); }
.tp-tab[aria-pressed="true"] .ib { background: var(--gold); color: var(--navy); --acc: var(--navy); }
.tp-play { display: inline-flex; align-items: center; gap: 8px; height: 44px; font: 700 15px/1 var(--font); color: var(--gold); text-decoration: none; }
.tp-play svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
@media (hover: hover) { .tp-play:hover svg { transform: translateX(3px); } }
/* the connector from the chosen tab into the phone */
.tp-conn { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; display: none; }
.tp-panel.has-conn .tp-conn { display: block; }
.tp-conn path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tp-conn .bs { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.tp-conn .pk { stroke: var(--gold); stroke-width: 2; opacity: 0; }
.tp-cport { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 3px 10px -2px rgba(0, 0, 0, .4); }

/* the phone (sized in em: 1em = phone width / 30) */
.tp-phone { --pw: clamp(262px, 22vw, 306px); position: relative; z-index: 1; width: var(--pw); font-size: calc(var(--pw) / 30); justify-self: center; }
.tp-phone .dev { position: relative; padding: .9em; border-radius: 4.6em; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 3em 7em -2em rgba(0, 10, 25, .6); }
.tp-phone .scr { position: relative; aspect-ratio: 28.2 / 58; border-radius: 3.8em; overflow: hidden; background: var(--page); color: var(--text); display: flex; flex-direction: column; }
.tp-phone .sb { display: flex; align-items: center; justify-content: space-between; padding: 1.5em 2.2em .4em; font: 700 1.25em/1 var(--font); color: var(--ink); }
.tp-phone .sb .island { width: 7.6em; height: 2.1em; border-radius: 2em; background: #0B1622; margin: 0 auto; position: absolute; left: 50%; top: 1em; transform: translateX(-50%); font-size: .8em; }
.tp-phone .sb .smp { font: 600 .72em/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-30); border-radius: 99em; padding: .55em .8em .5em; }
.tp-phone .ab { display: flex; align-items: center; gap: 1em; padding: 1.4em 2em 1em; }
.tp-phone .av { font: 700 1.25em/1 var(--font); width: 2.9em; height: 2.9em; box-shadow: inset 0 0 0 .2em var(--gold-30); }
.tp-phone .ab small { display: block; font: 500 1.1em/1.2 var(--font); color: var(--muted); }
.tp-phone .ab b { display: block; font: 700 1.45em/1.2 var(--font); color: var(--ink); }
.tp-phone .ab .mk { width: 2.6em; height: auto; margin-left: auto; }
.tp-phone .views { position: relative; flex: 1; min-height: 0; }
.tp-view { position: absolute; inset: 0; padding: .4em 1.6em 0; opacity: 0; visibility: hidden; }
.tp-view.on { opacity: 1; visibility: visible; }
html.fx-motion .tp-js .tp-view { transform: translateY(1.4em); transition: opacity .45s ease, transform .6s var(--ease), visibility 0s linear .6s; }
html.fx-motion .tp-js .tp-view.on { transform: none; transition: opacity .5s ease .08s, transform .7s var(--ease) .08s, visibility 0s; }
.tp-view .m { display: block; font: 600 .95em/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.tp-view .m.top { margin: .4em 0 .7em; padding: 0 .3em; }
.tp-view .vh { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; padding: 0 .3em; margin-bottom: 1.1em; }
.tp-view .vh b { font: 700 2.2em/1.1 var(--font); color: var(--ink); letter-spacing: -.02em; }
.tp-view .vh .ct { font: 600 1.05em/1 var(--mono); color: var(--slate); white-space: nowrap; }
.tp-view .job { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1.5em; padding: 1.3em 1.4em; margin-bottom: .8em; }
.tp-view .job b { display: block; margin-top: .5em; font: 700 1.5em/1.2 var(--font); color: var(--ink); }
.tp-view .job > span:not(.m):not(.go) { display: block; margin-top: .25em; font: 500 1.2em/1.3 var(--font); color: var(--muted); }
.tp-view .job .m { color: var(--slate); }
.tp-view .job.nx { background: var(--navy); border-color: var(--navy); }
.tp-view .job.nx .m { color: var(--gold); } .tp-view .job.nx b { color: #fff; } .tp-view .job.nx > span:not(.m):not(.go) { color: #A9BDD1; }
.tp-view .job .go { position: absolute; right: 1.2em; bottom: 1.2em; font: 700 1.15em/1 var(--font); color: var(--navy); background: var(--gold); border-radius: .8em; padding: .75em 1.1em; }
.tp-view .note { display: flex; align-items: center; gap: .6em; margin: 1.1em .3em 0; font: 600 1.1em/1.3 var(--font); color: var(--navy); }
.tp-view .note .i2 { width: 1.5em; height: 1.5em; color: var(--navy); --acc: var(--gold); flex: none; }
.tp-view .prog { display: block; height: .6em; border-radius: 1em; background: #E3EAF2; overflow: hidden; margin: -.2em .3em 1.2em; }
.tp-view .prog i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.tp-view .cl { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 1.5em; }
.tp-view .cl li { display: flex; align-items: center; gap: 1em; padding: 1.05em 1.3em; font: 600 1.25em/1.2 var(--font); color: var(--muted); }
.tp-view .cl li + li { border-top: 1px solid var(--line); }
.tp-view .cl i { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; border: .13em solid var(--mist); box-sizing: border-box; }
.tp-view .cl li.d { color: var(--ink); }
.tp-view .cl li.d i { border: 0; background: #17803F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.tp-view .cl li.c { color: var(--navy); background: rgba(247, 183, 68, .1); }
.tp-view .cl li.c i { border-color: var(--gold); box-shadow: 0 0 0 .3em rgba(247, 183, 68, .22); }
.tp-view .rd { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: .9em; padding: 1.15em 1.3em; background: #fff; border: 1px solid var(--line); border-radius: 1.3em; margin-bottom: .6em; }
.tp-view .rd span { font: 600 1.2em/1.2 var(--font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-view .rd s { font: 500 1.1em/1 var(--mono); color: #8A99AB; text-decoration: none; }
.tp-view .rd s::after { content: " →"; color: var(--mist); }
.tp-view .rd b { font: 700 1.25em/1 var(--mono); color: var(--navy); white-space: nowrap; }
.tp-view .sub { margin: -.4em .3em 1.4em; font: 500 1.25em/1.4 var(--font); color: var(--muted); }
.tp-view .otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; padding: 0 .3em; }
.tp-view .otp span { display: grid; place-items: center; aspect-ratio: 1 / 1.15; background: #fff; border: .12em solid var(--navy); border-radius: 1.1em; font: 700 2.4em/1 var(--mono); color: var(--ink); }
.tp-view .ok { display: flex; align-items: center; gap: 1em; margin: 1.6em .3em 0; padding: 1.2em 1.3em; background: #fff; border: 1px solid var(--line); border-radius: 1.4em; }
.tp-phone .ok i { width: 2.8em; height: 2.8em; } .tp-phone .ok svg { width: 1.5em; height: 1.5em; }
.tp-view .ok b { display: block; font: 700 1.45em/1.2 var(--font); color: #17663A; }
.tp-view .ok small { display: block; margin-top: .2em; font: 500 1.1em/1.3 var(--font); color: var(--muted); }
.tp-view .wal { background: var(--navy); border-radius: 1.6em; padding: 1.5em 1.5em 1.4em; color: #fff; }
.tp-view .wal .m { color: var(--gold); }
.tp-view .wal b { display: block; margin: .45em 0 1em; font: 700 2em/1.1 var(--font); letter-spacing: -.02em; }
.tp-view .wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45em; }
.tp-view .wk i { display: grid; place-items: center; height: 2.4em; border-radius: .8em; font: 600 1em/1 var(--mono); font-style: normal; color: #A9BDD1; background: rgba(255, 255, 255, .07); }
.tp-view .wk i.y { background: rgba(255, 255, 255, .16); color: #fff; }
.tp-view .wk i.t { background: transparent; color: #fff; box-shadow: inset 0 0 0 .13em var(--gold); }   /* today */
.tp-view .m.lst { margin: 1.4em .3em .8em; color: var(--slate); }
.tp-view .pd { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1em 1.3em; background: #fff; border: 1px solid var(--line); border-radius: 1.2em; margin-bottom: .5em; }
.tp-view .pd span { font: 600 1.2em/1.2 var(--font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-view .pd em { font: 600 .95em/1 var(--font); font-style: normal; color: #17663A; background: #DDF3E6; border-radius: 99em; padding: .55em .8em; white-space: nowrap; }
.tp-phone .bn { display: grid; grid-template-columns: repeat(5, 1fr); padding: 1.1em 1.4em 1.9em; background: #fff; border-top: 1px solid var(--line); }
.tp-phone .bn i { display: grid; place-items: center; height: 3.4em; border-radius: 1em; color: #8A99AB; --acc: #8A99AB; transition: background .3s ease, color .3s ease; }
.tp-phone .bn i .i2 { width: 1.9em; height: 1.9em; }
.tp-phone .bn i.on { color: var(--navy); --acc: var(--gold); background: rgba(0, 57, 108, .07); }

/* ── 04 · the growth path ── */
.tp-path { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-card); padding: clamp(28px, 3.6vw, 48px) clamp(20px, 3vw, 44px) 0; overflow: hidden; }
.tp-path .curve { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); top: clamp(28px, 3.6vw, 48px); width: calc(100% - 2 * clamp(20px, 3vw, 44px)); height: var(--ph); overflow: visible; }
.tp-path { --ph: clamp(250px, 24vw, 320px); }
.tp-path .curve path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.tp-path .curve .bs { stroke: var(--line-navy); stroke-width: 1.2; stroke-dasharray: 2 6; }
.tp-path .curve .dn { stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
html.fx-motion .tp-js .tp-path .curve .dn { stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease-std) .3s; }
html.fx-motion .tp-js .tp-path.in .curve .dn { stroke-dashoffset: 0; }
.tp-path .steps { list-style: none; margin: 0; padding: 0; position: relative; height: calc(var(--ph) + 110px); }
.tp-step { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * var(--ph) / 100); width: 0; }
.tp-step .nd { position: absolute; left: 0; top: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center;
  font: 600 14px/1 var(--mono); letter-spacing: .06em; color: var(--gold); background: var(--navy); box-shadow: 0 0 0 6px rgba(247, 183, 68, .16), 0 10px 22px -10px rgba(0, 30, 60, .6); }
.tp-step.top .nd { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px rgba(247, 183, 68, .22), 0 10px 22px -10px rgba(140, 94, 14, .6); }
.tp-step .tx { position: absolute; left: 0; top: 44px; width: min(200px, 22vw); transform: translateX(-50%); text-align: center; }
.tp-step .tx b { display: block; font: 700 18px/1.25 var(--font); color: var(--ink); }
.tp-step .tx span { display: block; margin-top: 4px; font: 500 14px/1.45 var(--font); color: var(--muted); text-wrap: balance; }
html.fx-motion .tp-js .tp-step .nd { transform: scale(.4); opacity: 0; transition: transform .7s var(--ease), opacity .4s ease; transition-delay: calc(.35s + var(--k) * .45s); }
html.fx-motion .tp-js .tp-step .tx { opacity: 0; margin-top: 10px; transition: opacity .7s ease, margin-top .8s var(--ease); transition-delay: calc(.5s + var(--k) * .45s); }
html.fx-motion .tp-js .tp-path.in .tp-step .nd { transform: none; opacity: 1; }
html.fx-motion .tp-js .tp-path.in .tp-step .tx { opacity: 1; margin-top: 0; }

/* ── join (#join): the technician application (application/views/forms/technician.php, styled by assets/css/forms.css),
   then the Academy route for beginners: one wide card, in the Academy's colour (data-f="academy") ── */
.tp-alt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 16px; padding: 20px 22px 20px 20px;
  border-radius: 22px; background: var(--card); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line)); box-shadow: var(--shadow-card); text-decoration: none; color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease, transform .3s var(--ease); }
.tp-alt:hover { border-color: color-mix(in srgb, var(--c) 50%, var(--line)); transform: translateY(-2px); }
.tp-alt .gi-wrap > .gi { --s: 58px; }
.tp-alt .tx { min-width: 0; }
.tp-alt .k { display: block; font: 600 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cd); }
.tp-alt b { display: block; margin-top: 6px; font: 700 19px/1.25 var(--font); color: var(--ink); letter-spacing: -.01em; }
.tp-alt .d { display: block; margin-top: 4px; font: 500 14.5px/1.45 var(--font); color: var(--muted); }
.tp-alt .go { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 14px; white-space: nowrap;
  background: var(--ct); color: var(--cd); font: 700 15px/1 var(--font); transition: background .25s ease, color .25s ease; }
.tp-alt .go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) { .tp-alt:hover .go { background: var(--c); color: #0B1B2B; } .tp-alt:hover .go svg { transform: translateX(3px); } }

/* ── widths ── */
@media (max-width: 1180px) {
  .tp-panel { grid-template-columns: minmax(0, 1fr) auto; }
  .tp-lad-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); }
}
@media (max-width: 1100px) {
  .tp-stats li { padding: 16px 16px 15px; }
}
@media (max-width: 900px) {
  .tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-stats li:nth-child(3) { border-left: 0; }
  .tp-stats li:nth-child(n + 3) { border-top: 1px solid var(--line-navy); }
  .tp-panel { grid-template-columns: minmax(0, 1fr); }
  .tp-phone { --pw: min(300px, 80vw); }
  .tp-tabs { max-width: none; }
}
/* the ladder turns into a list: one row per stage, a bar across that grows with the stipend */
@media (max-width: 760px) {
  .tp-lad { padding: 22px 18px 20px; }
  .tp-lad-grid { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .tp-lad-grid::before { display: none; }
  .tp-lad-line, .tp-lport { display: none !important; }
  .tp-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: 14px; }
  .tp-stage .area { height: auto; order: 2; }
  .tp-stage:not(.tp-end-stage) .area::after { content: ""; display: block; height: 6px; margin-top: 9px; border-radius: 6px; width: calc(var(--h) * 100%);
    background: linear-gradient(90deg, var(--gold-30), var(--gold)); transform-origin: 0 50%; }
  html.fx-motion .tp-js .tp-stage .area::after { transform: scaleX(.001); transition: transform 1.1s var(--ease); transition-delay: calc(.2s + var(--k) * .12s); }
  html.fx-motion .tp-js .tp-lad.in .tp-stage .area::after { transform: none; }
  .tp-stage .lab { order: 1; padding: 0; }
  .tp-stage .lab .m { margin-bottom: 6px; }
  .tp-bar { position: static; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; display: flex; align-items: baseline; gap: 6px; }
  .tp-bar b { font-size: 18px; } .tp-bar small { margin: 0; font-size: 12.5px; }
  html.fx-motion .tp-js .tp-bar { transform: none; }
  .tp-end-stage { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
  .tp-end-stage .area { height: auto; order: 0; }
  .tp-badge { position: static; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .tp-badge .ib { grid-row: span 2; margin: 0; }
  .tp-badge .m { margin: 0 0 5px; }
  .tp-end-stage .lab { display: none; }
  .tp-points { gap: 10px; }
  .tp-idstage { aspect-ratio: auto; padding: 60px 18px 30px; }
  /* the growth path turns into a vertical list along one line */
  .tp-path { padding: 26px 20px 8px; }
  .tp-path .curve { display: none; }
  .tp-path .steps { height: auto; display: grid; gap: 0; }
  .tp-path .steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 44px; width: 2px; border-radius: 2px; background: linear-gradient(var(--gold), rgba(247, 183, 68, .35)); }
  .tp-step { position: relative; left: auto; top: auto; width: auto; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 22px; }
  .tp-step .nd { position: relative; margin: 0; }
  .tp-step .tx { position: static; width: auto; transform: none; text-align: left; }
  /* a short list: a quicker stagger than the wide curve, so the last rung is not still waiting as it scrolls past */
  html.fx-motion .tp-js .tp-step .nd { transition-delay: calc(.15s + var(--k) * .16s); }
  html.fx-motion .tp-js .tp-step .tx { transition-delay: calc(.25s + var(--k) * .16s); }
  .tp-alt { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; margin-top: 12px; }
  .tp-alt .go { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 600px) {
  .tp-hchip { left: 12px; bottom: 12px; padding: 10px 12px 10px 10px; gap: 10px; }
  .tp-hchip b { font-size: 14px; } .tp-hchip small { font-size: 12px; }
  .tp-hchip .ib { width: 34px; height: 34px; }
  .tp-stats li { padding: 14px 12px 13px; }
  .tp-stats li:nth-child(odd) { padding-left: 0; }
  .tp-stats b { font-size: 21px; }
  .tp-stats span { font-size: 13px; }
  .tp-panel { padding: 30px 18px 34px; border-radius: 28px; }
  .tp-tab { padding: 10px 12px 10px 10px; gap: 12px; grid-template-columns: 40px minmax(0, 1fr); }
  .tp-tab .ib { width: 40px; height: 40px; }
  .tp-tab .tx span { font-size: 13.5px; }
  .tp-alt { padding: 16px; border-radius: 20px; align-items: start; }
  .tp-alt .gi-wrap > .gi { --s: 48px; }
  .tp-alt b { font-size: 17px; }
}

/* calm (app/fx.js): every reveal fades in where it is (no rise, no swell, the ID card keeps only its resting offset),
   the photo does not settle and the views swap as a fade; the lines still draw, the bars still grow, the pings,
   packets and step dots keep going */
html.fx-calm .tp-js :is(.tr, .tp-hchip, .tp-idchip, .tp-step .nd) { transform: none; }
html.fx-calm .tp-js .tp-hmedia img, html.fx-calm .tp-js .tp-view { transform: none; }
html.fx-calm .tp-js .tp-idcard { transform: translateX(var(--idx)); }
html.fx-calm .tp-js .tp-lad-line .dots circle { transform: none; }
html.fx-calm .tp-js .tp-step .tx { margin-top: 0; }
