/* Hub „Picior și gleznă” v3 (25 nov. 2026). Stă peste cascada hernie → genunchi → umăr → spate → șold; aici doar ce e propriu paginii.
   Jurnalul: docs/design/hub-picior-v3-2026-11-25/JURNAL.md. */

/* ── scena: piciorul e lat (1586×992), nu înalt ca bazinul. Treimea din stânga a imaginii e goală (degetele încep la ~29% din lățime),
   deci cutia poate intra sub text fără ca piciorul s-o facă: lățimea se calculează ca degetele să rămână în dreapta coloanei de text. ── */
@media (min-width: 1024px) {
  .pi-page .sd-fig { left: auto; right: 1.5vw; width: 68vw; background: radial-gradient(closest-side circle at 72% 58%, rgb(94 208 216 / .10), rgb(94 208 216 / .035) 55%, transparent); }
  .pi-page .sd-fig .hh-disc-i { object-fit: contain; object-position: 100% 58%; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .pi-page .sd-fig { width: 60vw; right: 0; }
}

/* trimiterea pentru copii: un rând discret sub butoane */
.pi-kid { margin: var(--space-5, 1.25rem) 0 0; max-width: 34rem; font-size: .9375rem; line-height: 1.5; color: var(--color-muted-foreground); }
.pi-kid a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hh-dark .pi-kid, .hh-seq .pi-kid { color: rgb(237 232 223 / .7); }
@media (hover: hover) and (pointer: fine) { .pi-kid a:hover { color: #5ed0d8; } }

/* ── B · coloana: figura e portret (1200×1499), deci se vede întreagă, nu tăiată ── */
.pi-col .sd-deep-f img { object-fit: contain; }
@media (min-width: 1024px) {
  .pi-col .sd-deep-f { width: 46%; }
  .pi-col .sd-deep-f img { object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
@media (max-width: 1023px) {
  .pi-col .sd-deep-f img { max-height: 70svh; width: auto; margin-inline: auto; }
}

/* drumul obișnuit: RMN lombar → coloană → piciorul (ultimul pas aprins) */
.pi-path { list-style: none; margin: var(--space-8, 2rem) 0 0; padding: 0; display: grid; gap: 0; }
.pi-path li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 0 0 22px; line-height: 1.55; color: rgb(237 232 223 / .72); }
.pi-path li:last-child { padding-bottom: 0; }
.pi-path li::before { content: ""; position: absolute; left: 10px; top: 16px; bottom: -2px; width: 2px; background: rgb(255 255 255 / .14); }
.pi-path li:last-child::before { display: none; }
.pi-path b { color: #ede8df; font-weight: 500; }
.pi-path-d { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .28); }
.pi-path li.is-on .pi-path-d { background: #f08a4b; box-shadow: 0 0 0 5px rgb(240 138 75 / .18), 0 0 18px rgb(240 138 75 / .55); }
.pi-path li.is-on b { color: #f3a774; }

/* ── cele trei apăsări ── */
.pi-press-k { margin: var(--space-10, 2.5rem) 0 var(--space-4, 1rem); font: 500 .9375rem/1.4 var(--font-display); color: var(--color-muted-foreground); }

/* ── C · echilibrul: două cadrane (ochi deschiși / închiși); al doilea se închide până la jumătate ── */
.pi-watch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: var(--space-6, 1.5rem) 0 0; max-width: 30rem; }
.pi-watch figure { margin: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.pi-watch svg { flex: none; width: 48px; height: 48px; }
.pi-watch-bg { fill: none; stroke: rgb(255 255 255 / .14); stroke-width: 4; }
.pi-watch-v { fill: none; stroke: #5ed0d8; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 28px 30px; transition: stroke-dashoffset 1.6s cubic-bezier(0.23, 1, 0.32, 1); }
.pi-watch .is-shut .pi-watch-v, .pi-watch .is-shut + * { stroke: #f08a4b; }
.pi-watch figure.is-shut .pi-watch-v { stroke-dashoffset: 58; }
.pi-watch-t { stroke: rgb(255 255 255 / .4); stroke-width: 3; stroke-linecap: round; }
.pi-watch figcaption { font-size: .875rem; line-height: 1.35; color: rgb(237 232 223 / .7); }
.pi-watch figcaption b { display: block; font: 500 1rem/1.25 var(--font-display); color: #ede8df; }
.pi-bal-go { margin-top: var(--space-6, 1.5rem); }
.pi-mail-p { margin-top: var(--space-8, 2rem) !important; }
@media (max-width: 420px) { .pi-watch { grid-template-columns: 1fr; } }

/* evaluarea: patru puncte pe un rând (moștenirea avea grila de 3) */
@media (min-width: 1024px) { .pi-ev { grid-template-columns: repeat(4, 1fr); } }
/* C: figura decupată e portret; stă centrată în coloana ei, cât înălțimea textului */
.pi-bal .sd-rot-f { display: flex; justify-content: center; }
.pi-bal .sd-rot-f img { width: auto; max-width: 100%; max-height: min(78svh, 720px); }
@media (min-width: 1024px) { .pi-bal .sd-rot-in { grid-template-columns: 0.85fr 1fr; } .pi-bal .sd-rot-f { margin-left: 0; } }
@media (max-width: 1023px) { .pi-bal .sd-rot-f img { max-height: 56svh; } }
/* telefon: banda fixată de sub antet. Cutia ia proporția imaginii (1586×992) și stă la dreapta; treimea goală din stânga
   a imaginii rămâne în bandă, deci piciorul intră întreg (degete și călcâi), cât înălțimea benzii. */
@media (max-width: 1023px) {
  .pi-page .sd-fig { left: auto; right: 2vw; top: 6px; height: calc(var(--bh) - 12px); width: auto; aspect-ratio: 1586 / 992; transform: none; }
  .pi-page .sd-fig .hh-disc-i { object-fit: contain; object-position: 100% 50%; }
}
/* cifre-cerc.mjs (25 nov.): aici cifrele stau cu 0,6–0,7 px prea jos; corecția de 1 px a șoldului nu se aplică */
.pi-page .sp-ev .hh-loop-n { padding-top: 0; }
@media (min-width: 761px) { .pi-page .sd-doors .sp-door-n { padding-top: 0; } }
