/* ============================================================
   Process video — the VA purchase / commercial underwriting
   ------------------------------------------------------------
   Video on one side, the same steps as real HTML text on the
   other. The text is the substance: it's crisp at any zoom,
   readable by screen readers and search engines, and it still
   answers the question if the visitor never presses play.
   ============================================================ */

.procvid{background:var(--bg-elev,#11253c)}
.procvid-grid{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:clamp(28px,4vw,56px);align-items:center;margin-top:clamp(30px,4vw,52px);
}
@media (max-width:960px){ .procvid-grid{grid-template-columns:1fr} }

/* ---------- player ---------- */
.procvid-player{
  position:relative;border:1px solid var(--card-border,rgba(255,255,255,.1));
  border-radius:3px;overflow:hidden;background:#0a1628;aspect-ratio:16/9;
}
.procvid-player video{width:100%;height:100%;object-fit:cover;display:block}
.procvid-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* Play affordance. It is a real <button> so it's keyboard reachable. */
.procvid-play{
  position:absolute;inset:0;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;gap:14px;
  border:0;cursor:pointer;color:#fff;font-family:var(--font-body,inherit);
  background:linear-gradient(180deg,rgba(10,22,40,.18) 0%,rgba(10,22,40,.62) 100%);
  transition:background .3s ease;
}
.procvid-play:hover{background:linear-gradient(180deg,rgba(10,22,40,.10) 0%,rgba(10,22,40,.55) 100%)}
.procvid-play:focus-visible{outline:2px solid var(--gold,#C9992D);outline-offset:-4px}
.procvid-play .disc{
  width:74px;height:74px;border-radius:50%;flex:none;
  background:var(--gold,#C9992D);color:#1a1304;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px rgba(0,0,0,.4);transition:transform .25s ease;
}
.procvid-play:hover .disc{transform:scale(1.06)}
.procvid-play .lbl{
  font-size:.76rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  text-shadow:0 1px 12px rgba(0,0,0,.6);
}
.procvid-player.is-playing .procvid-play,
.procvid-player.is-playing .procvid-poster{display:none}

/* ---------- on-screen words ----------
   The videos are silent, so the caption carries the message. Set in the
   site's own display face rather than a burned-in caption font, which means
   it stays sharp at any zoom and can be corrected without re-rendering. */
.procvid-caption{
  position:absolute;left:0;right:0;bottom:0;z-index:2;pointer-events:none;
  padding:56px clamp(18px,3vw,34px) clamp(18px,2.4vw,30px);
  background:linear-gradient(180deg,rgba(10,22,40,0) 0%,rgba(10,22,40,.82) 62%,rgba(10,22,40,.94) 100%);
  opacity:0;transition:opacity .45s ease;
}
.procvid-caption.is-on{opacity:1}
.procvid-caption-text{
  display:block;font-family:var(--font-display,serif);font-weight:600;
  font-size:clamp(1.1rem,2vw,1.7rem);line-height:1.15;color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.55);
}
/* Sit above the native controls once they appear. */
.procvid-player.is-playing .procvid-caption{bottom:38px}
@media (prefers-reduced-motion:reduce){ .procvid-caption{transition:none} }

/* Active step in the list, mirrored from playback. */
.procvid-steps li{transition:border-color .3s ease}
.procvid-steps li.is-active::before{color:var(--gold-bright,#dcab3c)}
.procvid-steps li.is-active strong{color:var(--gold-bright,#dcab3c)}
.procvid-steps li.is-active span{color:var(--fg,#eef2f6)}

/* ---------- steps ---------- */
.procvid-steps{list-style:none;margin:0;padding:0;counter-reset:pv}
.procvid-steps li{
  counter-increment:pv;position:relative;padding-left:52px;
  padding-block:13px;border-top:1px solid var(--card-border,rgba(255,255,255,.1));
}
.procvid-steps li:last-child{border-bottom:1px solid var(--card-border,rgba(255,255,255,.1))}
.procvid-steps li::before{
  content:counter(pv,decimal-leading-zero);
  position:absolute;left:0;top:13px;
  font-family:var(--font-display,serif);font-size:.9rem;
  color:var(--gold,#C9992D);letter-spacing:.06em;
}
.procvid-steps strong{
  display:block;font-family:var(--font-display,serif);font-weight:600;
  font-size:1.06rem;color:var(--fg,#eef2f6);margin-bottom:3px;
}
.procvid-steps span{color:var(--fg-muted,#a7b4c2);font-size:.92rem;line-height:1.55}

.procvid-note{
  margin-top:20px;font-size:.72rem;line-height:1.55;
  color:var(--fg-muted,#a7b4c2);opacity:.72;max-width:62ch;
}
