/* =========================================================================
   IMPACT -- /impact/
   Rides on home.css (tokens, titles, reveal grammar, pcv atoms, pp-cream);
   this sheet carries only the pim-* chapters.
   ========================================================================= */

/* =========================================================================
   01 . HERO . the bridge, and who it is for
   ========================================================================= */
.pim-hero {
  background: #0A0807;
  min-height: 100svh;
  padding-block: clamp(150px, 19vh, 210px) clamp(300px, 36vh, 420px);
  position: relative; overflow: clip;
}
.pim-hero::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(193, 154, 75, 0.12) 0%, transparent 70%);
  animation: pp-halo-breathe 8s ease-in-out infinite;
}
.pim-hero__inner {
  position: relative; z-index: 1;
  display: grid; justify-items: start;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  translate: calc((var(--gx, 50vw) - 50vw) * 0.008) 0;
}
.pim-hero__inner > * { grid-column: 2; }
.pim-hero__title {
  margin: var(--s-sm) 0 0;
  font-size: clamp(2.5rem, 5.4vw, 5rem); font-weight: 800; line-height: 1.05;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--cream, #F4E8DA); text-wrap: balance;
}
.pim-hero__l i {
  background: linear-gradient(110deg, #F4E8DA 34%, var(--light-gold, #F3D88E) 47%, var(--gold, #C19A4B) 53%, #F4E8DA 66%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pim-sheen 6.4s ease-in-out infinite 1.2s;
}
.pim-hero__l:nth-child(2) i { animation-delay: 1.5s; }
@keyframes pim-sheen {
  0% { background-position: 130% 0; }
  46%, 100% { background-position: -40% 0; }
}
.pim-hero__l { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.pim-hero__l i, .pim-hero__l em { display: inline-block; font-style: normal; }
.pim-hero__l--resp { margin-top: 0.12em; }
.pim-hero__l--resp em {
  font-style: italic; font-weight: 300;
  font-size: 0.62em; line-height: 1.2;
  color: var(--gold);
}
.js .pim-hero__title.reveal .pim-hero__l i,
.js .pim-hero__title.reveal .pim-hero__l em {
  translate: 0 112%;
  transition: translate 750ms var(--ease);
}
.js .pim-hero__title.reveal.is-in .pim-hero__l i,
.js .pim-hero__title.reveal.is-in .pim-hero__l em { translate: 0 0; }
.js .pim-hero__title.reveal.is-in .pim-hero__l:nth-child(2) i { transition-delay: 150ms; }
.js .pim-hero__title.reveal.is-in .pim-hero__l:nth-child(3) em { transition-delay: 300ms; }
.pim-hero__copy { margin-top: var(--s-md); display: grid; gap: 12px; }
.pim-hero__copy p {
  margin: 0; max-width: min(56ch, 100%);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pim-hero__copy i { font-style: italic; color: var(--cream, #F4E8DA); }

/* the portrait: JJ on the left, folded into the dark by drifting smoke */
.pim-hero__photo {
  position: absolute; inset: 0 auto 0 0;
  width: min(60vw, 920px); height: 100%;
  background: url('https://perseveranceprinciples.com/wp-content/uploads/2026/08/bacground_nao_altere_foto_202608311744.jpeg') no-repeat 50% 20% / cover;
  filter: grayscale(0.28) brightness(0.82) contrast(1.02);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 36%, rgba(0, 0, 0, 0.5) 66%, transparent 96%);
  mask-image: linear-gradient(to right, #000 0%, #000 36%, rgba(0, 0, 0, 0.5) 66%, transparent 96%);
  translate: calc((var(--gx, 50vw) - 50vw) * 0.012) 0;
  animation: pim-float 13s ease-in-out infinite;
  pointer-events: none;
  overflow: hidden;
}
.pim-hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 8, 7, 0.6) 0%, transparent 24% 55%, #0A0807 96%),
    linear-gradient(to right, rgba(10, 8, 7, 0.35) 0%, transparent 30%);
}
@keyframes pim-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.012); }
  50% { transform: translate3d(0, -12px, 0) scale(1.04); }
}
.pim-hero__smoke {
  position: absolute; inset: -22%;
  display: block; pointer-events: none;
  background:
    radial-gradient(36% 44% at 28% 30%, rgba(10, 8, 7, 0.88), transparent 70%),
    radial-gradient(46% 40% at 72% 60%, rgba(14, 11, 9, 0.9), transparent 72%),
    radial-gradient(30% 36% at 50% 86%, rgba(10, 8, 7, 0.82), transparent 70%);
  filter: blur(28px);
  animation: pim-smoke-a 17s ease-in-out infinite alternate;
}
.pim-hero__smoke--b {
  background:
    radial-gradient(40% 46% at 66% 24%, rgba(10, 8, 7, 0.8), transparent 70%),
    radial-gradient(34% 38% at 22% 70%, rgba(14, 11, 9, 0.85), transparent 72%),
    radial-gradient(44% 34% at 84% 82%, rgba(10, 8, 7, 0.78), transparent 70%);
  opacity: 0.85;
  animation: pim-smoke-b 23s ease-in-out infinite alternate;
}
@keyframes pim-smoke-a {
  from { transform: translate3d(-4%, -2%, 0) scale(1); }
  to { transform: translate3d(6%, 3%, 0) scale(1.16); }
}
@keyframes pim-smoke-b {
  from { transform: translate3d(5%, 3%, 0) scale(1.12); }
  to { transform: translate3d(-6%, -4%, 0) scale(1); }
}

/* the mist: a slow plume of gold smoke that trails the pointer */
.pim-hero__mist {
  position: absolute; left: 0; top: 0;
  width: 0; height: 0;
  pointer-events: none;
  opacity: var(--gs, 0);
  transition: opacity 700ms var(--ease);
  translate: var(--gx, -999px) var(--gy, 40vh);
}
.pim-hero__mist i {
  position: absolute; left: -340px; top: -340px;
  width: 680px; height: 680px; display: block;
  background:
    radial-gradient(32% 38% at 42% 46%, rgba(193, 154, 75, 0.16), transparent 70%),
    radial-gradient(24% 30% at 62% 58%, rgba(243, 216, 142, 0.09), transparent 70%),
    radial-gradient(42% 46% at 52% 36%, rgba(122, 94, 32, 0.13), transparent 72%);
  filter: blur(34px);
  mix-blend-mode: screen;
  animation: pim-mist-a 11s ease-in-out infinite alternate;
}
.pim-hero__mist i + i {
  scale: 1.3; opacity: 0.75;
  animation: pim-mist-b 16s ease-in-out infinite alternate;
}
@keyframes pim-mist-a {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(42deg) scale(1.2); }
}
@keyframes pim-mist-b {
  from { transform: rotate(28deg) scale(1.16); }
  to { transform: rotate(-24deg) scale(0.94); }
}
@media (max-width: 900px) {
  .pim-hero__photo {
    width: 100%; opacity: 0.42;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 90%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 52%, transparent 90%);
  }
  .pim-hero__inner { grid-template-columns: 1fr; }
  .pim-hero__inner > * { grid-column: 1; }
}

/* the stage: the bridge at the foot, in depth */
.pim-stage {
  position: absolute; left: 50%; bottom: 0;
  translate: -50% 0;
  width: max(110vw, 1200px); height: clamp(240px, 34vh, 380px);
  pointer-events: none;
}
.pim-stage svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.pim-stage__base { translate: calc((var(--gx, 50vw) - 50vw) * -0.025) 0; }
.pim-b__deck, .pim-b__tower, .pim-b__cable, .pim-b__hangers path {
  stroke: rgba(193, 154, 75, 0.45); stroke-linecap: round;
}
.pim-b__deck { stroke-width: 2; }
.pim-b__tower { stroke-width: 2.4; }
.pim-b__cable { stroke-width: 1.6; }
.pim-b__hangers path { stroke-width: 1; stroke: rgba(193, 154, 75, 0.32); }
.pim-b__walker {
  fill: var(--light-gold, #F3D88E);
  filter: drop-shadow(0 0 8px rgba(243, 216, 142, 0.9));
  animation: pim-cross 8s linear infinite 2.4s;
  opacity: 0;
}
@keyframes pim-cross {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateX(1200px); opacity: 0; }
}
.pim-stage__base :is(.pim-b__deck, .pim-b__tower, .pim-b__cable, .pim-b__hangers path) {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: pim-draw 900ms var(--ease) forwards;
}
@keyframes pim-draw { to { stroke-dashoffset: 0; } }
.pim-stage__base .pim-b__deck { animation-delay: 250ms; }
.pim-stage__base .pim-b__tower { animation-delay: 600ms; }
.pim-stage__base .pim-b__tower + .pim-b__tower { animation-delay: 750ms; }
.pim-stage__base .pim-b__cable { animation-delay: 950ms; }
.pim-stage__base .pim-b__hangers path { animation-delay: 1450ms; }
.pim-stage__base .pim-b__hangers path:nth-child(2) { animation-delay: 1540ms; }
.pim-stage__base .pim-b__hangers path:nth-child(3) { animation-delay: 1630ms; }
.pim-stage__base .pim-b__hangers path:nth-child(4) { animation-delay: 1720ms; }
.pim-stage__base .pim-b__hangers path:nth-child(5) { animation-delay: 1810ms; }

/* the lamp: where the pointer passes, the span lights in light gold */
.pim-stage__lit {
  translate: calc((var(--gx, 50vw) - 50vw) * -0.025) 0;
  opacity: var(--gs, 0);
  -webkit-mask-image: radial-gradient(ellipse 280px 130% at calc(var(--gx, -999px) + 5vw) 60%, #000 0%, rgba(0, 0, 0, 0.75) 55%, transparent 82%);
  mask-image: radial-gradient(ellipse 280px 130% at calc(var(--gx, -999px) + 5vw) 60%, #000 0%, rgba(0, 0, 0, 0.75) 55%, transparent 82%);
}
.pim-stage__lit path {
  stroke: var(--light-gold, #F3D88E); stroke-width: 2; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(243, 216, 142, 0.7));
}

/* =========================================================================
   02 . A HAND UP . dignity has a structure
   ========================================================================= */
.pim-path { padding-block: var(--s-xxl); overflow: clip; position: relative; }
.pim-path__ghost {
  position: absolute; top: clamp(16px, 4vh, 48px); right: -0.05em;
  font-size: clamp(6rem, 15vw, 14rem); font-weight: 800; font-style: italic;
  line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(122, 94, 32, 0.14);
  pointer-events: none; user-select: none;
}
.pim-path__inner {
  position: relative;
  display: grid; align-items: start;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
}
.pim-path__body { display: grid; gap: clamp(16px, 2.4vh, 24px); }
.pim-path__lead {
  margin: 0;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 300; font-style: italic;
  color: var(--gold-deep, #7A5E20); text-wrap: pretty;
}
.pim-path__needs {
  margin: 0; max-width: min(58ch, 100%);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.75;
  color: var(--ink); text-wrap: pretty;
}
.pim-path__needs em {
  font-style: normal; font-weight: 700;
  color: var(--gold-deep, #7A5E20);
  position: relative; z-index: 0; padding: 0 0.1em;
  transition: opacity 320ms var(--ease);
}
.pim-path__needs em::before {
  content: ''; position: absolute; inset: 0.08em -0.06em 0; z-index: -1;
  background: linear-gradient(100deg, rgba(243, 216, 142, 0.55), rgba(193, 154, 75, 0.3));
  border-radius: 2px;
  transform: skewX(-6deg) scaleX(var(--p, 1)); transform-origin: left center;
}
.pim-path__needs:has(em:hover) em:not(:hover) { opacity: 0.4; }
.pim-path__close {
  margin: 0; max-width: min(58ch, 100%);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem); line-height: 1.7;
  color: #5C5044; text-wrap: pretty;
}

/* the walk: the path is drawn as you move through the section */
.pim-path__walk { margin-block: clamp(4px, 1.2vh, 12px); }
.pim-path__walk svg { display: block; width: 100%; height: auto; overflow: visible; }
.pim-path__trail {
  stroke: rgba(122, 94, 32, 0.42); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
.pim-path__runner {
  stroke: var(--gold, #C19A4B); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 7 93; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 5px rgba(193, 154, 75, 0.55));
  animation: pim-walkrun 7s linear infinite;
  opacity: 0.9;
}
@keyframes pim-walkrun {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: -100; }
}
.pim-path__stop circle {
  fill: var(--paper, #FBF4E9);
  stroke: var(--gold-deep, #7A5E20); stroke-width: 1.6;
}
.pim-path__stop text {
  font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  fill: var(--gold-deep, #7A5E20); text-anchor: middle;
}

/* the ride: everything arrives along the path */
.pim-path.is-ride :is(.pim-path__lead, .pim-path__needs, .pim-path__close) {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 16px));
  filter: blur(calc((1 - var(--p)) * 4px));
}
.pim-path.is-ride .pim-path__needs em {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
}
.pim-path.is-ride .pim-path__trail {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.08) * 1.7), 1)) * 100);
}
.pim-path.is-ride .pim-path__stop {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.12 + 0.88 * var(--p));
}
.pim-path.is-ride .pim-path__stop circle {
  transform-box: fill-box; transform-origin: center;
  transform: scale(calc(0.55 + 0.45 * var(--p)));
}
.pim-path.is-ride .pim-path__runner { opacity: calc(0.9 * clamp(0, calc((var(--rp, 0) - 0.3) * 4), 1)); }

@media (max-width: 900px) {
  .pim-path__inner { grid-template-columns: 1fr; gap: 28px; }
  .pim-path__stop text { font-size: 17px; letter-spacing: 0.1em; }
}

/* =========================================================================
   03 / 04 . THE ORGANIZATIONS . two banks of the same river
   ========================================================================= */
.pim-org { background: var(--bg); padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pim-org--alt { background: var(--paper, #FBF4E9); }
.pim-org__inner {
  display: grid; align-items: start;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
}
.pim-org__rail { position: sticky; top: 110px; display: grid; justify-items: start; }
.pim-org__name {
  margin: var(--s-sm) 0 0; max-width: min(12ch, 100%);
  font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cream, #F4E8DA); text-wrap: balance;
}
.pim-org--alt .pim-org__name { color: var(--ink); }
.pim-org__ghost {
  margin-top: var(--s-md);
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 800; font-style: italic; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(193, 154, 75, 0.35);
  background: linear-gradient(90deg, var(--gold, #C19A4B), var(--light-gold, #F3D88E));
  background-repeat: no-repeat;
  background-size: calc(var(--gp, 1) * 100%) 100%;
  -webkit-background-clip: text; background-clip: text;
}
.pim-org.is-ride .pim-org__ghost { --gp: clamp(0, calc((var(--rp, 0) - 0.06) * 2.2), 1); }
.pim-org__body { display: grid; gap: 16px; max-width: min(62ch, 100%); }
.pim-org__body p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pim-org--alt .pim-org__body p { color: #5C5044; }
.pim-org__svc { font-weight: 700; color: var(--cream, #F4E8DA); white-space: nowrap; transition: color 300ms var(--ease); }
.pim-org--alt .pim-org__svc { color: var(--ink); }
.pim-org__svc:hover { color: var(--gold); }
.pim-org--alt .pim-org__svc:hover { color: var(--gold-deep, #7A5E20); }
.pim-org__body b { font-weight: 400; color: var(--gold); margin-inline: 2px; }
.pim-org__cta { margin: clamp(10px, 1.6vh, 16px) 0 0; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); flex-wrap: wrap; }
.pim-org__second {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep, #7A5E20);
  text-decoration: none;
  transition: color 300ms var(--ease);
}
.pim-org__second i { font-style: normal; transition: translate 300ms var(--ease); }
.pim-org__second:hover { color: var(--ink); }
.pim-org__second:hover i { translate: 3px -3px; }

/* the ruler: ten years, measured */
.pim-org__ruler { margin-top: 16px; width: min(100%, 250px); overflow: visible; }
.pim-org__ruler line { stroke: rgba(193, 154, 75, 0.55); stroke-width: 1.4; stroke-linecap: round; }
.pim-org__ruler-base { stroke-dasharray: 100; stroke-dashoffset: 0; }
.pim-org.is-ride .pim-org__ruler-base {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.04) * 2.6), 1)) * 100);
}
.pim-org.is-ride .pim-org__ruler-ticks line { opacity: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 8), 1); }
.pim-org__ruler text {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  fill: var(--gold, #C19A4B);
}

/* the span: from surviving to building, drawn by the scroll */
.pim-org__span { max-width: 560px; margin-top: clamp(4px, 1.2vh, 12px); }
.pim-org__span svg { display: block; width: 100%; height: auto; overflow: visible; }
.pim-org__span-ground { stroke: rgba(193, 154, 75, 0.35); stroke-width: 1.6; stroke-linecap: round; }
.pim-org__span-arc {
  stroke: var(--gold, #C19A4B); stroke-width: 1.8; stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(193, 154, 75, 0.4));
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
.pim-org.is-ride .pim-org__span-ground {
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.16) * 3), 1)) * 100);
}
.pim-org.is-ride .pim-org__span-arc {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.24) * 2.4), 1)) * 100);
}
.pim-org__span-core { fill: var(--light-gold, #F3D88E); }
.pim-org__span-dot {
  fill: none; stroke: var(--light-gold, #F3D88E); stroke-width: 1.2;
  transform-box: view-box; transform-origin: 320px 25px;
  animation: pim-nest-pulse 2.8s ease-out infinite;
}
@keyframes pim-nest-pulse {
  0% { opacity: 0.9; transform: scale(0.5); }
  70%, 100% { opacity: 0; transform: scale(2.6); }
}
.pim-org.is-ride .pim-org__span-glow { opacity: clamp(0, calc((var(--rp, 0) - 0.4) * 5), 1); }
.pim-org__span-word {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  fill: var(--gold, #C19A4B); text-anchor: middle;
}
.pim-org.is-ride .pim-org__span-word { opacity: clamp(0, calc((var(--rp, 0) - 0.2) * 4), 1); }
.pim-org.is-ride .pim-org__span-word--r { opacity: clamp(0, calc((var(--rp, 0) - 0.34) * 4), 1); }

/* the ride: the story arrives in order */
.pim-org.is-ride .pim-org__body > p:not(.pim-org__cta) {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
  filter: blur(calc((1 - var(--p)) * 4px));
}

/* 04 . the second bank: a structure that assembles */
.pim-org__ghostword {
  position: absolute; top: clamp(16px, 4vh, 48px); right: -0.04em;
  font-size: clamp(5rem, 13vw, 12rem); font-weight: 800; font-style: italic;
  line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(122, 94, 32, 0.13);
  pointer-events: none; user-select: none;
}
.pim-org__house { margin-top: var(--s-md); width: min(100%, 230px); overflow: visible; }
.pim-org__house path {
  stroke: var(--gold-deep, #7A5E20); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
.pim-org--alt.is-ride .pim-org__house path {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 3), 1)) * 100);
}
.pim-org__house-core { fill: var(--gold, #C19A4B); }
.pim-org__house-ring {
  fill: none; stroke: var(--gold, #C19A4B); stroke-width: 1.2;
  transform-box: view-box; transform-origin: 100px 131px;
  animation: pim-nest-pulse 3s ease-out infinite;
}
.pim-org--alt.is-ride .pim-org__house-glow { opacity: clamp(0, calc((var(--rp, 0) - 0.36) * 5), 1); }

/* the services, lit one by one */
.pim-org__svc { position: relative; }
.pim-org__svc::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold-deep, #7A5E20), var(--gold, #C19A4B));
  transform: scaleX(var(--p, 1)); transform-origin: left center;
}
.pim-org--alt.is-ride .pim-org__svc {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 7), 1);
  opacity: calc(0.35 + 0.65 * var(--p));
}

/* the faith line, pulled forward */
.pim-org__faith em {
  display: block; margin-top: 10px;
  font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5;
  color: var(--gold-deep, #7A5E20); text-wrap: pretty;
}

/* =========================================================================
   05 . NO SCOREBOARD . the manifesto
   ========================================================================= */
.pim-score { background: var(--bg); padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pim-score::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(193, 154, 75, 0.1) 0%, transparent 70%);
  animation: pp-halo-breathe 9s ease-in-out infinite;
}
.pim-score__ghost {
  position: absolute; top: clamp(26px, 7vh, 70px); left: 50%; translate: -50% 0;
  font-size: clamp(4.2rem, 11vw, 10rem); font-weight: 800; font-style: italic;
  line-height: 1; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(193, 154, 75, 0.13);
  pointer-events: none; user-select: none;
}
.pim-score__ghost svg { position: absolute; inset: -8% -1%; width: 102%; height: 116%; overflow: visible; }
.pim-score__ghost svg path {
  stroke: rgba(193, 154, 75, 0.45); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
.pim-score.is-ride .pim-score__ghost svg path {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.1) * 2.2), 1)) * 100);
}
.pim-score__inner { position: relative; display: grid; justify-items: center; text-align: center; }
.pim-score__body {
  margin-top: var(--s-md); max-width: min(56ch, 100%);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.7;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pim-score__story {
  margin-top: var(--s-md); max-width: min(52ch, 100%);
  font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.6; font-weight: 300;
  color: rgba(244, 232, 218, 0.85); text-wrap: pretty;
}
.pim-score__story em {
  font-style: italic; color: var(--cream, #F4E8DA);
}
.pim-score__story em::before { content: ''; display: block; height: 14px; }
.pim-score__direct { font-style: normal; font-weight: 700; color: var(--gold); position: relative; }
.pim-score__direct::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold, #C19A4B), var(--light-gold, #F3D88E));
  transform: scaleX(var(--dp, 1)); transform-origin: left center;
}
.pim-score.is-ride :is(.pim-score__body, .pim-score__story) {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--p));
  transform: translateY(calc((1 - var(--p)) * 14px));
  filter: blur(calc((1 - var(--p)) * 4px));
}
.pim-score.is-ride .pim-score__story em {
  --ep: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.25 + 0.75 * var(--ep));
}
.pim-score.is-ride .pim-score__direct { --dp: clamp(0, calc((var(--rp, 0) - 0.54) * 4), 1); }

/* =========================================================================
   06 . UPDATES . the standard, stated
   ========================================================================= */
.pim-updates { padding-block: clamp(90px, 14vh, 170px); }
.pim-updates__inner { display: grid; justify-items: center; }
.pim-updates__plaque {
  position: relative;
  max-width: min(1100px, 100%);
  padding: clamp(36px, 5vw, 72px) clamp(32px, 5.5vw, 84px);
}
.pim-updates__plaque::before, .pim-updates__plaque::after {
  content: ''; position: absolute;
  width: 30px; height: 30px;
  pointer-events: none;
  transition: width 500ms var(--ease), height 500ms var(--ease), border-color 400ms var(--ease);
}
.pim-updates__plaque::before {
  top: 0; left: 0;
  border-top: 1.5px solid rgba(122, 94, 32, 0.55);
  border-left: 1.5px solid rgba(122, 94, 32, 0.55);
}
.pim-updates__plaque::after {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid rgba(122, 94, 32, 0.55);
  border-right: 1.5px solid rgba(122, 94, 32, 0.55);
}
.js .pim-updates__plaque.reveal::before, .js .pim-updates__plaque.reveal::after { width: 0; height: 0; }
.js .pim-updates__plaque.reveal.is-in::before { width: 30px; height: 30px; transition-delay: 250ms; }
.js .pim-updates__plaque.reveal.is-in::after { width: 30px; height: 30px; transition-delay: 450ms; }
.pim-updates__plaque:hover::before, .pim-updates__plaque:hover::after {
  width: 44px !important; height: 44px !important;
  border-color: var(--gold-deep, #7A5E20);
  transition-delay: 0ms;
}
.pim-updates__label {
  margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #8A7C6B;
}
.pim-updates__label i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  animation: pcv-blip 2.6s ease-in-out infinite;
}
.pim-updates__txt {
  margin: clamp(16px, 2.4vh, 26px) 0 0;
  font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1.4; font-weight: 300;
  color: var(--ink); text-wrap: pretty;
}
.pim-updates__txt em {
  font-style: italic; font-weight: 500;
  color: var(--gold-deep, #7A5E20);
}

/* =========================================================================
   07 . BUILD A BRIDGE WHERE YOU ARE
   ========================================================================= */
.pim-build { background: var(--bg); padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pim-build__inner { position: relative; display: grid; justify-items: start; }
.pim-build__body {
  margin-top: var(--s-md); max-width: min(60ch, 100%);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.75;
  color: var(--ink-muted, #A79B8C); text-wrap: pretty;
}
.pim-build__body em { font-style: italic; color: var(--cream, #F4E8DA); position: relative; }
.pim-build__body em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--gold, #C19A4B), rgba(193, 154, 75, 0.25));
  transform: scaleX(var(--p, 1)); transform-origin: left center;
}
.pim-build.is-ride .pim-build__body {
  --bp: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 5), 1);
  opacity: calc(0.22 + 0.78 * var(--bp));
  transform: translateY(calc((1 - var(--bp)) * 14px));
  filter: blur(calc((1 - var(--bp)) * 4px));
}
.pim-build.is-ride .pim-build__body em {
  --p: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 6), 1);
  opacity: calc(0.55 + 0.45 * var(--p));
}

/* the deck: planks laid as the ask lands */
.pim-build__deck { width: min(100%, 900px); margin-top: clamp(18px, 3vh, 30px); }
.pim-build__deck svg { display: block; width: 100%; height: auto; overflow: visible; }
.pim-build__deck-line {
  stroke: rgba(193, 154, 75, 0.45); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
.pim-build.is-ride .pim-build__deck-line {
  stroke-dashoffset: calc((1 - clamp(0, calc((var(--rp, 0) - 0.12) * 1.8), 1)) * 100);
}
.pim-build__planks line { stroke: rgba(193, 154, 75, 0.5); stroke-width: 1.4; stroke-linecap: round; }
.pim-build.is-ride .pim-build__planks line { opacity: clamp(0, calc((var(--rp, 0) - var(--t, 0)) * 8), 1); }
.pim-build__deck-dot {
  fill: var(--light-gold, #F3D88E);
  filter: drop-shadow(0 0 6px rgba(243, 216, 142, 0.8));
  animation: pcv-blip 2.4s ease-in-out infinite;
}
.pim-build.is-ride .pim-build__deck-dot { opacity: clamp(0, calc((var(--rp, 0) - 0.52) * 5), 1); }
.pim-build__cta { margin: var(--s-lg) 0 0; }

/* =========================================================================
   08 . THE CLOSING . purpose
   ========================================================================= */
.pim-close { background: #5F241C; padding-block: var(--s-xxl); position: relative; overflow: clip; }
.pim-close::before {
  content: ''; position: absolute; inset: auto -20% -35%; height: 80%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(243, 216, 142, 0.14) 0%, transparent 70%);
  animation: pp-halo-breathe 8s ease-in-out infinite;
}
.pim-close__inner { position: relative; display: grid; justify-items: center; text-align: center; }
.pim-close .pp-eyebrow { color: #F3D88E; }
.pim-close .pp-h2 { color: #F4E8DA; max-width: min(24ch, 100%); }
.pim-close .pp-h2.is-words .w i {
  background: linear-gradient(110deg, #F4E8DA 34%, #F3D88E 48%, #E9BE6A 53%, #F4E8DA 66%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pim-close-sheen 7s ease-in-out infinite 2s;
  animation-delay: calc(2s + var(--wi, 0) * 220ms);
}
@keyframes pim-close-sheen {
  0% { background-position: 130% 0; }
  40%, 100% { background-position: -30% 0; }
}
.pim-close__span { width: min(240px, 50vw); height: auto; margin-bottom: var(--s-sm); overflow: visible; }
.pim-close__span-deck { stroke: rgba(243, 216, 142, 0.4); stroke-width: 1.5; stroke-linecap: round; }
.pim-close__span-arc { stroke: #F3D88E; stroke-width: 2; stroke-linecap: round; }
.pim-close__span-dot { fill: #F3D88E; filter: drop-shadow(0 0 5px rgba(243, 216, 142, 0.8)); animation: pcv-blip 2.6s ease-in-out infinite; }
.pim-close__span-run {
  fill: #F3D88E;
  filter: drop-shadow(0 0 6px rgba(243, 216, 142, 0.9));
  offset-path: path('M20 36 C 60 6, 140 6, 180 36');
  animation: pim-close-run 5.5s linear infinite 1.6s;
  opacity: 0;
}
@keyframes pim-close-run {
  0% { offset-distance: 0%; opacity: 0; }
  10% { opacity: 1; }
  86% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.js .pim-close__span :is(.pim-close__span-deck, .pim-close__span-arc) {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 700ms var(--ease);
}
.js .pim-close__span.reveal.is-in :is(.pim-close__span-deck, .pim-close__span-arc) { stroke-dashoffset: 0; }
.js .pim-close__span .pim-close__span-dot { opacity: 0; transition: opacity 400ms var(--ease) 1100ms; }
.js .pim-close__span.reveal.is-in .pim-close__span-dot { opacity: 1; }
.pim-close__actions { margin-top: var(--s-lg); justify-content: center; }
.pim-close .btn--ghost { border-color: rgba(243, 216, 142, 0.4); color: #F4E8DA; }
.pim-close .btn--ghost:hover { border-color: #F3D88E; color: #F3D88E; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .pim-path__inner, .pim-org__inner { grid-template-columns: 1fr; gap: var(--s-lg); }
  .pim-org__rail { position: static; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .pim-hero::before, .pim-score::before, .pim-close::before,
  .pim-updates__label i, .pim-close__span-dot { animation: none; }
  .pim-b__walker { animation: none; opacity: 0; }
  .pim-stage__lit { opacity: 0; }
  .pim-hero__inner, .pim-stage__base, .pim-hero__photo { translate: none; }
  .pim-hero__photo, .pim-hero__smoke, .pim-hero__l i, .pim-hero__mist i { animation: none; }
  .pim-path__runner { animation: none; opacity: 0 !important; }
  .pim-org__span-dot { animation: none; opacity: 0; }
  .pim-org__house-ring { animation: none; opacity: 0; }
  .pim-close__span-run, .pim-build__deck-dot, .pim-close .pp-h2.is-words .w i { animation: none; }
  .pim-close__span-run { opacity: 0; }
  .pim-score__ghost svg path { stroke-dashoffset: 0 !important; }
  .pim-hero__mist { opacity: 0; }
  .js .pim-hero__title.reveal .pim-hero__l i, .js .pim-hero__title.reveal .pim-hero__l em { translate: none; transition: none; }
  .pim-stage__base :is(.pim-b__deck, .pim-b__tower, .pim-b__cable, .pim-b__hangers path) { animation: none; stroke-dashoffset: 0; }
  .js .pim-close__span :is(.pim-close__span-deck, .pim-close__span-arc) { stroke-dashoffset: 0; transition: none; }
  .js .pim-close__span .pim-close__span-dot { opacity: 1; transition: none; }
}

/* ---- v12.13.5: Pastel 2026-10-09 note 1, the portrait leaves the hero; the dark stage and the bridge stay ---- */
.pim-hero__photo { display: none; }

/* =========================================================================
   v12.14.0: HERO . the giving, drawn (the portrait left on 2026-10-09)
   The book, the proceeds line, the fork to the two organizations. Paths
   draw on arrival; two lights travel the route afterwards.
   ========================================================================= */
.pim-hero__inner > .pim-hero__viz {
  grid-column: 1; grid-row: 1 / span 6;
  align-self: center; justify-self: stretch;
  margin: 0; width: 100%; max-width: 540px;
  padding-right: clamp(16px, 3vw, 44px);
}
.pim-viz { display: block; width: 100%; height: auto; overflow: visible; }
.pim-viz text {
  font-family: inherit; fill: var(--cream, #F4E8DA);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
}
.pim-viz__label--book { font-size: 13px; font-weight: 500; fill: var(--ink-muted, #A79B8C); letter-spacing: 0.08em; text-transform: uppercase; }
.pim-viz__tag { font-size: 10.5px; font-weight: 700; fill: var(--gold, #C19A4B); letter-spacing: 0.22em; text-transform: uppercase; }
.pim-viz__cover { stroke: rgba(244, 232, 218, 0.78); stroke-width: 1.6; fill: rgba(244, 232, 218, 0.03); }
.pim-viz__spine { stroke: rgba(244, 232, 218, 0.5); stroke-width: 1.2; }
.pim-viz__rule { stroke: rgba(244, 232, 218, 0.34); stroke-width: 1.4; stroke-linecap: round; }
.pim-viz__rule--gold { stroke: var(--gold, #C19A4B); stroke-width: 2; }
.pim-viz__route { stroke: rgba(193, 154, 75, 0.6); stroke-width: 1.6; stroke-linecap: round; }
.pim-viz__ring { stroke: var(--gold, #C19A4B); stroke-width: 1.4; }
.pim-viz__dot { fill: var(--light-gold, #F3D88E); filter: drop-shadow(0 0 6px rgba(243, 216, 142, 0.8)); }
.pim-viz__pulse { stroke: rgba(243, 216, 142, 0.55); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pim-viz-pulse 3.6s ease-out infinite; }
.pim-viz__node--b .pim-viz__pulse { animation-delay: 1.8s; }
.pim-viz__light { fill: var(--light-gold, #F3D88E); filter: drop-shadow(0 0 8px rgba(243, 216, 142, 0.95)); }
@keyframes pim-viz-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}

/* drawn on arrival */
.js .pim-hero__viz.reveal :is(.pim-viz__cover, .pim-viz__spine, .pim-viz__rule, .pim-viz__route) {
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1100ms var(--ease);
}
.js .pim-hero__viz.reveal :is(.pim-viz__node, text, .pim-viz__light) { opacity: 0; transition: opacity 600ms var(--ease); }
.js .pim-hero__viz.reveal.is-in :is(.pim-viz__cover, .pim-viz__spine, .pim-viz__rule, .pim-viz__route) { stroke-dashoffset: 0; }
.js .pim-hero__viz.reveal.is-in .pim-viz__spine { transition-delay: 250ms; }
.js .pim-hero__viz.reveal.is-in .pim-viz__rule { transition-delay: 450ms; }
.js .pim-hero__viz.reveal.is-in .pim-viz__route { transition-delay: 700ms; }
.js .pim-hero__viz.reveal.is-in .pim-viz__route--b { transition-delay: 850ms; }
.js .pim-hero__viz.reveal.is-in :is(.pim-viz__node, text, .pim-viz__light) { opacity: 1; }
.js .pim-hero__viz.reveal.is-in .pim-viz__label--book { transition-delay: 600ms; }
.js .pim-hero__viz.reveal.is-in .pim-viz__tag { transition-delay: 1000ms; }
.js .pim-hero__viz.reveal.is-in .pim-viz__node { transition-delay: var(--d, 1500ms); }
.js .pim-hero__viz.reveal.is-in .pim-viz__label { transition-delay: 1800ms; }
.js .pim-hero__viz.reveal.is-in .pim-viz__light { transition-delay: 2200ms; }

@media (max-width: 900px) {
  .pim-hero__inner > .pim-hero__viz {
    grid-column: 1; grid-row: auto; order: 9;
    max-width: 440px; padding-right: 0;
    margin-top: clamp(28px, 6vh, 48px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pim-viz__pulse { animation: none; opacity: 0; }
  .pim-viz__light { display: none; }
  .js .pim-hero__viz.reveal :is(.pim-viz__cover, .pim-viz__spine, .pim-viz__rule, .pim-viz__route) { stroke-dashoffset: 0; transition: none; }
  .js .pim-hero__viz.reveal :is(.pim-viz__node, text) { opacity: 1; transition: none; }
}
